@cuemath/leap 3.5.31 → 3.5.32-as11
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/assets/illustrations/illustrations.js +38 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/images/images.js +0 -12
- package/dist/assets/images/images.js.map +1 -1
- package/dist/assets/line-icons/icons/carat-right.js +26 -0
- package/dist/assets/line-icons/icons/carat-right.js.map +1 -0
- package/dist/features/analytics-events/whitelist-events.js +10 -8
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-circular-progress/chapter-circular-progress.js +3 -3
- package/dist/features/chapters/chapters-list/chapter-item/chapter-circular-progress/chapter-circular-progress.js.map +1 -1
- package/dist/features/journey/tracking-id/tracking-id-teacher.js +5 -0
- package/dist/features/journey/tracking-id/tracking-id-teacher.js.map +1 -0
- package/dist/features/journey/tracking-id/tracking-ids.js +5 -3
- package/dist/features/journey/tracking-id/tracking-ids.js.map +1 -1
- package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal-constants.js +17 -0
- package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal-constants.js.map +1 -0
- package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal.js +54 -0
- package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal.js.map +1 -0
- package/dist/features/timeline/{api → daily-timeline/api}/use-daily-timeline-get.js +2 -2
- package/dist/features/timeline/daily-timeline/api/use-daily-timeline-get.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/accordion-item/accordion-item.js +6 -6
- package/dist/features/timeline/daily-timeline/comps/accordion-item/accordion-item.js.map +1 -0
- package/dist/features/timeline/daily-timeline/comps/constants.js +22 -0
- package/dist/features/timeline/daily-timeline/comps/constants.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/daily-timeline-items/daily-timeline-items-styled.js +1 -1
- package/dist/features/timeline/daily-timeline/comps/daily-timeline-items/daily-timeline-items-styled.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/daily-timeline-items/daily-timeline-items.js +18 -18
- package/dist/features/timeline/daily-timeline/comps/daily-timeline-items/daily-timeline-items.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/month-break/month-break-styled.js +1 -1
- package/dist/features/timeline/daily-timeline/comps/month-break/month-break-styled.js.map +1 -0
- package/dist/features/timeline/daily-timeline/comps/month-break/month-break.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/no-activity.js +4 -4
- package/dist/features/timeline/daily-timeline/comps/no-activity.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/utils.js +5 -5
- package/dist/features/timeline/daily-timeline/comps/utils.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/year-break/year-break-styled.js +1 -1
- package/dist/features/timeline/daily-timeline/comps/year-break/year-break-styled.js.map +1 -0
- package/dist/features/timeline/{comps → daily-timeline/comps}/year-break/year-break.js +2 -2
- package/dist/features/timeline/daily-timeline/comps/year-break/year-break.js.map +1 -0
- package/dist/features/timeline/{daily-timeline-events.js → daily-timeline/daily-timeline-events.js} +1 -1
- package/dist/features/timeline/daily-timeline/daily-timeline-events.js.map +1 -0
- package/dist/features/timeline/daily-timeline/daily-timeline-styled.js +25 -0
- package/dist/features/timeline/daily-timeline/daily-timeline-styled.js.map +1 -0
- package/dist/features/timeline/daily-timeline/daily-timeline-types.js +7 -0
- package/dist/features/timeline/daily-timeline/daily-timeline-types.js.map +1 -0
- package/dist/features/timeline/{daily-timeline-view.js → daily-timeline/daily-timeline-view.js} +24 -25
- package/dist/features/timeline/daily-timeline/daily-timeline-view.js.map +1 -0
- package/dist/features/timeline/{daily-timeline.js → daily-timeline/daily-timeline.js} +23 -23
- package/dist/features/timeline/daily-timeline/daily-timeline.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/api/use-monthly-timeline-get.js +10 -0
- package/dist/features/timeline/monthly-timeline/api/use-monthly-timeline-get.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.js +87 -0
- package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.styled.js +9 -0
- package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/constants.js +40 -0
- package/dist/features/timeline/monthly-timeline/constants.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/api/use-monthly-report-api.js +13 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/api/use-monthly-report-api.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.js +59 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.styled.js +15 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/constant.js +16 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/constant.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.js +128 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.styled.js +53 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.js +75 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.js +58 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activity-puzzle-card.js +66 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activity-puzzle-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities.js +27 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/constants.js +102 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/constants.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/utils.js +9 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/utils.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-constants.js +29 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-constants.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-utils.js +123 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-utils.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.js +49 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.styled.js +48 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendence-view.js +56 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendence-view.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback-styled.js +9 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback.js +85 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goal-chapter-card.js +48 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goal-chapter-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card-styled.js +28 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card.js +118 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-constants.js +30 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-constants.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals.js +22 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-events.js +11 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-events.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-styled.js +14 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-types.js +5 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-types.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report.js +79 -0
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline-styled.js +13 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline-types.js +6 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline-types.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline-view.js +28 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline-view.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline.js +65 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/api/use-ptm-report-get.js +9 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/api/use-ptm-report-get.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need-styled.js +9 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need.js +35 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/parent-support/parent-support.js +53 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/parent-support/parent-support.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects-styled.js +19 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects.js +50 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card-styled.js +9 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card.js +22 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support-styled.js +9 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support.js +84 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies-constant.js +11 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies-constant.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies.js +36 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card-styled.js +55 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card.js +35 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info-styled.js +21 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info.js +21 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card-styled.js +9 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card.js +30 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations-constant.js +9 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations-constant.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations.js +56 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/upcoming-chapters/upcoming-chapters.js +15 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/comps/upcoming-chapters/upcoming-chapters.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-constants.js +16 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-constants.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-helpers.js +8 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-helpers.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-styled.js +11 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-styled.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-types.js +5 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-types.js.map +1 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report.js +113 -0
- package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report.js.map +1 -0
- package/dist/features/timeline/timeline-tabs/constants.js +17 -0
- package/dist/features/timeline/timeline-tabs/constants.js.map +1 -0
- package/dist/features/timeline/timeline-tabs/timeline-tabs-types.js +5 -0
- package/dist/features/timeline/timeline-tabs/timeline-tabs-types.js.map +1 -0
- package/dist/features/timeline/timeline-tabs/timeline-tabs.js +28 -0
- package/dist/features/timeline/timeline-tabs/timeline-tabs.js.map +1 -0
- package/dist/features/timeline/timeline-tabs/timeline-tabs.styled.js +37 -0
- package/dist/features/timeline/timeline-tabs/timeline-tabs.styled.js.map +1 -0
- package/dist/index.d.ts +169 -15
- package/dist/index.js +327 -313
- package/dist/index.js.map +1 -1
- package/dist/static/2021.2a1a2ec9.svg +1 -0
- package/dist/static/2022.2091553a.svg +1 -0
- package/dist/static/2023.ed718b4e.svg +1 -0
- package/dist/static/2024.aa60edc5.svg +1 -0
- package/dist/static/2025.014a8ad3.svg +1 -0
- package/dist/static/2026.95d70f27.svg +1 -0
- package/dist/static/2027.fe83a41c.svg +1 -0
- package/dist/static/2028.b1c253ef.svg +1 -0
- package/dist/static/apr.cd56f13d.svg +1 -0
- package/dist/static/aug.3ceade02.svg +1 -0
- package/dist/static/calendar_purple_2.6e8249ef.svg +1 -0
- package/dist/static/clock_purple.c774c9bf.svg +1 -0
- package/dist/static/coding-report-icon.91a1e900.svg +1 -0
- package/dist/static/dec.90729a5e.svg +1 -0
- package/dist/static/elp-icon.d45b457d.svg +1 -0
- package/dist/static/empty-reports.fe92faad.svg +1 -0
- package/dist/static/english-icon.50c2e005.svg +1 -0
- package/dist/static/feb.a9ecd320.svg +1 -0
- package/dist/static/full-report.00112c74.svg +1 -0
- package/dist/static/jan.f8fb9c39.svg +1 -0
- package/dist/static/jul.04a98cf0.svg +1 -0
- package/dist/static/jun.9b6ab6bf.svg +1 -0
- package/dist/static/mar.f8b372ef.svg +1 -0
- package/dist/static/math-fit-grey.c32f37b3.svg +1 -0
- package/dist/static/may.23adae48.svg +1 -0
- package/dist/static/no-report.4158fad3.svg +1 -0
- package/dist/static/node-learn-large-bg.faa03631.svg +1 -0
- package/dist/static/node-puzzle-large-bg.ba23382e.svg +1 -0
- package/dist/static/node-test-large-bg.e9120fd1.svg +1 -0
- package/dist/static/nov.c44e4739.svg +1 -0
- package/dist/static/oct.856b3b3f.svg +1 -0
- package/dist/static/progress_bar_purple.2ff4dfe2.svg +1 -0
- package/dist/static/ptm-report-icon.5089218f.svg +1 -0
- package/dist/static/sat-report-icon.4331be86.svg +1 -0
- package/dist/static/science-report-icon.a0014c40.svg +1 -0
- package/dist/static/sep.2d547b31.svg +1 -0
- package/dist/static/thumps-down.a1192a62.svg +1 -0
- package/dist/static/thumps-up.caa35a98.svg +1 -0
- package/package.json +1 -1
- package/dist/features/timeline/api/use-daily-timeline-get.js.map +0 -1
- package/dist/features/timeline/comps/accordion-item/accordion-item.js.map +0 -1
- package/dist/features/timeline/comps/constants.js +0 -22
- package/dist/features/timeline/comps/constants.js.map +0 -1
- package/dist/features/timeline/comps/daily-timeline-items/daily-timeline-items-styled.js.map +0 -1
- package/dist/features/timeline/comps/daily-timeline-items/daily-timeline-items.js.map +0 -1
- package/dist/features/timeline/comps/month-break/month-break-styled.js.map +0 -1
- package/dist/features/timeline/comps/month-break/month-break.js.map +0 -1
- package/dist/features/timeline/comps/no-activity.js.map +0 -1
- package/dist/features/timeline/comps/utils.js.map +0 -1
- package/dist/features/timeline/comps/year-break/year-break-styled.js.map +0 -1
- package/dist/features/timeline/comps/year-break/year-break.js.map +0 -1
- package/dist/features/timeline/daily-timeline-events.js.map +0 -1
- package/dist/features/timeline/daily-timeline-styled.js +0 -21
- package/dist/features/timeline/daily-timeline-styled.js.map +0 -1
- package/dist/features/timeline/daily-timeline-types.js +0 -7
- package/dist/features/timeline/daily-timeline-types.js.map +0 -1
- package/dist/features/timeline/daily-timeline-view.js.map +0 -1
- package/dist/features/timeline/daily-timeline.js.map +0 -1
- package/dist/static/apr.09a50ff7.png +0 -0
- package/dist/static/aug.7179d37e.png +0 -0
- package/dist/static/dec.09f7e315.png +0 -0
- package/dist/static/feb.9e72504d.png +0 -0
- package/dist/static/jan.da91944a.png +0 -0
- package/dist/static/jul.5a1c4932.png +0 -0
- package/dist/static/jun.62639c2f.png +0 -0
- package/dist/static/mar.f51bcfa6.png +0 -0
- package/dist/static/may.7c542020.png +0 -0
- package/dist/static/nov.058343e7.png +0 -0
- package/dist/static/oct.573ee19d.png +0 -0
- package/dist/static/sep.3ccb6468.png +0 -0
- /package/dist/features/timeline/{comps → daily-timeline/comps}/month-break/month-break.js +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as ie } from "react/jsx-runtime";
|
|
2
|
+
import { memo as me, useCallback as ge, useEffect as le } from "react";
|
|
3
|
+
import { usePTMReportGet as fe } from "./api/use-ptm-report-get.js";
|
|
4
|
+
import { EPTMTypes as he } from "./ptm-report-types.js";
|
|
5
|
+
import de from "../../../ui/loader/app-loader/app-loader.js";
|
|
6
|
+
import _e from "./comps/student-info/student-info.js";
|
|
7
|
+
import { Container as ue } from "./ptm-report-styled.js";
|
|
8
|
+
import Ce from "./comps/key-need/key-need.js";
|
|
9
|
+
import m from "../../../ui/layout/flex-view.js";
|
|
10
|
+
import Re from "./comps/teacher-observations/teacher-observations.js";
|
|
11
|
+
import ke from "./comps/strategies/strategies.js";
|
|
12
|
+
import Te from "./comps/parent-support/parent-support.js";
|
|
13
|
+
import Pe from "./comps/upcoming-chapters/upcoming-chapters.js";
|
|
14
|
+
import Se from "./comps/real-world-projects/real-world-projects.js";
|
|
15
|
+
import we from "./comps/school-support/school-support.js";
|
|
16
|
+
import ye from "../../../ui/error/error.js";
|
|
17
|
+
const Ae = ({ ptmId: t }) => {
|
|
18
|
+
const {
|
|
19
|
+
get: p,
|
|
20
|
+
data: c,
|
|
21
|
+
isProcessing: g,
|
|
22
|
+
isProcessingFailed: l
|
|
23
|
+
} = fe(t), o = ge(() => {
|
|
24
|
+
p(t);
|
|
25
|
+
}, [p, t]);
|
|
26
|
+
if (le(() => {
|
|
27
|
+
o();
|
|
28
|
+
}, [o]), g || !c)
|
|
29
|
+
return /* @__PURE__ */ e(de, { height: "100dvh" });
|
|
30
|
+
if (l)
|
|
31
|
+
return /* @__PURE__ */ e(m, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ e(ye, { onTryAgain: o }) });
|
|
32
|
+
const { ptm_config: f, report: h } = c, { ptm_type: r, config: d } = f || {}, { ptm_report_sections: _, late_if_minutes: u } = d || {}, {
|
|
33
|
+
teacher_observation: C,
|
|
34
|
+
learning_strategy: R,
|
|
35
|
+
parent_support: k,
|
|
36
|
+
school_support: T
|
|
37
|
+
} = _ || {}, { subsections: P } = T || {}, { homework_help: S, test_help: w } = P || {}, { options: y } = k || {}, { strategies: A } = R || {}, { subsections: M } = C || {}, {
|
|
38
|
+
focus_area: b,
|
|
39
|
+
strengths: D,
|
|
40
|
+
teacher_remarks: O
|
|
41
|
+
} = M || {}, { areas: j = [], report_tag: x } = b || {}, { areas: v = [] } = D || {}, { report_tag: E } = O || {}, { report_sections: F, student_data: N } = h, {
|
|
42
|
+
teacher_observation: U,
|
|
43
|
+
parent_support: $,
|
|
44
|
+
strategies: H,
|
|
45
|
+
real_world_project: W,
|
|
46
|
+
school_support: G,
|
|
47
|
+
upcoming_chapters: I
|
|
48
|
+
} = F || {}, { homework_help: K, test_help: X } = G || {}, { upcoming_chapters: L } = I || {}, {
|
|
49
|
+
strengths: V = {},
|
|
50
|
+
focus_area: q,
|
|
51
|
+
teacher_remarks: z
|
|
52
|
+
} = U || {}, {
|
|
53
|
+
first_name: i,
|
|
54
|
+
grade: B,
|
|
55
|
+
key_need: s,
|
|
56
|
+
attendance_data: J,
|
|
57
|
+
homework_data: Q,
|
|
58
|
+
late_class_data: Y = [],
|
|
59
|
+
real_world_project: Z
|
|
60
|
+
} = N || {}, { classes_completed: ee, weeks_completed: te } = J || {}, { sheets_assigned: oe, sheets_not_completed: re } = Q || {}, se = j.find(
|
|
61
|
+
({ area_key: ce }) => ce === q
|
|
62
|
+
), ne = (s == null ? void 0 : s.key_need) ?? "", n = r === he.ON_DEMAND, ae = Y.length, pe = r && r.split("_").includes("UPGRADE");
|
|
63
|
+
return /* @__PURE__ */ a(ue, { children: [
|
|
64
|
+
/* @__PURE__ */ e(_e, { name: i, grade: B }),
|
|
65
|
+
/* @__PURE__ */ a(m, { $gutterX: 1, $gapX: 1, children: [
|
|
66
|
+
/* @__PURE__ */ e(Ce, { text: ne }),
|
|
67
|
+
(n || pe) && /* @__PURE__ */ a(ie, { children: [
|
|
68
|
+
/* @__PURE__ */ e(Se, { projectReport: W, projectInfo: Z }),
|
|
69
|
+
/* @__PURE__ */ e(
|
|
70
|
+
we,
|
|
71
|
+
{
|
|
72
|
+
homeworkHelpReport: K,
|
|
73
|
+
homeworkHelpConfig: S,
|
|
74
|
+
testHelpReport: X,
|
|
75
|
+
testHelpConfig: w,
|
|
76
|
+
studentName: i,
|
|
77
|
+
isOnDemandPTM: n
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
] }),
|
|
81
|
+
/* @__PURE__ */ e(
|
|
82
|
+
Re,
|
|
83
|
+
{
|
|
84
|
+
strengthAreas: v,
|
|
85
|
+
strengthsReport: V,
|
|
86
|
+
focusArea: se,
|
|
87
|
+
focusAreaReportTag: x,
|
|
88
|
+
teacherRemarks: z,
|
|
89
|
+
teacherRemarkTag: E
|
|
90
|
+
}
|
|
91
|
+
),
|
|
92
|
+
/* @__PURE__ */ e(ke, { report: H, strategyConfig: A }),
|
|
93
|
+
/* @__PURE__ */ e(
|
|
94
|
+
Te,
|
|
95
|
+
{
|
|
96
|
+
report: $,
|
|
97
|
+
options: y,
|
|
98
|
+
classesCompleted: ee,
|
|
99
|
+
weeksCompleted: te,
|
|
100
|
+
sheetsAssigned: oe,
|
|
101
|
+
sheetsNotCompleted: re,
|
|
102
|
+
lateClassesCount: ae,
|
|
103
|
+
lateIfMinutes: u
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
n && /* @__PURE__ */ e(Pe, { chapters: L })
|
|
107
|
+
] })
|
|
108
|
+
] });
|
|
109
|
+
}, Xe = me(Ae);
|
|
110
|
+
export {
|
|
111
|
+
Xe as default
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=ptm-report.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ptm-report.js","sources":["../../../../../src/features/timeline/monthly-timeline/ptm-report/ptm-report.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, type FC } from 'react';\n\nimport { usePTMReportGet } from './api/use-ptm-report-get';\nimport { EPTMTypes, type IPTMReportProps } from './ptm-report-types';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport StudentInfo from './comps/student-info/student-info';\nimport * as Styled from './ptm-report-styled';\nimport KeyNeed from './comps/key-need/key-need';\nimport FlexView from '../../../ui/layout/flex-view';\nimport TeacherObservations from './comps/teacher-observations/teacher-observations';\nimport Strategies from './comps/strategies/strategies';\nimport ParentSupport from './comps/parent-support/parent-support';\nimport UpcomingChapters from './comps/upcoming-chapters/upcoming-chapters';\nimport RealWorldProjects from './comps/real-world-projects/real-world-projects';\nimport SchoolSupport from './comps/school-support/school-support';\nimport Error from '../../../ui/error/error';\n\nconst PTMReport: FC<IPTMReportProps> = ({ ptmId }) => {\n const {\n get: getPTMReport,\n data: ptmReportData,\n isProcessing,\n isProcessingFailed,\n } = usePTMReportGet(ptmId);\n\n const fetchPTMReport = useCallback(() => {\n getPTMReport(ptmId);\n }, [getPTMReport, ptmId]);\n\n useEffect(() => {\n fetchPTMReport();\n }, [fetchPTMReport]);\n\n if (isProcessing || !ptmReportData) {\n return <AppLoader height=\"100dvh\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Error onTryAgain={fetchPTMReport} />\n </FlexView>\n );\n }\n\n const { ptm_config: ptmConfig, report } = ptmReportData;\n const { ptm_type: ptmType, config } = ptmConfig || {};\n const { ptm_report_sections: sectionsConfig, late_if_minutes: lateIfMinutes } = config || {};\n\n const {\n teacher_observation: teacherObservationConfig,\n learning_strategy: strategyConfig,\n parent_support: parentSupportConfig,\n school_support: schoolSupportConfig,\n } = sectionsConfig || {};\n\n const { subsections: schoolSubsections } = schoolSupportConfig || {};\n const { homework_help: homeworkConfig, test_help: testConfig } = schoolSubsections || {};\n\n const { options: parentOptions } = parentSupportConfig || {};\n const { strategies: strategiesConfig } = strategyConfig || {};\n const { subsections: teacherSubsections } = teacherObservationConfig || {};\n\n const {\n focus_area: focusAreaConfig,\n strengths: strengthsConfig,\n teacher_remarks: remarksConfig,\n } = teacherSubsections || {};\n\n const { areas: focusAreas = [], report_tag: focusAreaTag } = focusAreaConfig || {};\n const { areas: strengthAreas = [] } = strengthsConfig || {};\n const { report_tag: remarksTag } = remarksConfig || {};\n\n const { report_sections: reportSections, student_data: studentData } = report;\n\n const {\n teacher_observation: teacherObservationReport,\n parent_support: parentSupportReport,\n strategies: strategiesReport,\n real_world_project: realWorldReport,\n school_support: schoolSupportReport,\n upcoming_chapters: upcomingChaptersReport,\n } = reportSections || {};\n\n const { homework_help: homeworkReport, test_help: testReport } = schoolSupportReport || {};\n\n const { upcoming_chapters: upcomingChapters } = upcomingChaptersReport || {};\n\n const {\n strengths: strengthsReport = {},\n focus_area: selectedFocusAreaKey,\n teacher_remarks: teacherRemarks,\n } = teacherObservationReport || {};\n\n const {\n first_name: studentName,\n grade: studentGrade,\n key_need: keyNeedData,\n attendance_data: attendanceData,\n homework_data: homeworkData,\n late_class_data: lateClasses = [],\n real_world_project: realWorldProjectData,\n } = studentData || {};\n\n const { classes_completed: completedClasses, weeks_completed: completedWeeks } =\n attendanceData || {};\n\n const { sheets_assigned: assignedSheets, sheets_not_completed: incompleteSheets } =\n homeworkData || {};\n\n const selectedFocusArea = focusAreas.find(\n ({ area_key: areaKey }) => areaKey === selectedFocusAreaKey,\n );\n\n const keyNeedText = keyNeedData?.key_need ?? '';\n const isOnDemandPTM = ptmType === EPTMTypes.ON_DEMAND;\n const lateClassesCount = lateClasses.length;\n const isUpgradePTM = ptmType && ptmType.split('_').includes('UPGRADE');\n const isUpgradeOrOnDemandPTM = isOnDemandPTM || isUpgradePTM;\n\n return (\n <Styled.Container>\n <StudentInfo name={studentName} grade={studentGrade} />\n <FlexView $gutterX={1} $gapX={1}>\n <KeyNeed text={keyNeedText} />\n {isUpgradeOrOnDemandPTM && (\n <>\n <RealWorldProjects projectReport={realWorldReport} projectInfo={realWorldProjectData} />\n <SchoolSupport\n homeworkHelpReport={homeworkReport}\n homeworkHelpConfig={homeworkConfig}\n testHelpReport={testReport}\n testHelpConfig={testConfig}\n studentName={studentName}\n isOnDemandPTM={isOnDemandPTM}\n />\n </>\n )}\n <TeacherObservations\n strengthAreas={strengthAreas}\n strengthsReport={strengthsReport}\n focusArea={selectedFocusArea}\n focusAreaReportTag={focusAreaTag}\n teacherRemarks={teacherRemarks}\n teacherRemarkTag={remarksTag}\n />\n <Strategies report={strategiesReport} strategyConfig={strategiesConfig} />\n <ParentSupport\n report={parentSupportReport}\n options={parentOptions}\n classesCompleted={completedClasses}\n weeksCompleted={completedWeeks}\n sheetsAssigned={assignedSheets}\n sheetsNotCompleted={incompleteSheets}\n lateClassesCount={lateClassesCount}\n lateIfMinutes={lateIfMinutes}\n />\n {isOnDemandPTM && <UpcomingChapters chapters={upcomingChapters} />}\n </FlexView>\n </Styled.Container>\n );\n};\n\nexport default memo(PTMReport);\n"],"names":["PTMReport","ptmId","getPTMReport","ptmReportData","isProcessing","isProcessingFailed","usePTMReportGet","fetchPTMReport","useCallback","useEffect","jsx","AppLoader","FlexView","Error","ptmConfig","report","ptmType","config","sectionsConfig","lateIfMinutes","teacherObservationConfig","strategyConfig","parentSupportConfig","schoolSupportConfig","schoolSubsections","homeworkConfig","testConfig","parentOptions","strategiesConfig","teacherSubsections","focusAreaConfig","strengthsConfig","remarksConfig","focusAreas","focusAreaTag","strengthAreas","remarksTag","reportSections","studentData","teacherObservationReport","parentSupportReport","strategiesReport","realWorldReport","schoolSupportReport","upcomingChaptersReport","homeworkReport","testReport","upcomingChapters","strengthsReport","selectedFocusAreaKey","teacherRemarks","studentName","studentGrade","keyNeedData","attendanceData","homeworkData","lateClasses","realWorldProjectData","completedClasses","completedWeeks","assignedSheets","incompleteSheets","selectedFocusArea","areaKey","keyNeedText","isOnDemandPTM","EPTMTypes","lateClassesCount","isUpgradePTM","jsxs","Styled.Container","StudentInfo","KeyNeed","Fragment","RealWorldProjects","SchoolSupport","TeacherObservations","Strategies","ParentSupport","UpcomingChapters","ptmReport","memo"],"mappings":"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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ETAB_IDS as l } from "./timeline-tabs-types.js";
|
|
2
|
+
const a = [
|
|
3
|
+
{
|
|
4
|
+
id: l.DAILY,
|
|
5
|
+
label: "Daily",
|
|
6
|
+
path: "daily"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
id: l.MONTHLY,
|
|
10
|
+
label: "Monthly",
|
|
11
|
+
path: "monthly"
|
|
12
|
+
}
|
|
13
|
+
];
|
|
14
|
+
export {
|
|
15
|
+
a as TABS
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/features/timeline/timeline-tabs/constants.ts"],"sourcesContent":["import { ETAB_IDS, type ITab } from './timeline-tabs-types';\n\nexport const TABS: ITab[] = [\n {\n id: ETAB_IDS.DAILY,\n label: 'Daily',\n path: 'daily',\n },\n {\n id: ETAB_IDS.MONTHLY,\n label: 'Monthly',\n path: 'monthly',\n },\n];\n"],"names":["TABS","ETAB_IDS"],"mappings":";AAEO,MAAMA,IAAe;AAAA,EAC1B;AAAA,IACE,IAAIC,EAAS;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,IAAIA,EAAS;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeline-tabs-types.js","sources":["../../../../src/features/timeline/timeline-tabs/timeline-tabs-types.ts"],"sourcesContent":["export enum ETAB_IDS {\n DAILY = 'daily',\n MONTHLY = 'monthly',\n}\n\nexport interface IProgressTimelineTabs {\n onTabClick: (tab: ETAB_IDS) => void;\n activeTab: string;\n headerHeight: number;\n}\n\nexport interface ITab {\n id: ETAB_IDS;\n label: string;\n path: string;\n}\n"],"names":["ETAB_IDS"],"mappings":"AAAY,IAAAA,sBAAAA,OACVA,EAAA,QAAQ,SACRA,EAAA,UAAU,WAFAA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { memo as m } from "react";
|
|
3
|
+
import { TabContainer as c, TabItem as d } from "./timeline-tabs.styled.js";
|
|
4
|
+
import $ from "../../ui/text/text.js";
|
|
5
|
+
import { TABS as l } from "./constants.js";
|
|
6
|
+
const s = ({ onTabClick: t, activeTab: o, headerHeight: n }) => /* @__PURE__ */ i(c, { $heightX: 4, $headerHeight: n, children: l.map((e) => {
|
|
7
|
+
const r = e.id === o;
|
|
8
|
+
return /* @__PURE__ */ i(
|
|
9
|
+
d,
|
|
10
|
+
{
|
|
11
|
+
$isActive: r,
|
|
12
|
+
$justifyContent: "center",
|
|
13
|
+
$borderColor: "BLACK_T_38",
|
|
14
|
+
$background: r ? "BLACK_1" : "WHITE",
|
|
15
|
+
$gapX: 0.46875,
|
|
16
|
+
$gutterX: 1,
|
|
17
|
+
$widthX: 6.5,
|
|
18
|
+
$width: "100%",
|
|
19
|
+
onClick: () => t(e.id),
|
|
20
|
+
children: /* @__PURE__ */ i($, { $renderAs: "ac4", $color: r ? "WHITE" : "BLACK_T_38", children: e.label })
|
|
21
|
+
},
|
|
22
|
+
e.id
|
|
23
|
+
);
|
|
24
|
+
}) }), A = m(s);
|
|
25
|
+
export {
|
|
26
|
+
A as default
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=timeline-tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeline-tabs.js","sources":["../../../../src/features/timeline/timeline-tabs/timeline-tabs.tsx"],"sourcesContent":["import { memo } from 'react';\n\nimport * as Styled from './timeline-tabs.styled';\nimport { type IProgressTimelineTabs } from './timeline-tabs-types';\nimport Text from '../../ui/text/text';\nimport { TABS } from './constants';\n\nconst TimelineTabs = ({ onTabClick, activeTab, headerHeight }: IProgressTimelineTabs) => {\n return (\n <Styled.TabContainer $heightX={4} $headerHeight={headerHeight}>\n {TABS.map(tab => {\n const isActive = tab.id === activeTab;\n\n return (\n <Styled.TabItem\n key={tab.id}\n $isActive={isActive}\n $justifyContent=\"center\"\n $borderColor=\"BLACK_T_38\"\n $background={isActive ? 'BLACK_1' : 'WHITE'}\n $gapX={0.46875}\n $gutterX={1}\n $widthX={6.5}\n $width=\"100%\"\n onClick={() => onTabClick(tab.id)}\n >\n <Text $renderAs=\"ac4\" $color={isActive ? 'WHITE' : 'BLACK_T_38'}>\n {tab.label}\n </Text>\n </Styled.TabItem>\n );\n })}\n </Styled.TabContainer>\n );\n};\n\nexport default memo(TimelineTabs);\n"],"names":["TimelineTabs","onTabClick","activeTab","headerHeight","jsx","Styled.TabContainer","TABS","tab","isActive","Styled.TabItem","Text","timelineTabs","memo"],"mappings":";;;;;AAOA,MAAMA,IAAe,CAAC,EAAE,YAAAC,GAAY,WAAAC,GAAW,cAAAC,QAE3C,gBAAAC,EAACC,GAAA,EAAoB,UAAU,GAAG,eAAeF,GAC9C,UAAKG,EAAA,IAAI,CAAOC,MAAA;AACT,QAAAC,IAAWD,EAAI,OAAOL;AAG1B,SAAA,gBAAAE;AAAA,IAACK;AAAAA,IAAA;AAAA,MAEC,WAAWD;AAAA,MACX,iBAAgB;AAAA,MAChB,cAAa;AAAA,MACb,aAAaA,IAAW,YAAY;AAAA,MACpC,OAAO;AAAA,MACP,UAAU;AAAA,MACV,SAAS;AAAA,MACT,QAAO;AAAA,MACP,SAAS,MAAMP,EAAWM,EAAI,EAAE;AAAA,MAEhC,UAAA,gBAAAH,EAACM,KAAK,WAAU,OAAM,QAAQF,IAAW,UAAU,cAChD,UAAAD,EAAI,MACP,CAAA;AAAA,IAAA;AAAA,IAbKA,EAAI;AAAA,EAAA;AAgBd,CAAA,EACH,CAAA,GAIWI,IAAAC,EAAKZ,CAAY;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import i from "styled-components";
|
|
2
|
+
import o from "../../ui/layout/flex-view.js";
|
|
3
|
+
const n = i(o)`
|
|
4
|
+
position: sticky;
|
|
5
|
+
top: ${({ $headerHeight: t }) => t}px;
|
|
6
|
+
left: calc(
|
|
7
|
+
((100% * 0.5) - (480px * 0.5)) - 52px - 32px
|
|
8
|
+
); // 52 (tab width)/2 + 32 left right margin of container
|
|
9
|
+
`;
|
|
10
|
+
i(o)`
|
|
11
|
+
flex: 1;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
position: relative;
|
|
14
|
+
`;
|
|
15
|
+
const p = i(o)`
|
|
16
|
+
position: relative;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
transition: all 0.3s ease;
|
|
19
|
+
|
|
20
|
+
&::after {
|
|
21
|
+
content: '';
|
|
22
|
+
visibility: ${({ $isActive: t }) => t ? "visible" : "hidden"};
|
|
23
|
+
position: absolute;
|
|
24
|
+
right: -6px;
|
|
25
|
+
top: 11px;
|
|
26
|
+
width: 0;
|
|
27
|
+
height: 0;
|
|
28
|
+
border-left: 6px solid black;
|
|
29
|
+
border-top: 5px solid transparent;
|
|
30
|
+
border-bottom: 5px solid transparent;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
export {
|
|
34
|
+
n as TabContainer,
|
|
35
|
+
p as TabItem
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=timeline-tabs.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeline-tabs.styled.js","sources":["../../../../src/features/timeline/timeline-tabs/timeline-tabs.styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../ui/layout/flex-view';\n\ninterface ITabItem {\n $isActive: boolean;\n}\n\nconst TabContainer = styled(FlexView)<{ $headerHeight: number }>`\n position: sticky;\n top: ${({ $headerHeight }) => $headerHeight}px;\n left: calc(\n ((100% * 0.5) - (480px * 0.5)) - 52px - 32px\n ); // 52 (tab width)/2 + 32 left right margin of container\n`;\n\nconst ContentContainer = styled(FlexView)`\n flex: 1;\n overflow: hidden;\n position: relative;\n`;\n\nconst TabItem = styled(FlexView)<ITabItem>`\n position: relative;\n cursor: pointer;\n transition: all 0.3s ease;\n\n &::after {\n content: '';\n visibility: ${({ $isActive }) => ($isActive ? 'visible' : 'hidden')};\n position: absolute;\n right: -6px;\n top: 11px;\n width: 0;\n height: 0;\n border-left: 6px solid black;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n }\n`;\n\nexport { TabContainer, ContentContainer, TabItem };\n"],"names":["TabContainer","styled","FlexView","$headerHeight","TabItem","$isActive"],"mappings":";;AAQM,MAAAA,IAAeC,EAAOC,CAAQ;AAAA;AAAA,SAE3B,CAAC,EAAE,eAAAC,EAAc,MAAMA,CAAa;AAAA;AAAA;AAAA;AAAA;AAMpBF,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAMlC,MAAAE,IAAUH,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOb,CAAC,EAAE,WAAAG,EAAA,MAAiBA,IAAY,YAAY,QAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -244,6 +244,44 @@ export declare const CancellationReasonModal: NamedExoticComponent<object>;
|
|
|
244
244
|
|
|
245
245
|
export declare const CancelSubscriptionModal: NamedExoticComponent<object>;
|
|
246
246
|
|
|
247
|
+
declare enum CARD_TYPE {
|
|
248
|
+
'general' = "general",
|
|
249
|
+
'legacy' = "legacy",
|
|
250
|
+
'diagnostic' = "diagnostic",
|
|
251
|
+
'remedial' = "remedial",
|
|
252
|
+
'recap' = "recap",
|
|
253
|
+
'learn' = "learn",
|
|
254
|
+
'extra_practice' = "extra_practice",
|
|
255
|
+
'practice' = "practice",
|
|
256
|
+
'test' = "test",
|
|
257
|
+
'revision' = "revision",
|
|
258
|
+
'advanced' = "advanced",
|
|
259
|
+
'challenge' = "challenge",
|
|
260
|
+
'video' = "video",
|
|
261
|
+
'simulation' = "simulation",
|
|
262
|
+
'note' = "note",
|
|
263
|
+
'subjective' = "subjective",
|
|
264
|
+
'deck' = "deck",
|
|
265
|
+
'puzzle' = "puzzle",
|
|
266
|
+
'test_series' = "test_series",
|
|
267
|
+
'activity' = "activity",
|
|
268
|
+
'project' = "project",
|
|
269
|
+
'certificate' = "certificate",
|
|
270
|
+
'ppt_viva' = "ppt_viva",
|
|
271
|
+
'ppt_content' = "ppt_content",
|
|
272
|
+
'wb_activity' = "wb_activity",
|
|
273
|
+
'smart_practice' = "smart_practice",
|
|
274
|
+
'exit_ticket' = "exit_ticket",
|
|
275
|
+
'monthly_mastery_test' = "monthly_mastery_test",
|
|
276
|
+
'supplementary_mastery_test' = "supplementary_mastery_test",
|
|
277
|
+
'trial_diagnostic' = "trial_diagnostic",
|
|
278
|
+
'trial_basic' = "trial_basic",
|
|
279
|
+
'trial_intermediate' = "trial_intermediate",
|
|
280
|
+
'trial_advanced' = "trial_advanced",
|
|
281
|
+
'sat_mock_test' = "sat_mock_test",
|
|
282
|
+
'pdf' = "pdf"
|
|
283
|
+
}
|
|
284
|
+
|
|
247
285
|
export declare const CardTitle: MemoExoticComponent<({ cardHeader, nodeType, courseType, }: {
|
|
248
286
|
cardHeader: string;
|
|
249
287
|
nodeType: TNodeTypes_2;
|
|
@@ -600,6 +638,11 @@ export declare enum ESummaryType {
|
|
|
600
638
|
LEARNING_PLAN = "learningPlan"
|
|
601
639
|
}
|
|
602
640
|
|
|
641
|
+
export declare enum ETAB_IDS {
|
|
642
|
+
DAILY = "daily",
|
|
643
|
+
MONTHLY = "monthly"
|
|
644
|
+
}
|
|
645
|
+
|
|
603
646
|
export declare const EveningIcon: FC<SVGProps<SVGSVGElement>>;
|
|
604
647
|
|
|
605
648
|
export declare const EVENTS: {
|
|
@@ -2303,6 +2346,14 @@ declare interface ILinearProgressBarProps {
|
|
|
2303
2346
|
}
|
|
2304
2347
|
|
|
2305
2348
|
export declare const ILLUSTRATIONS: {
|
|
2349
|
+
2021: string;
|
|
2350
|
+
2022: string;
|
|
2351
|
+
2023: string;
|
|
2352
|
+
2024: string;
|
|
2353
|
+
2025: string;
|
|
2354
|
+
2026: string;
|
|
2355
|
+
2027: string;
|
|
2356
|
+
2028: string;
|
|
2306
2357
|
ACCURACY_BADGE: string;
|
|
2307
2358
|
ALARM_CLOCK_ORANGE: string;
|
|
2308
2359
|
ALARM_CLOCK_PURPLE: string;
|
|
@@ -2310,7 +2361,9 @@ export declare const ILLUSTRATIONS: {
|
|
|
2310
2361
|
ALIEN_2: string;
|
|
2311
2362
|
ALIEN_3: string;
|
|
2312
2363
|
ALIEN_4: string;
|
|
2364
|
+
APR: string;
|
|
2313
2365
|
ARROW_BOARD_GREEN: string;
|
|
2366
|
+
AUG: string;
|
|
2314
2367
|
BLUE_CLIP: string;
|
|
2315
2368
|
BOOK_CHECKED_GREEN: string;
|
|
2316
2369
|
BOOK_CHECKED_ORANGE: string;
|
|
@@ -2326,6 +2379,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2326
2379
|
CALENDAR_GRAY: string;
|
|
2327
2380
|
CALENDAR_GREEN: string;
|
|
2328
2381
|
CALENDAR_PURPLE: string;
|
|
2382
|
+
CALENDAR_PURPLE_2: string;
|
|
2329
2383
|
CAUTION: string;
|
|
2330
2384
|
CHAPTER_10: string;
|
|
2331
2385
|
CHAPTER_1: string;
|
|
@@ -2345,6 +2399,8 @@ export declare const ILLUSTRATIONS: {
|
|
|
2345
2399
|
CIRCLE_OUTERCIRCLE_BG: string;
|
|
2346
2400
|
CLOCK_BADGE: string;
|
|
2347
2401
|
CLOCK_ORANGE: string;
|
|
2402
|
+
CODING_REPORT_ICON: string;
|
|
2403
|
+
CLOCK_PURPLE: string;
|
|
2348
2404
|
COMMON: string;
|
|
2349
2405
|
COMMUNITY_BULB: string;
|
|
2350
2406
|
COMMUNITY_BULB_YELLOW_2: string;
|
|
@@ -2354,6 +2410,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2354
2410
|
CUECOIN_GOLD: string;
|
|
2355
2411
|
CUEMATH_APP_QR_CODE: string;
|
|
2356
2412
|
CW_ICON: string;
|
|
2413
|
+
DEC: string;
|
|
2357
2414
|
DESKTOP_WITH_PURPLE_FILL: string;
|
|
2358
2415
|
DOWN_ARROW_BADGE: string;
|
|
2359
2416
|
DURATION_30MIN_GRAY: string;
|
|
@@ -2362,10 +2419,15 @@ export declare const ILLUSTRATIONS: {
|
|
|
2362
2419
|
DURATION_90MIN_GRAY: string;
|
|
2363
2420
|
EARTH_GREEN: string;
|
|
2364
2421
|
ELLIPSE_CLIP: string;
|
|
2422
|
+
ELP_ICON: string;
|
|
2423
|
+
EMPTY_REPORTS: string;
|
|
2424
|
+
ENGLISH_ICON: string;
|
|
2365
2425
|
EPIC: string;
|
|
2366
2426
|
EQUAL_OUTLINED: string;
|
|
2427
|
+
FEB: string;
|
|
2367
2428
|
FEMALE_AVATAR: string;
|
|
2368
2429
|
FOCUS_BLUE: string;
|
|
2430
|
+
FULL_REPORT: string;
|
|
2369
2431
|
GAME_PLAY: string;
|
|
2370
2432
|
GLOBE_WITH_BLUE_FILL: string;
|
|
2371
2433
|
GRADE_GRID_BACKGROUND: string;
|
|
@@ -2379,6 +2441,9 @@ export declare const ILLUSTRATIONS: {
|
|
|
2379
2441
|
HANDSHAKE_GREEN: string;
|
|
2380
2442
|
HEART_OUTLINED: string;
|
|
2381
2443
|
HW_ICON: string;
|
|
2444
|
+
JAN: string;
|
|
2445
|
+
JUL: string;
|
|
2446
|
+
JUN: string;
|
|
2382
2447
|
KEY: string;
|
|
2383
2448
|
KNOWLEDGE_BLUE: string;
|
|
2384
2449
|
LEARNED_SHIELD_GRAY: string;
|
|
@@ -2394,9 +2459,12 @@ export declare const ILLUSTRATIONS: {
|
|
|
2394
2459
|
LOCKED: string;
|
|
2395
2460
|
MAINTENANCE: string;
|
|
2396
2461
|
MALE_AVATAR: string;
|
|
2462
|
+
MAR: string;
|
|
2397
2463
|
MASTERED_BADGE: string;
|
|
2398
2464
|
MASTERED_SHIELD_GRAY: string;
|
|
2399
2465
|
MASTERED_SHIELD_GREEN: string;
|
|
2466
|
+
MATH_FIT_GREY: string;
|
|
2467
|
+
MAY: string;
|
|
2400
2468
|
MENTAL_MATH: string;
|
|
2401
2469
|
MILESTONE_INTRO_1: string;
|
|
2402
2470
|
MILESTONE_INTRO_2: string;
|
|
@@ -2409,18 +2477,24 @@ export declare const ILLUSTRATIONS: {
|
|
|
2409
2477
|
NODE_CUSTOM_TEST_BG: string;
|
|
2410
2478
|
NODE_DOWNLOAD_BG: string;
|
|
2411
2479
|
NODE_LEARN_BG: string;
|
|
2480
|
+
NODE_LEARN_LARGE_BG: string;
|
|
2412
2481
|
NODE_PRACTICE_BG: string;
|
|
2413
2482
|
NODE_PROJECT_BG: string;
|
|
2414
2483
|
NODE_PUZZLE_BG: string;
|
|
2484
|
+
NODE_PUZZLE_LARGE_BG: string;
|
|
2415
2485
|
NODE_RECAP_BG: string;
|
|
2416
2486
|
NODE_SUBJECTIVE_BG: string;
|
|
2487
|
+
NODE_TEST_LARGE_BG: string;
|
|
2417
2488
|
NODE_TEST_PREP_BG: string;
|
|
2418
2489
|
NODE_VIDEO_BG: string;
|
|
2490
|
+
NOV: string;
|
|
2419
2491
|
NO_ACTIVITY: string;
|
|
2492
|
+
NO_REPORT: string;
|
|
2420
2493
|
NUMBER_1_ORANGE: string;
|
|
2421
2494
|
NUMBER_2_ORANGE: string;
|
|
2422
2495
|
NUMBER_3_ORANGE: string;
|
|
2423
2496
|
NUMBER_4_ORANGE: string;
|
|
2497
|
+
OCT: string;
|
|
2424
2498
|
ONE_STAR_FILLED: string;
|
|
2425
2499
|
OPENED_BOOK_GREEN: string;
|
|
2426
2500
|
ORANGE_FACE: string;
|
|
@@ -2439,6 +2513,8 @@ export declare const ILLUSTRATIONS: {
|
|
|
2439
2513
|
PRACTICED_SHIELD_GREY: string;
|
|
2440
2514
|
PROFICIENT_BADGE: string;
|
|
2441
2515
|
PROFILE_BOARD: string;
|
|
2516
|
+
PTM_REPORT_ICON: string;
|
|
2517
|
+
PROGRESS_BAR_PURPLE: string;
|
|
2442
2518
|
PUZZLE: string;
|
|
2443
2519
|
PUZZLE_DASHBOARD_BANNER: string;
|
|
2444
2520
|
PUZZLE_PATTERN_BLUE: string;
|
|
@@ -2458,7 +2534,10 @@ export declare const ILLUSTRATIONS: {
|
|
|
2458
2534
|
REPORT_404: string;
|
|
2459
2535
|
ROCKET_BROKEN: string;
|
|
2460
2536
|
ROCKET_YELLOW: string;
|
|
2537
|
+
SAT_REPORT_ICON: string;
|
|
2538
|
+
SCIENCE_REPORT_ICON: string;
|
|
2461
2539
|
SCORE: string;
|
|
2540
|
+
SEP: string;
|
|
2462
2541
|
SMILEY: string;
|
|
2463
2542
|
STAR_BADGE: string;
|
|
2464
2543
|
STAR_ORANGE: string;
|
|
@@ -2474,6 +2553,8 @@ export declare const ILLUSTRATIONS: {
|
|
|
2474
2553
|
TEST_DIFFICULTY_MEDIUM: string;
|
|
2475
2554
|
THREE_STARS_FILLED: string;
|
|
2476
2555
|
THUMBS_UP_GREEN: string;
|
|
2556
|
+
THUMPS_DOWN: string;
|
|
2557
|
+
THUMPS_UP: string;
|
|
2477
2558
|
TICK_GREEN: string;
|
|
2478
2559
|
TIME_PURPLE: string;
|
|
2479
2560
|
TROPHY_BLUE: string;
|
|
@@ -2547,9 +2628,7 @@ export declare const ImageIcon: FC<SVGProps<SVGSVGElement>>;
|
|
|
2547
2628
|
|
|
2548
2629
|
export declare const IMAGES: {
|
|
2549
2630
|
ACHIEVEMENT_BG: string;
|
|
2550
|
-
APR: string;
|
|
2551
2631
|
ASHTA: string;
|
|
2552
|
-
AUG: string;
|
|
2553
2632
|
AWESOME: string;
|
|
2554
2633
|
BADGE_SUCCESS: string;
|
|
2555
2634
|
BG_EMPTY_RESOURCES: string;
|
|
@@ -2560,28 +2639,19 @@ export declare const IMAGES: {
|
|
|
2560
2639
|
CONGRATS: string;
|
|
2561
2640
|
COOL: string;
|
|
2562
2641
|
COSA: string;
|
|
2563
|
-
DEC: string;
|
|
2564
2642
|
DEFAULT_CHAPTER: string;
|
|
2565
2643
|
DODA: string;
|
|
2566
2644
|
DVI: string;
|
|
2567
2645
|
EKA: string;
|
|
2568
2646
|
EMPTY_MIX_TESTS: string;
|
|
2569
|
-
FEB: string;
|
|
2570
2647
|
GREAT: string;
|
|
2571
2648
|
GREEN_BELT: string;
|
|
2572
2649
|
HEXO: string;
|
|
2573
|
-
JAN: string;
|
|
2574
|
-
JUL: string;
|
|
2575
|
-
JUN: string;
|
|
2576
2650
|
KUDOS: string;
|
|
2577
2651
|
LEARNING_PLAN: string;
|
|
2578
2652
|
LESSON_OVERVIEW_BANNER: string;
|
|
2579
|
-
MAR: string;
|
|
2580
2653
|
MASTERED_BADGE: string;
|
|
2581
|
-
MAY: string;
|
|
2582
|
-
NOV: string;
|
|
2583
2654
|
NO_INFO: string;
|
|
2584
|
-
OCT: string;
|
|
2585
2655
|
OCTO: string;
|
|
2586
2656
|
ORANGE_BELT: string;
|
|
2587
2657
|
PURPLE_BELT: string;
|
|
@@ -2589,7 +2659,6 @@ export declare const IMAGES: {
|
|
|
2589
2659
|
PUZZLE_CARD_HARD: string;
|
|
2590
2660
|
PUZZLE_CARD_MEDIUM: string;
|
|
2591
2661
|
RED_BELT: string;
|
|
2592
|
-
SEP: string;
|
|
2593
2662
|
SHARED: string;
|
|
2594
2663
|
SHEET_REFERENCE: string;
|
|
2595
2664
|
SPIRAL_PATTERN: string;
|
|
@@ -2904,6 +2973,56 @@ declare interface IModalProviderProps extends PropsWithChildren {
|
|
|
2904
2973
|
isUserAuthenticated?: boolean;
|
|
2905
2974
|
}
|
|
2906
2975
|
|
|
2976
|
+
declare interface IMonthlyActivity {
|
|
2977
|
+
id: string;
|
|
2978
|
+
node_type: NODE_TYPES;
|
|
2979
|
+
card_type: CARD_TYPE;
|
|
2980
|
+
card_header: CARD_TYPE | null;
|
|
2981
|
+
feedback_comments: string | null;
|
|
2982
|
+
state: NODE_STATE;
|
|
2983
|
+
title?: string;
|
|
2984
|
+
accuracy?: number | null;
|
|
2985
|
+
subtext?: string | null;
|
|
2986
|
+
is_timed?: boolean;
|
|
2987
|
+
image_hue?: THueNames;
|
|
2988
|
+
image_url?: string;
|
|
2989
|
+
sat_max_score?: number | null;
|
|
2990
|
+
sat_total_score?: number | null;
|
|
2991
|
+
item_ref?: string | null;
|
|
2992
|
+
thumbnail_url?: string;
|
|
2993
|
+
user_attempt_id?: string | null;
|
|
2994
|
+
tip: string | null;
|
|
2995
|
+
user_block_id: string | null;
|
|
2996
|
+
user_chapter_id: string | null;
|
|
2997
|
+
user_node_id: string | null;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
declare interface IMonthlyReportProps {
|
|
3001
|
+
reportId: string;
|
|
3002
|
+
studentName: string;
|
|
3003
|
+
onPuzzleClick?: (params: {
|
|
3004
|
+
item_ref: IMonthlyActivity['item_ref'];
|
|
3005
|
+
feedback_comments: IMonthlyActivity['feedback_comments'];
|
|
3006
|
+
image_hue: IMonthlyActivity['image_hue'];
|
|
3007
|
+
title: IMonthlyActivity['title'];
|
|
3008
|
+
tip: IMonthlyActivity['tip'];
|
|
3009
|
+
}) => void;
|
|
3010
|
+
showSnackbar?: (params: {
|
|
3011
|
+
type: 'error' | 'info';
|
|
3012
|
+
message: string;
|
|
3013
|
+
bgColor: string;
|
|
3014
|
+
}) => void;
|
|
3015
|
+
onFeedback?: (feedback: TFeedback, studentCourseId: string) => void;
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
declare interface IMonthlyTimelineProps {
|
|
3019
|
+
userType: 'PARENT' | 'TEACHER' | 'STUDENT';
|
|
3020
|
+
studentId: string;
|
|
3021
|
+
courseStreams?: string[];
|
|
3022
|
+
onReportClick?: (reportId: string, reportType: REPORT_TYPE, year: number, month: string) => void;
|
|
3023
|
+
scrollAreaHeight?: string | number;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
2907
3026
|
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
|
2908
3027
|
enablePlayerTurnIndicators?: boolean;
|
|
2909
3028
|
}
|
|
@@ -3293,6 +3412,12 @@ declare interface IProgramOption {
|
|
|
3293
3412
|
[key: string]: unknown;
|
|
3294
3413
|
}
|
|
3295
3414
|
|
|
3415
|
+
declare interface IProgressTimelineTabs {
|
|
3416
|
+
onTabClick: (tab: ETAB_IDS) => void;
|
|
3417
|
+
activeTab: string;
|
|
3418
|
+
headerHeight: number;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3296
3421
|
export declare interface IProject<T> {
|
|
3297
3422
|
type: ProjectType;
|
|
3298
3423
|
data: T[];
|
|
@@ -3330,6 +3455,10 @@ declare interface IProjects_2 {
|
|
|
3330
3455
|
};
|
|
3331
3456
|
}
|
|
3332
3457
|
|
|
3458
|
+
declare interface IPTMReportProps {
|
|
3459
|
+
ptmId: string;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3333
3462
|
declare interface IPublishData {
|
|
3334
3463
|
eventName: string;
|
|
3335
3464
|
eventPayload: IActionData;
|
|
@@ -5155,12 +5284,20 @@ export declare const Mobile: FC<SVGProps<SVGSVGElement>>;
|
|
|
5155
5284
|
*/
|
|
5156
5285
|
export declare const ModalProvider: FC<IModalProviderProps>;
|
|
5157
5286
|
|
|
5287
|
+
export declare const MonthlyReport: NamedExoticComponent<IMonthlyReportProps>;
|
|
5288
|
+
|
|
5289
|
+
export declare const MonthlyTimeline: NamedExoticComponent<IMonthlyTimelineProps>;
|
|
5290
|
+
|
|
5158
5291
|
export declare const MoreVerticalIcon: FC<SVGProps<SVGSVGElement>>;
|
|
5159
5292
|
|
|
5160
5293
|
export declare const MorningIcon: FC<SVGProps<SVGSVGElement>>;
|
|
5161
5294
|
|
|
5162
5295
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
|
5163
5296
|
|
|
5297
|
+
export declare const NewProgressIntroModal: MemoExoticComponent<({ onClose }: {
|
|
5298
|
+
onClose: () => void;
|
|
5299
|
+
}) => JSX.Element>;
|
|
5300
|
+
|
|
5164
5301
|
export declare const Next2Icon: FC<SVGProps<SVGSVGElement>>;
|
|
5165
5302
|
|
|
5166
5303
|
export declare const NextIcon: FC<SVGProps<SVGSVGElement>>;
|
|
@@ -5214,7 +5351,8 @@ declare enum NODE_STATE {
|
|
|
5214
5351
|
COMPLETED = "COMPLETED",
|
|
5215
5352
|
IN_PROGRESS = "IN_PROGRESS",
|
|
5216
5353
|
PENDING = "PENDING",
|
|
5217
|
-
NOT_STARTED = "NOT_STARTED"
|
|
5354
|
+
NOT_STARTED = "NOT_STARTED",
|
|
5355
|
+
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW"
|
|
5218
5356
|
}
|
|
5219
5357
|
|
|
5220
5358
|
export declare const NODE_SUB_GROUP: {
|
|
@@ -5496,6 +5634,8 @@ export declare enum ProjectType {
|
|
|
5496
5634
|
TABLE = "table"
|
|
5497
5635
|
}
|
|
5498
5636
|
|
|
5637
|
+
export declare const PTMReport: NamedExoticComponent<IPTMReportProps>;
|
|
5638
|
+
|
|
5499
5639
|
export declare interface Puzzle extends BaseProject {
|
|
5500
5640
|
question: string;
|
|
5501
5641
|
isHintSeen: boolean;
|
|
@@ -5571,6 +5711,12 @@ export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
|
|
5571
5711
|
|
|
5572
5712
|
export declare const RemotePeerPointer: NamedExoticComponent<IPointerProps>;
|
|
5573
5713
|
|
|
5714
|
+
export declare enum REPORT_TYPE {
|
|
5715
|
+
MPR_V1 = "MPR_V1",
|
|
5716
|
+
MPR_V2 = "MPR_V2",
|
|
5717
|
+
PTM = "PTM"
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5574
5720
|
export declare const ReportInformation: FC<IReportInformationProps>;
|
|
5575
5721
|
|
|
5576
5722
|
export declare const ResendOTP: NamedExoticComponent<IOTPResendProps>;
|
|
@@ -6110,6 +6256,8 @@ declare interface TextProps {
|
|
|
6110
6256
|
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
|
6111
6257
|
}
|
|
6112
6258
|
|
|
6259
|
+
declare type TFeedback = 'positive' | 'negative';
|
|
6260
|
+
|
|
6113
6261
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
|
6114
6262
|
|
|
6115
6263
|
declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
|
|
@@ -6145,6 +6293,8 @@ export declare const TickIcon: FC<SVGProps<SVGSVGElement>>;
|
|
|
6145
6293
|
*/
|
|
6146
6294
|
export declare const TimeLeftTimeline: FC<ITimeLeftTimelineProps>;
|
|
6147
6295
|
|
|
6296
|
+
export declare const TimelineTabs: MemoExoticComponent<({ onTabClick, activeTab, headerHeight }: IProgressTimelineTabs) => JSX.Element>;
|
|
6297
|
+
|
|
6148
6298
|
export declare type TInclassChannelMetadata = {
|
|
6149
6299
|
syncModule?: {
|
|
6150
6300
|
name: 'MILESTONE_CREATE' | 'MILESTONE_EDIT' | 'MILESTONE_REVIEW';
|
|
@@ -6774,6 +6924,10 @@ export declare enum TRACKING_ID_STUDENT {
|
|
|
6774
6924
|
INFO_ABOUT_GAME_ACTIVITIES = "INFO_ABOUT_GAME_ACTIVITIES"
|
|
6775
6925
|
}
|
|
6776
6926
|
|
|
6927
|
+
export declare enum TRACKING_ID_TEACHER {
|
|
6928
|
+
NEW_PROGRESS_INTRO_MODAL = "NEW_PROGRESS_INTRO_MODAL"
|
|
6929
|
+
}
|
|
6930
|
+
|
|
6777
6931
|
declare type TRecommendedChaptersFilter = TRecommendedChaptersQuery & {
|
|
6778
6932
|
chapter_codes?: string[];
|
|
6779
6933
|
};
|
|
@@ -7008,7 +7162,7 @@ export declare type TTrackCTA = (params: {
|
|
|
7008
7162
|
|
|
7009
7163
|
export declare type TTrackEvent = (eventType: string, props: Record<string, unknown>, overrides?: Record<string, unknown>) => void;
|
|
7010
7164
|
|
|
7011
|
-
declare type TTrackingId = TRACKING_ID_STUDENT;
|
|
7165
|
+
declare type TTrackingId = TRACKING_ID_STUDENT | TRACKING_ID_TEACHER;
|
|
7012
7166
|
|
|
7013
7167
|
export declare type TTrackInput = (params: {
|
|
7014
7168
|
label: string;
|
|
@@ -7291,7 +7445,7 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
|
7291
7445
|
} & Record<string, unknown>) | undefined;
|
|
7292
7446
|
};
|
|
7293
7447
|
|
|
7294
|
-
export declare const useGetTrackedViews: () => (TJourneyId |
|
|
7448
|
+
export declare const useGetTrackedViews: () => (TJourneyId | TTrackingId)[];
|
|
7295
7449
|
|
|
7296
7450
|
export declare const useHandleStickerSend: (studentClassroomId: string, metaData: TUseStickerSendMetaData) => (sticker: IStickerData, effect: TStickerAnimationEffects) => void;
|
|
7297
7451
|
|