@cuemath/leap 3.5.30-gg4 → 3.5.30-j1
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 +12 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/images/images.js +8 -0
- 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/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/circle-games/game-launcher/comps/carousel/carousel-styled.js +16 -32
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js +88 -87
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +35 -35
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/stickers/hooks/use-handle-sticker-send/use-handle-sticker-send.js +0 -1
- package/dist/features/stickers/hooks/use-handle-sticker-send/use-handle-sticker-send.js.map +1 -1
- package/dist/features/timeline/daily-timeline-styled.js +13 -9
- package/dist/features/timeline/daily-timeline-styled.js.map +1 -1
- package/dist/features/timeline/daily-timeline-view.js +9 -10
- package/dist/features/timeline/daily-timeline-view.js.map +1 -1
- package/dist/features/timeline/monthly-report/api/use-monthly-report-get.js +13 -0
- package/dist/features/timeline/monthly-report/api/use-monthly-report-get.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/achievements/achievements.js +68 -0
- package/dist/features/timeline/monthly-report/comps/achievements/achievements.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/achievements/achievements.styled.js +15 -0
- package/dist/features/timeline/monthly-report/comps/achievements/achievements.styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card/activities-card.js +128 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card/activities-card.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card/activities-card.styled.js +53 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card/activities-card.styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.js +121 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.js +58 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities.js +27 -0
- package/dist/features/timeline/monthly-report/comps/activities/activities.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/constants.js +95 -0
- package/dist/features/timeline/monthly-report/comps/activities/constants.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/activities/utils.js +15 -0
- package/dist/features/timeline/monthly-report/comps/activities/utils.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance-constants.js +29 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance-constants.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance-utils.js +92 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance-utils.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance.js +44 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance.styled.js +39 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendance.styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendence-view.js +52 -0
- package/dist/features/timeline/monthly-report/comps/attendance/attendence-view.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/feedback/feedback-styled.js +9 -0
- package/dist/features/timeline/monthly-report/comps/feedback/feedback-styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/feedback/feedback.js +94 -0
- package/dist/features/timeline/monthly-report/comps/feedback/feedback.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-card/goal-chapter-card.js +48 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-card/goal-chapter-card.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-card/goals-card-styled.js +28 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-card/goals-card-styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-card/goals-card.js +113 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-card/goals-card.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-constants.js +30 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals-constants.js.map +1 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals.js +22 -0
- package/dist/features/timeline/monthly-report/comps/goals/goals.js.map +1 -0
- package/dist/features/timeline/monthly-report/monthly-report-styled.js +14 -0
- package/dist/features/timeline/monthly-report/monthly-report-styled.js.map +1 -0
- package/dist/features/timeline/monthly-report/monthly-report-types.js +5 -0
- package/dist/features/timeline/monthly-report/monthly-report-types.js.map +1 -0
- package/dist/features/timeline/monthly-report/monthly-report.js +69 -0
- package/dist/features/timeline/monthly-report/monthly-report.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 +41 -0
- package/dist/features/timeline/monthly-timeline/constants.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 +62 -0
- package/dist/features/timeline/monthly-timeline/monthly-timeline.js.map +1 -0
- package/dist/features/timeline/ptm-report/api/use-ptm-report-get.js +9 -0
- package/dist/features/timeline/ptm-report/api/use-ptm-report-get.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/key-need/key-need-styled.js +9 -0
- package/dist/features/timeline/ptm-report/comps/key-need/key-need-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/key-need/key-need.js +35 -0
- package/dist/features/timeline/ptm-report/comps/key-need/key-need.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/parent-support/parent-support.js +53 -0
- package/dist/features/timeline/ptm-report/comps/parent-support/parent-support.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/real-world-projects/real-world-projects-styled.js +19 -0
- package/dist/features/timeline/ptm-report/comps/real-world-projects/real-world-projects-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/real-world-projects/real-world-projects.js +50 -0
- package/dist/features/timeline/ptm-report/comps/real-world-projects/real-world-projects.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/report-card/report-card-styled.js +9 -0
- package/dist/features/timeline/ptm-report/comps/report-card/report-card-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/report-card/report-card.js +22 -0
- package/dist/features/timeline/ptm-report/comps/report-card/report-card.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/school-support/school-support-styled.js +9 -0
- package/dist/features/timeline/ptm-report/comps/school-support/school-support-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/school-support/school-support.js +84 -0
- package/dist/features/timeline/ptm-report/comps/school-support/school-support.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/strategies/strategies-constant.js +11 -0
- package/dist/features/timeline/ptm-report/comps/strategies/strategies-constant.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/strategies/strategies.js +36 -0
- package/dist/features/timeline/ptm-report/comps/strategies/strategies.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/strategy-card/strategy-card-styled.js +55 -0
- package/dist/features/timeline/ptm-report/comps/strategy-card/strategy-card-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/strategy-card/strategy-card.js +35 -0
- package/dist/features/timeline/ptm-report/comps/strategy-card/strategy-card.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/student-info/student-info-styled.js +21 -0
- package/dist/features/timeline/ptm-report/comps/student-info/student-info-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/student-info/student-info.js +21 -0
- package/dist/features/timeline/ptm-report/comps/student-info/student-info.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/support-card/support-card-styled.js +9 -0
- package/dist/features/timeline/ptm-report/comps/support-card/support-card-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/support-card/support-card.js +30 -0
- package/dist/features/timeline/ptm-report/comps/support-card/support-card.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/teacher-observations/teacher-observations-constant.js +9 -0
- package/dist/features/timeline/ptm-report/comps/teacher-observations/teacher-observations-constant.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/teacher-observations/teacher-observations.js +56 -0
- package/dist/features/timeline/ptm-report/comps/teacher-observations/teacher-observations.js.map +1 -0
- package/dist/features/timeline/ptm-report/comps/upcoming-chapters/upcoming-chapters.js +15 -0
- package/dist/features/timeline/ptm-report/comps/upcoming-chapters/upcoming-chapters.js.map +1 -0
- package/dist/features/timeline/ptm-report/ptm-report-constants.js +16 -0
- package/dist/features/timeline/ptm-report/ptm-report-constants.js.map +1 -0
- package/dist/features/timeline/ptm-report/ptm-report-helpers.js +8 -0
- package/dist/features/timeline/ptm-report/ptm-report-helpers.js.map +1 -0
- package/dist/features/timeline/ptm-report/ptm-report-styled.js +11 -0
- package/dist/features/timeline/ptm-report/ptm-report-styled.js.map +1 -0
- package/dist/features/timeline/ptm-report/ptm-report-types.js +5 -0
- package/dist/features/timeline/ptm-report/ptm-report-types.js.map +1 -0
- package/dist/features/timeline/ptm-report/ptm-report.js +113 -0
- package/dist/features/timeline/ptm-report/ptm-report.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 +42 -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/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +11 -11
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +1 -1
- package/dist/features/ui/swipable-carousel/swipable-carousel-styled.js +57 -0
- package/dist/features/ui/swipable-carousel/swipable-carousel-styled.js.map +1 -0
- package/dist/features/ui/swipable-carousel/swipable-carousel.js +132 -0
- package/dist/features/ui/swipable-carousel/swipable-carousel.js.map +1 -0
- package/dist/features/ui/swipeable-component/swipeable-component-styled.js.map +1 -0
- package/dist/features/ui/swipeable-component/swipeable-component.js +27 -0
- package/dist/features/ui/swipeable-component/swipeable-component.js.map +1 -0
- package/dist/features/worksheet/user-pointer-pin/hooks/use-user-location.js +20 -21
- package/dist/features/worksheet/user-pointer-pin/hooks/use-user-location.js.map +1 -1
- package/dist/features/worksheet/user-pointer-pin/user-pin.js +35 -37
- package/dist/features/worksheet/user-pointer-pin/user-pin.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-create-imperative-handle.js +132 -132
- package/dist/features/worksheet/worksheet/hooks/use-create-imperative-handle.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-get-active-question-id.js +62 -0
- package/dist/features/worksheet/worksheet/hooks/use-get-active-question-id.js.map +1 -0
- package/dist/features/worksheet/worksheet/hooks/use-time-on-questions.js +19 -24
- package/dist/features/worksheet/worksheet/hooks/use-time-on-questions.js.map +1 -1
- package/dist/features/worksheet/worksheet/question-tips.js +47 -48
- package/dist/features/worksheet/worksheet/question-tips.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js +132 -88
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/worksheet-blocker.js +55 -44
- package/dist/features/worksheet/worksheet/worksheet-blocker/worksheet-blocker.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-container.js +87 -0
- package/dist/features/worksheet/worksheet/worksheet-container.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +112 -109
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-navigation/worksheet-item-navigation.js +27 -25
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-navigation/worksheet-item-navigation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-number/worksheet-item-number.js +47 -47
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-number/worksheet-item-number.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-navigation.js +64 -66
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-navigation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-section-navigation/worksheet-section-navigation.js +40 -38
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-section-navigation/worksheet-section-navigation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-permissions/error.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/header/header.js +71 -73
- package/dist/features/worksheet/worksheet/worksheet-question/header/header.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +59 -61
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/subjective-review.js +18 -21
- package/dist/features/worksheet/worksheet/worksheet-question/subjective-review.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +272 -269
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/scribble-switch.js +31 -32
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/scribble-switch.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/use-handler-callbacks.js +149 -147
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/use-handler-callbacks.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +223 -212
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-summary/worksheet-questions-summary.js +20 -22
- package/dist/features/worksheet/worksheet/worksheet-questions-summary/worksheet-questions-summary.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/question-guide.js +55 -57
- package/dist/features/worksheet/worksheet/worksheet-sidebar/question-guide.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/sidebar.js +42 -47
- package/dist/features/worksheet/worksheet/worksheet-sidebar/sidebar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +34 -24
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-summary/worksheet-summary.js +12 -16
- package/dist/features/worksheet/worksheet/worksheet-summary/worksheet-summary.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-summary-controller/worksheet-summary-controller.js +7 -8
- package/dist/features/worksheet/worksheet/worksheet-summary-controller/worksheet-summary-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +441 -203
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js.map +1 -1
- package/dist/index.d.ts +276 -31
- package/dist/index.js +465 -451
- package/dist/index.js.map +1 -1
- package/dist/static/2021.0683b580.png +0 -0
- package/dist/static/2022.d34ad7a5.png +0 -0
- package/dist/static/2023.fce87149.png +0 -0
- package/dist/static/2024.a275ee85.png +0 -0
- package/dist/static/2025.677cc187.png +0 -0
- package/dist/static/2026.63763214.png +0 -0
- package/dist/static/2027.b82dc039.png +0 -0
- package/dist/static/2028.580b8cc0.png +0 -0
- package/dist/static/coding-report-icon.91a1e900.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/full-report.00112c74.svg +1 -0
- package/dist/static/math-fit-grey.c32f37b3.svg +1 -0
- package/dist/static/no-report.4158fad3.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/thumps-down.a1192a62.svg +1 -0
- package/dist/static/thumps-up.caa35a98.svg +1 -0
- package/package.json +3 -4
- package/dist/features/circle-games/game-launcher/comps/swipable-component/swipeable-component-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/swipable-component/swipeable-component.js +0 -26
- package/dist/features/circle-games/game-launcher/comps/swipable-component/swipeable-component.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-active-question-observer.js +0 -59
- package/dist/features/worksheet/worksheet/hooks/use-active-question-observer.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-store.js +0 -13
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-store.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/worksheet-blocker-view.js +0 -68
- package/dist/features/worksheet/worksheet/worksheet-blocker/worksheet-blocker-view.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-calculator/worksheet-calculator.js +0 -17
- package/dist/features/worksheet/worksheet/worksheet-calculator/worksheet-calculator.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-nudge-banner/worksheet-nudge-banner-styled.js +0 -20
- package/dist/features/worksheet/worksheet/worksheet-nudge-banner/worksheet-nudge-banner-styled.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-nudge-banner/worksheet-nudge-banner.js +0 -49
- package/dist/features/worksheet/worksheet/worksheet-nudge-banner/worksheet-nudge-banner.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-provider.js +0 -21
- package/dist/features/worksheet/worksheet/worksheet-provider.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-questions/worksheet-questions-styled.js +0 -16
- package/dist/features/worksheet/worksheet/worksheet-questions/worksheet-questions-styled.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-questions/worksheet-questions.js +0 -73
- package/dist/features/worksheet/worksheet/worksheet-questions/worksheet-questions.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-store.js +0 -301
- package/dist/features/worksheet/worksheet/worksheet-store.js.map +0 -1
- package/dist/features/worksheet/worksheet/worksheet-view.js +0 -141
- package/dist/features/worksheet/worksheet/worksheet-view.js.map +0 -1
- package/dist/node_modules/zustand/esm/middleware.js +0 -22
- package/dist/node_modules/zustand/esm/middleware.js.map +0 -1
- package/dist/node_modules/zustand/esm/react/shallow.js +0 -13
- package/dist/node_modules/zustand/esm/react/shallow.js.map +0 -1
- package/dist/node_modules/zustand/esm/vanilla/shallow.js +0 -31
- package/dist/node_modules/zustand/esm/vanilla/shallow.js.map +0 -1
- /package/dist/features/{circle-games/game-launcher/comps/swipable-component → ui/swipeable-component}/swipeable-component-styled.js +0 -0
|
@@ -1,209 +1,447 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
import { jsxs as y, Fragment as st, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { memo as at, forwardRef as ct, useMemo as z, useState as C, useCallback as S, useEffect as T, useLayoutEffect as dt } from "react";
|
|
3
|
+
import lt from "../../../assets/line-icons/icons/check2.js";
|
|
4
|
+
import mt from "../../../assets/line-icons/icons/info2.js";
|
|
5
|
+
import ut from "../../../helpers/get-device-details.js";
|
|
6
|
+
import ht from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
|
|
7
|
+
import ce from "../../ui/layout/flex-view.js";
|
|
8
|
+
import ft from "../../ui/text/text.js";
|
|
9
|
+
import pt from "../user-pointer-pin/user-pin.js";
|
|
10
|
+
import { WORKSHEET_NUDGE_BANNER_HEIGHT as de, TOP_NAVIGATION_HEIGHT as gt, DESMOS_CALC_POSITION as bt } from "./constants.js";
|
|
11
|
+
import It from "./hooks/use-create-imperative-handle.js";
|
|
12
|
+
import Ct from "./hooks/use-get-active-question-id.js";
|
|
13
|
+
import St from "./hooks/use-time-on-questions.js";
|
|
14
|
+
import kt from "./question-tips.js";
|
|
15
|
+
import $t from "./worksheet-action-bar/worksheet-action-bar.js";
|
|
16
|
+
import Tt from "./worksheet-blocker/worksheet-blocker.js";
|
|
17
|
+
import { getWorksheetDimensions as vt, getQuestionsFromItems as Et, getInitialResponses as wt, getLastUnlockedQuestionIndex as le, getInitialQuestionId as Nt, getQuestionMetadata as me, scrollToQuestion as x, getRenderableQuestions as Bt, getWorksheetNudgeBannerInfo as At } from "./worksheet-helpers.js";
|
|
18
|
+
import yt from "./worksheet-navigation/worksheet-navigation.js";
|
|
19
|
+
import Wt from "./worksheet-question/worksheet-question.js";
|
|
20
|
+
import _t from "./worksheet-sidebar/navigator.js";
|
|
21
|
+
import Ot from "./worksheet-sidebar/sidebar.js";
|
|
22
|
+
import { NudgeBannerWrapper as Dt, NudgeBannerIcon as ue, WorksheetContainer as Vt, NavigationContainer as Ht, NavigationWrapper as Mt, BlockerWrapper as xt, DesmosCalcWrapper as Rt, ActionbarContainer as Pt, ActionbarWrapper as Qt, StudentWorksheetSideBar as Gt, QuestionsWrapper as Ft } from "./worksheet-styled.js";
|
|
23
|
+
import jt from "./worksheet-summary/worksheet-summary.js";
|
|
24
|
+
const qt = (he, fe) => {
|
|
25
|
+
const {
|
|
26
|
+
userType: r,
|
|
27
|
+
studentName: pe = "Student",
|
|
28
|
+
questionsSignedRequest: ge,
|
|
29
|
+
worksheetName: J,
|
|
30
|
+
initialResponseId: be,
|
|
31
|
+
initialItemIndex: Ie,
|
|
32
|
+
// learnosityActivityRef,
|
|
33
|
+
learnosityItems: R,
|
|
34
|
+
learnosityResponses: Ce,
|
|
35
|
+
layout: k,
|
|
36
|
+
behavior: a,
|
|
37
|
+
updatedResponses: P,
|
|
38
|
+
showNudgeBanner: Se,
|
|
39
|
+
markedAsCompleted: U,
|
|
40
|
+
onResponseChange: f,
|
|
41
|
+
onBulkResponsesChange: ke,
|
|
42
|
+
onResponsesChange: Q,
|
|
43
|
+
onMediaStateChange: G,
|
|
44
|
+
onTeacherValidation: Y,
|
|
45
|
+
onOptionalItemAssignment: $e,
|
|
46
|
+
onOptionalItemSkip: Te,
|
|
47
|
+
onExitTicketStart: W,
|
|
48
|
+
onExitTicketSubmit: _,
|
|
49
|
+
onSubmit: ve,
|
|
50
|
+
learnosity: p,
|
|
51
|
+
appendedQuestionIds: Z,
|
|
52
|
+
worksheetCompleted: Ee,
|
|
53
|
+
userId: we,
|
|
54
|
+
onPublishStrokes: Ne,
|
|
55
|
+
onReceiveStrokes: Be,
|
|
56
|
+
initialStrokesData: Ae,
|
|
57
|
+
onHelp: ye,
|
|
58
|
+
onPublishMouseMove: We,
|
|
59
|
+
onSubscribeMouseMove: _e,
|
|
60
|
+
onActiveQuestionChange: F,
|
|
61
|
+
openQuestionFeedbackModal: Oe,
|
|
62
|
+
summaryDescription: De,
|
|
63
|
+
canSubmitWorksheet: Ve,
|
|
64
|
+
loggerRef: j,
|
|
65
|
+
canResolveDoubt: He,
|
|
66
|
+
onResolveDoubt: Me,
|
|
67
|
+
onSkip: xe,
|
|
68
|
+
studentId: Re,
|
|
69
|
+
subjectiveProps: Pe,
|
|
70
|
+
canShowActionBar: Qe = !0,
|
|
71
|
+
actionBarRightElement: Ge,
|
|
72
|
+
plugins: Fe
|
|
73
|
+
} = he, { initialQuestion: je, navigationMode: m, teacherValidationEnabled: qe, maximumAttempts: ee } = a, {
|
|
74
|
+
containerStyle: O,
|
|
75
|
+
containerWidth: Le,
|
|
76
|
+
minQuestionHeight: te,
|
|
77
|
+
minSummaryHeight: Xe,
|
|
78
|
+
questionsScrollable: D,
|
|
79
|
+
navigationBar: Ke,
|
|
80
|
+
topOffset: V,
|
|
81
|
+
renderSideBar: ze,
|
|
82
|
+
showUserPointer: Je = !0,
|
|
83
|
+
questionPadding: Ue
|
|
84
|
+
} = k, { actionbarHeight: g, maxQuestionWidth: q, questionsContainerWidth: L } = z(
|
|
85
|
+
() => vt(R, k),
|
|
86
|
+
[k, R]
|
|
87
|
+
), [t] = C(
|
|
88
|
+
() => Et(R, {
|
|
89
|
+
sectioned: qe && m !== "ADAPTIVE" && m !== "CURRENT",
|
|
90
|
+
adaptive: m === "ADAPTIVE"
|
|
91
|
+
})
|
|
92
|
+
), [c, v] = C(
|
|
93
|
+
() => Ce ?? wt(t)
|
|
94
|
+
), [ie, Ye] = C(!1), u = z(
|
|
95
|
+
() => m !== "OPEN" ? le({
|
|
96
|
+
questions: t,
|
|
97
|
+
responses: c,
|
|
98
|
+
behavior: a,
|
|
99
|
+
userType: r
|
|
100
|
+
}) : t.length - 1,
|
|
101
|
+
[a, m, t, c, r]
|
|
102
|
+
), d = t[u], n = c[(d == null ? void 0 : d.response_id) ?? ""], { bannerBackgroundColor: Ze, label: et } = At(r, !!U), [E] = C(
|
|
103
|
+
() => Nt({
|
|
104
|
+
questions: t,
|
|
105
|
+
initialQuestion: je,
|
|
106
|
+
lastUnlockedQuestionIndex: le({
|
|
107
|
+
questions: t,
|
|
108
|
+
responses: c,
|
|
109
|
+
behavior: a,
|
|
110
|
+
userType: r
|
|
76
111
|
}),
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
s
|
|
94
|
-
), re = ie(() => {
|
|
95
|
-
if (o === "success" && e && t) {
|
|
96
|
-
const { learnosityItems: u, responses: le } = e;
|
|
97
|
-
return {
|
|
98
|
-
learnosityItems: u,
|
|
99
|
-
learnosityResponses: le,
|
|
100
|
-
updatedResponses: U,
|
|
101
|
-
layout: X,
|
|
102
|
-
behavior: se,
|
|
103
|
-
userType: n,
|
|
104
|
-
initialResponseId: Z,
|
|
105
|
-
initialItemIndex: $,
|
|
106
|
-
questionsSignedRequest: d,
|
|
107
|
-
onResponseChange: R,
|
|
108
|
-
onMediaStateChange: b,
|
|
109
|
-
showNudgeBanner: ee,
|
|
110
|
-
markedAsCompleted: oe,
|
|
111
|
-
onActiveQuestionChange: v,
|
|
112
|
-
studentName: E ?? "Student",
|
|
113
|
-
onOptionalItemAssignment: C,
|
|
114
|
-
onOptionalItemSkip: w,
|
|
115
|
-
onTeacherValidation: I,
|
|
116
|
-
worksheetCompleted: a,
|
|
117
|
-
learnosity: t,
|
|
118
|
-
onPublishStrokes: y,
|
|
119
|
-
onReceiveStrokes: W,
|
|
120
|
-
initialStrokesData: A,
|
|
121
|
-
onPublishMouseMove: B,
|
|
122
|
-
onSubscribeMouseMove: D,
|
|
123
|
-
canResolveDoubt: M,
|
|
124
|
-
onResolveDoubt: T,
|
|
125
|
-
userId: P,
|
|
126
|
-
studentId: x,
|
|
127
|
-
subjectiveProps: L,
|
|
128
|
-
loggerRef: s,
|
|
129
|
-
worksheetName: N,
|
|
130
|
-
onBulkResponsesChange: V,
|
|
131
|
-
onResponsesChange: q,
|
|
132
|
-
onExitTicketStart: H,
|
|
133
|
-
onExitTicketSubmit: O,
|
|
134
|
-
onSubmit: Q,
|
|
135
|
-
appendedQuestionIds: ne,
|
|
136
|
-
onHelp: j,
|
|
137
|
-
openQuestionFeedbackModal: _,
|
|
138
|
-
summaryDescription: F,
|
|
139
|
-
canSubmitWorksheet: K,
|
|
140
|
-
onSkip: Y,
|
|
141
|
-
canShowActionBar: z ?? !0,
|
|
142
|
-
actionBarRightElement: G,
|
|
143
|
-
plugins: J
|
|
112
|
+
initialResponseId: be,
|
|
113
|
+
initialItemIndex: Ie
|
|
114
|
+
})
|
|
115
|
+
), { activeQuestionId: w, setActiveQuestionId: H, intersectionObserver: X } = Ct(E), l = z(
|
|
116
|
+
() => t.findIndex((e) => e.response_id === w),
|
|
117
|
+
[w, t]
|
|
118
|
+
), [h, K] = C(!1), [ne, N] = C(), [oe, re] = C(!1), se = St(a, c, w), tt = S(
|
|
119
|
+
(e, s, o) => {
|
|
120
|
+
const b = s === "SIMULATION" ? "simState" : void 0;
|
|
121
|
+
b && (f ? v(($) => {
|
|
122
|
+
const I = e.response_id, A = me(t, I);
|
|
123
|
+
if (!A) return $;
|
|
124
|
+
const ae = {
|
|
125
|
+
...A,
|
|
126
|
+
...$[I],
|
|
127
|
+
[b]: o
|
|
144
128
|
};
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
W,
|
|
170
|
-
A,
|
|
171
|
-
B,
|
|
172
|
-
D,
|
|
173
|
-
M,
|
|
174
|
-
T,
|
|
175
|
-
P,
|
|
176
|
-
x,
|
|
177
|
-
L,
|
|
178
|
-
s,
|
|
179
|
-
N,
|
|
180
|
-
V,
|
|
181
|
-
q,
|
|
182
|
-
H,
|
|
183
|
-
O,
|
|
184
|
-
Q,
|
|
185
|
-
ne,
|
|
186
|
-
j,
|
|
187
|
-
_,
|
|
188
|
-
F,
|
|
189
|
-
K,
|
|
190
|
-
Y,
|
|
191
|
-
z,
|
|
192
|
-
G,
|
|
193
|
-
J
|
|
194
|
-
]);
|
|
195
|
-
return l(() => {
|
|
196
|
-
o === "error" && i({
|
|
197
|
-
message: te ?? "Error loading worksheet"
|
|
129
|
+
return f == null || f({
|
|
130
|
+
responseId: I,
|
|
131
|
+
response: ae,
|
|
132
|
+
isNewAttempt: !1,
|
|
133
|
+
question: e
|
|
134
|
+
}), {
|
|
135
|
+
...$,
|
|
136
|
+
[I]: ae
|
|
137
|
+
};
|
|
138
|
+
}) : G && G(e, s, o));
|
|
139
|
+
},
|
|
140
|
+
[G, f, t]
|
|
141
|
+
), it = S(
|
|
142
|
+
(e, s) => {
|
|
143
|
+
v((o) => {
|
|
144
|
+
const b = me(t, e);
|
|
145
|
+
return b ? {
|
|
146
|
+
...o,
|
|
147
|
+
[e]: {
|
|
148
|
+
...b,
|
|
149
|
+
...o[e],
|
|
150
|
+
markedForReview: s
|
|
151
|
+
}
|
|
152
|
+
} : o;
|
|
198
153
|
});
|
|
199
|
-
},
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
154
|
+
},
|
|
155
|
+
[t]
|
|
156
|
+
), B = S(() => {
|
|
157
|
+
N((e) => {
|
|
158
|
+
var s;
|
|
159
|
+
if (e) {
|
|
160
|
+
const o = (s = t[u]) == null ? void 0 : s.response_id;
|
|
161
|
+
o && setTimeout(() => {
|
|
162
|
+
x(o);
|
|
163
|
+
}, 50);
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}, [u, t]), M = S(
|
|
167
|
+
(e) => {
|
|
168
|
+
K(!1), D ? requestAnimationFrame(() => x(e)) : H(e);
|
|
169
|
+
},
|
|
170
|
+
[D, H]
|
|
171
|
+
), nt = S(() => {
|
|
172
|
+
re(!1);
|
|
173
|
+
}, []), ot = S(() => {
|
|
174
|
+
re(!0);
|
|
175
|
+
}, []), rt = S(() => {
|
|
176
|
+
K(!0);
|
|
177
|
+
}, []);
|
|
178
|
+
return T(() => {
|
|
179
|
+
const e = t[l];
|
|
180
|
+
e && F && F(e);
|
|
181
|
+
}, [F, t, l]), It(fe, {
|
|
182
|
+
behavior: a,
|
|
183
|
+
questions: t,
|
|
184
|
+
setResponses: v,
|
|
185
|
+
onResponseChange: f,
|
|
186
|
+
onBulkResponsesChange: ke,
|
|
187
|
+
getTimeSpentOnQuestion: se
|
|
188
|
+
}), T(() => () => {
|
|
189
|
+
X.disconnect();
|
|
190
|
+
}, [X]), T(() => {
|
|
191
|
+
Q && c && Q(c);
|
|
192
|
+
}, [Q, c]), T(() => {
|
|
193
|
+
P && v(P);
|
|
194
|
+
}, [P]), dt(() => {
|
|
195
|
+
let e;
|
|
196
|
+
return p && E && (ut().browser_name === "Safari" ? e = setTimeout(() => {
|
|
197
|
+
x(E);
|
|
198
|
+
}, 400) : x(E)), () => {
|
|
199
|
+
clearTimeout(e);
|
|
200
|
+
};
|
|
201
|
+
}, [p, E, V]), T(() => {
|
|
202
|
+
if (a.teacherValidationEnabled && d) {
|
|
203
|
+
const { item_type: e, instructor_stimulus: s, is_optional: o } = d;
|
|
204
|
+
r === "TEACHER" && (e === "exit-ticket" && s !== "SystemIntro" ? n != null && n.submittedByStudent && !(n != null && n.validatedByTeacher) ? N("exit-ticket-review-available") : n != null && n.validatedByTeacher ? B() : N("exit-ticket-teacher-intervention") : o ? n != null && n.assignStatus ? B() : N("optional-items-assignment") : o || B());
|
|
205
|
+
}
|
|
206
|
+
}, [
|
|
207
|
+
a.teacherValidationEnabled,
|
|
208
|
+
B,
|
|
209
|
+
d,
|
|
210
|
+
n,
|
|
211
|
+
r
|
|
212
|
+
]), T(() => {
|
|
213
|
+
if (a.teacherValidationEnabled && d) {
|
|
214
|
+
const { item_type: e, instructor_stimulus: s } = d;
|
|
215
|
+
r === "STUDENT" && e === "exit-ticket" && s !== "SystemIntro" && (n != null && n.submittedByStudent ? _ == null || _() : W == null || W());
|
|
216
|
+
}
|
|
217
|
+
}, [
|
|
218
|
+
a.teacherValidationEnabled,
|
|
219
|
+
d,
|
|
220
|
+
n == null ? void 0 : n.submittedByStudent,
|
|
221
|
+
W,
|
|
222
|
+
_,
|
|
223
|
+
r
|
|
224
|
+
]), p ? /* @__PURE__ */ y(st, { children: [
|
|
225
|
+
Se && /* @__PURE__ */ y(
|
|
226
|
+
Dt,
|
|
227
|
+
{
|
|
228
|
+
$flexDirection: "row",
|
|
229
|
+
$justifyContent: "center",
|
|
230
|
+
$alignItems: "center",
|
|
231
|
+
$width: "100%",
|
|
232
|
+
$heightX: 1.75,
|
|
233
|
+
$height: de,
|
|
234
|
+
$gap: 8,
|
|
235
|
+
$gutter: 8,
|
|
236
|
+
$flexGap: 8,
|
|
237
|
+
$background: Ze,
|
|
238
|
+
$topOffset: k.topOffset - de,
|
|
239
|
+
children: [
|
|
240
|
+
U ? /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(lt, { width: 16, height: 16 }) }) : /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(mt, { width: 16, height: 16 }) }),
|
|
241
|
+
/* @__PURE__ */ i(ft, { $renderAs: "ub3", children: et })
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
),
|
|
245
|
+
/* @__PURE__ */ y(Vt, { $background: "WHITE_1", $width: Le, children: [
|
|
246
|
+
Ke === "top" && /* @__PURE__ */ i(Ht, { $topOffset: V, $height: gt, children: /* @__PURE__ */ i(Mt, { children: /* @__PURE__ */ i(
|
|
247
|
+
yt,
|
|
248
|
+
{
|
|
249
|
+
placement: "top",
|
|
250
|
+
questions: t,
|
|
251
|
+
responses: c,
|
|
252
|
+
activeQuestionIndex: l,
|
|
253
|
+
lastUnlockedQuestionIndex: u,
|
|
254
|
+
behavior: a,
|
|
255
|
+
onItemNumberClick: M,
|
|
256
|
+
userType: r,
|
|
257
|
+
summaryVisible: h
|
|
258
|
+
}
|
|
259
|
+
) }) }),
|
|
260
|
+
ne && d && /* @__PURE__ */ i(xt, { $minHeight: te, $topOffset: V, children: /* @__PURE__ */ i(ce, { $width: q, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ i(
|
|
261
|
+
Tt,
|
|
262
|
+
{
|
|
263
|
+
blocker: ne,
|
|
264
|
+
lastUnlockedQuestion: d,
|
|
265
|
+
studentName: pe,
|
|
266
|
+
onBlockerClose: B,
|
|
267
|
+
onOptionalItemAssignment: $e,
|
|
268
|
+
onOptionalItemSkip: Te,
|
|
269
|
+
onTeacherValidation: Y
|
|
270
|
+
}
|
|
271
|
+
) }) }),
|
|
272
|
+
Je && /* @__PURE__ */ i(
|
|
273
|
+
pt,
|
|
274
|
+
{
|
|
275
|
+
activeQuestionIndex: l,
|
|
276
|
+
onClick: M,
|
|
277
|
+
questions: t,
|
|
278
|
+
bottomOffset: g,
|
|
279
|
+
topOffset: V,
|
|
280
|
+
userType: r
|
|
281
|
+
}
|
|
282
|
+
),
|
|
283
|
+
oe && /* @__PURE__ */ i(Rt, { children: /* @__PURE__ */ i(ht, { initialPosition: bt, onClose: nt }) }),
|
|
284
|
+
/* @__PURE__ */ y(
|
|
285
|
+
Pt,
|
|
286
|
+
{
|
|
287
|
+
$marginTop: r === "TEACHER" && h ? "0" : g,
|
|
288
|
+
$height: g,
|
|
289
|
+
$isCardView: O === "card",
|
|
290
|
+
children: [
|
|
291
|
+
ee !== -2 && /* @__PURE__ */ i(
|
|
292
|
+
kt,
|
|
293
|
+
{
|
|
294
|
+
width: L - 32,
|
|
295
|
+
question: t[l],
|
|
296
|
+
learnosity: p,
|
|
297
|
+
userType: r
|
|
298
|
+
}
|
|
299
|
+
),
|
|
300
|
+
Qe && /* @__PURE__ */ i(
|
|
301
|
+
Qt,
|
|
302
|
+
{
|
|
303
|
+
$height: g,
|
|
304
|
+
$width: O === "card" || ee === -2 ? L - 32 : "100%",
|
|
305
|
+
$isCardView: O === "card",
|
|
306
|
+
children: /* @__PURE__ */ i(
|
|
307
|
+
ce,
|
|
308
|
+
{
|
|
309
|
+
$gutterX: 1,
|
|
310
|
+
$flexDirection: "row",
|
|
311
|
+
$justifyContent: "space-between",
|
|
312
|
+
$alignItems: "center",
|
|
313
|
+
$width: L - 32,
|
|
314
|
+
children: /* @__PURE__ */ i(
|
|
315
|
+
$t,
|
|
316
|
+
{
|
|
317
|
+
userType: r,
|
|
318
|
+
layout: k,
|
|
319
|
+
behavior: a,
|
|
320
|
+
worksheetName: J,
|
|
321
|
+
questions: t,
|
|
322
|
+
responses: c,
|
|
323
|
+
onCalculatorOpen: ot,
|
|
324
|
+
activeQuestionIndex: l,
|
|
325
|
+
lastUnlockedQuestionIndex: u,
|
|
326
|
+
appendedQuestionIds: Z,
|
|
327
|
+
learnosity: p,
|
|
328
|
+
canSubmitWorksheet: Ve,
|
|
329
|
+
isScribblingEnabled: ie,
|
|
330
|
+
isSummaryVisible: h,
|
|
331
|
+
setResponses: v,
|
|
332
|
+
getTimeSpentOnQuestion: se,
|
|
333
|
+
setSummaryVisible: K,
|
|
334
|
+
setBlocker: N,
|
|
335
|
+
setIsScribblingEnabled: Ye,
|
|
336
|
+
setActiveQuestionId: H,
|
|
337
|
+
onItemNumberClick: M,
|
|
338
|
+
onGoToReview: rt,
|
|
339
|
+
onResponseChange: f,
|
|
340
|
+
onHelp: ye,
|
|
341
|
+
onTeacherValidation: Y,
|
|
342
|
+
onSubmit: ve,
|
|
343
|
+
showCalculator: oe,
|
|
344
|
+
loggerRef: j,
|
|
345
|
+
onSkip: xe,
|
|
346
|
+
actionBarRightElement: Ge
|
|
347
|
+
}
|
|
348
|
+
)
|
|
349
|
+
}
|
|
350
|
+
)
|
|
351
|
+
}
|
|
352
|
+
),
|
|
353
|
+
!h && D && r === "STUDENT" && /* @__PURE__ */ i(Gt, { children: /* @__PURE__ */ i(_t, {}) })
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
),
|
|
357
|
+
/* @__PURE__ */ y(
|
|
358
|
+
Ft,
|
|
359
|
+
{
|
|
360
|
+
$actionbarHeight: g,
|
|
361
|
+
$isCardView: O === "card",
|
|
362
|
+
$questionPadding: Ue,
|
|
363
|
+
children: [
|
|
364
|
+
Bt({ questions: t, lastUnlockedQuestionIndex: u, userType: r }).map(
|
|
365
|
+
(e, s) => {
|
|
366
|
+
var I, A;
|
|
367
|
+
const { response_id: o, is_optional: b } = e, $ = (I = c[o]) == null ? void 0 : I.assignStatus;
|
|
368
|
+
return a.teacherValidationEnabled && ($ === "skipped" || b && $ !== "assigned" && r === "STUDENT") ? null : /* @__PURE__ */ i(
|
|
369
|
+
Wt,
|
|
370
|
+
{
|
|
371
|
+
signedRequest: ge,
|
|
372
|
+
userType: r,
|
|
373
|
+
worksheetCompleted: Ee,
|
|
374
|
+
question: e,
|
|
375
|
+
response: c[o],
|
|
376
|
+
nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ? d == null ? void 0 : d.response_id : s < u ? (A = t[s + 1]) == null ? void 0 : A.response_id : void 0,
|
|
377
|
+
maxQuestionWidth: q,
|
|
378
|
+
learnosity: p,
|
|
379
|
+
isActive: o === w,
|
|
380
|
+
isHidden: !D && o !== w || h,
|
|
381
|
+
canRender: l > -1 && (s === l || m !== "CURRENT" && s === l + 1),
|
|
382
|
+
appended: Z.includes(o),
|
|
383
|
+
behavior: a,
|
|
384
|
+
layout: k,
|
|
385
|
+
actionbarHeight: g,
|
|
386
|
+
intersectionObserver: X,
|
|
387
|
+
onMarkForReview: it,
|
|
388
|
+
onMediaStateChange: tt,
|
|
389
|
+
userId: we,
|
|
390
|
+
isScribblingEnabled: ie,
|
|
391
|
+
onPublishStrokes: Ne,
|
|
392
|
+
onReceiveStrokes: Be,
|
|
393
|
+
initialStrokesData: Ae,
|
|
394
|
+
onPublishMouseMove: We,
|
|
395
|
+
onSubscribeMouseMove: _e,
|
|
396
|
+
setActiveQuestionId: H,
|
|
397
|
+
canResolveDoubt: He,
|
|
398
|
+
onResolveDoubt: Me,
|
|
399
|
+
studentId: Re,
|
|
400
|
+
subjectiveProps: Pe,
|
|
401
|
+
responses: c,
|
|
402
|
+
loggerRef: j
|
|
403
|
+
},
|
|
404
|
+
o
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
),
|
|
408
|
+
h && /* @__PURE__ */ i(
|
|
409
|
+
jt,
|
|
410
|
+
{
|
|
411
|
+
worksheetName: J,
|
|
412
|
+
questions: t,
|
|
413
|
+
responses: c,
|
|
414
|
+
activeQuestionIndex: l,
|
|
415
|
+
lastUnlockedQuestionIndex: u,
|
|
416
|
+
onItemNumberClick: M,
|
|
417
|
+
behavior: a,
|
|
418
|
+
minHeight: Xe,
|
|
419
|
+
summaryDescription: De,
|
|
420
|
+
summaryVisible: h
|
|
421
|
+
}
|
|
422
|
+
)
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
),
|
|
426
|
+
!h && ze && /* @__PURE__ */ i(
|
|
427
|
+
Ot,
|
|
428
|
+
{
|
|
429
|
+
questionWidth: q,
|
|
430
|
+
questions: t,
|
|
431
|
+
activeQuestionIndex: l,
|
|
432
|
+
learnosity: p,
|
|
433
|
+
userType: r,
|
|
434
|
+
height: te,
|
|
435
|
+
actionbarHeight: g,
|
|
436
|
+
openQuestionFeedbackModal: Oe,
|
|
437
|
+
loggerRef: j,
|
|
438
|
+
plugins: Fe
|
|
439
|
+
}
|
|
440
|
+
)
|
|
441
|
+
] })
|
|
442
|
+
] }) : null;
|
|
443
|
+
}, pi = at(ct(qt));
|
|
206
444
|
export {
|
|
207
|
-
|
|
445
|
+
pi as default
|
|
208
446
|
};
|
|
209
447
|
//# sourceMappingURL=worksheet.js.map
|