@magmamath/students-features 1.7.10-rc.2 → 1.8.0-rc.0
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-teacher/assets/{SortDefaultIcon.js → DivisionIcon.js} +11 -8
- package/dist/commonjs/features/fluency-teacher/assets/DivisionIcon.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js +4 -3
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js +48 -43
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js +11 -28
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +27 -44
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +47 -40
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js +14 -24
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +6 -6
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js +2 -16
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.js +83 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js +1 -2
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js +15 -41
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/AverageCell.js +55 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AverageCell.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js +6 -62
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +42 -40
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js +25 -16
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/SortOrderCarets.js +40 -0
- package/dist/commonjs/features/fluency-teacher/components/table/SortOrderCarets.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js +30 -40
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js +59 -72
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/components/table/tableCell.styles.js +45 -0
- package/dist/commonjs/features/fluency-teacher/components/table/tableCell.styles.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js +103 -38
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js +52 -10
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js +3 -2
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +2 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js +9 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/groups/units.constants.js +2 -2
- package/dist/commonjs/features/keyboard/constants/groups/units.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js +2 -2
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/commonjs/features/voice/constants.js +3 -42
- package/dist/commonjs/features/voice/constants.js.map +1 -1
- package/dist/commonjs/features/voice/helpers.js +1 -67
- package/dist/commonjs/features/voice/helpers.js.map +1 -1
- package/dist/commonjs/features/voice/index.js +0 -77
- package/dist/commonjs/features/voice/index.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptContent.js +9 -22
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptContent.js.map +1 -1
- package/dist/commonjs/features/voice/playing/model/TranscriptionsDownloader.model.js +27 -4
- package/dist/commonjs/features/voice/playing/model/TranscriptionsDownloader.model.js.map +1 -1
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorder.js +2 -17
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorder.js.map +1 -1
- package/dist/commonjs/features/voice/recording/model/Recorder.model.js +0 -3
- package/dist/commonjs/features/voice/recording/model/Recorder.model.js.map +1 -1
- package/dist/commonjs/features/voice/types.js +7 -11
- package/dist/commonjs/features/voice/types.js.map +1 -1
- package/dist/module/features/fluency-teacher/assets/DivisionIcon.js +26 -0
- package/dist/module/features/fluency-teacher/assets/DivisionIcon.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js +4 -3
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js +49 -44
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js +14 -31
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +28 -45
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +48 -41
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js +17 -27
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +6 -6
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js +3 -17
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/matrix/MatrixLegend.js +77 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixLegend.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js +1 -2
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js +16 -42
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/AverageCell.js +49 -0
- package/dist/module/features/fluency-teacher/components/table/AverageCell.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js +7 -63
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +44 -42
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js +25 -16
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/SortOrderCarets.js +34 -0
- package/dist/module/features/fluency-teacher/components/table/SortOrderCarets.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js +32 -42
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/TableRow.js +62 -75
- package/dist/module/features/fluency-teacher/components/table/TableRow.js.map +1 -1
- package/dist/module/features/fluency-teacher/components/table/tableCell.styles.js +42 -0
- package/dist/module/features/fluency-teacher/components/table/tableCell.styles.js.map +1 -0
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -1
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js +102 -37
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -1
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js +43 -8
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -1
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js +3 -2
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -1
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +2 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js +9 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -1
- package/dist/module/features/keyboard/constants/groups/units.constants.js +2 -2
- package/dist/module/features/keyboard/constants/groups/units.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.constants.js +2 -2
- package/dist/module/features/keyboard/constants/keys/units.constants.js +1 -1
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/voice/constants.js +0 -41
- package/dist/module/features/voice/constants.js.map +1 -1
- package/dist/module/features/voice/helpers.js +1 -65
- package/dist/module/features/voice/helpers.js.map +1 -1
- package/dist/module/features/voice/index.js +0 -7
- package/dist/module/features/voice/index.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptContent.js +9 -20
- package/dist/module/features/voice/playing/components/VoiceTranscriptContent.js.map +1 -1
- package/dist/module/features/voice/playing/model/TranscriptionsDownloader.model.js +27 -4
- package/dist/module/features/voice/playing/model/TranscriptionsDownloader.model.js.map +1 -1
- package/dist/module/features/voice/recording/hooks/useVoiceRecorder.js +3 -20
- package/dist/module/features/voice/recording/hooks/useVoiceRecorder.js.map +1 -1
- package/dist/module/features/voice/recording/model/Recorder.model.js +0 -3
- package/dist/module/features/voice/recording/model/Recorder.model.js.map +1 -1
- package/dist/module/features/voice/types.js +6 -4
- package/dist/module/features/voice/types.js.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/assets/DivisionIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/DivisionIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +1 -4
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +6 -4
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +3 -2
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts +6 -5
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +2 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts +5 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageCell.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageCell.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts +2 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts +5 -4
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/SortOrderCarets.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/SortOrderCarets.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +7 -6
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts +4 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/tableCell.styles.d.ts +35 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/tableCell.styles.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts +16 -3
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts +11 -4
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts +35 -6
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts +1 -12
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +3 -3
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/constants.d.ts +0 -34
- package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/helpers.d.ts +0 -3
- package/dist/typescript/commonjs/features/voice/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/index.d.ts +0 -7
- package/dist/typescript/commonjs/features/voice/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceTranscriptContent.d.ts +1 -3
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceTranscriptContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/playing/model/TranscriptionsDownloader.model.d.ts +7 -2
- package/dist/typescript/commonjs/features/voice/playing/model/TranscriptionsDownloader.model.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorder.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/model/Recorder.model.d.ts +0 -2
- package/dist/typescript/commonjs/features/voice/recording/model/Recorder.model.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/types.d.ts +5 -2
- package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/assets/DivisionIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency-teacher/assets/DivisionIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +1 -4
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +6 -4
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +3 -2
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts +6 -5
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +2 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixLegend.d.ts +10 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixLegend.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts +5 -3
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageCell.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageCell.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts +2 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts +5 -4
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/SortOrderCarets.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/SortOrderCarets.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +7 -6
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts +4 -3
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/tableCell.styles.d.ts +35 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/tableCell.styles.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts +1 -0
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts +16 -3
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts +11 -4
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts +35 -6
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts +1 -12
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +3 -3
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/groups/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/constants.d.ts +0 -34
- package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/helpers.d.ts +0 -3
- package/dist/typescript/module/features/voice/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/index.d.ts +0 -7
- package/dist/typescript/module/features/voice/index.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/playing/components/VoiceTranscriptContent.d.ts +1 -3
- package/dist/typescript/module/features/voice/playing/components/VoiceTranscriptContent.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/playing/model/TranscriptionsDownloader.model.d.ts +7 -2
- package/dist/typescript/module/features/voice/playing/model/TranscriptionsDownloader.model.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorder.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/model/Recorder.model.d.ts +0 -2
- package/dist/typescript/module/features/voice/recording/model/Recorder.model.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/types.d.ts +5 -2
- package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/fluency-teacher/assets/DivisionIcon.tsx +20 -0
- package/src/features/fluency-teacher/components/FluencyTeacher.tsx +3 -3
- package/src/features/fluency-teacher/components/drawer/DrawerHeader.tsx +37 -35
- package/src/features/fluency-teacher/components/drawer/DrawerMatrixes.tsx +13 -32
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx +20 -40
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.tsx +35 -35
- package/src/features/fluency-teacher/components/drawer/DrawerStats.tsx +16 -28
- package/src/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx +4 -5
- package/src/features/fluency-teacher/components/matrix/DrawerMatrix.tsx +3 -2
- package/src/features/fluency-teacher/components/matrix/MatrixCell.tsx +7 -16
- package/src/features/fluency-teacher/components/matrix/MatrixHeaderRow.tsx +1 -1
- package/src/features/fluency-teacher/components/matrix/MatrixLegend.tsx +81 -0
- package/src/features/fluency-teacher/components/matrix/MatrixRow.tsx +4 -4
- package/src/features/fluency-teacher/components/table/AllPupilsTableRow.tsx +13 -40
- package/src/features/fluency-teacher/components/table/AverageCell.tsx +45 -0
- package/src/features/fluency-teacher/components/table/AverageSortButton.tsx +8 -62
- package/src/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.tsx +49 -35
- package/src/features/fluency-teacher/components/table/OperatorBadge.tsx +18 -11
- package/src/features/fluency-teacher/components/table/SortOrderCarets.tsx +37 -0
- package/src/features/fluency-teacher/components/table/TableColumnSortButton.tsx +28 -49
- package/src/features/fluency-teacher/components/table/TableRow.tsx +65 -64
- package/src/features/fluency-teacher/components/table/tableCell.styles.ts +39 -0
- package/src/features/fluency-teacher/context/TeacherFluencyContext.ts +1 -0
- package/src/features/fluency-teacher/fluencyTeacher.constants.ts +138 -40
- package/src/features/fluency-teacher/fluencyTeacher.helpers.ts +82 -10
- package/src/features/fluency-teacher/fluencyTeacher.types.ts +39 -6
- package/src/features/fluency-teacher/hooks/useDrawerGrid.ts +4 -7
- package/src/features/fluency-teacher/hooks/useDrawerMatrix.ts +4 -3
- package/src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts +8 -5
- package/src/features/fluency-teacher/model/TeacherFluencyModel.ts +8 -0
- package/src/features/keyboard/constants/groups/units.constants.ts +4 -2
- package/src/features/keyboard/constants/keyboard.constants.ts +2 -2
- package/src/features/keyboard/constants/keys/units.constants.tsx +1 -1
- package/src/features/voice/constants.ts +0 -43
- package/src/features/voice/helpers.ts +1 -85
- package/src/features/voice/index.ts +0 -7
- package/src/features/voice/playing/components/VoiceTranscriptContent.tsx +8 -27
- package/src/features/voice/playing/model/TranscriptionsDownloader.model.ts +30 -8
- package/src/features/voice/recording/hooks/useVoiceRecorder.ts +3 -26
- package/src/features/voice/recording/model/Recorder.model.ts +0 -3
- package/src/features/voice/types.ts +6 -5
- package/src/i18n/.generated/schema.json +13 -11
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.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/table/TableRowAverageProgress.js +0 -71
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +0 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordWithTranscript.js +0 -49
- package/dist/commonjs/features/voice/recording/components/VoiceRecordWithTranscript.js.map +0 -1
- package/dist/commonjs/features/voice/recording/components/VoiceTranscriptPanel.js +0 -253
- package/dist/commonjs/features/voice/recording/components/VoiceTranscriptPanel.js.map +0 -1
- package/dist/commonjs/features/voice/recording/components/VoiceWaveform.js +0 -93
- package/dist/commonjs/features/voice/recording/components/VoiceWaveform.js.map +0 -1
- package/dist/commonjs/features/voice/recording/hooks/useTranscriptPanelAnimation.js +0 -42
- package/dist/commonjs/features/voice/recording/hooks/useTranscriptPanelAnimation.js.map +0 -1
- package/dist/commonjs/features/voice/recording/hooks/useVoiceWaveform.js +0 -43
- package/dist/commonjs/features/voice/recording/hooks/useVoiceWaveform.js.map +0 -1
- package/dist/commonjs/features/voice/recording/model/VoiceRecordWithTranscript.model.js +0 -100
- package/dist/commonjs/features/voice/recording/model/VoiceRecordWithTranscript.model.js.map +0 -1
- package/dist/commonjs/features/voice/recording/model/VoiceTranscriptPanel.model.js +0 -115
- package/dist/commonjs/features/voice/recording/model/VoiceTranscriptPanel.model.js.map +0 -1
- package/dist/commonjs/features/voice/transcript.helpers.js +0 -36
- package/dist/commonjs/features/voice/transcript.helpers.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/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/table/TableRowAverageProgress.js +0 -65
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +0 -1
- package/dist/module/features/voice/recording/components/VoiceRecordWithTranscript.js +0 -43
- package/dist/module/features/voice/recording/components/VoiceRecordWithTranscript.js.map +0 -1
- package/dist/module/features/voice/recording/components/VoiceTranscriptPanel.js +0 -246
- package/dist/module/features/voice/recording/components/VoiceTranscriptPanel.js.map +0 -1
- package/dist/module/features/voice/recording/components/VoiceWaveform.js +0 -86
- package/dist/module/features/voice/recording/components/VoiceWaveform.js.map +0 -1
- package/dist/module/features/voice/recording/hooks/useTranscriptPanelAnimation.js +0 -37
- package/dist/module/features/voice/recording/hooks/useTranscriptPanelAnimation.js.map +0 -1
- package/dist/module/features/voice/recording/hooks/useVoiceWaveform.js +0 -38
- package/dist/module/features/voice/recording/hooks/useVoiceWaveform.js.map +0 -1
- package/dist/module/features/voice/recording/model/VoiceRecordWithTranscript.model.js +0 -95
- package/dist/module/features/voice/recording/model/VoiceRecordWithTranscript.model.js.map +0 -1
- package/dist/module/features/voice/recording/model/VoiceTranscriptPanel.model.js +0 -110
- package/dist/module/features/voice/recording/model/VoiceTranscriptPanel.model.js.map +0 -1
- package/dist/module/features/voice/transcript.helpers.js +0 -31
- package/dist/module/features/voice/transcript.helpers.js.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/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/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/voice/__tests__/VoiceRecordWithTranscript.model.test.d.ts +0 -2
- package/dist/typescript/commonjs/features/voice/__tests__/VoiceRecordWithTranscript.model.test.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/__tests__/VoiceTranscriptPanel.model.test.d.ts +0 -2
- package/dist/typescript/commonjs/features/voice/__tests__/VoiceTranscriptPanel.model.test.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordWithTranscript.d.ts +0 -13
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordWithTranscript.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceTranscriptPanel.d.ts +0 -11
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceTranscriptPanel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceWaveform.d.ts +0 -8
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceWaveform.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useTranscriptPanelAnimation.d.ts +0 -18
- package/dist/typescript/commonjs/features/voice/recording/hooks/useTranscriptPanelAnimation.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceWaveform.d.ts +0 -7
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceWaveform.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecordWithTranscript.model.d.ts +0 -16
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecordWithTranscript.model.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceTranscriptPanel.model.d.ts +0 -31
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceTranscriptPanel.model.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/voice/transcript.helpers.d.ts +0 -8
- package/dist/typescript/commonjs/features/voice/transcript.helpers.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/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/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/voice/__tests__/VoiceRecordWithTranscript.model.test.d.ts +0 -2
- package/dist/typescript/module/features/voice/__tests__/VoiceRecordWithTranscript.model.test.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/__tests__/VoiceTranscriptPanel.model.test.d.ts +0 -2
- package/dist/typescript/module/features/voice/__tests__/VoiceTranscriptPanel.model.test.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordWithTranscript.d.ts +0 -13
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordWithTranscript.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceTranscriptPanel.d.ts +0 -11
- package/dist/typescript/module/features/voice/recording/components/VoiceTranscriptPanel.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceWaveform.d.ts +0 -8
- package/dist/typescript/module/features/voice/recording/components/VoiceWaveform.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/hooks/useTranscriptPanelAnimation.d.ts +0 -18
- package/dist/typescript/module/features/voice/recording/hooks/useTranscriptPanelAnimation.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceWaveform.d.ts +0 -7
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceWaveform.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/model/VoiceRecordWithTranscript.model.d.ts +0 -16
- package/dist/typescript/module/features/voice/recording/model/VoiceRecordWithTranscript.model.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/recording/model/VoiceTranscriptPanel.model.d.ts +0 -31
- package/dist/typescript/module/features/voice/recording/model/VoiceTranscriptPanel.model.d.ts.map +0 -1
- package/dist/typescript/module/features/voice/transcript.helpers.d.ts +0 -8
- package/dist/typescript/module/features/voice/transcript.helpers.d.ts.map +0 -1
- package/src/features/fluency-teacher/assets/SortDefaultIcon.tsx +0 -10
- package/src/features/fluency-teacher/components/drawer/DrawerMasteryLegend.tsx +0 -63
- package/src/features/fluency-teacher/components/table/TableRowAverageProgress.tsx +0 -65
- package/src/features/voice/__tests__/VoiceRecordWithTranscript.model.test.ts +0 -228
- package/src/features/voice/__tests__/VoiceTranscriptPanel.model.test.ts +0 -237
- package/src/features/voice/recording/components/VoiceRecordWithTranscript.tsx +0 -52
- package/src/features/voice/recording/components/VoiceTranscriptPanel.tsx +0 -293
- package/src/features/voice/recording/components/VoiceWaveform.tsx +0 -102
- package/src/features/voice/recording/hooks/useTranscriptPanelAnimation.ts +0 -49
- package/src/features/voice/recording/hooks/useVoiceWaveform.ts +0 -46
- package/src/features/voice/recording/model/VoiceRecordWithTranscript.model.ts +0 -104
- package/src/features/voice/recording/model/VoiceTranscriptPanel.model.ts +0 -131
- package/src/features/voice/transcript.helpers.ts +0 -37
package/dist/commonjs/features/fluency-teacher/assets/{SortDefaultIcon.js → DivisionIcon.js}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.DivisionIcon = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
9
9
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
@@ -11,21 +11,24 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
11
11
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
const
|
|
14
|
+
const DivisionIcon = ({
|
|
15
15
|
color = _reactNativeUi.COLORS.NEUTRAL_9,
|
|
16
|
-
size =
|
|
16
|
+
size = 16
|
|
17
17
|
}) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
|
|
18
18
|
width: size,
|
|
19
19
|
height: size,
|
|
20
|
-
viewBox: "0 0
|
|
20
|
+
viewBox: "0 0 16 16",
|
|
21
21
|
fill: "none",
|
|
22
22
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
23
|
-
d: "
|
|
23
|
+
d: "M8.0002 10.7996C8.82854 10.7996 9.50006 11.4713 9.5002 12.2996C9.5002 13.128 8.82862 13.7996 8.0002 13.7996C7.17177 13.7996 6.5002 13.128 6.5002 12.2996C6.50033 11.4713 7.17185 10.7996 8.0002 10.7996Z",
|
|
24
24
|
fill: color
|
|
25
25
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
26
|
-
d: "
|
|
26
|
+
d: "M14.4006 7.2C14.8423 7.20019 15.2004 7.55809 15.2004 7.9998C15.2004 8.4415 14.8422 8.79942 14.4006 8.79961H1.59981C1.15819 8.79937 0.800026 8.44146 0.8 7.9998C0.8 7.55812 1.15818 7.20024 1.5998 7.2H14.4006Z",
|
|
27
|
+
fill: color
|
|
28
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
29
|
+
d: "M8.0002 2.2C8.82862 2.2 9.5002 2.87157 9.5002 3.7C9.50006 4.52831 8.82854 5.2 8.0002 5.2C7.17185 5.2 6.50033 4.52831 6.5002 3.7C6.5002 2.87157 7.17177 2.2 8.0002 2.2Z",
|
|
27
30
|
fill: color
|
|
28
31
|
})]
|
|
29
32
|
});
|
|
30
|
-
exports.
|
|
31
|
-
//# sourceMappingURL=
|
|
33
|
+
exports.DivisionIcon = DivisionIcon;
|
|
34
|
+
//# sourceMappingURL=DivisionIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_reactNativeUi","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DivisionIcon","color","COLORS","NEUTRAL_9","size","jsxs","width","height","viewBox","fill","children","jsx","Path","d","exports"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/assets/DivisionIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAA8D,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAK,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAf,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA;AAEvD,MAAMmB,YAAY,GAAGA,CAAC;EAAEC,KAAK,GAAGC,qBAAM,CAACC,SAAS;EAAEC,IAAI,GAAG;AAAc,CAAC,kBAC7E,IAAAzB,WAAA,CAAA0B,IAAA,EAAC7B,eAAA,CAAAU,OAAG;EAACoB,KAAK,EAAEF,IAAK;EAACG,MAAM,EAAEH,IAAK;EAACI,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC,MAAM;EAAAC,QAAA,gBAC7D,IAAA/B,WAAA,CAAAgC,GAAA,EAACnC,eAAA,CAAAoC,IAAI;IACHC,CAAC,EAAC,0MAA0M;IAC5MJ,IAAI,EAAER;EAAM,CACb,CAAC,eACF,IAAAtB,WAAA,CAAAgC,GAAA,EAACnC,eAAA,CAAAoC,IAAI;IACHC,CAAC,EAAC,gNAAgN;IAClNJ,IAAI,EAAER;EAAM,CACb,CAAC,eACF,IAAAtB,WAAA,CAAAgC,GAAA,EAACnC,eAAA,CAAAoC,IAAI;IACHC,CAAC,EAAC,wKAAwK;IAC1KJ,IAAI,EAAER;EAAM,CACb,CAAC;AAAA,CACC,CACN;AAAAa,OAAA,CAAAd,YAAA,GAAAA,YAAA","ignoreList":[]}
|
|
@@ -9,10 +9,10 @@ var _effectorReact = require("effector-react");
|
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
11
11
|
var _FluencyTeacherStudentsTable = require("./table/FluencyTeacherStudentsTable.js");
|
|
12
|
+
var _FluencyTeacherFooter = require("./FluencyTeacherFooter.js");
|
|
12
13
|
var _FluencyTeacherFilters = require("./table/FluencyTeacherFilters.js");
|
|
13
14
|
var _FluencyTeacherHeader = require("./header/FluencyTeacherHeader.js");
|
|
14
15
|
var _FluencyTeacherDrawer = require("./drawer/FluencyTeacherDrawer.js");
|
|
15
|
-
var _FluencyTeacherFooter = require("./FluencyTeacherFooter.js");
|
|
16
16
|
var _TeacherFluencyContext = require("../context/TeacherFluencyContext.js");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -27,11 +27,12 @@ const FluencyTeacher = ({
|
|
|
27
27
|
});
|
|
28
28
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TeacherFluencyContext.TeacherFluencyProvider, {
|
|
29
29
|
value: {
|
|
30
|
-
model
|
|
30
|
+
model,
|
|
31
|
+
grade
|
|
31
32
|
},
|
|
32
33
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
33
34
|
style: styles.container,
|
|
34
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherHeader.FluencyTeacherHeader, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherFilters.FluencyTeacherFilters, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherStudentsTable.FluencyTeacherStudentsTable, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
35
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherHeader.FluencyTeacherHeader, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherFilters.FluencyTeacherFilters, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherStudentsTable.FluencyTeacherStudentsTable, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherFooter.FluencyTeacherFooter, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluencyTeacherDrawer.FluencyTeacherDrawer, {})]
|
|
35
36
|
})
|
|
36
37
|
});
|
|
37
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_effectorReact","_reactNative","_reactNativeUi","_FluencyTeacherStudentsTable","_FluencyTeacherFilters","_FluencyTeacherHeader","_FluencyTeacherDrawer","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_effectorReact","_reactNative","_reactNativeUi","_FluencyTeacherStudentsTable","_FluencyTeacherFooter","_FluencyTeacherFilters","_FluencyTeacherHeader","_FluencyTeacherDrawer","_TeacherFluencyContext","_jsxRuntime","e","__esModule","default","FluencyTeacher","model","students","grade","useGate","gate","jsx","TeacherFluencyProvider","value","children","jsxs","View","style","styles","container","FluencyTeacherHeader","FluencyTeacherFilters","FluencyTeacherStudentsTable","FluencyTeacherFooter","FluencyTeacherDrawer","exports","StyleSheet","create","flex","gap","SPACING"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/components/FluencyTeacher.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAEA,IAAAI,4BAAA,GAAAJ,OAAA;AACA,IAAAK,qBAAA,GAAAL,OAAA;AACA,IAAAM,sBAAA,GAAAN,OAAA;AACA,IAAAO,qBAAA,GAAAP,OAAA;AACA,IAAAQ,qBAAA,GAAAR,OAAA;AAEA,IAAAS,sBAAA,GAAAT,OAAA;AAAyE,IAAAU,WAAA,GAAAV,OAAA;AAAA,SAAAD,uBAAAY,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAQlE,MAAMG,cAAc,GAAGA,CAAC;EAAEC,KAAK;EAAEC,QAAQ;EAAEC;AAA2B,CAAC,KAAK;EACjF,IAAAC,sBAAO,EAACH,KAAK,CAACI,IAAI,EAAE;IAAEH,QAAQ;IAAEC;EAAM,CAAC,CAAC;EAExC,oBACE,IAAAP,WAAA,CAAAU,GAAA,EAACX,sBAAA,CAAAY,sBAAsB;IAACC,KAAK,EAAE;MAAEP,KAAK;MAAEE;IAAM,CAAE;IAAAM,QAAA,eAC9C,IAAAb,WAAA,CAAAc,IAAA,EAACtB,YAAA,CAAAuB,IAAI;MAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;MAAAL,QAAA,gBAC5B,IAAAb,WAAA,CAAAU,GAAA,EAACb,qBAAA,CAAAsB,oBAAoB,IAAE,CAAC,eACxB,IAAAnB,WAAA,CAAAU,GAAA,EAACd,sBAAA,CAAAwB,qBAAqB,IAAE,CAAC,eACzB,IAAApB,WAAA,CAAAU,GAAA,EAAChB,4BAAA,CAAA2B,2BAA2B,IAAE,CAAC,eAC/B,IAAArB,WAAA,CAAAU,GAAA,EAACf,qBAAA,CAAA2B,oBAAoB,IAAE,CAAC,eACxB,IAAAtB,WAAA,CAAAU,GAAA,EAACZ,qBAAA,CAAAyB,oBAAoB,IAAE,CAAC;IAAA,CACpB;EAAC,CACe,CAAC;AAE7B,CAAC;AAAAC,OAAA,CAAApB,cAAA,GAAAA,cAAA;AAED,MAAMa,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,IAAI,EAAE,CAAC;IACPC,GAAG,EAAEC,sBAAO,CAAC,GAAG;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -8,6 +8,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
10
10
|
var _i18n = require("../../../../i18n/i18n.js");
|
|
11
|
+
var _AverageCell = require("../table/AverageCell.js");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
const DrawerHeader = ({
|
|
@@ -17,31 +18,36 @@ const DrawerHeader = ({
|
|
|
17
18
|
const t = (0, _i18n.useText)();
|
|
18
19
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
19
20
|
style: styles.container,
|
|
20
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
21
|
-
style: styles.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
style: styles.label,
|
|
25
|
-
children: t('teacher.fluency.studentFluency')
|
|
26
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
27
|
-
style: styles.name,
|
|
28
|
-
children: student.name
|
|
29
|
-
})]
|
|
21
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
22
|
+
style: styles.name,
|
|
23
|
+
numberOfLines: 1,
|
|
24
|
+
children: student.name
|
|
30
25
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
31
|
-
style: styles.
|
|
32
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
33
|
-
style: styles.
|
|
34
|
-
children:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
style: styles.mastery,
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
28
|
+
style: styles.masteryRow,
|
|
29
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
30
|
+
style: styles.masteryLabel,
|
|
31
|
+
numberOfLines: 1,
|
|
32
|
+
children: t('teacher.fluency.overallMastery')
|
|
33
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
34
|
+
style: styles.masteryValue,
|
|
35
|
+
children: [student.averagePercent, "%"]
|
|
36
|
+
})]
|
|
37
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
38
|
+
style: styles.masteryBar,
|
|
39
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AverageCell.AverageCell, {
|
|
40
|
+
percent: student.averagePercent,
|
|
41
|
+
height: 22,
|
|
42
|
+
showPercent: false
|
|
43
|
+
})
|
|
38
44
|
})]
|
|
39
45
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
40
|
-
variant: _reactNativeUi.ButtonVariant.
|
|
46
|
+
variant: _reactNativeUi.ButtonVariant.TERTIARY,
|
|
41
47
|
colorScheme: _reactNativeUi.ButtonColor.WHITE,
|
|
42
48
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.CrossIcon, {
|
|
43
49
|
size: 18,
|
|
44
|
-
color: _reactNativeUi.COLORS.
|
|
50
|
+
color: _reactNativeUi.COLORS.NEUTRAL_9
|
|
45
51
|
}),
|
|
46
52
|
onPress: onClose,
|
|
47
53
|
style: {
|
|
@@ -55,45 +61,44 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
55
61
|
container: {
|
|
56
62
|
flexDirection: 'row',
|
|
57
63
|
alignItems: 'center',
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
borderTopWidth: 1,
|
|
64
|
+
gap: _reactNativeUi.SPACING[400],
|
|
65
|
+
padding: _reactNativeUi.SPACING[400],
|
|
61
66
|
borderBottomWidth: 1,
|
|
62
67
|
borderColor: _reactNativeUi.COLORS.NEUTRAL_4
|
|
63
68
|
},
|
|
64
|
-
left: {
|
|
65
|
-
marginLeft: 48
|
|
66
|
-
},
|
|
67
|
-
label: {
|
|
68
|
-
color: _reactNativeUi.COLORS.GREEN_7,
|
|
69
|
-
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresSemiBold,
|
|
70
|
-
fontWeight: '600'
|
|
71
|
-
},
|
|
72
69
|
name: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
flex: 1,
|
|
71
|
+
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresSemiBold,
|
|
72
|
+
fontWeight: '600',
|
|
73
|
+
fontSize: 24,
|
|
76
74
|
color: _reactNativeUi.COLORS.NEUTRAL_10
|
|
77
75
|
},
|
|
78
|
-
|
|
76
|
+
mastery: {
|
|
77
|
+
alignItems: 'flex-end'
|
|
78
|
+
},
|
|
79
|
+
masteryBar: {
|
|
80
|
+
width: 150
|
|
81
|
+
},
|
|
82
|
+
masteryRow: {
|
|
83
|
+
flexDirection: 'row',
|
|
79
84
|
alignItems: 'flex-end',
|
|
80
|
-
|
|
85
|
+
gap: _reactNativeUi.SPACING[100]
|
|
81
86
|
},
|
|
82
87
|
masteryLabel: {
|
|
83
|
-
fontFamily: _reactNativeUi.FONT_FAMILY.
|
|
84
|
-
fontWeight: '
|
|
88
|
+
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAires,
|
|
89
|
+
fontWeight: '400',
|
|
85
90
|
fontSize: 13,
|
|
91
|
+
lineHeight: 26,
|
|
86
92
|
color: _reactNativeUi.COLORS.NEUTRAL_7
|
|
87
93
|
},
|
|
88
94
|
masteryValue: {
|
|
89
|
-
fontFamily: _reactNativeUi.FONT_FAMILY.
|
|
90
|
-
fontWeight: '
|
|
91
|
-
fontSize:
|
|
92
|
-
color: _reactNativeUi.COLORS.
|
|
95
|
+
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresSemiBold,
|
|
96
|
+
fontWeight: '600',
|
|
97
|
+
fontSize: 24,
|
|
98
|
+
color: _reactNativeUi.COLORS.PRIMARY_YELLOW
|
|
93
99
|
},
|
|
94
100
|
closeButton: {
|
|
95
|
-
alignSelf: 'center'
|
|
96
|
-
marginLeft: _reactNativeUi.SPACING[600]
|
|
101
|
+
alignSelf: 'center'
|
|
97
102
|
}
|
|
98
103
|
});
|
|
99
104
|
//# sourceMappingURL=DrawerHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_i18n","_jsxRuntime","e","__esModule","default","DrawerHeader","student","onClose","t","useText","jsxs","View","style","styles","container","children","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_i18n","_AverageCell","_jsxRuntime","e","__esModule","default","DrawerHeader","student","onClose","t","useText","jsxs","View","style","styles","container","children","jsx","Text","name","numberOfLines","mastery","masteryRow","masteryLabel","masteryValue","averagePercent","masteryBar","AverageCell","percent","height","showPercent","Button","variant","ButtonVariant","TERTIARY","colorScheme","ButtonColor","WHITE","icon","CrossIcon","size","color","COLORS","NEUTRAL_9","onPress","closeButton","exports","StyleSheet","create","flexDirection","alignItems","gap","SPACING","padding","borderBottomWidth","borderColor","NEUTRAL_4","flex","fontFamily","FONT_FAMILY","buenosAiresSemiBold","fontWeight","fontSize","NEUTRAL_10","width","buenosAires","lineHeight","NEUTRAL_7","PRIMARY_YELLOW","alignSelf"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/drawer/DrawerHeader.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -8,39 +8,23 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
10
10
|
var _i18n = require("../../../../i18n/i18n.js");
|
|
11
|
+
var _TeacherFluencyContext = require("../../context/TeacherFluencyContext.js");
|
|
11
12
|
var _DrawerOperatorBox = require("./DrawerOperatorBox.js");
|
|
12
13
|
var _fluencyTeacherConstants = require("../../fluencyTeacher.constants.js");
|
|
14
|
+
var _fluencyTeacherHelpers = require("../../fluencyTeacher.helpers.js");
|
|
13
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
17
|
const DrawerMatrixes = () => {
|
|
16
18
|
const t = (0, _i18n.useText)();
|
|
17
|
-
|
|
19
|
+
const {
|
|
20
|
+
grade
|
|
21
|
+
} = (0, _TeacherFluencyContext.useTeacherFluency)();
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
18
23
|
style: styles.grid,
|
|
19
|
-
children:
|
|
20
|
-
title: t(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
iconColor: _reactNativeUi.COLORS.GREEN_7,
|
|
24
|
-
operator: _fluencyTeacherConstants.FluencyOperator.ADDITION
|
|
25
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DrawerOperatorBox.DrawerOperatorBox, {
|
|
26
|
-
title: t('student.fluency.subtraction'),
|
|
27
|
-
symbol: _fluencyTeacherConstants.FluencyMathOperatorSymbol.SUBTRACTION,
|
|
28
|
-
iconBg: _reactNativeUi.COLORS.ORANGE_1,
|
|
29
|
-
iconColor: _reactNativeUi.COLORS.ORANGE_7,
|
|
30
|
-
operator: _fluencyTeacherConstants.FluencyOperator.SUBTRACTION
|
|
31
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DrawerOperatorBox.DrawerOperatorBox, {
|
|
32
|
-
title: t('student.fluency.multiplication'),
|
|
33
|
-
symbol: _fluencyTeacherConstants.FluencyMathOperatorSymbol.MULTIPLICATION,
|
|
34
|
-
iconBg: _reactNativeUi.COLORS.BLUE_1,
|
|
35
|
-
iconColor: _reactNativeUi.COLORS.BLUE_7,
|
|
36
|
-
operator: _fluencyTeacherConstants.FluencyOperator.MULTIPLICATION
|
|
37
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DrawerOperatorBox.DrawerOperatorBox, {
|
|
38
|
-
title: t('student.fluency.division'),
|
|
39
|
-
symbol: _fluencyTeacherConstants.FluencyMathOperatorSymbol.DIVISION,
|
|
40
|
-
iconBg: _reactNativeUi.COLORS.PURPLE_1,
|
|
41
|
-
iconColor: _reactNativeUi.COLORS.PURPLE_7,
|
|
42
|
-
operator: _fluencyTeacherConstants.FluencyOperator.DIVISION
|
|
43
|
-
})]
|
|
24
|
+
children: (0, _fluencyTeacherHelpers.getOperatorsForGrade)(grade).map(operator => /*#__PURE__*/(0, _jsxRuntime.jsx)(_DrawerOperatorBox.DrawerOperatorBox, {
|
|
25
|
+
title: t(_fluencyTeacherConstants.OPERATOR_CARD_CONFIG[operator].labelKey),
|
|
26
|
+
operator: operator
|
|
27
|
+
}, operator))
|
|
44
28
|
});
|
|
45
29
|
};
|
|
46
30
|
exports.DrawerMatrixes = DrawerMatrixes;
|
|
@@ -48,8 +32,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
48
32
|
grid: {
|
|
49
33
|
flexDirection: 'row',
|
|
50
34
|
flexWrap: 'wrap',
|
|
51
|
-
gap: _reactNativeUi.SPACING[
|
|
52
|
-
marginTop: _reactNativeUi.SPACING[300],
|
|
35
|
+
gap: _reactNativeUi.SPACING[400],
|
|
53
36
|
marginBottom: _reactNativeUi.SPACING[600]
|
|
54
37
|
}
|
|
55
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_i18n","_DrawerOperatorBox","_fluencyTeacherConstants","_jsxRuntime","e","__esModule","default","DrawerMatrixes","t","useText","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_i18n","_TeacherFluencyContext","_DrawerOperatorBox","_fluencyTeacherConstants","_fluencyTeacherHelpers","_jsxRuntime","e","__esModule","default","DrawerMatrixes","t","useText","grade","useTeacherFluency","jsx","View","style","styles","grid","children","getOperatorsForGrade","map","operator","DrawerOperatorBox","title","OPERATOR_CARD_CONFIG","labelKey","exports","StyleSheet","create","flexDirection","flexWrap","gap","SPACING","marginBottom"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/drawer/DrawerMatrixes.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,sBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,wBAAA,GAAAN,OAAA;AACA,IAAAO,sBAAA,GAAAP,OAAA;AAAmE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE5D,MAAMG,cAAc,GAAGA,CAAA,KAAM;EAClC,MAAMC,CAAC,GAAG,IAAAC,aAAO,EAAC,CAAC;EACnB,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,wCAAiB,EAAC,CAAC;EACrC,oBACE,IAAAR,WAAA,CAAAS,GAAA,EAAChB,YAAA,CAAAiB,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,IAAK;IAAAC,QAAA,EACtB,IAAAC,2CAAoB,EAACR,KAAK,CAAC,CAACS,GAAG,CAAEC,QAAQ,iBACxC,IAAAjB,WAAA,CAAAS,GAAA,EAACZ,kBAAA,CAAAqB,iBAAiB;MAEhBC,KAAK,EAAEd,CAAC,CAACe,6CAAoB,CAACH,QAAQ,CAAC,CAACI,QAAQ,CAAE;MAClDJ,QAAQ,EAAEA;IAAS,GAFdA,QAGN,CACF;EAAC,CACE,CAAC;AAEX,CAAC;AAAAK,OAAA,CAAAlB,cAAA,GAAAA,cAAA;AAED,MAAMQ,MAAM,GAAGW,uBAAU,CAACC,MAAM,CAAC;EAC/BX,IAAI,EAAE;IACJY,aAAa,EAAE,KAAK;IACpBC,QAAQ,EAAE,MAAM;IAChBC,GAAG,EAAEC,sBAAO,CAAC,GAAG,CAAC;IACjBC,YAAY,EAAED,sBAAO,CAAC,GAAG;EAC3B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -11,14 +11,13 @@ var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
|
11
11
|
var _i18n = require("../../../../i18n/i18n.js");
|
|
12
12
|
var _useDrawerMatrix = require("../../hooks/useDrawerMatrix.js");
|
|
13
13
|
var _DrawerMatrix = require("../matrix/DrawerMatrix.js");
|
|
14
|
+
var _MatrixLegend = require("../matrix/MatrixLegend.js");
|
|
14
15
|
var _TeacherFluencyContext = require("../../context/TeacherFluencyContext.js");
|
|
16
|
+
var _fluencyTeacherConstants = require("../../fluencyTeacher.constants.js");
|
|
15
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
19
|
const DrawerOperatorBox = ({
|
|
18
20
|
title,
|
|
19
|
-
symbol,
|
|
20
|
-
iconBg,
|
|
21
|
-
iconColor,
|
|
22
21
|
operator
|
|
23
22
|
}) => {
|
|
24
23
|
const t = (0, _i18n.useText)();
|
|
@@ -32,24 +31,14 @@ const DrawerOperatorBox = ({
|
|
|
32
31
|
rows: matrixProps.grid.rows.length
|
|
33
32
|
}) : '';
|
|
34
33
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
35
|
-
style: styles.container,
|
|
34
|
+
style: [styles.container, {
|
|
35
|
+
borderColor: _fluencyTeacherConstants.OPERATOR_PALETTES[operator].boxBorder
|
|
36
|
+
}],
|
|
36
37
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
37
38
|
style: styles.header,
|
|
38
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.
|
|
39
|
-
style: [styles.iconBox, {
|
|
40
|
-
backgroundColor: iconBg
|
|
41
|
-
}],
|
|
42
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
43
|
-
style: [styles.symbol, {
|
|
44
|
-
color: iconColor
|
|
45
|
-
}],
|
|
46
|
-
children: symbol
|
|
47
|
-
})
|
|
48
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
39
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
49
40
|
style: styles.title,
|
|
50
41
|
children: title
|
|
51
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
52
|
-
style: styles.spacer
|
|
53
42
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
54
43
|
style: styles.factsLabel,
|
|
55
44
|
children: factsLabel
|
|
@@ -62,8 +51,13 @@ const DrawerOperatorBox = ({
|
|
|
62
51
|
size: "large",
|
|
63
52
|
color: _reactNativeUi.COLORS.PRIMARY_BLUE
|
|
64
53
|
})
|
|
65
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.
|
|
66
|
-
|
|
54
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
55
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_DrawerMatrix.DrawerMatrix, {
|
|
56
|
+
...matrixProps
|
|
57
|
+
}), matrixProps.grid && /*#__PURE__*/(0, _jsxRuntime.jsx)(_MatrixLegend.MatrixLegend, {
|
|
58
|
+
operator: operator,
|
|
59
|
+
grid: matrixProps.grid
|
|
60
|
+
})]
|
|
67
61
|
})
|
|
68
62
|
})]
|
|
69
63
|
});
|
|
@@ -71,48 +65,37 @@ const DrawerOperatorBox = ({
|
|
|
71
65
|
exports.DrawerOperatorBox = DrawerOperatorBox;
|
|
72
66
|
const styles = _reactNative.StyleSheet.create({
|
|
73
67
|
container: {
|
|
74
|
-
|
|
75
|
-
|
|
68
|
+
flexGrow: 1,
|
|
69
|
+
flexBasis: '45%',
|
|
76
70
|
borderWidth: 1,
|
|
77
|
-
borderColor: _reactNativeUi.COLORS.NEUTRAL_4,
|
|
78
71
|
borderRadius: _reactNativeUi.BORDER_RADIUS[300],
|
|
79
|
-
|
|
72
|
+
backgroundColor: _reactNativeUi.COLORS.NEUTRAL_1,
|
|
73
|
+
padding: _reactNativeUi.SPACING[400],
|
|
74
|
+
gap: _reactNativeUi.SPACING[300]
|
|
80
75
|
},
|
|
81
76
|
header: {
|
|
82
77
|
flexDirection: 'row',
|
|
83
78
|
alignItems: 'center',
|
|
84
|
-
gap: _reactNativeUi.SPACING[200]
|
|
85
|
-
marginBottom: _reactNativeUi.SPACING[300]
|
|
86
|
-
},
|
|
87
|
-
iconBox: {
|
|
88
|
-
width: 24,
|
|
89
|
-
height: 24,
|
|
90
|
-
borderRadius: 6,
|
|
91
|
-
alignItems: 'center',
|
|
92
|
-
justifyContent: 'center'
|
|
93
|
-
},
|
|
94
|
-
symbol: {
|
|
95
|
-
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresBold,
|
|
96
|
-
fontSize: 20,
|
|
97
|
-
marginBottom: 2
|
|
79
|
+
gap: _reactNativeUi.SPACING[200]
|
|
98
80
|
},
|
|
99
81
|
title: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
82
|
+
flex: 1,
|
|
83
|
+
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAires,
|
|
84
|
+
fontWeight: '400',
|
|
85
|
+
fontSize: 16,
|
|
103
86
|
color: _reactNativeUi.COLORS.NEUTRAL_10
|
|
104
87
|
},
|
|
105
|
-
spacer: {
|
|
106
|
-
flex: 1
|
|
107
|
-
},
|
|
108
88
|
factsLabel: {
|
|
109
89
|
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresSemiBold,
|
|
110
90
|
fontSize: 13,
|
|
111
91
|
fontWeight: '600',
|
|
92
|
+
textTransform: 'uppercase',
|
|
112
93
|
color: _reactNativeUi.COLORS.NEUTRAL_7
|
|
113
94
|
},
|
|
114
95
|
content: {
|
|
115
|
-
|
|
96
|
+
height: 210,
|
|
97
|
+
flexDirection: 'row',
|
|
98
|
+
gap: _reactNativeUi.SPACING[200]
|
|
116
99
|
},
|
|
117
100
|
loader: {
|
|
118
101
|
flex: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_effectorReact","_reactNativeUi","_i18n","_useDrawerMatrix","_DrawerMatrix","_TeacherFluencyContext","_jsxRuntime","e","__esModule","default","DrawerOperatorBox","title","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_effectorReact","_reactNativeUi","_i18n","_useDrawerMatrix","_DrawerMatrix","_MatrixLegend","_TeacherFluencyContext","_fluencyTeacherConstants","_jsxRuntime","e","__esModule","default","DrawerOperatorBox","title","operator","t","useText","model","useTeacherFluency","isLoading","useUnit","api","getStudentDetailsFx","pending","matrixProps","useDrawerMatrix","factsLabel","grid","cols","colLabels","length","rows","jsxs","View","style","styles","container","borderColor","OPERATOR_PALETTES","boxBorder","children","header","jsx","Text","content","loader","ActivityIndicator","size","color","COLORS","PRIMARY_BLUE","Fragment","DrawerMatrix","MatrixLegend","exports","StyleSheet","create","flexGrow","flexBasis","borderWidth","borderRadius","BORDER_RADIUS","backgroundColor","NEUTRAL_1","padding","SPACING","gap","flexDirection","alignItems","flex","fontFamily","FONT_FAMILY","buenosAires","fontWeight","fontSize","NEUTRAL_10","buenosAiresSemiBold","textTransform","NEUTRAL_7","height","justifyContent"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -7,71 +7,78 @@ exports.DrawerOperatorStatCard = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
10
|
+
var _fluencyTeacherHelpers = require("../../fluencyTeacher.helpers.js");
|
|
10
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
const DrawerOperatorStatCard = ({
|
|
13
14
|
title,
|
|
14
15
|
value,
|
|
15
16
|
symbol,
|
|
16
|
-
|
|
17
|
-
}) =>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
operator
|
|
18
|
+
}) => {
|
|
19
|
+
const {
|
|
20
|
+
background,
|
|
21
|
+
border,
|
|
22
|
+
text
|
|
23
|
+
} = (0, _fluencyTeacherHelpers.getOperatorBandColors)(operator, value);
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
25
|
+
style: [styles.container, {
|
|
26
|
+
backgroundColor: background,
|
|
27
|
+
borderColor: border
|
|
22
28
|
}],
|
|
23
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
24
|
-
style:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
30
|
+
style: styles.titleRow,
|
|
31
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
32
|
+
style: [styles.symbol, {
|
|
33
|
+
color: text
|
|
34
|
+
}],
|
|
35
|
+
children: symbol
|
|
36
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
37
|
+
style: [styles.title, {
|
|
38
|
+
color: text
|
|
39
|
+
}],
|
|
40
|
+
numberOfLines: 1,
|
|
41
|
+
children: title
|
|
42
|
+
})]
|
|
33
43
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
34
|
-
style: styles.value,
|
|
44
|
+
style: [styles.value, {
|
|
45
|
+
color: text
|
|
46
|
+
}],
|
|
35
47
|
children: [value, "%"]
|
|
36
48
|
})]
|
|
37
|
-
})
|
|
38
|
-
}
|
|
49
|
+
});
|
|
50
|
+
};
|
|
39
51
|
exports.DrawerOperatorStatCard = DrawerOperatorStatCard;
|
|
40
52
|
const styles = _reactNative.StyleSheet.create({
|
|
41
53
|
container: {
|
|
42
54
|
flex: 1,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
borderWidth: 1,
|
|
49
|
-
borderColor: _reactNativeUi.COLORS.NEUTRAL_4,
|
|
50
|
-
backgroundColor: _reactNativeUi.COLORS.NEUTRAL_2
|
|
55
|
+
justifyContent: 'center',
|
|
56
|
+
gap: _reactNativeUi.SPACING[100],
|
|
57
|
+
padding: _reactNativeUi.SPACING[200],
|
|
58
|
+
borderRadius: _reactNativeUi.BORDER_RADIUS[200],
|
|
59
|
+
borderWidth: 1
|
|
51
60
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
height: 32,
|
|
55
|
-
borderRadius: _reactNativeUi.SPACING[200],
|
|
61
|
+
titleRow: {
|
|
62
|
+
flexDirection: 'row',
|
|
56
63
|
alignItems: 'center',
|
|
57
|
-
|
|
64
|
+
gap: _reactNativeUi.SPACING[100]
|
|
58
65
|
},
|
|
59
66
|
symbol: {
|
|
67
|
+
width: 16,
|
|
60
68
|
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresBold,
|
|
61
|
-
fontSize:
|
|
62
|
-
|
|
69
|
+
fontSize: 16,
|
|
70
|
+
textAlign: 'center'
|
|
63
71
|
},
|
|
64
72
|
title: {
|
|
73
|
+
flexShrink: 1,
|
|
65
74
|
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAires,
|
|
66
75
|
fontWeight: '400',
|
|
67
|
-
fontSize:
|
|
68
|
-
color: _reactNativeUi.COLORS.NEUTRAL_7
|
|
76
|
+
fontSize: 16
|
|
69
77
|
},
|
|
70
78
|
value: {
|
|
71
|
-
fontFamily: _reactNativeUi.FONT_FAMILY.
|
|
72
|
-
fontWeight: '
|
|
73
|
-
fontSize:
|
|
74
|
-
color: _reactNativeUi.COLORS.NEUTRAL_10
|
|
79
|
+
fontFamily: _reactNativeUi.FONT_FAMILY.buenosAiresSemiBold,
|
|
80
|
+
fontWeight: '600',
|
|
81
|
+
fontSize: 24
|
|
75
82
|
}
|
|
76
83
|
});
|
|
77
84
|
//# sourceMappingURL=DrawerOperatorStatCard.js.map
|