@magmamath/students-features 1.3.25 → 1.3.26-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/fluency/assets/DivideIcon.js +32 -0
- package/dist/commonjs/features/fluency/assets/DivideIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/SpringIcon.js +29 -0
- package/dist/commonjs/features/fluency/assets/SpringIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js +29 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/components/Fluency.js +98 -0
- package/dist/commonjs/features/fluency/components/Fluency.js.map +1 -0
- package/dist/commonjs/features/fluency/components/FluencySolving.js +42 -0
- package/dist/commonjs/features/fluency/components/FluencySolving.js.map +1 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js +91 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js +73 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.js +123 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.js +183 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.js +64 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingHeader.js +71 -0
- 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 +36 -0
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js +47 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js +57 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js +105 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.js +43 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js +124 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js +63 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js +80 -0
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js +73 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js +111 -0
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js.map +1 -0
- package/dist/commonjs/features/fluency/context/FluencyContext.js +16 -0
- package/dist/commonjs/features/fluency/context/FluencyContext.js.map +1 -0
- package/dist/commonjs/features/fluency/fluency.constants.js +80 -0
- package/dist/commonjs/features/fluency/fluency.constants.js.map +1 -0
- package/dist/commonjs/features/fluency/fluency.helpers.js +67 -0
- package/dist/commonjs/features/fluency/fluency.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency/fluency.types.js +6 -0
- package/dist/commonjs/features/fluency/fluency.types.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js +39 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js.map +1 -0
- package/dist/commonjs/features/fluency/index.js +68 -0
- package/dist/commonjs/features/fluency/index.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js +11 -0
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js +9 -0
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyInputModel.js +23 -0
- package/dist/commonjs/features/fluency/model/FluencyInputModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js +9 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js +28 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js +9 -0
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js.map +1 -0
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/module/features/fluency/assets/DivideIcon.js +24 -0
- 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 +21 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js.map +1 -0
- package/dist/module/features/fluency/components/Fluency.js +92 -0
- package/dist/module/features/fluency/components/Fluency.js.map +1 -0
- package/dist/module/features/fluency/components/FluencySolving.js +36 -0
- package/dist/module/features/fluency/components/FluencySolving.js.map +1 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js +85 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js +67 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyEquationCard.js +117 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyEquationCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyNumpad.js +177 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyNumpad.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingCard.js +57 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingHeader.js +65 -0
- 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 +30 -0
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js +41 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js +51 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js +99 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/MathOperatorRow.js +37 -0
- package/dist/module/features/fluency/components/select-math-operator/MathOperatorRow.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js +118 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js +57 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js +74 -0
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js +67 -0
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/StartBanner.js +105 -0
- package/dist/module/features/fluency/components/start-banner/StartBanner.js.map +1 -0
- package/dist/module/features/fluency/context/FluencyContext.js +11 -0
- package/dist/module/features/fluency/context/FluencyContext.js.map +1 -0
- package/dist/module/features/fluency/fluency.constants.js +77 -0
- package/dist/module/features/fluency/fluency.constants.js.map +1 -0
- package/dist/module/features/fluency/fluency.helpers.js +58 -0
- package/dist/module/features/fluency/fluency.helpers.js.map +1 -0
- package/dist/module/features/fluency/fluency.types.js +4 -0
- package/dist/module/features/fluency/fluency.types.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js +34 -0
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js.map +1 -0
- package/dist/module/features/fluency/index.js +9 -0
- package/dist/module/features/fluency/index.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyApiModel.js +6 -0
- package/dist/module/features/fluency/model/FluencyApiModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js +4 -0
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyInputModel.js +18 -0
- package/dist/module/features/fluency/model/FluencyInputModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js +4 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyModel.js +23 -0
- package/dist/module/features/fluency/model/FluencyModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencySolvingModel.js +4 -0
- package/dist/module/features/fluency/model/FluencySolvingModel.js.map +1 -0
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.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 +3 -0
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts +12 -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 +3 -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 +3 -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 +7 -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 +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts +5 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts +28 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/fluency.constants.d.ts +25 -0
- package/dist/typescript/commonjs/features/fluency/fluency.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/fluency.helpers.d.ts +19 -0
- package/dist/typescript/commonjs/features/fluency/fluency.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/fluency.types.d.ts +46 -0
- package/dist/typescript/commonjs/features/fluency/fluency.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/index.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts +6 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyInputModel.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyInputModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts +21 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.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 +3 -0
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts +13 -0
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts +9 -0
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts +11 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts +12 -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 +3 -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 +3 -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 +7 -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 +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts +11 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts +5 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/MathOperatorRow.d.ts +13 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/MathOperatorRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts +11 -0
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts +28 -0
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts +11 -0
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/fluency.constants.d.ts +25 -0
- package/dist/typescript/module/features/fluency/fluency.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/fluency.helpers.d.ts +19 -0
- package/dist/typescript/module/features/fluency/fluency.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/fluency.types.d.ts +46 -0
- package/dist/typescript/module/features/fluency/fluency.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts +7 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/index.d.ts +7 -0
- package/dist/typescript/module/features/fluency/index.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts +6 -0
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts +3 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyInputModel.d.ts +12 -0
- package/dist/typescript/module/features/fluency/model/FluencyInputModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts +3 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts +21 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts +3 -0
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts.map +1 -0
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/package.json +1 -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 +16 -0
- package/src/features/fluency/components/Fluency.tsx +101 -0
- package/src/features/fluency/components/FluencySolving.tsx +32 -0
- package/src/features/fluency/components/day-streak-counter/DayStreak.tsx +82 -0
- package/src/features/fluency/components/day-streak-counter/DayStreakCounter.tsx +68 -0
- package/src/features/fluency/components/fluency-solving/FluencyEquationCard.tsx +115 -0
- package/src/features/fluency/components/fluency-solving/FluencyNumpad.tsx +150 -0
- package/src/features/fluency/components/fluency-solving/FluencySolvingCard.tsx +49 -0
- package/src/features/fluency/components/fluency-solving/FluencySolvingHeader.tsx +67 -0
- package/src/features/fluency/components/fluency-solving/FluencySolvingProgress.tsx +40 -0
- package/src/features/fluency/components/matrix/FluencyMatrix.tsx +29 -0
- package/src/features/fluency/components/matrix/components/MatrixCell.tsx +46 -0
- package/src/features/fluency/components/matrix/components/MatrixFill.tsx +50 -0
- package/src/features/fluency/components/matrix/components/MatrixLegend.tsx +102 -0
- package/src/features/fluency/components/select-math-operator/MathOperatorRow.tsx +38 -0
- package/src/features/fluency/components/select-math-operator/ProgressBar.tsx +127 -0
- package/src/features/fluency/components/select-math-operator/SelectMathOperator.tsx +49 -0
- package/src/features/fluency/components/start-banner/BannerFlashcards.tsx +45 -0
- package/src/features/fluency/components/start-banner/MathFlashcard.tsx +69 -0
- package/src/features/fluency/components/start-banner/StartBanner.tsx +105 -0
- package/src/features/fluency/context/FluencyContext.ts +20 -0
- package/src/features/fluency/fluency.constants.ts +83 -0
- package/src/features/fluency/fluency.helpers.ts +71 -0
- package/src/features/fluency/fluency.types.ts +41 -0
- package/src/features/fluency/hooks/useFluencyModePreset.ts +24 -0
- package/src/features/fluency/index.ts +6 -0
- package/src/features/fluency/model/FluencyApiModel.ts +5 -0
- package/src/features/fluency/model/FluencyDaysStreakModel.ts +1 -0
- package/src/features/fluency/model/FluencyInputModel.ts +21 -0
- package/src/features/fluency/model/FluencyMatrixModel.ts +1 -0
- package/src/features/fluency/model/FluencyModel.ts +30 -0
- package/src/features/fluency/model/FluencySolvingModel.ts +1 -0
- package/src/i18n/.generated/schema.json +23 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DivideIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/assets/DivideIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,UAAU,oBAA6C,eAAe,sBAWlF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpringIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/assets/SpringIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,eAAO,MAAM,UAAU,yBAatB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarFillIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/assets/StarFillIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,YAAY,yBAYxB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FluencyModel } from '../model/FluencyModel';
|
|
3
|
+
import type { FluencyMode } from '../fluency.constants';
|
|
4
|
+
type FluencyProps = {
|
|
5
|
+
model: FluencyModel;
|
|
6
|
+
onMenuPress?: () => void;
|
|
7
|
+
onStartPress?: () => void;
|
|
8
|
+
onPracticePress?: () => void;
|
|
9
|
+
onModeSelectPress?: (mode: FluencyMode) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const Fluency: ({ model, onMenuPress, onStartPress, onPracticePress, onModeSelectPress, }: FluencyProps) => React.JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=Fluency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fluency.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/components/Fluency.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAKvD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,YAAY,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;CAChD,CAAA;AAED,eAAO,MAAM,OAAO,8EAMjB,YAAY,sBAqCd,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FluencyModel } from '../model/FluencyModel';
|
|
3
|
+
type FluencySolvingProps = {
|
|
4
|
+
model: FluencyModel;
|
|
5
|
+
onClosePress?: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const FluencySolving: ({ model, onClosePress }: FluencySolvingProps) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=FluencySolving.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencySolving.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/components/FluencySolving.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAMzD,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,YAAY,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,4BAA6B,mBAAmB,sBAU1E,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FluencyModePreset } from '../../fluency.types';
|
|
3
|
+
type StreakStatus = 'missed' | 'gained' | 'today';
|
|
4
|
+
type StreakDayProps = {
|
|
5
|
+
label: string;
|
|
6
|
+
status: StreakStatus;
|
|
7
|
+
streakColor: FluencyModePreset['header']['streakColor'];
|
|
8
|
+
};
|
|
9
|
+
export declare const StreakDay: ({ label, status, streakColor }: StreakDayProps) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=DayStreak.d.ts.map
|
package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayStreak.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/day-streak-counter/DayStreak.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAK5D,KAAK,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEjD,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,YAAY,CAAA;IACpB,WAAW,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,CAAA;CACxD,CAAA;AAiCD,eAAO,MAAM,SAAS,mCAAoC,cAAc,sBAavE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayStreakCounter.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/day-streak-counter/DayStreakCounter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,eAAO,MAAM,gBAAgB,yBAsC5B,CAAA"}
|
package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ComponentType } from 'react';
|
|
2
|
+
type FluencyEquationCardProps = {
|
|
3
|
+
accentColor: string;
|
|
4
|
+
OperatorIcon: ComponentType<{
|
|
5
|
+
color?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
}>;
|
|
8
|
+
input: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const FluencyEquationCard: ({ accentColor, OperatorIcon, input, }: FluencyEquationCardProps) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=FluencyEquationCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyEquationCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/fluency-solving/FluencyEquationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAY5C,KAAK,wBAAwB,GAAG;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC9D,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,mBAAmB,0CAI7B,wBAAwB,sBAyB1B,CAAA"}
|
package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyNumpad.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyNumpad.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/fluency-solving/FluencyNumpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AA0DzB,eAAO,MAAM,aAAa,yBAoEzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencySolvingCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/fluency-solving/FluencySolvingCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAUxC,eAAO,MAAM,kBAAkB,yBA6B9B,CAAA"}
|
package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingHeader.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type FluencySolvingHeaderProps = {
|
|
3
|
+
onClosePress?: () => void;
|
|
4
|
+
};
|
|
5
|
+
export declare const FluencySolvingHeader: ({ onClosePress }: FluencySolvingHeaderProps) => React.JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=FluencySolvingHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencySolvingHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/fluency-solving/FluencySolvingHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAiBzB,KAAK,yBAAyB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,oBAAoB,qBAAsB,yBAAyB,sBAqB/E,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type FluencySolvingProgressProps = {
|
|
3
|
+
total: number;
|
|
4
|
+
activeIndex: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const FluencySolvingProgress: ({ total, activeIndex }: FluencySolvingProgressProps) => React.JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=FluencySolvingProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencySolvingProgress.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/fluency-solving/FluencySolvingProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,2BAA2B,GAAG;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,sBAAsB,2BAA4B,2BAA2B,sBAQzF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyMatrix.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/matrix/FluencyMatrix.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,eAAO,MAAM,aAAa,yBAOzB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FluencyModePreset } from '../../../fluency.types';
|
|
3
|
+
type MatrixCellProps = {
|
|
4
|
+
row: number;
|
|
5
|
+
col: number;
|
|
6
|
+
score: number | null;
|
|
7
|
+
mastery: FluencyModePreset['matrix']['mastery'];
|
|
8
|
+
};
|
|
9
|
+
export declare const MatrixCell: ({ row, col, score, mastery }: MatrixCellProps) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=MatrixCell.d.ts.map
|
package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatrixCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/fluency/components/matrix/components/MatrixCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,KAAK,eAAe,GAAG;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,OAAO,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAA;CAChD,CAAA;AAED,eAAO,MAAM,UAAU,iCAAkC,eAAe,sBAYvE,CAAA"}
|
package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatrixFill.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/fluency/components/matrix/components/MatrixFill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAiBzB,eAAO,MAAM,UAAU,yBAoBtB,CAAA"}
|
package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatrixLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/fluency/components/matrix/components/MatrixLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoBzB,KAAK,iBAAiB,GAAG,EAAE,CAAA;AAE3B,eAAO,MAAM,YAAY,OAAQ,iBAAiB,sBAkCjD,CAAA"}
|
package/dist/typescript/module/features/fluency/components/select-math-operator/MathOperatorRow.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { SelectOptionColor } from '@magmamath/react-native-ui';
|
|
3
|
+
export type MathOperatorRowProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
icon: ReactNode;
|
|
6
|
+
progress: number;
|
|
7
|
+
color: SelectOptionColor;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
onSelect: () => void;
|
|
10
|
+
showDivider?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const MathOperatorRow: ({ title, icon, progress, color, selected, onSelect, showDivider, }: MathOperatorRowProps) => React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=MathOperatorRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MathOperatorRow.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/select-math-operator/MathOperatorRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAwB,iBAAiB,EAAW,MAAM,4BAA4B,CAAA;AAG7F,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,iBAAiB,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,eAAe,uEAQzB,oBAAoB,sBAMtB,CAAA"}
|
package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SelectOptionColor } from '@magmamath/react-native-ui';
|
|
3
|
+
export type ProgressBarProps = {
|
|
4
|
+
progress: number;
|
|
5
|
+
color: SelectOptionColor;
|
|
6
|
+
};
|
|
7
|
+
export declare const ProgressBar: ({ progress, color }: ProgressBarProps) => React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ProgressBar.d.ts.map
|
package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/select-math-operator/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAIL,iBAAiB,EAGlB,MAAM,4BAA4B,CAAA;AA8EnC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,iBAAiB,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,WAAW,wBAAmD,gBAAgB,sBAc1F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectMathOperator.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/select-math-operator/SelectMathOperator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,eAAO,MAAM,kBAAkB,yBA4B9B,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type FlashcardExample = {
|
|
3
|
+
left: string;
|
|
4
|
+
right: string;
|
|
5
|
+
};
|
|
6
|
+
type BannerFlashcardsProps = {
|
|
7
|
+
examples: FlashcardExample[];
|
|
8
|
+
};
|
|
9
|
+
export declare const BannerFlashcards: ({ examples }: BannerFlashcardsProps) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=BannerFlashcards.d.ts.map
|
package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerFlashcards.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/start-banner/BannerFlashcards.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AA0BD,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB,sBAQnE,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type FlashcardLayout = {
|
|
3
|
+
card: {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
radius: number;
|
|
7
|
+
};
|
|
8
|
+
answer: {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
radius: number;
|
|
12
|
+
};
|
|
13
|
+
fontSize: number;
|
|
14
|
+
position: {
|
|
15
|
+
right: number;
|
|
16
|
+
top: number;
|
|
17
|
+
zIndex: number;
|
|
18
|
+
};
|
|
19
|
+
rotation: string;
|
|
20
|
+
};
|
|
21
|
+
type MathFlashcardProps = {
|
|
22
|
+
left: string;
|
|
23
|
+
right: string;
|
|
24
|
+
layout: FlashcardLayout;
|
|
25
|
+
};
|
|
26
|
+
export declare const MathFlashcard: ({ left, right, layout }: MathFlashcardProps) => React.JSX.Element;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=MathFlashcard.d.ts.map
|
package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MathFlashcard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/start-banner/MathFlashcard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IACvD,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IACxD,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,aAAa,4BAA6B,kBAAkB,sBA0BxE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StartBanner.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/start-banner/StartBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoBzB,eAAO,MAAM,WAAW,yBAsCvB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FluencyModel } from '../model/FluencyModel';
|
|
2
|
+
import type { FluencyMode } from '../fluency.constants';
|
|
3
|
+
export type FluencyContextValue = {
|
|
4
|
+
model: FluencyModel;
|
|
5
|
+
onStartPress?: () => void;
|
|
6
|
+
onPracticePress?: () => void;
|
|
7
|
+
onModeSelectPress?: (mode: FluencyMode) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const useFluency: () => FluencyContextValue;
|
|
10
|
+
export declare const FluencyProvider: import("react").Provider<FluencyContextValue | null>;
|
|
11
|
+
//# sourceMappingURL=FluencyContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyContext.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/context/FluencyContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,YAAY,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;CAChD,CAAA;AAID,eAAO,MAAM,UAAU,QAAO,mBAI7B,CAAA;AAED,eAAO,MAAM,eAAe,sDAA0B,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { FluencyColorPalette, FluencyModeConfig, FluencyModePreset } from './fluency.types';
|
|
2
|
+
export declare const MATRIX_SIZE = 21;
|
|
3
|
+
export declare const MAX_INPUT_LENGTH = 3;
|
|
4
|
+
export declare enum FluencyMode {
|
|
5
|
+
ADDITION = "ADDITION",
|
|
6
|
+
SUBTRACTION = "SUBTRACTION",
|
|
7
|
+
MULTIPLICATION = "MULTIPLICATION",
|
|
8
|
+
DIVISION = "DIVISION"
|
|
9
|
+
}
|
|
10
|
+
export declare enum FluencyMasteryLevel {
|
|
11
|
+
LEARNING = "learning",
|
|
12
|
+
GROWING = "growing",
|
|
13
|
+
STRONG = "strong",
|
|
14
|
+
MASTERED = "mastered"
|
|
15
|
+
}
|
|
16
|
+
export declare enum FluencyColorFamily {
|
|
17
|
+
GREEN = "GREEN",
|
|
18
|
+
ORANGE = "ORANGE",
|
|
19
|
+
BLUE = "BLUE",
|
|
20
|
+
PURPLE = "PURPLE"
|
|
21
|
+
}
|
|
22
|
+
export declare const COLOR_FAMILY_PALETTES: Record<FluencyColorFamily, FluencyColorPalette>;
|
|
23
|
+
export declare const FLUENCY_MODES: readonly FluencyModeConfig[];
|
|
24
|
+
export declare const FLUENCY_MODE_PRESETS: Record<FluencyMode, FluencyModePreset>;
|
|
25
|
+
//# sourceMappingURL=fluency.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluency.constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/fluency/fluency.constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAGhG,eAAO,MAAM,WAAW,KAAK,CAAA;AAC7B,eAAO,MAAM,gBAAgB,IAAI,CAAA;AAEjC,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;CACtB;AAED,oBAAY,mBAAmB;IAC7B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,oBAAY,kBAAkB;IAC5B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAqBjF,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,iBAAiB,EAyBrD,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAE7B,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import { FluencyColorFamily, FluencyMasteryLevel, FluencyMode } from './fluency.constants';
|
|
3
|
+
import type { FluencyModeConfig, FluencyModePreset } from './fluency.types';
|
|
4
|
+
import type { TranslationKey } from '../../i18n/i18n';
|
|
5
|
+
export declare const getMasteryLevel: (score: number) => FluencyMasteryLevel;
|
|
6
|
+
export declare const getCellColorByScore: (score: number, mastery: FluencyModePreset["matrix"]["mastery"]) => string;
|
|
7
|
+
export declare const getCellBackground: (row: number, col: number) => string;
|
|
8
|
+
export declare const getCellLabel: (row: number, col: number) => number | null;
|
|
9
|
+
type CreateFluencyModeParams = {
|
|
10
|
+
mode: FluencyMode;
|
|
11
|
+
label: TranslationKey;
|
|
12
|
+
icon: ComponentType<{
|
|
13
|
+
color?: string;
|
|
14
|
+
}>;
|
|
15
|
+
colorFamily: FluencyColorFamily;
|
|
16
|
+
};
|
|
17
|
+
export declare const createFluencyMode: ({ mode, label, icon, colorFamily, }: CreateFluencyModeParams) => FluencyModeConfig;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=fluency.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluency.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/fluency/fluency.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EAEZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAGrD,eAAO,MAAM,eAAe,UAAW,MAAM,KAAG,mBAK/C,CAAA;AAED,eAAO,MAAM,mBAAmB,UACvB,MAAM,WACJ,iBAAiB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,KAC9C,MAAyC,CAAA;AAE5C,eAAO,MAAM,iBAAiB,QAAS,MAAM,OAAO,MAAM,KAAG,MAI5D,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,OAAO,MAAM,KAAG,MAAM,GAAG,IAKhE,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,EAAE,cAAc,CAAA;IACrB,IAAI,EAAE,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvC,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,iBAAiB,wCAK3B,uBAAuB,KAAG,iBAqB5B,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { ButtonColor, SelectOptionColor } from '@magmamath/react-native-ui';
|
|
3
|
+
import type { FluencyMode } from './fluency.constants';
|
|
4
|
+
import type { TranslationKey } from '../../i18n/i18n';
|
|
5
|
+
export type LegendItem = {
|
|
6
|
+
label: string;
|
|
7
|
+
color: string;
|
|
8
|
+
withBorder?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type FluencyColorPalette = {
|
|
11
|
+
shades: readonly [string, string, string, string];
|
|
12
|
+
button: ButtonColor;
|
|
13
|
+
select: SelectOptionColor;
|
|
14
|
+
};
|
|
15
|
+
export type FluencyModePreset = {
|
|
16
|
+
buttonColor: ButtonColor;
|
|
17
|
+
icon: ComponentType<{
|
|
18
|
+
color?: string;
|
|
19
|
+
size?: number;
|
|
20
|
+
}>;
|
|
21
|
+
header: {
|
|
22
|
+
streakColor: {
|
|
23
|
+
gained: string;
|
|
24
|
+
todayBorder: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
matrix: {
|
|
28
|
+
operatorName: TranslationKey;
|
|
29
|
+
mastery: {
|
|
30
|
+
learning: string;
|
|
31
|
+
growing: string;
|
|
32
|
+
strong: string;
|
|
33
|
+
mastered: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type FluencyModeConfig = {
|
|
38
|
+
mode: FluencyMode;
|
|
39
|
+
label: TranslationKey;
|
|
40
|
+
icon: ComponentType<{
|
|
41
|
+
color?: string;
|
|
42
|
+
}>;
|
|
43
|
+
select: SelectOptionColor;
|
|
44
|
+
preset: FluencyModePreset;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=fluency.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluency.types.d.ts","sourceRoot":"","sources":["../../../../../src/features/fluency/fluency.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IACjD,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,iBAAiB,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,EAAE,WAAW,CAAA;IACxB,IAAI,EAAE,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACtD,MAAM,EAAE;QACN,WAAW,EAAE;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAA;KACrD,CAAA;IACD,MAAM,EAAE;QACN,YAAY,EAAE,cAAc,CAAA;QAC5B,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;YACf,MAAM,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;CACF,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,EAAE,cAAc,CAAA;IACrB,IAAI,EAAE,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvC,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,iBAAiB,CAAA;CAC1B,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FluencyModePreset, LegendItem } from '../fluency.types';
|
|
2
|
+
type UseFluencyModePresetResult = FluencyModePreset & {
|
|
3
|
+
legendItems: LegendItem[];
|
|
4
|
+
};
|
|
5
|
+
export declare const useFluencyModePreset: () => UseFluencyModePresetResult;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=useFluencyModePreset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFluencyModePreset.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/hooks/useFluencyModePreset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIrE,KAAK,0BAA0B,GAAG,iBAAiB,GAAG;IAAE,WAAW,EAAE,UAAU,EAAE,CAAA;CAAE,CAAA;AAEnF,eAAO,MAAM,oBAAoB,QAAO,0BAcvC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './fluency.constants';
|
|
2
|
+
export * from './fluency.types';
|
|
3
|
+
export * from './fluency.helpers';
|
|
4
|
+
export { Fluency } from './components/Fluency';
|
|
5
|
+
export { FluencySolving } from './components/FluencySolving';
|
|
6
|
+
export { FluencyModel } from './model/FluencyModel';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/fluency/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyApiModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyApiModel.ts"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG,EAAE,CAAA;AAEzB,qBAAa,eAAe;gBACd,EAAE,EAAE,eAAe;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyDaysStreakModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyDaysStreakModel.ts"],"names":[],"mappings":"AAAA,qBAAa,sBAAsB;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type SetPayload = {
|
|
2
|
+
value: number;
|
|
3
|
+
} | {
|
|
4
|
+
erase: 'latest' | 'all';
|
|
5
|
+
};
|
|
6
|
+
export declare class FluencyInputModel {
|
|
7
|
+
readonly set: import("effector").EventCallable<SetPayload>;
|
|
8
|
+
readonly $state: import("effector").StoreWritable<string>;
|
|
9
|
+
readonly submitFx: import("effector").Effect<void, void, Error>;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=FluencyInputModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyInputModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyInputModel.ts"],"names":[],"mappings":"AAGA,KAAK,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAA;CAAE,CAAA;AAEjE,qBAAa,iBAAiB;IAC5B,SAAgB,GAAG,+CAA4B;IAC/C,SAAgB,MAAM,2CAQpB;IAEF,SAAgB,QAAQ,+CAEtB;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyMatrixModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyMatrixModel.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAkB;CAAG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FluencyMode } from '../fluency.constants';
|
|
2
|
+
import { FluencyDaysStreakModel } from './FluencyDaysStreakModel';
|
|
3
|
+
import { FluencyMatrixModel } from './FluencyMatrixModel';
|
|
4
|
+
import { FluencyApiModel } from './FluencyApiModel';
|
|
5
|
+
import { FluencySolvingModel } from './FluencySolvingModel';
|
|
6
|
+
import { FluencyInputModel } from './FluencyInputModel';
|
|
7
|
+
type FluencyModelProps = {
|
|
8
|
+
api: {};
|
|
9
|
+
};
|
|
10
|
+
export declare class FluencyModel {
|
|
11
|
+
readonly api: FluencyApiModel;
|
|
12
|
+
readonly streak: FluencyDaysStreakModel;
|
|
13
|
+
readonly matrix: FluencyMatrixModel;
|
|
14
|
+
readonly solving: FluencySolvingModel;
|
|
15
|
+
readonly input: FluencyInputModel;
|
|
16
|
+
readonly setMode: import("effector").EventCallable<FluencyMode>;
|
|
17
|
+
readonly $mode: import("effector").StoreWritable<FluencyMode>;
|
|
18
|
+
constructor({ api }: FluencyModelProps);
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=FluencyModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyModel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,KAAK,iBAAiB,GAAG;IACvB,GAAG,EAAE,EAAE,CAAA;CACR,CAAA;AAED,qBAAa,YAAY;IACvB,SAAgB,GAAG,EAAE,eAAe,CAAA;IACpC,SAAgB,MAAM,EAAE,sBAAsB,CAAA;IAC9C,SAAgB,MAAM,EAAE,kBAAkB,CAAA;IAC1C,SAAgB,OAAO,EAAE,mBAAmB,CAAA;IAC5C,SAAgB,KAAK,EAAE,iBAAiB,CAAA;IAExC,SAAgB,OAAO,gDAA6B;IACpD,SAAgB,KAAK,gDAA8C;gBAEvD,EAAE,GAAG,EAAE,EAAE,iBAAiB;CAOvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencySolvingModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencySolvingModel.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
jest.mock('@magmamath/react-native-ui', () => ({
|
|
2
|
+
ButtonColor: {
|
|
3
|
+
GREEN: 'GREEN',
|
|
4
|
+
ORANGE: 'ORANGE',
|
|
5
|
+
BLUE: 'BLUE',
|
|
6
|
+
PURPLE: 'PURPLE',
|
|
7
|
+
},
|
|
8
|
+
COLORS: new Proxy({}, { get: (_: object, key: string) => key }),
|
|
9
|
+
}))
|
|
10
|
+
|
|
11
|
+
import { allSettled, fork } from 'effector'
|
|
12
|
+
import { FluencyModel } from '../model/FluencyModel'
|
|
13
|
+
import { FluencyMode } from '../fluency.constants'
|
|
14
|
+
|
|
15
|
+
describe('FluencyModel.$mode', () => {
|
|
16
|
+
it('defaults to ADDITION', () => {
|
|
17
|
+
const model = new FluencyModel({ api: {} })
|
|
18
|
+
const scope = fork()
|
|
19
|
+
expect(scope.getState(model.$mode)).toBe(FluencyMode.ADDITION)
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
it('updates when setMode is called', async () => {
|
|
23
|
+
const model = new FluencyModel({ api: {} })
|
|
24
|
+
const scope = fork()
|
|
25
|
+
await allSettled(model.setMode, { scope, params: FluencyMode.SUBTRACTION })
|
|
26
|
+
expect(scope.getState(model.$mode)).toBe(FluencyMode.SUBTRACTION)
|
|
27
|
+
})
|
|
28
|
+
})
|