@cuemath/leap 2.9.7-rj-3 → 2.9.8-as1
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 +129 -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 +30 -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/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +100 -107
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +93 -96
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/constants.js +2 -3
- package/dist/features/circle-games/games/tutorial/constants.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js +17 -21
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial.js +41 -47
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view.js +52 -45
- 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 +23 -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/mocks/chapter-page-journey-mock-data.js +587 -0
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -0
- package/dist/features/journey/use-journey/constants.js +4 -2
- package/dist/features/journey/use-journey/constants.js.map +1 -1
- 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 -4
- 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 +2 -3
- 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/features/ui/theme/get-theme.js +18 -20
- package/dist/features/ui/theme/get-theme.js.map +1 -1
- package/dist/index.d.ts +357 -47
- 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/features/ui/theme/breakpoints.js +0 -11
- package/dist/features/ui/theme/breakpoints.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";
|
@@ -425,11 +452,6 @@ declare enum GENDER {
|
|
425
452
|
|
426
453
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
427
454
|
|
428
|
-
declare const getBreakpointsConfig: () => {
|
429
|
-
isMobile: boolean;
|
430
|
-
isDesktop: boolean;
|
431
|
-
};
|
432
|
-
|
433
455
|
declare const getButtonConfig: IGetButtonConfig;
|
434
456
|
|
435
457
|
declare const getCheckboxConfig: IGetCheckboxConfig;
|
@@ -474,8 +496,23 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
474
496
|
|
475
497
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
476
498
|
|
499
|
+
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
500
|
+
|
477
501
|
declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
|
478
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
|
+
|
479
516
|
declare interface IAccordionSectionProps {
|
480
517
|
headerElement: React.ReactElement;
|
481
518
|
bodyElement: React.ReactElement;
|
@@ -532,6 +569,7 @@ export declare interface IArrowTooltipProps {
|
|
532
569
|
width?: number;
|
533
570
|
widthX?: number;
|
534
571
|
zIndex?: number;
|
572
|
+
parentWidth?: number | string;
|
535
573
|
}
|
536
574
|
|
537
575
|
declare interface IAttempt {
|
@@ -632,6 +670,10 @@ declare interface IBaseWorksheetProps {
|
|
632
670
|
canShowActionBar?: boolean;
|
633
671
|
}
|
634
672
|
|
673
|
+
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
674
|
+
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
675
|
+
}
|
676
|
+
|
635
677
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
636
678
|
label: string;
|
637
679
|
renderAs: TButtonVariants;
|
@@ -702,10 +744,28 @@ declare interface ICascadingSelectInputProps {
|
|
702
744
|
|
703
745
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
704
746
|
search_and_added?: boolean;
|
705
|
-
total_supplementary_sheets: number;
|
706
747
|
learning_sheet_data: ILearningSheetData[];
|
707
748
|
}
|
708
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
|
+
|
709
769
|
export declare interface IChapterBlockV3 {
|
710
770
|
completed_on: number | null;
|
711
771
|
sheets: IWorksheetModelV3[];
|
@@ -735,11 +795,29 @@ export declare interface IChapterDataProps {
|
|
735
795
|
user_chapter_progress: IUserChapterProgressProps;
|
736
796
|
state: TUserChapterStates | null;
|
737
797
|
program_id: string;
|
798
|
+
progress_stat: {
|
799
|
+
classwork: IMilestoneData['progress_stat'];
|
800
|
+
mandatory: IMilestoneData['progress_stat'];
|
801
|
+
optional: IMilestoneData['progress_stat'];
|
802
|
+
};
|
738
803
|
sheets_data: {
|
739
804
|
lessons: ILessonsListProps['lessons'];
|
740
805
|
supplementary_sheets_group_sort_order: string[];
|
741
806
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
742
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, userChapterId, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
|
817
|
+
chapterPageRef?: React.RefObject<HTMLDivElement>;
|
818
|
+
bannerRef?: React.RefObject<HTMLDivElement>;
|
819
|
+
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
820
|
+
canStartJourney?: boolean;
|
743
821
|
}
|
744
822
|
|
745
823
|
declare interface IChapterModel {
|
@@ -764,6 +842,18 @@ declare interface IChapterModel {
|
|
764
842
|
mastery_time: number;
|
765
843
|
chapter_time_unit: TTimeUnit;
|
766
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;
|
767
857
|
}
|
768
858
|
|
769
859
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -791,6 +881,13 @@ declare interface IChaptersListProps {
|
|
791
881
|
isGoalCreation: boolean;
|
792
882
|
}
|
793
883
|
|
884
|
+
declare interface IChapterStartJourneyProps {
|
885
|
+
chapterDetails: IUserChapterData;
|
886
|
+
userChapterId: string;
|
887
|
+
studentId: string;
|
888
|
+
userType: TUserTypes;
|
889
|
+
}
|
890
|
+
|
794
891
|
declare interface IChapterState {
|
795
892
|
added?: boolean;
|
796
893
|
expanded?: boolean;
|
@@ -941,6 +1038,9 @@ declare interface IContextMenuProps {
|
|
941
1038
|
menuZIndex?: number;
|
942
1039
|
startLeft?: boolean;
|
943
1040
|
placeTop?: boolean;
|
1041
|
+
menuWidth?: number | string;
|
1042
|
+
menuWidthX?: number;
|
1043
|
+
handleOnMenuClick?: () => void;
|
944
1044
|
}
|
945
1045
|
|
946
1046
|
declare interface ICountdownTimer {
|
@@ -1199,7 +1299,7 @@ declare interface IGoalCurriculumMap {
|
|
1199
1299
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1200
1300
|
blocked_countries: string[];
|
1201
1301
|
course_stream: TCourseStream;
|
1202
|
-
goal_category:
|
1302
|
+
goal_category: TGoalCategory_2;
|
1203
1303
|
goal_curriculum_standard?: string;
|
1204
1304
|
goal_code: string;
|
1205
1305
|
goal_description: string | null;
|
@@ -1228,6 +1328,20 @@ declare interface IGradeSelectorProps {
|
|
1228
1328
|
layoutAlignment?: 'center' | 'auto';
|
1229
1329
|
}
|
1230
1330
|
|
1331
|
+
export declare interface IHomepageStartJourneyProps {
|
1332
|
+
hwDetails: INodeDataProps[];
|
1333
|
+
studentId: string;
|
1334
|
+
stream: string;
|
1335
|
+
userType: TUserTypes;
|
1336
|
+
}
|
1337
|
+
|
1338
|
+
declare interface IHomepageStartJourneyProps_2 {
|
1339
|
+
chapterDetails: IUserChapterData;
|
1340
|
+
userChapterId: string;
|
1341
|
+
studentId: string;
|
1342
|
+
userType: TUserTypes;
|
1343
|
+
}
|
1344
|
+
|
1231
1345
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1232
1346
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1233
1347
|
customBgColor?: TColorNames;
|
@@ -1321,8 +1435,9 @@ export declare interface IJourneyContext {
|
|
1321
1435
|
* @param id - The journey identifier.
|
1322
1436
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1323
1437
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1438
|
+
* @param shouldBlurNextJourney - If `true`, blurs the next journey.
|
1324
1439
|
*/
|
1325
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1440
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
|
1326
1441
|
/**
|
1327
1442
|
* Must be called to end journey and update the journey status on server.
|
1328
1443
|
* @param id - The journey id.
|
@@ -1402,8 +1517,7 @@ declare interface ILeaderboardProps {
|
|
1402
1517
|
}
|
1403
1518
|
|
1404
1519
|
declare interface ILearningSheetData {
|
1405
|
-
|
1406
|
-
learnosityRef: string;
|
1520
|
+
name: string;
|
1407
1521
|
}
|
1408
1522
|
|
1409
1523
|
declare interface ILearnosity {
|
@@ -1608,6 +1722,7 @@ export declare const ILLUSTRATIONS: {
|
|
1608
1722
|
CHAPTER_8: string;
|
1609
1723
|
CHAPTER_9: string;
|
1610
1724
|
CHAPTER_HEADER_BG: string;
|
1725
|
+
CHAPTER_HEADER_BG_2: string;
|
1611
1726
|
CIRCLE_CUEMATH_LOGO: string;
|
1612
1727
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1613
1728
|
CLOCK_ORANGE: string;
|
@@ -1649,6 +1764,14 @@ export declare const ILLUSTRATIONS: {
|
|
1649
1764
|
MILESTONE_INTRO_2: string;
|
1650
1765
|
MILESTONE_INTRO_3: string;
|
1651
1766
|
MISTAKE: string;
|
1767
|
+
NODE_CUSTOM_TEST_BG: string;
|
1768
|
+
NODE_LEARN_BG: string;
|
1769
|
+
NODE_PRACTICE_BG: string;
|
1770
|
+
NODE_PROJECT_BG: string;
|
1771
|
+
NODE_PUZZLE_BG: string;
|
1772
|
+
NODE_RECAP_BG: string;
|
1773
|
+
NODE_TEST_PREP_BG: string;
|
1774
|
+
NODE_VIDEO_BG: string;
|
1652
1775
|
NUMBER_1_ORANGE: string;
|
1653
1776
|
NUMBER_2_ORANGE: string;
|
1654
1777
|
NUMBER_3_ORANGE: string;
|
@@ -1829,7 +1952,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1829
1952
|
parentName?: string;
|
1830
1953
|
teacherName?: string;
|
1831
1954
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1832
|
-
onAddOutcome?: (milestoneId
|
1955
|
+
onAddOutcome?: (milestoneId?: string) => void;
|
1833
1956
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1834
1957
|
isClassOngoing?: boolean;
|
1835
1958
|
isStudentPresent?: boolean;
|
@@ -1868,6 +1991,8 @@ declare interface IMileStoneCreateProps {
|
|
1868
1991
|
milestoneId?: string;
|
1869
1992
|
currentCountryCode?: string;
|
1870
1993
|
courseStream: TCourseStream;
|
1994
|
+
canDeleteGoal?: boolean;
|
1995
|
+
onDeleteGoal?: () => void;
|
1871
1996
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1872
1997
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1873
1998
|
onExit?: () => void;
|
@@ -1881,7 +2006,7 @@ export declare interface IMilestoneData {
|
|
1881
2006
|
course_stream: TCourseStream;
|
1882
2007
|
grade: string;
|
1883
2008
|
board: string;
|
1884
|
-
goal_category:
|
2009
|
+
goal_category: TGoalCategory;
|
1885
2010
|
goal_code: string | null;
|
1886
2011
|
created_on_ts: number;
|
1887
2012
|
milestone_date_ts: number;
|
@@ -1896,6 +2021,10 @@ export declare interface IMilestoneData {
|
|
1896
2021
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1897
2022
|
permissions: IMilestoneCardPermissions;
|
1898
2023
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2024
|
+
progress_stat: {
|
2025
|
+
total: number;
|
2026
|
+
completed: number;
|
2027
|
+
} | null;
|
1899
2028
|
}
|
1900
2029
|
|
1901
2030
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -1973,7 +2102,7 @@ declare interface IMilestoneStartProps {
|
|
1973
2102
|
handleOnClick?: () => void;
|
1974
2103
|
}
|
1975
2104
|
|
1976
|
-
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps,
|
2105
|
+
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, INodeCardCallbacks {
|
1977
2106
|
isPlanAvailable: boolean;
|
1978
2107
|
isMilestoneActive: boolean;
|
1979
2108
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2008,7 +2137,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2008
2137
|
courseStream: TCourseStream;
|
2009
2138
|
}
|
2010
2139
|
|
2011
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2140
|
+
declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
|
2012
2141
|
userType: TUserTypes;
|
2013
2142
|
studentId: string;
|
2014
2143
|
userMilestoneId?: string;
|
@@ -2050,6 +2179,67 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2050
2179
|
|
2051
2180
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2052
2181
|
|
2182
|
+
declare interface INodeCardCallbacks {
|
2183
|
+
onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
|
2184
|
+
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2185
|
+
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
|
2186
|
+
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2187
|
+
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2188
|
+
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2189
|
+
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2190
|
+
onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2191
|
+
}
|
2192
|
+
|
2193
|
+
export declare interface INodeDataProps {
|
2194
|
+
accuracy: number | null;
|
2195
|
+
attempt_location: TSheetAttemptLocation_2;
|
2196
|
+
block_id: string;
|
2197
|
+
card_header: string;
|
2198
|
+
chapter_id: string;
|
2199
|
+
complete_status: boolean;
|
2200
|
+
course_type: TCourseType;
|
2201
|
+
desmos_calculator_enabled: boolean;
|
2202
|
+
due_date_ts: number | null;
|
2203
|
+
is_lesson_v3_enabled: boolean;
|
2204
|
+
is_optional: boolean;
|
2205
|
+
is_timed: boolean;
|
2206
|
+
is_worksheet_v3: boolean | null;
|
2207
|
+
learnosity_activity_ref: string;
|
2208
|
+
marked_as_completed: boolean;
|
2209
|
+
node_id: string;
|
2210
|
+
node_type: TNodeTypes_2;
|
2211
|
+
sheet_statement: string;
|
2212
|
+
permissions: INodePermissions;
|
2213
|
+
sheet_time: number | null;
|
2214
|
+
state: TSheetStates;
|
2215
|
+
title: string;
|
2216
|
+
user_chapter_id: string | null;
|
2217
|
+
user_node_id: string | null;
|
2218
|
+
worksheet_id: string;
|
2219
|
+
image_url: string;
|
2220
|
+
image_hue: THueNames;
|
2221
|
+
total_questions: number | null;
|
2222
|
+
unlocked_on_ts: number | null;
|
2223
|
+
items?: TNodeDataTestItemsDataProps[];
|
2224
|
+
user_milestone_id?: string;
|
2225
|
+
user_attempt_id: string | null;
|
2226
|
+
subtext: string | null;
|
2227
|
+
homework_id?: string;
|
2228
|
+
chapter_name?: string;
|
2229
|
+
}
|
2230
|
+
|
2231
|
+
declare interface INodePermissions {
|
2232
|
+
can_change_attempt_location: boolean;
|
2233
|
+
can_mark_familiar: boolean;
|
2234
|
+
can_reattempt: boolean;
|
2235
|
+
can_reset: boolean;
|
2236
|
+
can_resume: boolean;
|
2237
|
+
can_review: boolean;
|
2238
|
+
can_start: boolean;
|
2239
|
+
can_teacher_review: boolean;
|
2240
|
+
can_unassign: boolean;
|
2241
|
+
}
|
2242
|
+
|
2053
2243
|
export declare interface INudgeProps {
|
2054
2244
|
nudge: 'click';
|
2055
2245
|
content: ReactNode;
|
@@ -2058,6 +2248,10 @@ export declare interface INudgeProps {
|
|
2058
2248
|
zIndex?: number;
|
2059
2249
|
}
|
2060
2250
|
|
2251
|
+
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2252
|
+
|
2253
|
+
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2254
|
+
|
2061
2255
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2062
2256
|
|
2063
2257
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2824,13 +3018,7 @@ declare interface ITestsCreationProps {
|
|
2824
3018
|
onError: (errorMessage?: string) => void;
|
2825
3019
|
}
|
2826
3020
|
|
2827
|
-
declare interface
|
2828
|
-
onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
|
2829
|
-
onTestStart?: (sheetData: ISheetDataProps) => void;
|
2830
|
-
onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
|
2831
|
-
}
|
2832
|
-
|
2833
|
-
declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
3021
|
+
declare interface ITestsListProps {
|
2834
3022
|
userType: TUserTypes;
|
2835
3023
|
studentId: string;
|
2836
3024
|
userMilestoneId: string;
|
@@ -2839,6 +3027,10 @@ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
|
2839
3027
|
isDraftMilestone?: boolean;
|
2840
3028
|
isChaptersAvailable?: boolean;
|
2841
3029
|
canUpdatePlan?: boolean;
|
3030
|
+
onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
3031
|
+
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3032
|
+
onTestStart?: (sheetData: INodeDataProps) => void;
|
3033
|
+
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
2842
3034
|
}
|
2843
3035
|
|
2844
3036
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -2877,7 +3069,6 @@ export declare interface ITheme {
|
|
2877
3069
|
textButton: ReturnType<typeof getTextButtonConfig>;
|
2878
3070
|
zIndex: ReturnType<typeof getZIndexConfig>;
|
2879
3071
|
checkbox: ReturnType<typeof getCheckboxConfig>;
|
2880
|
-
breakpoints: ReturnType<typeof getBreakpointsConfig>;
|
2881
3072
|
}
|
2882
3073
|
|
2883
3074
|
declare interface ITile {
|
@@ -2999,11 +3190,6 @@ export declare interface ITutorialProps {
|
|
2999
3190
|
onCross?: () => void;
|
3000
3191
|
showProgress?: boolean;
|
3001
3192
|
onTutorialPlayedOnce?: () => void;
|
3002
|
-
isJourneyActive?: boolean;
|
3003
|
-
}
|
3004
|
-
|
3005
|
-
export declare interface ITutorialRef {
|
3006
|
-
videoRef: React.RefObject<HTMLElement>;
|
3007
3193
|
}
|
3008
3194
|
|
3009
3195
|
declare interface IUpdateImages {
|
@@ -3089,6 +3275,20 @@ declare interface IusePointerSyncProps {
|
|
3089
3275
|
targetUserId?: string;
|
3090
3276
|
}
|
3091
3277
|
|
3278
|
+
export declare interface IUserChapterData {
|
3279
|
+
chapter_code: string;
|
3280
|
+
chapter_id: string;
|
3281
|
+
chapter_tags: string[];
|
3282
|
+
id: string;
|
3283
|
+
image_hue: THueNames;
|
3284
|
+
image_url: string;
|
3285
|
+
item_bank_enabled: boolean;
|
3286
|
+
name: string;
|
3287
|
+
program_id: string;
|
3288
|
+
progress_stat: IChapterProgressStats | null;
|
3289
|
+
blocks: IChapterBlockData[];
|
3290
|
+
}
|
3291
|
+
|
3092
3292
|
declare interface IUserChapterProgressProps {
|
3093
3293
|
familiar_sheets: number;
|
3094
3294
|
mastered_sheets: number;
|
@@ -3442,7 +3642,14 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3442
3642
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3443
3643
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3444
3644
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3445
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3645
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
3646
|
+
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3647
|
+
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3648
|
+
}
|
3649
|
+
|
3650
|
+
export declare enum JOURNEY_ID_TEACHER {
|
3651
|
+
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3652
|
+
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3446
3653
|
}
|
3447
3654
|
|
3448
3655
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3487,6 +3694,7 @@ export declare const LOTTIE: {
|
|
3487
3694
|
COLOR_1: string;
|
3488
3695
|
COLOR_2: string;
|
3489
3696
|
COLOR_3: string;
|
3697
|
+
COMPETITIVE_ARENA: string;
|
3490
3698
|
DIFFICULT: string;
|
3491
3699
|
EASY: string;
|
3492
3700
|
ELITE_CIRCLE: string;
|
@@ -3499,6 +3707,7 @@ export declare const LOTTIE: {
|
|
3499
3707
|
GOLD_3: string;
|
3500
3708
|
INFINITE_BUTTON_BG: string;
|
3501
3709
|
INFINITE_BUTTON_SYMBOL: string;
|
3710
|
+
LEARN: string;
|
3502
3711
|
LEVELUP_RINGS: string;
|
3503
3712
|
MEDIUM: string;
|
3504
3713
|
NUDGE_TAP: string;
|
@@ -3518,8 +3727,12 @@ export declare const LOTTIE: {
|
|
3518
3727
|
POINT50: string;
|
3519
3728
|
POINT5: string;
|
3520
3729
|
POINT60: string;
|
3730
|
+
PRACTICE: string;
|
3521
3731
|
PROFICIENT1X: string;
|
3732
|
+
PROJECT: string;
|
3733
|
+
PUZZLE: string;
|
3522
3734
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3735
|
+
RECAP: string;
|
3523
3736
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3524
3737
|
SILVER_1: string;
|
3525
3738
|
SILVER_2: string;
|
@@ -3532,10 +3745,12 @@ export declare const LOTTIE: {
|
|
3532
3745
|
TABLE_SEGMENT_STAR: string;
|
3533
3746
|
TARGET_ACHIEVED_TEXT: string;
|
3534
3747
|
TEACHER_VALIDATION: string;
|
3748
|
+
TEST: string;
|
3535
3749
|
TOTAL_STREAK: string;
|
3536
3750
|
TOTAL_TIME: string;
|
3537
3751
|
TOTAL_TIME_SPENT: string;
|
3538
3752
|
TOURNAMENT_RIPPLE: string;
|
3753
|
+
VIDEO: string;
|
3539
3754
|
};
|
3540
3755
|
|
3541
3756
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3574,6 +3789,21 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3574
3789
|
|
3575
3790
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3576
3791
|
|
3792
|
+
declare enum NODE_CARD_COURSE_TYPES {
|
3793
|
+
PROGRAM = "PROGRAM",
|
3794
|
+
REMEDIAL = "REMEDIAL",
|
3795
|
+
TEST_SERIES = "TEST_SERIES",
|
3796
|
+
EXAM = "EXAM"
|
3797
|
+
}
|
3798
|
+
|
3799
|
+
declare enum NODE_CARD_STATES {
|
3800
|
+
LOCKED = "LOCKED",
|
3801
|
+
NOT_STARTED = "NOT_STARTED",
|
3802
|
+
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3803
|
+
IN_PROGRESS = "IN_PROGRESS",
|
3804
|
+
COMPLETED = "COMPLETED"
|
3805
|
+
}
|
3806
|
+
|
3577
3807
|
export declare const NODE_LABELS: {
|
3578
3808
|
readonly ASSESSMENT: "ASSESSMENT";
|
3579
3809
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3719,6 +3949,7 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
3719
3949
|
export declare enum PLATFORM_EVENTS_STUDENT {
|
3720
3950
|
PAGE_VIEWED = "page_viewed",
|
3721
3951
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
3952
|
+
HOMEWORK_COMPLETED = "homework_completed",
|
3722
3953
|
ACTIVITY_STARTED = "activity_started",
|
3723
3954
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
3724
3955
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -3806,6 +4037,8 @@ declare const PUZZLE_CARD_STATE: {
|
|
3806
4037
|
|
3807
4038
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3808
4039
|
|
4040
|
+
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4041
|
+
|
3809
4042
|
export declare const PYTHON_NODE_TYPES: {
|
3810
4043
|
readonly PPT_BASIC: "PPT_BASIC";
|
3811
4044
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3826,6 +4059,18 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
3826
4059
|
|
3827
4060
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
3828
4061
|
|
4062
|
+
export declare const RecapIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4063
|
+
|
4064
|
+
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4065
|
+
|
4066
|
+
declare interface RecentChaptersProps {
|
4067
|
+
studentId: string;
|
4068
|
+
courseStream: TCourseStream;
|
4069
|
+
userType: TUserTypes;
|
4070
|
+
onChapterClick: IChaptersListProps['onChapterClick'];
|
4071
|
+
recentChaptersRef?: React.RefObject<HTMLDivElement>;
|
4072
|
+
}
|
4073
|
+
|
3829
4074
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3830
4075
|
|
3831
4076
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -3852,6 +4097,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
3852
4097
|
|
3853
4098
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3854
4099
|
|
4100
|
+
declare enum SECTION_CODE {
|
4101
|
+
READINESS = "READINESS",
|
4102
|
+
GOALS = "GOALS",
|
4103
|
+
TESTS = "TESTS",
|
4104
|
+
ENRICHMENT = "ENRICHMENT",
|
4105
|
+
SUBJECTIVE = "SUBJECTIVE",
|
4106
|
+
VIDEOS = "VIDEOS",
|
4107
|
+
NOTES = "NOTES",
|
4108
|
+
FLASHCARDS = "FLASHCARDS",
|
4109
|
+
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4110
|
+
}
|
4111
|
+
|
3855
4112
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
3856
4113
|
|
3857
4114
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -3915,6 +4172,8 @@ export { SketchIcon }
|
|
3915
4172
|
|
3916
4173
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3917
4174
|
|
4175
|
+
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4176
|
+
|
3918
4177
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3919
4178
|
|
3920
4179
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -3943,6 +4202,8 @@ export declare enum State {
|
|
3943
4202
|
HOLD = "HOLD"
|
3944
4203
|
}
|
3945
4204
|
|
4205
|
+
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4206
|
+
|
3946
4207
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
3947
4208
|
|
3948
4209
|
declare const STICKER_BADGE: {
|
@@ -4057,11 +4318,11 @@ declare type TBlockStatsData = {
|
|
4057
4318
|
|
4058
4319
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4059
4320
|
|
4060
|
-
declare type TBlockType = keyof typeof
|
4321
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
4061
4322
|
|
4062
4323
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4063
4324
|
|
4064
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4325
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray';
|
4065
4326
|
|
4066
4327
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4067
4328
|
|
@@ -4154,6 +4415,8 @@ declare type TCourseProgramPermissions = {
|
|
4154
4415
|
|
4155
4416
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4156
4417
|
|
4418
|
+
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4419
|
+
|
4157
4420
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4158
4421
|
|
4159
4422
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4183,6 +4446,8 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4183
4446
|
|
4184
4447
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4185
4448
|
|
4449
|
+
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4450
|
+
|
4186
4451
|
/**
|
4187
4452
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4188
4453
|
*/
|
@@ -4209,9 +4474,9 @@ declare interface TextProps {
|
|
4209
4474
|
|
4210
4475
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4211
4476
|
|
4212
|
-
declare type TGoalCategory =
|
4477
|
+
declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
|
4213
4478
|
|
4214
|
-
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY
|
4479
|
+
declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4215
4480
|
|
4216
4481
|
declare interface TGoals {
|
4217
4482
|
goal_code?: string;
|
@@ -4299,11 +4564,32 @@ export declare type TInclassMessage = {
|
|
4299
4564
|
eventPayload: {
|
4300
4565
|
worksheetId: string;
|
4301
4566
|
};
|
4567
|
+
} | {
|
4568
|
+
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4569
|
+
eventPayload: {
|
4570
|
+
studentId: string;
|
4571
|
+
};
|
4572
|
+
} | {
|
4573
|
+
eventName: typeof EVENTS.INVALIDATE_HOMEWORK;
|
4574
|
+
eventPayload: {
|
4575
|
+
studentId: string;
|
4576
|
+
};
|
4302
4577
|
} | {
|
4303
4578
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4304
4579
|
eventPayload: {
|
4305
4580
|
chapterId: string;
|
4306
4581
|
};
|
4582
|
+
} | {
|
4583
|
+
eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
|
4584
|
+
eventPayload: {
|
4585
|
+
chapterId: string;
|
4586
|
+
};
|
4587
|
+
} | {
|
4588
|
+
eventName: typeof EVENTS.SHEET_REATTEMPTED;
|
4589
|
+
eventPayload: {
|
4590
|
+
milestoneId: string;
|
4591
|
+
chapterId: string;
|
4592
|
+
};
|
4307
4593
|
} | {
|
4308
4594
|
eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
|
4309
4595
|
eventPayload: {
|
@@ -4428,7 +4714,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
|
|
4428
4714
|
|
4429
4715
|
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';
|
4430
4716
|
|
4431
|
-
export declare type TJourneyId = JOURNEY_ID_STUDENT;
|
4717
|
+
export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
|
4432
4718
|
|
4433
4719
|
declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
|
4434
4720
|
|
@@ -4675,11 +4961,19 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4675
4961
|
|
4676
4962
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4677
4963
|
|
4964
|
+
declare interface TNodeDataTestItemsDataProps {
|
4965
|
+
chapter_name: string;
|
4966
|
+
goal_name: string;
|
4967
|
+
ref: string;
|
4968
|
+
}
|
4969
|
+
|
4678
4970
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4679
4971
|
|
4680
4972
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4681
4973
|
|
4682
|
-
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';
|
4974
|
+
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';
|
4975
|
+
|
4976
|
+
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4683
4977
|
|
4684
4978
|
export declare type TOnPreSubmitOptions = {
|
4685
4979
|
isDraftPlan: boolean;
|
@@ -4719,10 +5013,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4719
5013
|
|
4720
5014
|
declare type TQuery = {
|
4721
5015
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4722
|
-
with_plan: boolean;
|
4723
|
-
course_stream: TCourseStream;
|
4724
5016
|
student_id: string;
|
4725
|
-
|
5017
|
+
course_stream: TCourseStream;
|
4726
5018
|
};
|
4727
5019
|
|
4728
5020
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4807,6 +5099,8 @@ declare type TSectionSummary = {
|
|
4807
5099
|
|
4808
5100
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4809
5101
|
|
5102
|
+
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5103
|
+
|
4810
5104
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4811
5105
|
|
4812
5106
|
declare type TSheetBlockData = {
|
@@ -4868,6 +5162,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
4868
5162
|
|
4869
5163
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
4870
5164
|
|
5165
|
+
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5166
|
+
|
4871
5167
|
export declare type TSkillStatus = 'pending' | 'completed';
|
4872
5168
|
|
4873
5169
|
declare type TStickerData = {
|
@@ -4957,7 +5253,7 @@ declare type TUserProgram = {
|
|
4957
5253
|
|
4958
5254
|
export declare type TUserTypes = 'TEACHER' | 'STUDENT';
|
4959
5255
|
|
4960
|
-
export declare const Tutorial:
|
5256
|
+
export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialPlayedOnce, }: ITutorialProps) => JSX_2.Element;
|
4961
5257
|
|
4962
5258
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
4963
5259
|
|
@@ -4987,6 +5283,13 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
|
|
4987
5283
|
registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
|
4988
5284
|
};
|
4989
5285
|
|
5286
|
+
export declare const useChapterPageJourney: () => {
|
5287
|
+
chapterPageRef: RefObject<HTMLDivElement>;
|
5288
|
+
bannerRef: RefObject<HTMLDivElement>;
|
5289
|
+
coreBlocksRef: RefObject<HTMLDivElement>;
|
5290
|
+
startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
|
5291
|
+
};
|
5292
|
+
|
4990
5293
|
export declare const useCircleSounds: () => {
|
4991
5294
|
playSwipSound: () => void;
|
4992
5295
|
play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
|
@@ -5036,7 +5339,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5036
5339
|
invalidateCircleHomeDetails: () => void;
|
5037
5340
|
};
|
5038
5341
|
|
5039
|
-
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) =>
|
5342
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => TJourneyId[];
|
5040
5343
|
|
5041
5344
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5042
5345
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
@@ -5058,8 +5361,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5058
5361
|
|
5059
5362
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5060
5363
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5061
|
-
resource: ResourceModel<
|
5062
|
-
data:
|
5364
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5365
|
+
data: INodeDataProps[] | undefined;
|
5063
5366
|
permissions: Record<string, unknown> | undefined;
|
5064
5367
|
isProcessing: boolean;
|
5065
5368
|
isProcessed: boolean;
|
@@ -5074,8 +5377,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5074
5377
|
get: (id: string, query: void, meta: {
|
5075
5378
|
studentId: string;
|
5076
5379
|
}) => Promise<void>;
|
5077
|
-
resource: ResourceModel<
|
5078
|
-
data:
|
5380
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5381
|
+
data: INodeDataProps[] | undefined;
|
5079
5382
|
permissions: Record<string, unknown> | undefined;
|
5080
5383
|
isProcessing: boolean;
|
5081
5384
|
isProcessed: boolean;
|
@@ -5086,6 +5389,14 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5086
5389
|
} & Record<string, unknown>) | undefined;
|
5087
5390
|
};
|
5088
5391
|
|
5392
|
+
export declare const useHomePageJourney: () => {
|
5393
|
+
homepageRef: RefObject<HTMLDivElement>;
|
5394
|
+
homeworkRef: RefObject<HTMLDivElement>;
|
5395
|
+
individualHomeworkRef: RefObject<HTMLDivElement>;
|
5396
|
+
recentChaptersRef: RefObject<HTMLDivElement>;
|
5397
|
+
startJourney: ({ hwDetails, studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5398
|
+
};
|
5399
|
+
|
5089
5400
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5090
5401
|
studentClassroomId: string | undefined;
|
5091
5402
|
}) => {
|
@@ -5174,7 +5485,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5174
5485
|
declare const ZINDEX: {
|
5175
5486
|
readonly CHAPTER_CROWN_ICON: 4;
|
5176
5487
|
readonly CHAPTER_PLUS_ICON: 2;
|
5177
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5488
|
+
readonly CHAPTER_PROGRESS_SVG: 2;
|
5178
5489
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5179
5490
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5180
5491
|
readonly MODAL: 20;
|
@@ -5184,7 +5495,6 @@ declare const ZINDEX: {
|
|
5184
5495
|
readonly QUESTION_TIPS: -1;
|
5185
5496
|
readonly DESMOS_CALCULATOR: 2;
|
5186
5497
|
readonly GOAL_CHAPTER_SHEETS_MENU: 4;
|
5187
|
-
readonly JOURNEY_OVERLAY: 1000;
|
5188
5498
|
};
|
5189
5499
|
|
5190
5500
|
export { }
|