@cuemath/leap 2.9.7 → 2.9.9-as2
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 +9 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/alarm.js +41 -0
- package/dist/assets/line-icons/icons/alarm.js.map +1 -0
- package/dist/assets/line-icons/icons/bin2.js +7 -8
- package/dist/assets/line-icons/icons/bin2.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
- package/dist/assets/line-icons/icons/dart.js +23 -0
- package/dist/assets/line-icons/icons/dart.js.map +1 -0
- package/dist/assets/line-icons/icons/exclamation.js +26 -0
- package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
- package/dist/assets/line-icons/icons/home2.js +25 -0
- package/dist/assets/line-icons/icons/home2.js.map +1 -0
- package/dist/assets/line-icons/icons/important.js +23 -0
- package/dist/assets/line-icons/icons/important.js.map +1 -0
- package/dist/assets/line-icons/icons/puzzle.js +25 -0
- package/dist/assets/line-icons/icons/puzzle.js.map +1 -0
- package/dist/assets/line-icons/icons/recap.js +32 -0
- package/dist/assets/line-icons/icons/recap.js.map +1 -0
- package/dist/assets/line-icons/icons/skip-colored.js +43 -0
- package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
- package/dist/assets/line-icons/icons/status.js +41 -0
- package/dist/assets/line-icons/icons/status.js.map +1 -0
- package/dist/assets/line-icons/icons/testtube.js +33 -0
- package/dist/assets/line-icons/icons/testtube.js.map +1 -0
- package/dist/assets/lottie/lottie.js +9 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/constants/api.js +3 -2
- package/dist/constants/api.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +3 -3
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +13 -11
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
- package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
- package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
- package/dist/features/chapters-v2/api/chapter.js +10 -0
- package/dist/features/chapters-v2/api/chapter.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +35 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +83 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +98 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +51 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +130 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +13 -0
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +159 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
- package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +31 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +9 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +189 -0
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +194 -0
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
- package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
- package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
- package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
- package/dist/features/chapters-v2/constants/block-constants.js +20 -0
- package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
- package/dist/features/chapters-v2/constants/node-constants.js +14 -0
- package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
- package/dist/features/chapters-v2/utils/index.js +38 -0
- package/dist/features/chapters-v2/utils/index.js.map +1 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js +177 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
- package/dist/features/circle-games/games/tutorial/constants.js +2 -2
- package/dist/features/circle-games/games/tutorial/constants.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js +6 -6
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view.js +45 -52
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/banner/banner.js +6 -6
- package/dist/features/circle-games/leaderboard/comps/banner/banner.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/navigation-button/navigation-button-styled.js +1 -1
- package/dist/features/circle-games/leaderboard/comps/navigation-button/navigation-button-styled.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard-styled.js +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard-styled.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard.js +9 -9
- package/dist/features/circle-games/leaderboard/leaderboard.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps-styled.js +8 -8
- package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps-styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/constants.js +9 -9
- package/dist/features/circle-games/sign-up/constants.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +12 -6
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/homework/card-menu-option.js +28 -0
- package/dist/features/homework/card-menu-option.js.map +1 -0
- package/dist/features/homework/card-menu-options.js +22 -0
- package/dist/features/homework/card-menu-options.js.map +1 -0
- package/dist/features/homework/card-title.js +16 -0
- package/dist/features/homework/card-title.js.map +1 -0
- package/dist/features/homework/homework-analytics-events.js +10 -0
- package/dist/features/homework/homework-analytics-events.js.map +1 -0
- package/dist/features/homework/homework-card-view.js +143 -0
- package/dist/features/homework/homework-card-view.js.map +1 -0
- package/dist/features/homework/homework-card.js +245 -0
- package/dist/features/homework/homework-card.js.map +1 -0
- package/dist/features/homework/hw-card-list/api/get-homeworks.js +10 -0
- package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -0
- package/dist/features/homework/hw-card-list/hw-card-list-styled.js +63 -0
- package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +1 -0
- package/dist/features/homework/hw-card-list/hw-card-list.js +191 -0
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
- package/dist/features/homework/node-progress.js +29 -0
- package/dist/features/homework/node-progress.js.map +1 -0
- package/dist/features/homework/styles.js +130 -0
- package/dist/features/homework/styles.js.map +1 -0
- package/dist/features/homework/utils.js +48 -0
- package/dist/features/homework/utils.js.map +1 -0
- package/dist/features/journey/comps/coachmark/coachmark-styled.js +12 -5
- package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-chapter-journey.js +194 -0
- package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey.js +189 -0
- package/dist/features/journey/hooks/use-home-page-journey.js.map +1 -0
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +5 -0
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -0
- package/dist/features/journey/use-journey/journey-context-provider.js +36 -28
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +10 -5
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/milestone/create/api/goal-submit.js +1 -1
- package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +49 -43
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/create/utils/index.js +33 -38
- package/dist/features/milestone/create/utils/index.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-container.js +64 -62
- package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
- package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
- package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +138 -105
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +157 -176
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +17 -25
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js +110 -113
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +116 -113
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +87 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
- package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +46 -50
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
- package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
- package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
- package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
- package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
- package/dist/features/recent-chapters/recent-chapters.js +39 -0
- package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
- package/dist/features/sheet-v2/resource-list/resource-list.js +45 -0
- package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
- package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
- package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/ui/arc-button/constants.js +4 -4
- package/dist/features/ui/arc-button/constants.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +1 -1
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
- package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +30 -15
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +19 -13
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/theme/button.js +22 -107
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +354 -34
- package/dist/index.js +503 -471
- package/dist/index.js.map +1 -1
- package/dist/node_modules/date-fns/differenceInDays.js +17 -0
- package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
- package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
- package/dist/static/competitive-arena.b9c40801.json +1 -0
- package/dist/static/learn.71b13323.json +1 -0
- package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
- package/dist/static/node-learn-bg.b61f815c.svg +1 -0
- package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
- package/dist/static/node-project-bg.e6a33e28.svg +1 -0
- package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
- package/dist/static/node-recap-bg.546154e4.svg +1 -0
- package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
- package/dist/static/node-video-bg.3df3f73a.svg +1 -0
- package/dist/static/practice.158dd488.json +1 -0
- package/dist/static/project.eb665827.json +1 -0
- package/dist/static/puzzle.b298c7e4.json +1 -0
- package/dist/static/recap.0dd2c1e2.json +1 -0
- package/dist/static/test.803d6036.json +1 -0
- package/dist/static/video.b41451e2.json +1 -0
- package/package.json +1 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +0 -38
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
- package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -26,7 +26,7 @@ import * as React_3 from 'react';
|
|
26
26
|
import type { ReactElement } from 'react';
|
27
27
|
import { ReactNode } from 'react';
|
28
28
|
import { RefAttributes } from 'react';
|
29
|
-
import
|
29
|
+
import { RefObject } from 'react';
|
30
30
|
import { ResourceModel } from '@cuemath/rest-api';
|
31
31
|
import type { SetStateAction } from 'react';
|
32
32
|
import { Substitute } from 'styled-components/dist/types';
|
@@ -48,6 +48,8 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
48
48
|
|
49
49
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
50
50
|
|
51
|
+
export declare const AlarmIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
52
|
+
|
51
53
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
52
54
|
|
53
55
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
@@ -92,7 +94,22 @@ declare const BLOCK_STATUS: {
|
|
92
94
|
readonly LOCKED: "LOCKED";
|
93
95
|
};
|
94
96
|
|
95
|
-
declare
|
97
|
+
declare enum BLOCK_TYPE {
|
98
|
+
DEFAULT = "DEFAULT",
|
99
|
+
PREREQ = "PREREQ",
|
100
|
+
RECAP = "RECAP",
|
101
|
+
GOAL = "GOAL",
|
102
|
+
TESTS = "TESTS",
|
103
|
+
PLAYLIST = "PLAYLIST",
|
104
|
+
SOLUTIONS = "SOLUTIONS",
|
105
|
+
NOTES = "NOTES",
|
106
|
+
FLASHCARDS = "FLASHCARDS",
|
107
|
+
SUBJECTIVES = "SUBJECTIVES",
|
108
|
+
PUZZLE_CARDS = "PUZZLE_CARDS",
|
109
|
+
SAT_MOCK_TEST = "SAT_MOCK_TEST"
|
110
|
+
}
|
111
|
+
|
112
|
+
declare const BLOCK_TYPE_2: {
|
96
113
|
readonly DEFAULT: "DEFAULT";
|
97
114
|
readonly PREREQ: "PREREQ";
|
98
115
|
readonly RECAP: "RECAP";
|
@@ -146,6 +163,8 @@ declare const CHAPTER_PERMISSION_CODES: {
|
|
146
163
|
|
147
164
|
export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
|
148
165
|
|
166
|
+
export declare const ChapterDetails: FC<IChapterDetails>;
|
167
|
+
|
149
168
|
export declare const ChaptersList: FC<IChaptersListProps>;
|
150
169
|
|
151
170
|
export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -259,6 +278,8 @@ export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
259
278
|
|
260
279
|
export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
|
261
280
|
|
281
|
+
export declare const DartIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
282
|
+
|
262
283
|
export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
263
284
|
|
264
285
|
export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
@@ -331,6 +352,8 @@ declare interface ErrorProps {
|
|
331
352
|
}
|
332
353
|
|
333
354
|
export declare const EVENTS: {
|
355
|
+
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
356
|
+
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
334
357
|
GOAL_CREATED: "GOAL_CREATED";
|
335
358
|
GOAL_EDITED: "GOAL_EDITED";
|
336
359
|
GOAL_DELETED: "GOAL_DELETED";
|
@@ -353,6 +376,8 @@ export declare const EVENTS: {
|
|
353
376
|
CHANGE_LOCATION: "CHANGE_LOCATION";
|
354
377
|
SHEET_STARTED: "SHEET_STARTED";
|
355
378
|
SHEET_UNASSIGNED: "SHEET_UNASSIGNED";
|
379
|
+
SHEET_REATTEMPTED: "SHEET_REATTEMPTED";
|
380
|
+
INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION";
|
356
381
|
};
|
357
382
|
|
358
383
|
declare type EventToPayload<T> = T extends {
|
@@ -360,6 +385,8 @@ declare type EventToPayload<T> = T extends {
|
|
360
385
|
eventPayload: infer P;
|
361
386
|
} ? [E] | [E, Partial<P>] : never;
|
362
387
|
|
388
|
+
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
389
|
+
|
363
390
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
364
391
|
|
365
392
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -469,8 +496,23 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
469
496
|
|
470
497
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
471
498
|
|
499
|
+
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
500
|
+
|
472
501
|
declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
|
473
502
|
|
503
|
+
declare interface HWCardListProps extends INodeCardCallbacks {
|
504
|
+
userType: TUserTypes;
|
505
|
+
studentId: string;
|
506
|
+
stream: string;
|
507
|
+
onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
508
|
+
onTestStart?: (sheetData: INodeDataProps, homeworkId?: string) => void;
|
509
|
+
onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
510
|
+
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
511
|
+
individualHomeworkRef?: React_2.RefObject<HTMLDivElement>;
|
512
|
+
startHomePageJourney?: ({ hwDetails, studentId, stream, userType, }: IHomepageStartJourneyProps) => void;
|
513
|
+
canStartJourney?: boolean;
|
514
|
+
}
|
515
|
+
|
474
516
|
declare interface IAccordionSectionProps {
|
475
517
|
headerElement: React.ReactElement;
|
476
518
|
bodyElement: React.ReactElement;
|
@@ -527,6 +569,7 @@ export declare interface IArrowTooltipProps {
|
|
527
569
|
width?: number;
|
528
570
|
widthX?: number;
|
529
571
|
zIndex?: number;
|
572
|
+
parentWidth?: number | string;
|
530
573
|
}
|
531
574
|
|
532
575
|
declare interface IAttempt {
|
@@ -627,6 +670,10 @@ declare interface IBaseWorksheetProps {
|
|
627
670
|
canShowActionBar?: boolean;
|
628
671
|
}
|
629
672
|
|
673
|
+
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
674
|
+
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
675
|
+
}
|
676
|
+
|
630
677
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
631
678
|
label: string;
|
632
679
|
renderAs: TButtonVariants;
|
@@ -697,10 +744,28 @@ declare interface ICascadingSelectInputProps {
|
|
697
744
|
|
698
745
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
699
746
|
search_and_added?: boolean;
|
700
|
-
total_supplementary_sheets: number;
|
701
747
|
learning_sheet_data: ILearningSheetData[];
|
702
748
|
}
|
703
749
|
|
750
|
+
export declare interface IChapterBlockData {
|
751
|
+
block_type: keyof typeof BLOCK_TYPE;
|
752
|
+
chapter_code: string;
|
753
|
+
code: string;
|
754
|
+
block_id: string;
|
755
|
+
is_skipped: boolean;
|
756
|
+
name: string;
|
757
|
+
permissions: IChapterBlockPermission;
|
758
|
+
program_id: string;
|
759
|
+
section_code: keyof typeof SECTION_CODE;
|
760
|
+
sheets: INodeDataProps[];
|
761
|
+
user_block_id: string | null;
|
762
|
+
}
|
763
|
+
|
764
|
+
declare interface IChapterBlockPermission {
|
765
|
+
can_skip: boolean;
|
766
|
+
can_un_skip: boolean;
|
767
|
+
}
|
768
|
+
|
704
769
|
export declare interface IChapterBlockV3 {
|
705
770
|
completed_on: number | null;
|
706
771
|
sheets: IWorksheetModelV3[];
|
@@ -730,11 +795,29 @@ export declare interface IChapterDataProps {
|
|
730
795
|
user_chapter_progress: IUserChapterProgressProps;
|
731
796
|
state: TUserChapterStates | null;
|
732
797
|
program_id: string;
|
798
|
+
progress_stat: {
|
799
|
+
classwork: IMilestoneData['progress_stat'];
|
800
|
+
mandatory: IMilestoneData['progress_stat'];
|
801
|
+
optional: IMilestoneData['progress_stat'];
|
802
|
+
};
|
733
803
|
sheets_data: {
|
734
804
|
lessons: ILessonsListProps['lessons'];
|
735
805
|
supplementary_sheets_group_sort_order: string[];
|
736
806
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
737
807
|
};
|
808
|
+
blocks: IUserChapterData['blocks'];
|
809
|
+
}
|
810
|
+
|
811
|
+
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
812
|
+
userType: TUserTypes;
|
813
|
+
userChapterId: string;
|
814
|
+
studentId: string;
|
815
|
+
onExit?: () => void;
|
816
|
+
startChapterPageJourney?: ({ chapterDetails, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
|
817
|
+
chapterPageRef?: React.RefObject<HTMLDivElement>;
|
818
|
+
bannerRef?: React.RefObject<HTMLDivElement>;
|
819
|
+
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
820
|
+
canStartJourney?: boolean;
|
738
821
|
}
|
739
822
|
|
740
823
|
declare interface IChapterModel {
|
@@ -759,6 +842,18 @@ declare interface IChapterModel {
|
|
759
842
|
mastery_time: number;
|
760
843
|
chapter_time_unit: TTimeUnit;
|
761
844
|
is_puzzle_chapter?: boolean;
|
845
|
+
blocks: IUserChapterData['blocks'];
|
846
|
+
}
|
847
|
+
|
848
|
+
declare interface IChapterProgressInfo {
|
849
|
+
completed: number;
|
850
|
+
total: number;
|
851
|
+
}
|
852
|
+
|
853
|
+
declare interface IChapterProgressStats {
|
854
|
+
mandatory: IChapterProgressInfo;
|
855
|
+
classwork: IChapterProgressInfo;
|
856
|
+
optional: IChapterProgressInfo;
|
762
857
|
}
|
763
858
|
|
764
859
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -786,6 +881,12 @@ declare interface IChaptersListProps {
|
|
786
881
|
isGoalCreation: boolean;
|
787
882
|
}
|
788
883
|
|
884
|
+
declare interface IChapterStartJourneyProps {
|
885
|
+
chapterDetails: IUserChapterData;
|
886
|
+
studentId: string;
|
887
|
+
userType: 'STUDENT' | 'TEACHER';
|
888
|
+
}
|
889
|
+
|
789
890
|
declare interface IChapterState {
|
790
891
|
added?: boolean;
|
791
892
|
expanded?: boolean;
|
@@ -936,6 +1037,9 @@ declare interface IContextMenuProps {
|
|
936
1037
|
menuZIndex?: number;
|
937
1038
|
startLeft?: boolean;
|
938
1039
|
placeTop?: boolean;
|
1040
|
+
menuWidth?: number | string;
|
1041
|
+
menuWidthX?: number;
|
1042
|
+
handleOnMenuClick?: () => void;
|
939
1043
|
}
|
940
1044
|
|
941
1045
|
declare interface ICountdownTimer {
|
@@ -1194,7 +1298,7 @@ declare interface IGoalCurriculumMap {
|
|
1194
1298
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1195
1299
|
blocked_countries: string[];
|
1196
1300
|
course_stream: TCourseStream;
|
1197
|
-
goal_category:
|
1301
|
+
goal_category: TGoalCategory_2;
|
1198
1302
|
goal_curriculum_standard?: string;
|
1199
1303
|
goal_code: string;
|
1200
1304
|
goal_description: string | null;
|
@@ -1223,6 +1327,19 @@ declare interface IGradeSelectorProps {
|
|
1223
1327
|
layoutAlignment?: 'center' | 'auto';
|
1224
1328
|
}
|
1225
1329
|
|
1330
|
+
export declare interface IHomepageStartJourneyProps {
|
1331
|
+
hwDetails: INodeDataProps[];
|
1332
|
+
studentId: string;
|
1333
|
+
stream: string;
|
1334
|
+
userType: TUserTypes;
|
1335
|
+
}
|
1336
|
+
|
1337
|
+
declare interface IHomepageStartJourneyProps_2 {
|
1338
|
+
chapterDetails: IUserChapterData;
|
1339
|
+
studentId: string;
|
1340
|
+
userType: TUserTypes;
|
1341
|
+
}
|
1342
|
+
|
1226
1343
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1227
1344
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1228
1345
|
customBgColor?: TColorNames;
|
@@ -1316,8 +1433,9 @@ export declare interface IJourneyContext {
|
|
1316
1433
|
* @param id - The journey identifier.
|
1317
1434
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1318
1435
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1436
|
+
* @param shouldBlurNextJourney - If `true`, blurs the next journey.
|
1319
1437
|
*/
|
1320
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1438
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
|
1321
1439
|
/**
|
1322
1440
|
* Must be called to end journey and update the journey status on server.
|
1323
1441
|
* @param id - The journey id.
|
@@ -1397,8 +1515,7 @@ declare interface ILeaderboardProps {
|
|
1397
1515
|
}
|
1398
1516
|
|
1399
1517
|
declare interface ILearningSheetData {
|
1400
|
-
|
1401
|
-
learnosityRef: string;
|
1518
|
+
name: string;
|
1402
1519
|
}
|
1403
1520
|
|
1404
1521
|
declare interface ILearnosity {
|
@@ -1603,6 +1720,7 @@ export declare const ILLUSTRATIONS: {
|
|
1603
1720
|
CHAPTER_8: string;
|
1604
1721
|
CHAPTER_9: string;
|
1605
1722
|
CHAPTER_HEADER_BG: string;
|
1723
|
+
CHAPTER_HEADER_BG_2: string;
|
1606
1724
|
CIRCLE_CUEMATH_LOGO: string;
|
1607
1725
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1608
1726
|
CLOCK_ORANGE: string;
|
@@ -1644,6 +1762,14 @@ export declare const ILLUSTRATIONS: {
|
|
1644
1762
|
MILESTONE_INTRO_2: string;
|
1645
1763
|
MILESTONE_INTRO_3: string;
|
1646
1764
|
MISTAKE: string;
|
1765
|
+
NODE_CUSTOM_TEST_BG: string;
|
1766
|
+
NODE_LEARN_BG: string;
|
1767
|
+
NODE_PRACTICE_BG: string;
|
1768
|
+
NODE_PROJECT_BG: string;
|
1769
|
+
NODE_PUZZLE_BG: string;
|
1770
|
+
NODE_RECAP_BG: string;
|
1771
|
+
NODE_TEST_PREP_BG: string;
|
1772
|
+
NODE_VIDEO_BG: string;
|
1647
1773
|
NUMBER_1_ORANGE: string;
|
1648
1774
|
NUMBER_2_ORANGE: string;
|
1649
1775
|
NUMBER_3_ORANGE: string;
|
@@ -1824,7 +1950,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1824
1950
|
parentName?: string;
|
1825
1951
|
teacherName?: string;
|
1826
1952
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1827
|
-
onAddOutcome?: (milestoneId
|
1953
|
+
onAddOutcome?: (milestoneId?: string) => void;
|
1828
1954
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1829
1955
|
isClassOngoing?: boolean;
|
1830
1956
|
isStudentPresent?: boolean;
|
@@ -1863,6 +1989,8 @@ declare interface IMileStoneCreateProps {
|
|
1863
1989
|
milestoneId?: string;
|
1864
1990
|
currentCountryCode?: string;
|
1865
1991
|
courseStream: TCourseStream;
|
1992
|
+
canDeleteGoal?: boolean;
|
1993
|
+
onDeleteGoal?: () => void;
|
1866
1994
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1867
1995
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1868
1996
|
onExit?: () => void;
|
@@ -1876,7 +2004,7 @@ export declare interface IMilestoneData {
|
|
1876
2004
|
course_stream: TCourseStream;
|
1877
2005
|
grade: string;
|
1878
2006
|
board: string;
|
1879
|
-
goal_category:
|
2007
|
+
goal_category: TGoalCategory;
|
1880
2008
|
goal_code: string | null;
|
1881
2009
|
created_on_ts: number;
|
1882
2010
|
milestone_date_ts: number;
|
@@ -1891,6 +2019,10 @@ export declare interface IMilestoneData {
|
|
1891
2019
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1892
2020
|
permissions: IMilestoneCardPermissions;
|
1893
2021
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2022
|
+
progress_stat: {
|
2023
|
+
total: number;
|
2024
|
+
completed: number;
|
2025
|
+
} | null;
|
1894
2026
|
}
|
1895
2027
|
|
1896
2028
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -1968,7 +2100,7 @@ declare interface IMilestoneStartProps {
|
|
1968
2100
|
handleOnClick?: () => void;
|
1969
2101
|
}
|
1970
2102
|
|
1971
|
-
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps,
|
2103
|
+
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, INodeCardCallbacks {
|
1972
2104
|
isPlanAvailable: boolean;
|
1973
2105
|
isMilestoneActive: boolean;
|
1974
2106
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2003,7 +2135,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2003
2135
|
courseStream: TCourseStream;
|
2004
2136
|
}
|
2005
2137
|
|
2006
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2138
|
+
declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
|
2007
2139
|
userType: TUserTypes;
|
2008
2140
|
studentId: string;
|
2009
2141
|
userMilestoneId?: string;
|
@@ -2045,6 +2177,67 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2045
2177
|
|
2046
2178
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2047
2179
|
|
2180
|
+
declare interface INodeCardCallbacks {
|
2181
|
+
onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
|
2182
|
+
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2183
|
+
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
|
2184
|
+
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2185
|
+
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2186
|
+
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2187
|
+
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2188
|
+
onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2189
|
+
}
|
2190
|
+
|
2191
|
+
export declare interface INodeDataProps {
|
2192
|
+
accuracy: number | null;
|
2193
|
+
attempt_location: TSheetAttemptLocation_2;
|
2194
|
+
block_id: string;
|
2195
|
+
card_header: string;
|
2196
|
+
chapter_id: string;
|
2197
|
+
complete_status: boolean;
|
2198
|
+
course_type: TCourseType;
|
2199
|
+
desmos_calculator_enabled: boolean;
|
2200
|
+
due_date_ts: number | null;
|
2201
|
+
is_lesson_v3_enabled: boolean;
|
2202
|
+
is_optional: boolean;
|
2203
|
+
is_timed: boolean;
|
2204
|
+
is_worksheet_v3: boolean | null;
|
2205
|
+
learnosity_activity_ref: string;
|
2206
|
+
marked_as_completed: boolean;
|
2207
|
+
node_id: string;
|
2208
|
+
node_type: TNodeTypes_2;
|
2209
|
+
sheet_statement: string;
|
2210
|
+
permissions: INodePermissions;
|
2211
|
+
sheet_time: number | null;
|
2212
|
+
state: TSheetStates;
|
2213
|
+
title: string;
|
2214
|
+
user_chapter_id: string | null;
|
2215
|
+
user_node_id: string | null;
|
2216
|
+
worksheet_id: string;
|
2217
|
+
image_url: string;
|
2218
|
+
image_hue: THueNames;
|
2219
|
+
total_questions: number | null;
|
2220
|
+
unlocked_on_ts: number | null;
|
2221
|
+
items?: TNodeDataTestItemsDataProps[];
|
2222
|
+
user_milestone_id?: string;
|
2223
|
+
user_attempt_id: string | null;
|
2224
|
+
subtext: string | null;
|
2225
|
+
homework_id?: string;
|
2226
|
+
chapter_name?: string;
|
2227
|
+
}
|
2228
|
+
|
2229
|
+
declare interface INodePermissions {
|
2230
|
+
can_change_attempt_location: boolean;
|
2231
|
+
can_mark_familiar: boolean;
|
2232
|
+
can_reattempt: boolean;
|
2233
|
+
can_reset: boolean;
|
2234
|
+
can_resume: boolean;
|
2235
|
+
can_review: boolean;
|
2236
|
+
can_start: boolean;
|
2237
|
+
can_teacher_review: boolean;
|
2238
|
+
can_unassign: boolean;
|
2239
|
+
}
|
2240
|
+
|
2048
2241
|
export declare interface INudgeProps {
|
2049
2242
|
nudge: 'click';
|
2050
2243
|
content: ReactNode;
|
@@ -2053,6 +2246,10 @@ export declare interface INudgeProps {
|
|
2053
2246
|
zIndex?: number;
|
2054
2247
|
}
|
2055
2248
|
|
2249
|
+
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2250
|
+
|
2251
|
+
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2252
|
+
|
2056
2253
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2057
2254
|
|
2058
2255
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2819,13 +3016,7 @@ declare interface ITestsCreationProps {
|
|
2819
3016
|
onError: (errorMessage?: string) => void;
|
2820
3017
|
}
|
2821
3018
|
|
2822
|
-
declare interface
|
2823
|
-
onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
|
2824
|
-
onTestStart?: (sheetData: ISheetDataProps) => void;
|
2825
|
-
onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
|
2826
|
-
}
|
2827
|
-
|
2828
|
-
declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
3019
|
+
declare interface ITestsListProps {
|
2829
3020
|
userType: TUserTypes;
|
2830
3021
|
studentId: string;
|
2831
3022
|
userMilestoneId: string;
|
@@ -2834,6 +3025,10 @@ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
|
2834
3025
|
isDraftMilestone?: boolean;
|
2835
3026
|
isChaptersAvailable?: boolean;
|
2836
3027
|
canUpdatePlan?: boolean;
|
3028
|
+
onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
3029
|
+
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3030
|
+
onTestStart?: (sheetData: INodeDataProps) => void;
|
3031
|
+
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
2837
3032
|
}
|
2838
3033
|
|
2839
3034
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3078,6 +3273,20 @@ declare interface IusePointerSyncProps {
|
|
3078
3273
|
targetUserId?: string;
|
3079
3274
|
}
|
3080
3275
|
|
3276
|
+
export declare interface IUserChapterData {
|
3277
|
+
chapter_code: string;
|
3278
|
+
chapter_id: string;
|
3279
|
+
chapter_tags: string[];
|
3280
|
+
id: string;
|
3281
|
+
image_hue: THueNames;
|
3282
|
+
image_url: string;
|
3283
|
+
item_bank_enabled: boolean;
|
3284
|
+
name: string;
|
3285
|
+
program_id: string;
|
3286
|
+
progress_stat: IChapterProgressStats | null;
|
3287
|
+
blocks: IChapterBlockData[];
|
3288
|
+
}
|
3289
|
+
|
3081
3290
|
declare interface IUserChapterProgressProps {
|
3082
3291
|
familiar_sheets: number;
|
3083
3292
|
mastered_sheets: number;
|
@@ -3431,7 +3640,14 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3431
3640
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3432
3641
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3433
3642
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3434
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3643
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
3644
|
+
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3645
|
+
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3646
|
+
}
|
3647
|
+
|
3648
|
+
export declare enum JOURNEY_ID_TEACHER {
|
3649
|
+
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3650
|
+
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3435
3651
|
}
|
3436
3652
|
|
3437
3653
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3476,6 +3692,7 @@ export declare const LOTTIE: {
|
|
3476
3692
|
COLOR_1: string;
|
3477
3693
|
COLOR_2: string;
|
3478
3694
|
COLOR_3: string;
|
3695
|
+
COMPETITIVE_ARENA: string;
|
3479
3696
|
DIFFICULT: string;
|
3480
3697
|
EASY: string;
|
3481
3698
|
ELITE_CIRCLE: string;
|
@@ -3488,6 +3705,7 @@ export declare const LOTTIE: {
|
|
3488
3705
|
GOLD_3: string;
|
3489
3706
|
INFINITE_BUTTON_BG: string;
|
3490
3707
|
INFINITE_BUTTON_SYMBOL: string;
|
3708
|
+
LEARN: string;
|
3491
3709
|
LEVELUP_RINGS: string;
|
3492
3710
|
MEDIUM: string;
|
3493
3711
|
NUDGE_TAP: string;
|
@@ -3507,8 +3725,12 @@ export declare const LOTTIE: {
|
|
3507
3725
|
POINT50: string;
|
3508
3726
|
POINT5: string;
|
3509
3727
|
POINT60: string;
|
3728
|
+
PRACTICE: string;
|
3510
3729
|
PROFICIENT1X: string;
|
3730
|
+
PROJECT: string;
|
3731
|
+
PUZZLE: string;
|
3511
3732
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3733
|
+
RECAP: string;
|
3512
3734
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3513
3735
|
SILVER_1: string;
|
3514
3736
|
SILVER_2: string;
|
@@ -3521,10 +3743,12 @@ export declare const LOTTIE: {
|
|
3521
3743
|
TABLE_SEGMENT_STAR: string;
|
3522
3744
|
TARGET_ACHIEVED_TEXT: string;
|
3523
3745
|
TEACHER_VALIDATION: string;
|
3746
|
+
TEST: string;
|
3524
3747
|
TOTAL_STREAK: string;
|
3525
3748
|
TOTAL_TIME: string;
|
3526
3749
|
TOTAL_TIME_SPENT: string;
|
3527
3750
|
TOURNAMENT_RIPPLE: string;
|
3751
|
+
VIDEO: string;
|
3528
3752
|
};
|
3529
3753
|
|
3530
3754
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3563,6 +3787,21 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3563
3787
|
|
3564
3788
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3565
3789
|
|
3790
|
+
declare enum NODE_CARD_COURSE_TYPES {
|
3791
|
+
PROGRAM = "PROGRAM",
|
3792
|
+
REMEDIAL = "REMEDIAL",
|
3793
|
+
TEST_SERIES = "TEST_SERIES",
|
3794
|
+
EXAM = "EXAM"
|
3795
|
+
}
|
3796
|
+
|
3797
|
+
declare enum NODE_CARD_STATES {
|
3798
|
+
LOCKED = "LOCKED",
|
3799
|
+
NOT_STARTED = "NOT_STARTED",
|
3800
|
+
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3801
|
+
IN_PROGRESS = "IN_PROGRESS",
|
3802
|
+
COMPLETED = "COMPLETED"
|
3803
|
+
}
|
3804
|
+
|
3566
3805
|
export declare const NODE_LABELS: {
|
3567
3806
|
readonly ASSESSMENT: "ASSESSMENT";
|
3568
3807
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3708,6 +3947,7 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
3708
3947
|
export declare enum PLATFORM_EVENTS_STUDENT {
|
3709
3948
|
PAGE_VIEWED = "page_viewed",
|
3710
3949
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
3950
|
+
HOMEWORK_COMPLETED = "homework_completed",
|
3711
3951
|
ACTIVITY_STARTED = "activity_started",
|
3712
3952
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
3713
3953
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -3795,6 +4035,8 @@ declare const PUZZLE_CARD_STATE: {
|
|
3795
4035
|
|
3796
4036
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3797
4037
|
|
4038
|
+
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4039
|
+
|
3798
4040
|
export declare const PYTHON_NODE_TYPES: {
|
3799
4041
|
readonly PPT_BASIC: "PPT_BASIC";
|
3800
4042
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3815,6 +4057,18 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
3815
4057
|
|
3816
4058
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
3817
4059
|
|
4060
|
+
export declare const RecapIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4061
|
+
|
4062
|
+
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4063
|
+
|
4064
|
+
declare interface RecentChaptersProps {
|
4065
|
+
studentId: string;
|
4066
|
+
courseStream: TCourseStream;
|
4067
|
+
userType: TUserTypes;
|
4068
|
+
onChapterClick: IChaptersListProps['onChapterClick'];
|
4069
|
+
recentChaptersRef?: React.RefObject<HTMLDivElement>;
|
4070
|
+
}
|
4071
|
+
|
3818
4072
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3819
4073
|
|
3820
4074
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -3841,6 +4095,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
3841
4095
|
|
3842
4096
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3843
4097
|
|
4098
|
+
declare enum SECTION_CODE {
|
4099
|
+
READINESS = "READINESS",
|
4100
|
+
GOALS = "GOALS",
|
4101
|
+
TESTS = "TESTS",
|
4102
|
+
ENRICHMENT = "ENRICHMENT",
|
4103
|
+
SUBJECTIVE = "SUBJECTIVE",
|
4104
|
+
VIDEOS = "VIDEOS",
|
4105
|
+
NOTES = "NOTES",
|
4106
|
+
FLASHCARDS = "FLASHCARDS",
|
4107
|
+
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4108
|
+
}
|
4109
|
+
|
3844
4110
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
3845
4111
|
|
3846
4112
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -3904,6 +4170,8 @@ export { SketchIcon }
|
|
3904
4170
|
|
3905
4171
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3906
4172
|
|
4173
|
+
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4174
|
+
|
3907
4175
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3908
4176
|
|
3909
4177
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -3932,6 +4200,8 @@ export declare enum State {
|
|
3932
4200
|
HOLD = "HOLD"
|
3933
4201
|
}
|
3934
4202
|
|
4203
|
+
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4204
|
+
|
3935
4205
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
3936
4206
|
|
3937
4207
|
declare const STICKER_BADGE: {
|
@@ -4046,11 +4316,11 @@ declare type TBlockStatsData = {
|
|
4046
4316
|
|
4047
4317
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4048
4318
|
|
4049
|
-
declare type TBlockType = keyof typeof
|
4319
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
4050
4320
|
|
4051
4321
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4052
4322
|
|
4053
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4323
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray';
|
4054
4324
|
|
4055
4325
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4056
4326
|
|
@@ -4143,6 +4413,8 @@ declare type TCourseProgramPermissions = {
|
|
4143
4413
|
|
4144
4414
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4145
4415
|
|
4416
|
+
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4417
|
+
|
4146
4418
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4147
4419
|
|
4148
4420
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4172,6 +4444,8 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4172
4444
|
|
4173
4445
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4174
4446
|
|
4447
|
+
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4448
|
+
|
4175
4449
|
/**
|
4176
4450
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4177
4451
|
*/
|
@@ -4198,9 +4472,9 @@ declare interface TextProps {
|
|
4198
4472
|
|
4199
4473
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4200
4474
|
|
4201
|
-
declare type TGoalCategory =
|
4475
|
+
declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
|
4202
4476
|
|
4203
|
-
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY
|
4477
|
+
declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4204
4478
|
|
4205
4479
|
declare interface TGoals {
|
4206
4480
|
goal_code?: string;
|
@@ -4288,11 +4562,32 @@ export declare type TInclassMessage = {
|
|
4288
4562
|
eventPayload: {
|
4289
4563
|
worksheetId: string;
|
4290
4564
|
};
|
4565
|
+
} | {
|
4566
|
+
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4567
|
+
eventPayload: {
|
4568
|
+
studentId: string;
|
4569
|
+
};
|
4570
|
+
} | {
|
4571
|
+
eventName: typeof EVENTS.INVALIDATE_HOMEWORK;
|
4572
|
+
eventPayload: {
|
4573
|
+
studentId: string;
|
4574
|
+
};
|
4291
4575
|
} | {
|
4292
4576
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4293
4577
|
eventPayload: {
|
4294
4578
|
chapterId: string;
|
4295
4579
|
};
|
4580
|
+
} | {
|
4581
|
+
eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
|
4582
|
+
eventPayload: {
|
4583
|
+
chapterId: string;
|
4584
|
+
};
|
4585
|
+
} | {
|
4586
|
+
eventName: typeof EVENTS.SHEET_REATTEMPTED;
|
4587
|
+
eventPayload: {
|
4588
|
+
milestoneId: string;
|
4589
|
+
chapterId: string;
|
4590
|
+
};
|
4296
4591
|
} | {
|
4297
4592
|
eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
|
4298
4593
|
eventPayload: {
|
@@ -4417,7 +4712,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
|
|
4417
4712
|
|
4418
4713
|
declare type TItemType = 'overview' | 'learning-we-do' | 'learning-your-turn' | 'learning-explore' | 'practice-basic' | 'practice-basic-optional' | 'practice-regular' | 'practice-regular-optional' | 'exit-ticket' | 'advanced-we-do' | 'advanced-your-turn' | 'advanced-explore' | 'advanced-practice';
|
4419
4714
|
|
4420
|
-
export declare type TJourneyId = JOURNEY_ID_STUDENT;
|
4715
|
+
export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
|
4421
4716
|
|
4422
4717
|
declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
|
4423
4718
|
|
@@ -4664,11 +4959,19 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4664
4959
|
|
4665
4960
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4666
4961
|
|
4962
|
+
declare interface TNodeDataTestItemsDataProps {
|
4963
|
+
chapter_name: string;
|
4964
|
+
goal_name: string;
|
4965
|
+
ref: string;
|
4966
|
+
}
|
4967
|
+
|
4667
4968
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4668
4969
|
|
4669
4970
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4670
4971
|
|
4671
|
-
export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE';
|
4972
|
+
export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE' | 'VIDEO';
|
4973
|
+
|
4974
|
+
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4672
4975
|
|
4673
4976
|
export declare type TOnPreSubmitOptions = {
|
4674
4977
|
isDraftPlan: boolean;
|
@@ -4708,10 +5011,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4708
5011
|
|
4709
5012
|
declare type TQuery = {
|
4710
5013
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4711
|
-
with_plan: boolean;
|
4712
|
-
course_stream: TCourseStream;
|
4713
5014
|
student_id: string;
|
4714
|
-
|
5015
|
+
course_stream: TCourseStream;
|
4715
5016
|
};
|
4716
5017
|
|
4717
5018
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4796,6 +5097,8 @@ declare type TSectionSummary = {
|
|
4796
5097
|
|
4797
5098
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4798
5099
|
|
5100
|
+
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5101
|
+
|
4799
5102
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4800
5103
|
|
4801
5104
|
declare type TSheetBlockData = {
|
@@ -4857,6 +5160,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
4857
5160
|
|
4858
5161
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
4859
5162
|
|
5163
|
+
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5164
|
+
|
4860
5165
|
export declare type TSkillStatus = 'pending' | 'completed';
|
4861
5166
|
|
4862
5167
|
declare type TStickerData = {
|
@@ -4976,6 +5281,13 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
|
|
4976
5281
|
registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
|
4977
5282
|
};
|
4978
5283
|
|
5284
|
+
export declare const useChapterPageJourney: () => {
|
5285
|
+
chapterPageRef: RefObject<HTMLDivElement>;
|
5286
|
+
bannerRef: RefObject<HTMLDivElement>;
|
5287
|
+
coreBlocksRef: RefObject<HTMLDivElement>;
|
5288
|
+
startJourney: ({ chapterDetails, studentId, userType }: IChapterStartJourneyProps) => void;
|
5289
|
+
};
|
5290
|
+
|
4979
5291
|
export declare const useCircleSounds: () => {
|
4980
5292
|
playSwipSound: () => void;
|
4981
5293
|
play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
|
@@ -5025,7 +5337,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5025
5337
|
invalidateCircleHomeDetails: () => void;
|
5026
5338
|
};
|
5027
5339
|
|
5028
|
-
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) =>
|
5340
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => TJourneyId[];
|
5029
5341
|
|
5030
5342
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5031
5343
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
@@ -5047,8 +5359,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5047
5359
|
|
5048
5360
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5049
5361
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5050
|
-
resource: ResourceModel<
|
5051
|
-
data:
|
5362
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5363
|
+
data: INodeDataProps[] | undefined;
|
5052
5364
|
permissions: Record<string, unknown> | undefined;
|
5053
5365
|
isProcessing: boolean;
|
5054
5366
|
isProcessed: boolean;
|
@@ -5063,8 +5375,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5063
5375
|
get: (id: string, query: void, meta: {
|
5064
5376
|
studentId: string;
|
5065
5377
|
}) => Promise<void>;
|
5066
|
-
resource: ResourceModel<
|
5067
|
-
data:
|
5378
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5379
|
+
data: INodeDataProps[] | undefined;
|
5068
5380
|
permissions: Record<string, unknown> | undefined;
|
5069
5381
|
isProcessing: boolean;
|
5070
5382
|
isProcessed: boolean;
|
@@ -5075,6 +5387,14 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5075
5387
|
} & Record<string, unknown>) | undefined;
|
5076
5388
|
};
|
5077
5389
|
|
5390
|
+
export declare const useHomePageJourney: () => {
|
5391
|
+
homepageRef: RefObject<HTMLDivElement>;
|
5392
|
+
homeworkRef: RefObject<HTMLDivElement>;
|
5393
|
+
individualHomeworkRef: RefObject<HTMLDivElement>;
|
5394
|
+
recentChaptersRef: RefObject<HTMLDivElement>;
|
5395
|
+
startJourney: ({ hwDetails, studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5396
|
+
};
|
5397
|
+
|
5078
5398
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5079
5399
|
studentClassroomId: string | undefined;
|
5080
5400
|
}) => {
|
@@ -5163,7 +5483,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5163
5483
|
declare const ZINDEX: {
|
5164
5484
|
readonly CHAPTER_CROWN_ICON: 4;
|
5165
5485
|
readonly CHAPTER_PLUS_ICON: 2;
|
5166
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5486
|
+
readonly CHAPTER_PROGRESS_SVG: 2;
|
5167
5487
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5168
5488
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5169
5489
|
readonly MODAL: 20;
|