@cuemath/leap 3.2.15-beta-0.1 → 3.2.15-link.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +6 -1
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +34 -0
- package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
- package/dist/assets/line-icons/icons/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.js.map +1 -0
- package/dist/assets/line-icons/icons/morning.js +35 -0
- package/dist/assets/line-icons/icons/morning.js.map +1 -0
- package/dist/assets/line-icons/icons/star3.js +32 -0
- package/dist/assets/line-icons/icons/star3.js.map +1 -0
- package/dist/assets/lottie/lottie.js +11 -6
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +1 -2
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +4 -6
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +8 -10
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +65 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +92 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +18 -13
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
- package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs.js +5 -5
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +32 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +44 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js +54 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js +83 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +1 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js +9 -9
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +4 -7
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/homework/homework-card-view.js +97 -85
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +42 -44
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +29 -31
- package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list.js +50 -57
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +27 -33
- package/dist/features/homework/utils.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +28 -29
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +11 -17
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +2 -2
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +72 -73
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +4 -6
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card-styled.js +69 -24
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +30 -64
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +25 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +107 -100
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js.map +1 -1
- package/dist/features/puzzles/utils/puzzle-pattern.js +13 -28
- package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js +7 -50
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js +15 -69
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +49 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +64 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js +28 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +83 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +1 -0
- package/dist/features/ui/accordion/accordion.js +62 -0
- package/dist/features/ui/accordion/accordion.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +60 -12
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +77 -72
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input.js +11 -11
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js +21 -21
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +5 -5
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +19 -18
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +43 -8
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +37 -27
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/nudge/nudge-styled.js +7 -14
- package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +12 -13
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- package/dist/features/ui/text/text.js +31 -29
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/button.js +78 -78
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +73 -75
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +25 -29
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +47 -101
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +146 -149
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +207 -242
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +37 -37
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +313 -307
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +35 -44
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +155 -105
- package/dist/index.js +536 -520
- package/dist/index.js.map +1 -1
- package/dist/static/animated-avatar.1ad58b1d.json +1 -0
- package/dist/static/animated-avatar.69b07505.json +1 -0
- package/dist/static/animated-avatar.9c560b46.json +1 -0
- package/dist/static/calendar-purple.1a840b41.svg +1 -0
- package/dist/static/flying-disk.c7f6ed39.json +1 -0
- package/dist/static/graduation-cap.3be3340a.json +1 -0
- package/dist/static/handshake.287e7dfb.svg +1 -0
- package/dist/static/light-bulb.c6db0b23.json +1 -0
- package/dist/static/money.332aacf1.svg +1 -0
- package/dist/static/muscle.9bcfb8a7.json +1 -0
- package/dist/static/nudge-tap.5cb30093.json +1057 -0
- package/dist/static/parent-avatar.822c7b9b.svg +1 -0
- package/dist/static/pencil.23df9da0.json +1 -0
- package/dist/static/plus-sign.de6af957.json +1 -0
- package/dist/static/racing-car.2cbf864e.json +1 -0
- package/dist/static/rocket.0a3ccab0.json +1 -0
- package/dist/static/shovel.abeec04c.json +1 -0
- package/dist/static/stripe-blurple.6abf422f.svg +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +2 -3
- package/dist/assets/line-icons/icons/hint-fill.js +0 -35
- package/dist/assets/line-icons/icons/hint-fill.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +0 -72
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +0 -63
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +0 -67
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +0 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +0 -10
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app-styled.js +0 -81
- package/dist/features/puzzles/app/puzzle-app-styled.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app-view.js +0 -120
- package/dist/features/puzzles/app/puzzle-app-view.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app.js +0 -82
- package/dist/features/puzzles/app/puzzle-app.js.map +0 -1
- package/dist/features/puzzles/constants/puzzle-container.js +0 -8
- package/dist/features/puzzles/constants/puzzle-container.js.map +0 -1
- package/dist/features/puzzles/puzzle-analytics-events.js +0 -11
- package/dist/features/puzzles/puzzle-analytics-events.js.map +0 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +0 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +0 -37
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +0 -110
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +0 -6
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +0 -63
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +0 -21
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/activity.js +0 -6
- package/dist/features/worksheet/worksheet/mocks/activity.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/diagnostic.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/diagnostic.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/dynamic.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/dynamic.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/extra_practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/extra_practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/index.js +0 -95
- package/dist/features/worksheet/worksheet/mocks/behaviors/index.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning-v3.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning-v3.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/legacy.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/legacy.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/level2.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/level2.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/level3.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/level3.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/mastery.js +0 -41
- package/dist/features/worksheet/worksheet/mocks/behaviors/mastery.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle-card.js +0 -41
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle-card.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_easy.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_easy.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_hard.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_hard.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_medium.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_medium.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/recap.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/recap.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/remedial.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/remedial.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/revision.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/revision.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat-math-assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat-math-assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_english_learning.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_english_learning.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_learning.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_learning.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_recap.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_recap.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/target_practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/target_practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic-v2.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic-v2.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/signed-requests.js +0 -5
- package/dist/features/worksheet/worksheet/mocks/signed-requests.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js +0 -57
- package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js +0 -231
- package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/worksheet-student.js +0 -174
- package/dist/features/worksheet/worksheet/stories/worksheet-student.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js +0 -255
- package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js.map +0 -1
- package/dist/static/nudge-tap.0591aef4.json +0 -1
- package/dist/static/puzzle-blue-lottie.7017e2e8.json +0 -1
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +0 -12760
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +0 -1
- package/dist/static/puzzle-green-lottie.1da90698.json +0 -1
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +0 -1
- package/dist/static/puzzle-purple-lottie.e70de110.json +0 -9860
- package/dist/static/puzzle-yellow-lottie.275b5cf4.json +0 -1
- package/dist/types/models/worksheet.js +0 -5
- package/dist/types/models/worksheet.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"puzzle-dashboard-styled.js","sources":["../../../../src/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport PuzzleIcon2 from '../../../assets/line-icons/icons/puzzle2';\nimport FlexView from '../../ui/layout/flex-view';\n\nconst PuzzleDashboardWrapper = styled(FlexView)``;\n\nconst BannerWrapper = styled(FlexView)`\n background-image: url(${ILLUSTRATIONS.PUZZLE_DASHBOARD_BANNER});\n background-size: cover;\n`;\n\nconst BackIconContainer = styled(FlexView)`\n position: absolute;\n top: 16px;\n left: 16px;\n`;\n\nconst BackIconWrapper = styled(FlexView)`\n position: sticky;\n top: 16px;\n z-index: 5;\n`;\n\nconst ContentWrapper = styled.div`\n display: grid;\n width: 100%;\n grid-template-columns: repeat(5, 1fr);\n column-gap: 24px;\n row-gap: 40px;\n padding: 0 37px;\n`;\n\nconst StyledPuzzleIcon = styled(PuzzleIcon2)`\n path {\n stroke: ${({ theme }) => theme.colors.BLACK_T_60};\n opacity: 0.38;\n }\n`;\n\nexport {\n PuzzleDashboardWrapper,\n BannerWrapper,\n BackIconContainer,\n BackIconWrapper,\n ContentWrapper,\n StyledPuzzleIcon,\n};\n"],"names":["PuzzleDashboardWrapper","styled","FlexView","BannerWrapper","ILLUSTRATIONS","BackIconContainer","BackIconWrapper","ContentWrapper","StyledPuzzleIcon","PuzzleIcon2","theme"],"mappings":";;;;AAMM,MAAAA,IAAyBC,EAAOC,CAAQ,KAExCC,IAAgBF,EAAOC,CAAQ;AAAA,0BACXE,EAAc,uBAAuB;AAAA;AAAA,GAIzDC,IAAoBJ,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMnCI,IAAkBL,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMjCK,IAAiBN,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASxBO,IAAmBP,EAAOQ,CAAW;AAAA;AAAA,cAE7B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA;"}
|
@@ -1,110 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
2
|
-
import { useCallback as w, useEffect as P } from "react";
|
3
|
-
import _ from "../../../assets/line-icons/icons/back2.js";
|
4
|
-
import x from "../../ui/buttons/button/button.js";
|
5
|
-
import y from "../../ui/buttons/icon-button/icon-button.js";
|
6
|
-
import t from "../../ui/layout/flex-view.js";
|
7
|
-
import A from "../../ui/loader/app-loader/app-loader.js";
|
8
|
-
import i from "../../ui/text/text.js";
|
9
|
-
import { useGetPuzzles as I } from "../api/puzzle-dashboard.js";
|
10
|
-
import X from "../comps/puzzle-card.js";
|
11
|
-
import { PuzzleDashboardWrapper as j, BannerWrapper as B, BackIconContainer as k, BackIconWrapper as T, StyledPuzzleIcon as v, ContentWrapper as S } from "./puzzle-dashboard-styled.js";
|
12
|
-
const W = ({ studentId: o, onBackCLick: s, onCardClick: d }) => {
|
13
|
-
const {
|
14
|
-
get: c,
|
15
|
-
data: r,
|
16
|
-
isProcessing: h,
|
17
|
-
isProcessingFailed: m
|
18
|
-
} = I(), l = (r == null ? void 0 : r.length) || 0, a = w(() => {
|
19
|
-
c(o, void 0, {
|
20
|
-
courseStream: "MATH"
|
21
|
-
});
|
22
|
-
}, [c, o]);
|
23
|
-
return P(() => {
|
24
|
-
a();
|
25
|
-
}, [a]), h ? /* @__PURE__ */ e(A, { height: "100vh" }) : m ? /* @__PURE__ */ n(t, { $flexGapX: 1.5, $height: "100vh", $justifyContent: "center", $alignItems: "center", children: [
|
26
|
-
/* @__PURE__ */ e(i, { $renderAs: "h6", children: "Oops! Something went wrong. Please try again later." }),
|
27
|
-
/* @__PURE__ */ e(
|
28
|
-
x,
|
29
|
-
{
|
30
|
-
widthX: 14,
|
31
|
-
size: "small",
|
32
|
-
shape: "square",
|
33
|
-
renderAs: "primary",
|
34
|
-
label: "Try again",
|
35
|
-
onClick: a
|
36
|
-
}
|
37
|
-
)
|
38
|
-
] }) : /* @__PURE__ */ n(
|
39
|
-
j,
|
40
|
-
{
|
41
|
-
$alignItems: "center",
|
42
|
-
$flexGapX: l === 0 ? 10 : 2.5,
|
43
|
-
$position: "relative",
|
44
|
-
children: [
|
45
|
-
/* @__PURE__ */ n(B, { $widthX: 50, $heightX: 10.5, $justifyContent: "center", children: [
|
46
|
-
/* @__PURE__ */ n(i, { $renderAs: "ah3-bold", $alignSelf: "center", children: [
|
47
|
-
l,
|
48
|
-
" Puzzles Solved"
|
49
|
-
] }),
|
50
|
-
s && /* @__PURE__ */ e(k, { $height: "100%", children: /* @__PURE__ */ e(T, { children: /* @__PURE__ */ e(
|
51
|
-
y,
|
52
|
-
{
|
53
|
-
Icon: _,
|
54
|
-
size: "xsmall",
|
55
|
-
renderAs: "secondary",
|
56
|
-
analyticsLabel: "puzzle_back",
|
57
|
-
onClick: s
|
58
|
-
}
|
59
|
-
) }) })
|
60
|
-
] }),
|
61
|
-
l === 0 ? /* @__PURE__ */ n(t, { $flexGapX: 1, $justifyContent: "center", children: [
|
62
|
-
/* @__PURE__ */ e(
|
63
|
-
t,
|
64
|
-
{
|
65
|
-
$flexDirection: "row",
|
66
|
-
$alignItems: "center",
|
67
|
-
$justifyContent: "center",
|
68
|
-
$width: "100%",
|
69
|
-
children: /* @__PURE__ */ e(t, { $widthX: 3.5, $heightX: 3.5, $background: "WHITE_4", children: /* @__PURE__ */ e(v, { width: 56, height: 56 }) })
|
70
|
-
}
|
71
|
-
),
|
72
|
-
/* @__PURE__ */ n(t, { $justifyContent: "center", children: [
|
73
|
-
/* @__PURE__ */ e(i, { $renderAs: "ab2-bold", $color: "BLACK_T_60", $align: "center", children: "No puzzle assigned yet!" }),
|
74
|
-
/* @__PURE__ */ e(i, { $renderAs: "ab2-bold", $color: "BLACK_T_60", children: "Hang tight — your tutor will share one soon! 🎉🧩" })
|
75
|
-
] })
|
76
|
-
] }) : /* @__PURE__ */ e(S, { children: r == null ? void 0 : r.map((u) => {
|
77
|
-
const {
|
78
|
-
id: p,
|
79
|
-
image_hue: $,
|
80
|
-
image_url: g,
|
81
|
-
title: f,
|
82
|
-
user_node_id: z,
|
83
|
-
rewards: b,
|
84
|
-
node_id: C
|
85
|
-
} = u;
|
86
|
-
return /* @__PURE__ */ e(
|
87
|
-
X,
|
88
|
-
{
|
89
|
-
imageHue: $,
|
90
|
-
imageUrl: g,
|
91
|
-
title: f,
|
92
|
-
width: 126,
|
93
|
-
height: 152,
|
94
|
-
onCardClick: d,
|
95
|
-
userNodeId: z,
|
96
|
-
rewards: b,
|
97
|
-
nodeId: C,
|
98
|
-
studentId: o
|
99
|
-
},
|
100
|
-
p
|
101
|
-
);
|
102
|
-
}) })
|
103
|
-
]
|
104
|
-
}
|
105
|
-
);
|
106
|
-
}, U = W;
|
107
|
-
export {
|
108
|
-
U as default
|
109
|
-
};
|
110
|
-
//# sourceMappingURL=puzzle-dashboard.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"puzzle-dashboard.js","sources":["../../../../src/features/puzzles/puzzle-dashboard/puzzle-dashboard.tsx"],"sourcesContent":["import type { IPuzzleDashboardProps } from './puzzle-dashboard-types';\n\nimport { useCallback, useEffect, type FC } from 'react';\n\nimport Back2Icon from '../../../assets/line-icons/icons/back2';\nimport Button from '../../ui/buttons/button/button';\nimport IconButton from '../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../ui/layout/flex-view';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport Text from '../../ui/text/text';\nimport { useGetPuzzles } from '../api/puzzle-dashboard';\nimport PuzzleCard from '../comps/puzzle-card';\nimport * as Styled from './puzzle-dashboard-styled';\n\nconst PuzzleDashboard: FC<IPuzzleDashboardProps> = ({ studentId, onBackCLick, onCardClick }) => {\n const {\n get: getPuzzles,\n data: puzzleHistoryData,\n isProcessing,\n isProcessingFailed,\n } = useGetPuzzles();\n\n const puzzleCount = puzzleHistoryData?.length || 0;\n\n const fetchPuzzles = useCallback(() => {\n getPuzzles(studentId, undefined, {\n courseStream: 'MATH',\n });\n }, [getPuzzles, studentId]);\n\n useEffect(() => {\n fetchPuzzles();\n }, [fetchPuzzles]);\n\n if (isProcessing) {\n return <AppLoader height=\"100vh\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flexGapX={1.5} $height=\"100vh\" $justifyContent=\"center\" $alignItems=\"center\">\n <Text $renderAs=\"h6\">Oops! Something went wrong. Please try again later.</Text>\n <Button\n widthX={14}\n size=\"small\"\n shape=\"square\"\n renderAs=\"primary\"\n label=\"Try again\"\n onClick={fetchPuzzles}\n />\n </FlexView>\n );\n }\n\n return (\n <Styled.PuzzleDashboardWrapper\n $alignItems=\"center\"\n $flexGapX={puzzleCount === 0 ? 10 : 2.5}\n $position=\"relative\"\n >\n <Styled.BannerWrapper $widthX={50} $heightX={10.5} $justifyContent=\"center\">\n <Text $renderAs=\"ah3-bold\" $alignSelf=\"center\">\n {puzzleCount} Puzzles Solved\n </Text>\n\n {onBackCLick && (\n <Styled.BackIconContainer $height=\"100%\">\n <Styled.BackIconWrapper>\n <IconButton\n Icon={Back2Icon}\n size=\"xsmall\"\n renderAs=\"secondary\"\n analyticsLabel=\"puzzle_back\"\n onClick={onBackCLick}\n />\n </Styled.BackIconWrapper>\n </Styled.BackIconContainer>\n )}\n </Styled.BannerWrapper>\n\n {puzzleCount === 0 ? (\n <FlexView $flexGapX={1} $justifyContent=\"center\">\n <FlexView\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n >\n <FlexView $widthX={3.5} $heightX={3.5} $background=\"WHITE_4\">\n <Styled.StyledPuzzleIcon width={56} height={56} />\n </FlexView>\n </FlexView>\n\n <FlexView $justifyContent=\"center\">\n <Text $renderAs=\"ab2-bold\" $color=\"BLACK_T_60\" $align=\"center\">\n No puzzle assigned yet!\n </Text>\n <Text $renderAs=\"ab2-bold\" $color=\"BLACK_T_60\">\n Hang tight — your tutor will share one soon! 🎉🧩\n </Text>\n </FlexView>\n </FlexView>\n ) : (\n <Styled.ContentWrapper>\n {puzzleHistoryData?.map(item => {\n const {\n id,\n image_hue: imageHue,\n image_url: imageUrl,\n title,\n user_node_id: userNodeId,\n rewards,\n node_id: nodeId,\n } = item;\n\n return (\n <PuzzleCard\n key={id}\n imageHue={imageHue}\n imageUrl={imageUrl}\n title={title}\n width={126}\n height={152}\n onCardClick={onCardClick}\n userNodeId={userNodeId}\n rewards={rewards}\n nodeId={nodeId}\n studentId={studentId}\n />\n );\n })}\n </Styled.ContentWrapper>\n )}\n </Styled.PuzzleDashboardWrapper>\n );\n};\n\nexport default PuzzleDashboard;\n"],"names":["PuzzleDashboard","studentId","onBackCLick","onCardClick","getPuzzles","puzzleHistoryData","isProcessing","isProcessingFailed","useGetPuzzles","puzzleCount","fetchPuzzles","useCallback","useEffect","jsx","AppLoader","jsxs","FlexView","Text","Button","Styled.PuzzleDashboardWrapper","Styled.BannerWrapper","Styled.BackIconContainer","Styled.BackIconWrapper","IconButton","Back2Icon","Styled.StyledPuzzleIcon","Styled.ContentWrapper","item","id","imageHue","imageUrl","title","userNodeId","rewards","nodeId","PuzzleCard","PuzzleDashboard$1"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAA6C,CAAC,EAAE,WAAAC,GAAW,aAAAC,GAAa,aAAAC,QAAkB;AACxF,QAAA;AAAA,IACJ,KAAKC;AAAA,IACL,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,oBAAAC;AAAA,MACEC,EAAc,GAEZC,KAAcJ,KAAA,gBAAAA,EAAmB,WAAU,GAE3CK,IAAeC,EAAY,MAAM;AACrC,IAAAP,EAAWH,GAAW,QAAW;AAAA,MAC/B,cAAc;AAAA,IAAA,CACf;AAAA,EAAA,GACA,CAACG,GAAYH,CAAS,CAAC;AAM1B,SAJAW,EAAU,MAAM;AACD,IAAAF;EAAA,GACZ,CAACA,CAAY,CAAC,GAEbJ,IACK,gBAAAO,EAACC,GAAU,EAAA,QAAO,QAAQ,CAAA,IAG/BP,IAEA,gBAAAQ,EAACC,KAAS,WAAW,KAAK,SAAQ,SAAQ,iBAAgB,UAAS,aAAY,UAC7E,UAAA;AAAA,IAAC,gBAAAH,EAAAI,GAAA,EAAK,WAAU,MAAK,UAAmD,uDAAA;AAAA,IACxE,gBAAAJ;AAAA,MAACK;AAAA,MAAA;AAAA,QACC,QAAQ;AAAA,QACR,MAAK;AAAA,QACL,OAAM;AAAA,QACN,UAAS;AAAA,QACT,OAAM;AAAA,QACN,SAASR;AAAA,MAAA;AAAA,IACX;AAAA,EACF,EAAA,CAAA,IAKF,gBAAAK;AAAA,IAACI;AAAAA,IAAA;AAAA,MACC,aAAY;AAAA,MACZ,WAAWV,MAAgB,IAAI,KAAK;AAAA,MACpC,WAAU;AAAA,MAEV,UAAA;AAAA,QAAC,gBAAAM,EAAAK,GAAA,EAAqB,SAAS,IAAI,UAAU,MAAM,iBAAgB,UACjE,UAAA;AAAA,UAAA,gBAAAL,EAACE,GAAK,EAAA,WAAU,YAAW,YAAW,UACnC,UAAA;AAAA,YAAAR;AAAA,YAAY;AAAA,UAAA,GACf;AAAA,UAECP,KACE,gBAAAW,EAAAQ,GAAA,EAAyB,SAAQ,QAChC,UAAA,gBAAAR,EAACS,GAAA,EACC,UAAA,gBAAAT;AAAA,YAACU;AAAA,YAAA;AAAA,cACC,MAAMC;AAAA,cACN,MAAK;AAAA,cACL,UAAS;AAAA,cACT,gBAAe;AAAA,cACf,SAAStB;AAAA,YAAA;AAAA,aAEb,EACF,CAAA;AAAA,QAAA,GAEJ;AAAA,QAECO,MAAgB,IACf,gBAAAM,EAACC,KAAS,WAAW,GAAG,iBAAgB,UACtC,UAAA;AAAA,UAAA,gBAAAH;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,gBAAe;AAAA,cACf,aAAY;AAAA,cACZ,iBAAgB;AAAA,cAChB,QAAO;AAAA,cAEP,4BAACA,GAAS,EAAA,SAAS,KAAK,UAAU,KAAK,aAAY,WACjD,UAAC,gBAAAH,EAAAY,GAAA,EAAwB,OAAO,IAAI,QAAQ,GAAI,CAAA,GAClD;AAAA,YAAA;AAAA,UACF;AAAA,UAEA,gBAAAV,EAACC,GAAS,EAAA,iBAAgB,UACxB,UAAA;AAAA,YAAA,gBAAAH,EAACI,KAAK,WAAU,YAAW,QAAO,cAAa,QAAO,UAAS,UAE/D,0BAAA,CAAA;AAAA,8BACCA,GAAK,EAAA,WAAU,YAAW,QAAO,cAAa,UAE/C,qDAAA;AAAA,UAAA,GACF;AAAA,QAAA,GACF,IAEC,gBAAAJ,EAAAa,GAAA,EACE,UAAArB,KAAA,gBAAAA,EAAmB,IAAI,CAAQsB,MAAA;AACxB,gBAAA;AAAA,YACJ,IAAAC;AAAA,YACA,WAAWC;AAAA,YACX,WAAWC;AAAA,YACX,OAAAC;AAAA,YACA,cAAcC;AAAA,YACd,SAAAC;AAAA,YACA,SAASC;AAAA,UACP,IAAAP;AAGF,iBAAA,gBAAAd;AAAA,YAACsB;AAAA,YAAA;AAAA,cAEC,UAAAN;AAAA,cACA,UAAAC;AAAA,cACA,OAAAC;AAAA,cACA,OAAO;AAAA,cACP,QAAQ;AAAA,cACR,aAAA5B;AAAA,cACA,YAAA6B;AAAA,cACA,SAAAC;AAAA,cACA,QAAAC;AAAA,cACA,WAAAjC;AAAA,YAAA;AAAA,YAVK2B;AAAA,UAAA;AAAA,QAaV,IACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEAQ,IAAepC;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"arrow-tooltip-constants.js","sources":["../../../../src/features/ui/arrow-tooltip/arrow-tooltip-constants.ts"],"sourcesContent":["export const DEFAULT_ARROW_SIZE = 8;\nexport const THROTTLE_DURATION = 100;\n"],"names":["DEFAULT_ARROW_SIZE","THROTTLE_DURATION"],"mappings":"AAAO,MAAMA,IAAqB,GACrBC,IAAoB;"}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import w from "styled-components";
|
2
|
-
import y from "../../layout/flex-view.js";
|
3
|
-
import { arrowPosition as T, tooltipPosition as k, animateToolTip as m } from "../arrow-tooltip-util.js";
|
4
|
-
const P = w(y)(({
|
5
|
-
theme: o,
|
6
|
-
$arrowColor: r,
|
7
|
-
$arrowSize: t,
|
8
|
-
$arrowXCoOrdinates: c,
|
9
|
-
$arrowYCoOrdinates: d,
|
10
|
-
$borderColor: p,
|
11
|
-
$isAnimated: x,
|
12
|
-
$position: n,
|
13
|
-
$renderAs: s,
|
14
|
-
$tooltipCoOrdinates: e,
|
15
|
-
$tooltipOffset: f,
|
16
|
-
$tooltipXCoOrdinates: g,
|
17
|
-
$tooltipYCoOrdinates: u,
|
18
|
-
$zIndex: C,
|
19
|
-
$backgroundColor: O
|
20
|
-
}) => {
|
21
|
-
const { gutter: l } = o.layout, { REAL_BLACK_15: $ } = o.colors, { tooltipVariants: a } = o.arrowTooltip;
|
22
|
-
let { backgroundColorName: i } = a[s];
|
23
|
-
const { textColorName: b } = a[s];
|
24
|
-
return i = O || i, `
|
25
|
-
position: fixed;
|
26
|
-
z-index: ${C || 1};
|
27
|
-
padding: ${l * 0.25}px ${l * 0.5}px;
|
28
|
-
color: ${b};
|
29
|
-
box-shadow: 0px 2px 15px 0px ${$};
|
30
|
-
background-color: ${o.colors[i]};
|
31
|
-
border: 1px solid ${p ? o.colors[p] : "transparent"};
|
32
|
-
|
33
|
-
&::after {
|
34
|
-
content: '';
|
35
|
-
position: absolute;
|
36
|
-
height: ${t}px;
|
37
|
-
width: ${t}px;
|
38
|
-
clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
|
39
|
-
background-color: ${r ? o.colors[r] : o.colors[i]};
|
40
|
-
${T({
|
41
|
-
position: n,
|
42
|
-
arrowXCoOrdinates: c,
|
43
|
-
arrowYCoOrdinates: d,
|
44
|
-
arrowSize: t
|
45
|
-
})};
|
46
|
-
}
|
47
|
-
|
48
|
-
${k({
|
49
|
-
position: n,
|
50
|
-
arrowSize: t,
|
51
|
-
tooltipCoOrdinates: e,
|
52
|
-
tooltipOffset: f,
|
53
|
-
tooltipXCoOrdinates: g,
|
54
|
-
tooltipYCoOrdinates: u
|
55
|
-
})};
|
56
|
-
|
57
|
-
${m(x)};
|
58
|
-
`;
|
59
|
-
});
|
60
|
-
export {
|
61
|
-
P as TooltipBody
|
62
|
-
};
|
63
|
-
//# sourceMappingURL=tooltip-body-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tooltip-body-styled.js","sources":["../../../../../src/features/ui/arrow-tooltip/comps/tooltip-body-styled.ts"],"sourcesContent":["import type { ITooltipBodyProps } from './tooltip-body-types';\n\nimport styled from 'styled-components';\n\nimport FlexView from '../../layout/flex-view';\nimport { animateToolTip, arrowPosition, tooltipPosition } from '../arrow-tooltip-util';\n\nexport const TooltipBody = styled(FlexView)<ITooltipBodyProps>(({\n theme,\n $arrowColor,\n $arrowSize,\n $arrowXCoOrdinates,\n $arrowYCoOrdinates,\n $borderColor,\n $isAnimated,\n $position,\n $renderAs,\n $tooltipCoOrdinates,\n $tooltipOffset,\n $tooltipXCoOrdinates,\n $tooltipYCoOrdinates,\n $zIndex,\n $backgroundColor,\n}) => {\n const { gutter } = theme.layout;\n const { REAL_BLACK_15 } = theme.colors;\n const { tooltipVariants } = theme.arrowTooltip;\n let { backgroundColorName } = tooltipVariants[$renderAs];\n const { textColorName } = tooltipVariants[$renderAs];\n\n backgroundColorName = $backgroundColor || backgroundColorName;\n\n return `\n position: fixed;\n z-index: ${$zIndex || 1};\n padding: ${gutter * 0.25}px ${gutter * 0.5}px;\n color: ${textColorName};\n box-shadow: 0px 2px 15px 0px ${REAL_BLACK_15};\n background-color: ${theme.colors[backgroundColorName]};\n border: 1px solid ${$borderColor ? theme.colors[$borderColor] : 'transparent'};\n\n &::after {\n content: '';\n position: absolute;\n height: ${$arrowSize}px;\n width: ${$arrowSize}px;\n clip-path: polygon(0% 0%, 100% 100%, 0% 100%);\n background-color: ${\n $arrowColor ? theme.colors[$arrowColor] : theme.colors[backgroundColorName]\n };\n ${arrowPosition({\n position: $position,\n arrowXCoOrdinates: $arrowXCoOrdinates,\n arrowYCoOrdinates: $arrowYCoOrdinates,\n arrowSize: $arrowSize,\n })};\n }\n\n ${tooltipPosition({\n position: $position,\n arrowSize: $arrowSize,\n tooltipCoOrdinates: $tooltipCoOrdinates,\n tooltipOffset: $tooltipOffset,\n tooltipXCoOrdinates: $tooltipXCoOrdinates,\n tooltipYCoOrdinates: $tooltipYCoOrdinates,\n })};\n\n ${animateToolTip($isAnimated)};\n `;\n});\n"],"names":["TooltipBody","styled","FlexView","theme","$arrowColor","$arrowSize","$arrowXCoOrdinates","$arrowYCoOrdinates","$borderColor","$isAnimated","$position","$renderAs","$tooltipCoOrdinates","$tooltipOffset","$tooltipXCoOrdinates","$tooltipYCoOrdinates","$zIndex","$backgroundColor","gutter","REAL_BLACK_15","tooltipVariants","backgroundColorName","textColorName","arrowPosition","tooltipPosition","animateToolTip"],"mappings":";;;AAOO,MAAMA,IAAcC,EAAOC,CAAQ,EAAqB,CAAC;AAAA,EAC9D,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,YAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,SAAAC;AAAA,EACA,kBAAAC;AACF,MAAM;AACE,QAAA,EAAE,QAAAC,EAAO,IAAIf,EAAM,QACnB,EAAE,eAAAgB,EAAc,IAAIhB,EAAM,QAC1B,EAAE,iBAAAiB,EAAgB,IAAIjB,EAAM;AAClC,MAAI,EAAE,qBAAAkB,EAAA,IAAwBD,EAAgBT,CAAS;AACvD,QAAM,EAAE,eAAAW,EAAA,IAAkBF,EAAgBT,CAAS;AAEnD,SAAAU,IAAsBJ,KAAoBI,GAEnC;AAAA;AAAA,eAEML,KAAW,CAAC;AAAA,eACZE,IAAS,IAAI,MAAMA,IAAS,GAAG;AAAA,aACjCI,CAAa;AAAA,mCACSH,CAAa;AAAA,wBACxBhB,EAAM,OAAOkB,CAAmB,CAAC;AAAA,wBACjCb,IAAeL,EAAM,OAAOK,CAAY,IAAI,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKjEH,CAAU;AAAA,eACXA,CAAU;AAAA;AAAA,0BAGjBD,IAAcD,EAAM,OAAOC,CAAW,IAAID,EAAM,OAAOkB,CAAmB,CAC5E;AAAA,QACEE,EAAc;AAAA,IACd,UAAUb;AAAA,IACV,mBAAmBJ;AAAA,IACnB,mBAAmBC;AAAA,IACnB,WAAWF;AAAA,EAAA,CACZ,CAAC;AAAA;AAAA;AAAA,MAGFmB,EAAgB;AAAA,IAChB,UAAUd;AAAA,IACV,WAAWL;AAAA,IACX,oBAAoBO;AAAA,IACpB,eAAeC;AAAA,IACf,qBAAqBC;AAAA,IACrB,qBAAqBC;AAAA,EAAA,CACtB,CAAC;AAAA;AAAA,MAEAU,EAAehB,CAAW,CAAC;AAAA;AAEjC,CAAC;"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
2
|
-
import { memo as i } from "react";
|
3
|
-
import { useTheme as n } from "styled-components";
|
4
|
-
import l from "../../text/text.js";
|
5
|
-
import { TooltipBody as m } from "./tooltip-body-styled.js";
|
6
|
-
const d = (o) => {
|
7
|
-
const { arrowTooltip: r } = n(), { tooltipVariants: e } = r;
|
8
|
-
return /* @__PURE__ */ t(m, { ...o, children: typeof o.children == "string" ? /* @__PURE__ */ t(
|
9
|
-
l,
|
10
|
-
{
|
11
|
-
$renderAs: o.textVariant || "body3",
|
12
|
-
$color: e[o.$renderAs].textColorName,
|
13
|
-
$align: "center",
|
14
|
-
children: o.children
|
15
|
-
}
|
16
|
-
) : o.children });
|
17
|
-
}, h = i(d);
|
18
|
-
export {
|
19
|
-
h as default
|
20
|
-
};
|
21
|
-
//# sourceMappingURL=tooltip-body.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tooltip-body.js","sources":["../../../../../src/features/ui/arrow-tooltip/comps/tooltip-body.tsx"],"sourcesContent":["import type { ITooltipBodyProps } from './tooltip-body-types';\n\nimport React, { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport Text from '../../text/text';\nimport * as Styled from './tooltip-body-styled';\n\nconst TooltipBody: React.FC<ITooltipBodyProps> = props => {\n const { arrowTooltip } = useTheme();\n const { tooltipVariants } = arrowTooltip;\n\n return (\n <Styled.TooltipBody {...props}>\n {typeof props.children === 'string' ? (\n <Text\n $renderAs={props.textVariant || 'body3'}\n $color={tooltipVariants[props.$renderAs].textColorName}\n $align=\"center\"\n >\n {props.children}\n </Text>\n ) : (\n props.children\n )}\n </Styled.TooltipBody>\n );\n};\n\nexport default memo(TooltipBody);\n"],"names":["TooltipBody","props","arrowTooltip","useTheme","tooltipVariants","jsx","Styled.TooltipBody","Text","TooltipBody$1","memo"],"mappings":";;;;;AAQA,MAAMA,IAA2C,CAASC,MAAA;AAClD,QAAA,EAAE,cAAAC,MAAiBC,KACnB,EAAE,iBAAAC,EAAoB,IAAAF;AAG1B,SAAA,gBAAAG,EAACC,GAAA,EAAoB,GAAGL,GACrB,UAAA,OAAOA,EAAM,YAAa,WACzB,gBAAAI;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,WAAWN,EAAM,eAAe;AAAA,MAChC,QAAQG,EAAgBH,EAAM,SAAS,EAAE;AAAA,MACzC,QAAO;AAAA,MAEN,UAAMA,EAAA;AAAA,IAAA;AAAA,EAAA,IAGTA,EAAM,SAEV,CAAA;AAEJ,GAEeO,IAAAC,EAAKT,CAAW;"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { useMemo as p, useEffect as m } from "react";
|
2
|
-
import { usePuzzleAttemptJourney as c } from "../../../journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js";
|
3
|
-
import { usePuzzleReviewJourney as f } from "../../../journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js";
|
4
|
-
import { usePuzzleUnassignJourney as l } from "../../../journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js";
|
5
|
-
import { useJourney as P } from "../../../journey/use-journey/use-journey.js";
|
6
|
-
const C = ({ behavior: a }) => {
|
7
|
-
const { maximumAttempts: e, canStartJourney: t } = a, { isJourneyActive: r, clearJourney: o } = P(), { puzzleAttemptCtaRef: i, startJourney: u } = c(), { puzzleReviewCtaRef: y, startJourney: n } = f(), { puzzleUnassignRef: J, startJourney: s } = l(), z = p(() => e === -2, [e]);
|
8
|
-
return m(() => {
|
9
|
-
z && t && !r && (u(), n(), s());
|
10
|
-
}, [
|
11
|
-
t,
|
12
|
-
r,
|
13
|
-
z,
|
14
|
-
u,
|
15
|
-
n,
|
16
|
-
s
|
17
|
-
]), m(() => () => {
|
18
|
-
o();
|
19
|
-
}, [o]), {
|
20
|
-
puzzleAttemptCtaRef: i,
|
21
|
-
puzzleReviewCtaRef: y,
|
22
|
-
puzzleUnassignRef: J
|
23
|
-
};
|
24
|
-
};
|
25
|
-
export {
|
26
|
-
C as useWorksheetJourney
|
27
|
-
};
|
28
|
-
//# sourceMappingURL=use-worksheet-journey.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use-worksheet-journey.js","sources":["../../../../../src/features/worksheet/worksheet/hooks/use-worksheet-journey.ts"],"sourcesContent":["import type { IWorksheetBehavior } from '../worksheet-types';\n\nimport { useEffect, useMemo } from 'react';\n\nimport { usePuzzleAttemptJourney } from '../../../journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey';\nimport { usePuzzleReviewJourney } from '../../../journey/hooks/use-puzzles-journey/use-puzzle-review-journey';\nimport { usePuzzleUnassignJourney } from '../../../journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey';\nimport { useJourney } from '../../../journey/use-journey/use-journey';\n\ninterface IUseWorksheetJourney {\n behavior: IWorksheetBehavior;\n}\n\nconst useWorksheetJourney = ({ behavior }: IUseWorksheetJourney) => {\n const { maximumAttempts, canStartJourney } = behavior;\n\n const { isJourneyActive, clearJourney } = useJourney();\n\n const { puzzleAttemptCtaRef, startJourney: startPuzzleAttemptJourney } =\n usePuzzleAttemptJourney();\n\n const { puzzleReviewCtaRef, startJourney: startPuzzleReviewJourney } = usePuzzleReviewJourney();\n const { puzzleUnassignRef, startJourney: startPuzzleUnassignJourney } =\n usePuzzleUnassignJourney();\n\n const isPuzzleCard = useMemo(() => maximumAttempts === -2, [maximumAttempts]);\n\n useEffect(() => {\n if (isPuzzleCard && canStartJourney && !isJourneyActive) {\n //* This will be triggered by STUDENT during resume sheet.\n startPuzzleAttemptJourney();\n //* This will be triggered by TEACHER during review sheet\n startPuzzleReviewJourney();\n //* This will be trigger by TEACHER during preview sheet.\n startPuzzleUnassignJourney();\n }\n }, [\n canStartJourney,\n isJourneyActive,\n isPuzzleCard,\n startPuzzleAttemptJourney,\n startPuzzleReviewJourney,\n startPuzzleUnassignJourney,\n ]);\n\n useEffect(() => {\n return () => {\n clearJourney();\n };\n }, [clearJourney]);\n\n return {\n puzzleAttemptCtaRef,\n puzzleReviewCtaRef,\n puzzleUnassignRef,\n };\n};\n\nexport { useWorksheetJourney };\n"],"names":["useWorksheetJourney","behavior","maximumAttempts","canStartJourney","isJourneyActive","clearJourney","useJourney","puzzleAttemptCtaRef","startPuzzleAttemptJourney","usePuzzleAttemptJourney","puzzleReviewCtaRef","startPuzzleReviewJourney","usePuzzleReviewJourney","puzzleUnassignRef","startPuzzleUnassignJourney","usePuzzleUnassignJourney","isPuzzleCard","useMemo","useEffect"],"mappings":";;;;;AAaA,MAAMA,IAAsB,CAAC,EAAE,UAAAC,QAAqC;AAC5D,QAAA,EAAE,iBAAAC,GAAiB,iBAAAC,EAAoB,IAAAF,GAEvC,EAAE,iBAAAG,GAAiB,cAAAC,EAAa,IAAIC,EAAW,GAE/C,EAAE,qBAAAC,GAAqB,cAAcC,MACzCC,EAAwB,GAEpB,EAAE,oBAAAC,GAAoB,cAAcC,MAA6BC,EAAuB,GACxF,EAAE,mBAAAC,GAAmB,cAAcC,MACvCC,EAAyB,GAErBC,IAAeC,EAAQ,MAAMf,MAAoB,IAAI,CAACA,CAAe,CAAC;AAE5E,SAAAgB,EAAU,MAAM;AACV,IAAAF,KAAgBb,KAAmB,CAACC,MAEZI,KAEDG,KAEEG;EAC7B,GACC;AAAA,IACDX;AAAA,IACAC;AAAA,IACAY;AAAA,IACAR;AAAA,IACAG;AAAA,IACAG;AAAA,EAAA,CACD,GAEDI,EAAU,MACD,MAAM;AACE,IAAAb;EAAA,GAEd,CAACA,CAAY,CAAC,GAEV;AAAA,IACL,qBAAAE;AAAA,IACA,oBAAAG;AAAA,IACA,mBAAAG;AAAA,EAAA;AAEJ;"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { NODE_TYPES as i } from "../../../../types/models/worksheet.js";
|
2
|
-
const r = (t, A) => t === i.SAT_ENGLISH_ASSESSMENT || t === i.SAT_MATH_ASSESSMENT ? "sat_activity" : t === i.LEARNING && A ? "lesson_v3_activity" : t === i.TRIAL_DIAGNOSTIC ? "diagnostic_activity" : t === i.TRIAL_BASIC || t === i.TRIAL_INTERMEDIATE || t === i.TRIAL_ADVANCED ? "diagnostic_v2_activity" : "general_activity";
|
3
|
-
export {
|
4
|
-
r as getActivityMockAttemptId
|
5
|
-
};
|
6
|
-
//# sourceMappingURL=activity.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"activity.js","sources":["../../../../../src/features/worksheet/worksheet/mocks/activity.ts"],"sourcesContent":["import { NODE_TYPES } from '../../../../types/models/worksheet';\nimport { LESSON_V3_ITEMS, LESSON_V3_TAGS } from './activities/leeson-v3';\nimport { SAT_ITEMS } from './activities/sat';\nimport { TRIAL_DIAGNOSTIC_ITEMS, TRIAL_DIAGNOSTIC_TAGS } from './activities/trial-diagnostic';\nimport {\n TRIAL_DIAGNOSTIC_V2_ITEMS,\n TRIAL_DIAGNOSTIC_V2_TAGS,\n} from './activities/trial-diagnostic-v2';\nimport { ASSOCIATION_ITEMS } from './questions/association';\nimport { CHOICEMATRIX_ITEMS } from './questions/choicematrix';\nimport { CLASSIFICATION_ITEMS } from './questions/classification';\nimport { CLOZEASSOCIATION_ITEMS } from './questions/clozeassociation';\nimport { CLOZEDROPDOWN_ITEMS } from './questions/clozedropdown';\nimport { CLOZEFORMULA_ITEMS } from './questions/clozeformula';\nimport { CLOZETEXT_ITEMS } from './questions/clozetext';\nimport { DRAWING_ITEMS } from './questions/drawing';\nimport { HOTSPOT_ITEMS } from './questions/hotspot';\nimport { MCQ_ITEMS } from './questions/mcq';\nimport { NUMBERLINE_ITEMS } from './questions/numberline';\nimport { PLAIN_TEXT_ITEMS } from './questions/plaintext';\nimport { TOKENHIGHLIGHT_ITEMS } from './questions/tokenhighlight';\n\nconst getActivityMockWithData = (data: unknown, sessionId: string) => {\n return {\n matcher: {\n url: `begin:https://items-ie.learnosity.com/v2023.3.LTS/activity?&a=get&c=abcd&s=${sessionId}`,\n method: 'POST',\n },\n options: {\n delay: 300,\n },\n response: {\n status: 200,\n body: {\n data,\n },\n },\n };\n};\n\nconst getActivityMock = (activityName?: 'lesson-v3' | 'sat' | 'diagnostic' | 'diagnostic-v2') => {\n if (activityName === 'lesson-v3') {\n return getActivityMockWithData(\n {\n apiActivity: {\n items: LESSON_V3_ITEMS,\n tags: LESSON_V3_TAGS,\n },\n },\n 'lesson_v3_activity',\n );\n }\n\n if (activityName === 'diagnostic') {\n return getActivityMockWithData(\n {\n apiActivity: {\n items: TRIAL_DIAGNOSTIC_ITEMS,\n tags: TRIAL_DIAGNOSTIC_TAGS,\n },\n },\n 'diagnostic_activity',\n );\n }\n\n if (activityName === 'diagnostic-v2') {\n return getActivityMockWithData(\n {\n apiActivity: {\n items: TRIAL_DIAGNOSTIC_V2_ITEMS,\n tags: TRIAL_DIAGNOSTIC_V2_TAGS,\n },\n },\n 'diagnostic_v2_activity',\n );\n }\n\n if (activityName === 'sat') {\n return getActivityMockWithData(\n {\n apiActivity: {\n items: SAT_ITEMS,\n tags: {},\n },\n },\n 'sat_activity',\n );\n }\n\n return getActivityMockWithData(\n {\n apiActivity: {\n items: [\n ...CLOZETEXT_ITEMS,\n ...ASSOCIATION_ITEMS,\n ...CHOICEMATRIX_ITEMS,\n ...CLASSIFICATION_ITEMS,\n ...CLOZEASSOCIATION_ITEMS,\n ...CLOZEDROPDOWN_ITEMS,\n ...CLOZEFORMULA_ITEMS,\n ...DRAWING_ITEMS,\n ...HOTSPOT_ITEMS,\n ...MCQ_ITEMS,\n ...NUMBERLINE_ITEMS,\n ...PLAIN_TEXT_ITEMS,\n ...TOKENHIGHLIGHT_ITEMS,\n ],\n tags: {},\n },\n },\n 'general_activity',\n );\n};\n\nexport const getActivityMockAttemptId = (nodeType: NODE_TYPES, isLessonV3: boolean) => {\n if (nodeType === NODE_TYPES.SAT_ENGLISH_ASSESSMENT || nodeType === NODE_TYPES.SAT_MATH_ASSESSMENT)\n return 'sat_activity';\n\n if (nodeType === NODE_TYPES.LEARNING && isLessonV3) return 'lesson_v3_activity';\n\n if (nodeType === NODE_TYPES.TRIAL_DIAGNOSTIC) return 'diagnostic_activity';\n\n if (\n nodeType === NODE_TYPES.TRIAL_BASIC ||\n nodeType === NODE_TYPES.TRIAL_INTERMEDIATE ||\n nodeType === NODE_TYPES.TRIAL_ADVANCED\n )\n return 'diagnostic_v2_activity';\n\n return 'general_activity';\n};\n\nexport default getActivityMock;\n"],"names":["getActivityMockAttemptId","nodeType","isLessonV3","NODE_TYPES"],"mappings":";AAkHa,MAAAA,IAA2B,CAACC,GAAsBC,MACzDD,MAAaE,EAAW,0BAA0BF,MAAaE,EAAW,sBACrE,iBAELF,MAAaE,EAAW,YAAYD,IAAmB,uBAEvDD,MAAaE,EAAW,mBAAyB,wBAGnDF,MAAaE,EAAW,eACxBF,MAAaE,EAAW,sBACxBF,MAAaE,EAAW,iBAEjB,2BAEF;"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
const e = {
|
2
|
-
hints: !0,
|
3
|
-
navigationMode: "OPEN",
|
4
|
-
initialQuestion: "CURRENT",
|
5
|
-
maximumAttempts: -1,
|
6
|
-
minimumAccuracy: 0,
|
7
|
-
validation: !1,
|
8
|
-
review: !1,
|
9
|
-
canAttempt: !0,
|
10
|
-
canExceedAttempts: !0,
|
11
|
-
checkButtonLabel: "Submit",
|
12
|
-
retryButtonLabel: "Edit",
|
13
|
-
canMarkForReview: !1,
|
14
|
-
teacherValidationEnabled: !1,
|
15
|
-
canTeacherValidate: !1,
|
16
|
-
canShowDesmosCalc: !1
|
17
|
-
}, a = {
|
18
|
-
hints: !1,
|
19
|
-
navigationMode: "OPEN",
|
20
|
-
initialQuestion: "FIRST",
|
21
|
-
maximumAttempts: -1,
|
22
|
-
minimumAccuracy: 0,
|
23
|
-
validation: !0,
|
24
|
-
review: !0,
|
25
|
-
canAttempt: !1,
|
26
|
-
canExceedAttempts: !1,
|
27
|
-
checkButtonLabel: "Check",
|
28
|
-
retryButtonLabel: "Retry",
|
29
|
-
canMarkForReview: !1,
|
30
|
-
teacherValidationEnabled: !1,
|
31
|
-
canTeacherValidate: !1,
|
32
|
-
canShowDesmosCalc: !1
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
e as ASSESSMENT_RESUME_BEHAVIOR,
|
36
|
-
a as ASSESSMENT_REVIEW_BEHAVIOR
|
37
|
-
};
|
38
|
-
//# sourceMappingURL=assessment.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"assessment.js","sources":["../../../../../../src/features/worksheet/worksheet/mocks/behaviors/assessment.ts"],"sourcesContent":["import type { IWorksheetBehavior } from '../../worksheet-types';\n\nconst ASSESSMENT_RESUME_BEHAVIOR: IWorksheetBehavior = {\n hints: true,\n navigationMode: 'OPEN',\n initialQuestion: 'CURRENT',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: false,\n review: false,\n canAttempt: true,\n canExceedAttempts: true,\n checkButtonLabel: 'Submit',\n retryButtonLabel: 'Edit',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nconst ASSESSMENT_REVIEW_BEHAVIOR: IWorksheetBehavior = {\n hints: false,\n navigationMode: 'OPEN',\n initialQuestion: 'FIRST',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: true,\n review: true,\n canAttempt: false,\n canExceedAttempts: false,\n checkButtonLabel: 'Check',\n retryButtonLabel: 'Retry',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nexport { ASSESSMENT_RESUME_BEHAVIOR, ASSESSMENT_REVIEW_BEHAVIOR };\n"],"names":["ASSESSMENT_RESUME_BEHAVIOR","ASSESSMENT_REVIEW_BEHAVIOR"],"mappings":"AAEA,MAAMA,IAAiD;AAAA,EACrD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB,GAEMC,IAAiD;AAAA,EACrD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
const e = {
|
2
|
-
hints: !0,
|
3
|
-
navigationMode: "OPEN",
|
4
|
-
initialQuestion: "CURRENT",
|
5
|
-
maximumAttempts: -1,
|
6
|
-
minimumAccuracy: 0,
|
7
|
-
validation: !1,
|
8
|
-
review: !1,
|
9
|
-
canAttempt: !0,
|
10
|
-
canExceedAttempts: !0,
|
11
|
-
checkButtonLabel: "Submit",
|
12
|
-
retryButtonLabel: "Edit",
|
13
|
-
canMarkForReview: !1,
|
14
|
-
teacherValidationEnabled: !1,
|
15
|
-
canTeacherValidate: !1,
|
16
|
-
canShowDesmosCalc: !1
|
17
|
-
}, a = {
|
18
|
-
hints: !1,
|
19
|
-
navigationMode: "OPEN",
|
20
|
-
initialQuestion: "FIRST",
|
21
|
-
maximumAttempts: -1,
|
22
|
-
minimumAccuracy: 0,
|
23
|
-
validation: !0,
|
24
|
-
review: !0,
|
25
|
-
canAttempt: !1,
|
26
|
-
canExceedAttempts: !1,
|
27
|
-
checkButtonLabel: "Check",
|
28
|
-
retryButtonLabel: "Retry",
|
29
|
-
canMarkForReview: !1,
|
30
|
-
teacherValidationEnabled: !1,
|
31
|
-
canTeacherValidate: !1,
|
32
|
-
canShowDesmosCalc: !1
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
e as CHAPTER_ASSESSMENT_RESUME_BEHAVIOR,
|
36
|
-
a as CHAPTER_ASSESSMENT_REVIEW_BEHAVIOR
|
37
|
-
};
|
38
|
-
//# sourceMappingURL=chapter_assessment.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"chapter_assessment.js","sources":["../../../../../../src/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.ts"],"sourcesContent":["import type { IWorksheetBehavior } from '../../worksheet-types';\n\nconst CHAPTER_ASSESSMENT_RESUME_BEHAVIOR: IWorksheetBehavior = {\n hints: true,\n navigationMode: 'OPEN',\n initialQuestion: 'CURRENT',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: false,\n review: false,\n canAttempt: true,\n canExceedAttempts: true,\n checkButtonLabel: 'Submit',\n retryButtonLabel: 'Edit',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nconst CHAPTER_ASSESSMENT_REVIEW_BEHAVIOR: IWorksheetBehavior = {\n hints: false,\n navigationMode: 'OPEN',\n initialQuestion: 'FIRST',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: true,\n review: true,\n canAttempt: false,\n canExceedAttempts: false,\n checkButtonLabel: 'Check',\n retryButtonLabel: 'Retry',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nexport { CHAPTER_ASSESSMENT_RESUME_BEHAVIOR, CHAPTER_ASSESSMENT_REVIEW_BEHAVIOR };\n"],"names":["CHAPTER_ASSESSMENT_RESUME_BEHAVIOR","CHAPTER_ASSESSMENT_REVIEW_BEHAVIOR"],"mappings":"AAEA,MAAMA,IAAyD;AAAA,EAC7D,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB,GAEMC,IAAyD;AAAA,EAC7D,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
const e = {
|
2
|
-
hints: !0,
|
3
|
-
navigationMode: "OPEN",
|
4
|
-
initialQuestion: "CURRENT",
|
5
|
-
maximumAttempts: -1,
|
6
|
-
minimumAccuracy: 0,
|
7
|
-
validation: !1,
|
8
|
-
review: !1,
|
9
|
-
canAttempt: !0,
|
10
|
-
canExceedAttempts: !0,
|
11
|
-
checkButtonLabel: "Submit",
|
12
|
-
retryButtonLabel: "Edit",
|
13
|
-
canMarkForReview: !1,
|
14
|
-
teacherValidationEnabled: !1,
|
15
|
-
canTeacherValidate: !1,
|
16
|
-
canShowDesmosCalc: !1
|
17
|
-
}, a = {
|
18
|
-
hints: !1,
|
19
|
-
navigationMode: "OPEN",
|
20
|
-
initialQuestion: "FIRST",
|
21
|
-
maximumAttempts: -1,
|
22
|
-
minimumAccuracy: 0,
|
23
|
-
validation: !0,
|
24
|
-
review: !0,
|
25
|
-
canAttempt: !1,
|
26
|
-
canExceedAttempts: !1,
|
27
|
-
checkButtonLabel: "Check",
|
28
|
-
retryButtonLabel: "Retry",
|
29
|
-
canMarkForReview: !1,
|
30
|
-
teacherValidationEnabled: !1,
|
31
|
-
canTeacherValidate: !1,
|
32
|
-
canShowDesmosCalc: !1
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
e as DIAGNOSTIC_RESUME_BEHAVIOR,
|
36
|
-
a as DIAGNOSTIC_REVIEW_BEHAVIOR
|
37
|
-
};
|
38
|
-
//# sourceMappingURL=diagnostic.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"diagnostic.js","sources":["../../../../../../src/features/worksheet/worksheet/mocks/behaviors/diagnostic.ts"],"sourcesContent":["import type { IWorksheetBehavior } from '../../worksheet-types';\n\nconst DIAGNOSTIC_RESUME_BEHAVIOR: IWorksheetBehavior = {\n hints: true,\n navigationMode: 'OPEN',\n initialQuestion: 'CURRENT',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: false,\n review: false,\n canAttempt: true,\n canExceedAttempts: true,\n checkButtonLabel: 'Submit',\n retryButtonLabel: 'Edit',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nconst DIAGNOSTIC_REVIEW_BEHAVIOR: IWorksheetBehavior = {\n hints: false,\n navigationMode: 'OPEN',\n initialQuestion: 'FIRST',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: true,\n review: true,\n canAttempt: false,\n canExceedAttempts: false,\n checkButtonLabel: 'Check',\n retryButtonLabel: 'Retry',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nexport { DIAGNOSTIC_RESUME_BEHAVIOR, DIAGNOSTIC_REVIEW_BEHAVIOR };\n"],"names":["DIAGNOSTIC_RESUME_BEHAVIOR","DIAGNOSTIC_REVIEW_BEHAVIOR"],"mappings":"AAEA,MAAMA,IAAiD;AAAA,EACrD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB,GAEMC,IAAiD;AAAA,EACrD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
const e = {
|
2
|
-
hints: !0,
|
3
|
-
navigationMode: "OPEN",
|
4
|
-
initialQuestion: "CURRENT",
|
5
|
-
maximumAttempts: -1,
|
6
|
-
minimumAccuracy: 0,
|
7
|
-
validation: !1,
|
8
|
-
review: !1,
|
9
|
-
canAttempt: !0,
|
10
|
-
canExceedAttempts: !0,
|
11
|
-
checkButtonLabel: "Submit",
|
12
|
-
retryButtonLabel: "Edit",
|
13
|
-
canMarkForReview: !1,
|
14
|
-
teacherValidationEnabled: !1,
|
15
|
-
canTeacherValidate: !1,
|
16
|
-
canShowDesmosCalc: !1
|
17
|
-
}, a = {
|
18
|
-
hints: !1,
|
19
|
-
navigationMode: "OPEN",
|
20
|
-
initialQuestion: "FIRST",
|
21
|
-
maximumAttempts: -1,
|
22
|
-
minimumAccuracy: 0,
|
23
|
-
validation: !0,
|
24
|
-
review: !0,
|
25
|
-
canAttempt: !1,
|
26
|
-
canExceedAttempts: !1,
|
27
|
-
checkButtonLabel: "Check",
|
28
|
-
retryButtonLabel: "Retry",
|
29
|
-
canMarkForReview: !1,
|
30
|
-
teacherValidationEnabled: !1,
|
31
|
-
canTeacherValidate: !1,
|
32
|
-
canShowDesmosCalc: !1
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
e as DYNAMIC_RESUME_BEHAVIOR,
|
36
|
-
a as DYNAMIC_REVIEW_BEHAVIOR
|
37
|
-
};
|
38
|
-
//# sourceMappingURL=dynamic.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"dynamic.js","sources":["../../../../../../src/features/worksheet/worksheet/mocks/behaviors/dynamic.ts"],"sourcesContent":["import type { IWorksheetBehavior } from '../../worksheet-types';\n\nconst DYNAMIC_RESUME_BEHAVIOR: IWorksheetBehavior = {\n hints: true,\n navigationMode: 'OPEN',\n initialQuestion: 'CURRENT',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: false,\n review: false,\n canAttempt: true,\n canExceedAttempts: true,\n checkButtonLabel: 'Submit',\n retryButtonLabel: 'Edit',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nconst DYNAMIC_REVIEW_BEHAVIOR: IWorksheetBehavior = {\n hints: false,\n navigationMode: 'OPEN',\n initialQuestion: 'FIRST',\n maximumAttempts: -1,\n minimumAccuracy: 0,\n validation: true,\n review: true,\n canAttempt: false,\n canExceedAttempts: false,\n checkButtonLabel: 'Check',\n retryButtonLabel: 'Retry',\n canMarkForReview: false,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n canShowDesmosCalc: false,\n};\n\nexport { DYNAMIC_RESUME_BEHAVIOR, DYNAMIC_REVIEW_BEHAVIOR };\n"],"names":["DYNAMIC_RESUME_BEHAVIOR","DYNAMIC_REVIEW_BEHAVIOR"],"mappings":"AAEA,MAAMA,IAA8C;AAAA,EAClD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB,GAEMC,IAA8C;AAAA,EAClD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
const e = {
|
2
|
-
hints: !0,
|
3
|
-
navigationMode: "OPEN",
|
4
|
-
initialQuestion: "CURRENT",
|
5
|
-
maximumAttempts: 1,
|
6
|
-
minimumAccuracy: 100,
|
7
|
-
teacherValidationEnabled: !1,
|
8
|
-
canTeacherValidate: !1,
|
9
|
-
validation: !0,
|
10
|
-
review: !0,
|
11
|
-
canAttempt: !0,
|
12
|
-
canExceedAttempts: !0,
|
13
|
-
checkButtonLabel: "Check",
|
14
|
-
retryButtonLabel: "Retry",
|
15
|
-
canMarkForReview: !1,
|
16
|
-
canShowDesmosCalc: !1
|
17
|
-
}, t = {
|
18
|
-
hints: !1,
|
19
|
-
navigationMode: "OPEN",
|
20
|
-
initialQuestion: "FIRST",
|
21
|
-
maximumAttempts: 1,
|
22
|
-
minimumAccuracy: 100,
|
23
|
-
teacherValidationEnabled: !1,
|
24
|
-
canTeacherValidate: !1,
|
25
|
-
validation: !0,
|
26
|
-
review: !0,
|
27
|
-
canAttempt: !1,
|
28
|
-
canExceedAttempts: !0,
|
29
|
-
checkButtonLabel: "Check",
|
30
|
-
retryButtonLabel: "Retry",
|
31
|
-
canMarkForReview: !1,
|
32
|
-
canShowDesmosCalc: !1
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
e as EXTRA_PRACTICE_RESUME_BEHAVIOR,
|
36
|
-
t as EXTRA_PRACTICE_REVIEW_BEHAVIOR
|
37
|
-
};
|
38
|
-
//# sourceMappingURL=extra_practice.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"extra_practice.js","sources":["../../../../../../src/features/worksheet/worksheet/mocks/behaviors/extra_practice.ts"],"sourcesContent":["import type { IWorksheetBehavior } from '../../worksheet-types';\n\nconst EXTRA_PRACTICE_RESUME_BEHAVIOR: IWorksheetBehavior = {\n hints: true,\n navigationMode: 'OPEN',\n initialQuestion: 'CURRENT',\n maximumAttempts: 1,\n minimumAccuracy: 100,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n validation: true,\n review: true,\n canAttempt: true,\n canExceedAttempts: true,\n checkButtonLabel: 'Check',\n retryButtonLabel: 'Retry',\n canMarkForReview: false,\n canShowDesmosCalc: false,\n};\n\nconst EXTRA_PRACTICE_REVIEW_BEHAVIOR: IWorksheetBehavior = {\n hints: false,\n navigationMode: 'OPEN',\n initialQuestion: 'FIRST',\n maximumAttempts: 1,\n minimumAccuracy: 100,\n teacherValidationEnabled: false,\n canTeacherValidate: false,\n validation: true,\n review: true,\n canAttempt: false,\n canExceedAttempts: true,\n checkButtonLabel: 'Check',\n retryButtonLabel: 'Retry',\n canMarkForReview: false,\n canShowDesmosCalc: false,\n};\n\nexport { EXTRA_PRACTICE_RESUME_BEHAVIOR, EXTRA_PRACTICE_REVIEW_BEHAVIOR };\n"],"names":["EXTRA_PRACTICE_RESUME_BEHAVIOR","EXTRA_PRACTICE_REVIEW_BEHAVIOR"],"mappings":"AAEA,MAAMA,IAAqD;AAAA,EACzD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,mBAAmB;AACrB,GAEMC,IAAqD;AAAA,EACzD,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,0BAA0B;AAAA,EAC1B,oBAAoB;AAAA,EACpB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,mBAAmB;AACrB;"}
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import { ASSESSMENT_REVIEW_BEHAVIOR as I, ASSESSMENT_RESUME_BEHAVIOR as S } from "./assessment.js";
|
2
|
-
import { CHAPTER_ASSESSMENT_REVIEW_BEHAVIOR as r, CHAPTER_ASSESSMENT_RESUME_BEHAVIOR as V } from "./chapter_assessment.js";
|
3
|
-
import { DIAGNOSTIC_REVIEW_BEHAVIOR as T, DIAGNOSTIC_RESUME_BEHAVIOR as H } from "./diagnostic.js";
|
4
|
-
import { DYNAMIC_REVIEW_BEHAVIOR as e, DYNAMIC_RESUME_BEHAVIOR as O } from "./dynamic.js";
|
5
|
-
import { EXTRA_PRACTICE_REVIEW_BEHAVIOR as M, EXTRA_PRACTICE_RESUME_BEHAVIOR as t } from "./extra_practice.js";
|
6
|
-
import { LEARNING_REVIEW_BEHAVIOR as o, LEARNING_RESUME_BEHAVIOR as N } from "./learning.js";
|
7
|
-
import { LEARNING_V3_REVIEW_BEHAVIOR as B, LEARNING_V3_RESUME_BEHAVIOR as m } from "./learning-v3.js";
|
8
|
-
import { LEGACY_REVIEW_BEHAVIOR as L, LEGACY_RESUME_BEHAVIOR as C } from "./legacy.js";
|
9
|
-
import { LEVEL2_REVIEW_BEHAVIOR as U, LEVEL2_RESUME_BEHAVIOR as s } from "./level2.js";
|
10
|
-
import { LEVEL3_REVIEW_BEHAVIOR as G, LEVEL3_RESUME_BEHAVIOR as a } from "./level3.js";
|
11
|
-
import { MASTERY_REVIEW_BEHAVIOR as i, MASTERY_RESUME_BEHAVIOR as c } from "./mastery.js";
|
12
|
-
import { PRACTICE_REVIEW_BEHAVIOR as P, PRACTICE_RESUME_BEHAVIOR as n } from "./practice.js";
|
13
|
-
import { PUZZLE_CARD_REVIEW_BEHAVIOR as f, PUZZLE_CARD_RESUME_BEHAVIOR as p } from "./puzzle-card.js";
|
14
|
-
import { PUZZLE_EASY_REVIEW_BEHAVIOR as u, PUZZLE_EASY_RESUME_BEHAVIOR as W } from "./puzzle_easy.js";
|
15
|
-
import { PUZZLE_HARD_REVIEW_BEHAVIOR as D, PUZZLE_HARD_RESUME_BEHAVIOR as Z } from "./puzzle_hard.js";
|
16
|
-
import { PUZZLE_MEDIUM_REVIEW_BEHAVIOR as Y, PUZZLE_MEDIUM_RESUME_BEHAVIOR as d } from "./puzzle_medium.js";
|
17
|
-
import { RECAP_REVIEW_BEHAVIOR as X, RECAP_RESUME_BEHAVIOR as h } from "./recap.js";
|
18
|
-
import { REMEDIAL_REVIEW_BEHAVIOR as l, REMEDIAL_RESUME_BEHAVIOR as v } from "./remedial.js";
|
19
|
-
import { REVISION_REVIEW_BEHAVIOR as w, REVISION_RESUME_BEHAVIOR as g } from "./revision.js";
|
20
|
-
import { SAT_ASSESSMENT_REVIEW_BEHAVIOR as x, SAT_ASSESSMENT_RESUME_BEHAVIOR as y } from "./sat-math-assessment.js";
|
21
|
-
import { SAT_ENGLISH_LEARNING_REVIEW_BEHAVIOR as b, SAT_ENGLISH_LEARNING_RESUME_BEHAVIOR as j } from "./sat_english_learning.js";
|
22
|
-
import { SAT_MATH_LEARNING_REVIEW_BEHAVIOR as k, SAT_MATH_LEARNING_RESUME_BEHAVIOR as q } from "./sat_math_learning.js";
|
23
|
-
import { SAT_MATH_RECAP_REVIEW_BEHAVIOR as z, SAT_MATH_RECAP_RESUME_BEHAVIOR as F } from "./sat_math_recap.js";
|
24
|
-
import { TARGET_PRACTICE_REVIEW_BEHAVIOR as J, TARGET_PRACTICE_RESUME_BEHAVIOR as K } from "./target_practice.js";
|
25
|
-
import { TRIAL_DIAGNOSTIC_REVIEW_BEHAVIOR as Q, TRIAL_DIAGNOSTIC_RESUME_BEHAVIOR as $ } from "./trial-diagnostic.js";
|
26
|
-
import { TRIAL_DIAGNOSTIC_V2_REVIEW_BEHAVIOR as EE, TRIAL_DIAGNOSTIC_V2_RESUME_BEHAVIOR as RE } from "./trial-diagnostic-v2.js";
|
27
|
-
import { TURING_ASSESSMENT_REVIEW_BEHAVIOR as _E, TURING_ASSESSMENT_RESUME_BEHAVIOR as AE } from "./turing_assessment.js";
|
28
|
-
import { TURING_PRACTICE_REVIEW_BEHAVIOR as IE, TURING_PRACTICE_RESUME_BEHAVIOR as SE } from "./turing_practice.js";
|
29
|
-
const YE = (R) => {
|
30
|
-
const { nodeType: _, isReview: E, isLessonV3: A } = R;
|
31
|
-
switch (_) {
|
32
|
-
case "PUZZLE_CARD":
|
33
|
-
return E ? f : p;
|
34
|
-
case "LEARNING":
|
35
|
-
return A ? E ? B : m : E ? o : N;
|
36
|
-
case "LEGACY":
|
37
|
-
return E ? L : C;
|
38
|
-
case "RECAP":
|
39
|
-
return E ? X : h;
|
40
|
-
case "LEVEL3":
|
41
|
-
return E ? G : a;
|
42
|
-
case "REVISION":
|
43
|
-
return E ? w : g;
|
44
|
-
case "LEVEL2":
|
45
|
-
return E ? U : s;
|
46
|
-
case "TARGET_PRACTICE":
|
47
|
-
return E ? J : K;
|
48
|
-
case "PRACTICE":
|
49
|
-
return E ? P : n;
|
50
|
-
case "EXTRA_PRACTICE":
|
51
|
-
return E ? M : t;
|
52
|
-
case "PUZZLE_EASY":
|
53
|
-
return E ? u : W;
|
54
|
-
case "PUZZLE_MEDIUM":
|
55
|
-
return E ? Y : d;
|
56
|
-
case "PUZZLE_HARD":
|
57
|
-
return E ? D : Z;
|
58
|
-
case "SAT_MATH_LEARNING":
|
59
|
-
return E ? k : q;
|
60
|
-
case "SAT_MATH_RECAP":
|
61
|
-
return E ? z : F;
|
62
|
-
case "SAT_ENGLISH_LEARNING":
|
63
|
-
return E ? b : j;
|
64
|
-
case "ASSESSMENT":
|
65
|
-
return E ? I : S;
|
66
|
-
case "CHAPTER_ASSESSMENT":
|
67
|
-
return E ? r : V;
|
68
|
-
case "SAT_MATH_ASSESSMENT":
|
69
|
-
case "SAT_ENGLISH_ASSESSMENT":
|
70
|
-
return E ? x : y;
|
71
|
-
case "TRIAL_DIAGNOSTIC":
|
72
|
-
return E ? Q : $;
|
73
|
-
case "TRIAL_BASIC":
|
74
|
-
case "TRIAL_INTERMEDIATE":
|
75
|
-
case "TRIAL_ADVANCED":
|
76
|
-
return E ? EE : RE;
|
77
|
-
case "MASTERY":
|
78
|
-
return E ? i : c;
|
79
|
-
case "DYNAMIC":
|
80
|
-
return E ? e : O;
|
81
|
-
case "TURING_ASSESSMENT":
|
82
|
-
return E ? _E : AE;
|
83
|
-
case "TURING_PRACTICE":
|
84
|
-
return E ? IE : SE;
|
85
|
-
case "DIAGNOSTIC":
|
86
|
-
return E ? T : H;
|
87
|
-
case "REMEDIAL":
|
88
|
-
default:
|
89
|
-
return E ? l : v;
|
90
|
-
}
|
91
|
-
};
|
92
|
-
export {
|
93
|
-
YE as default
|
94
|
-
};
|
95
|
-
//# sourceMappingURL=index.js.map
|