@cuemath/leap 2.9.11 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +9 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- 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/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/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/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/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 +187 -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 +192 -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 +45 -0
- package/dist/features/chapters-v2/utils/index.js.map +1 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js +169 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
- 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-view.js +157 -0
- package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -0
- package/dist/features/homework/hw-card-list/hw-card-list.js +67 -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.js +24 -24
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-chapter-journey.js +173 -0
- package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +268 -0
- package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +513 -0
- package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/styles.js +23 -0
- package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +22 -0
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +270 -0
- package/dist/features/journey/hooks/use-home-page-journey/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 +584 -0
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.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/test-stages/chapter-selection/chapter-item/chapter-item.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/trial-session/comps/learning-plan/index.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 +25 -17
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +32 -24
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/theme/button.js +24 -7
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +341 -34
- package/dist/index.js +447 -425
- 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
@@ -27,7 +27,7 @@ import * as React_3 from 'react';
|
|
27
27
|
import type { ReactElement } from 'react';
|
28
28
|
import { ReactNode } from 'react';
|
29
29
|
import { RefAttributes } from 'react';
|
30
|
-
import
|
30
|
+
import { RefObject } from 'react';
|
31
31
|
import { ResourceModel } from '@cuemath/rest-api';
|
32
32
|
import type { SetStateAction } from 'react';
|
33
33
|
import { Substitute } from 'styled-components/dist/types';
|
@@ -95,7 +95,22 @@ declare const BLOCK_STATUS: {
|
|
95
95
|
readonly LOCKED: "LOCKED";
|
96
96
|
};
|
97
97
|
|
98
|
-
declare
|
98
|
+
declare enum BLOCK_TYPE {
|
99
|
+
DEFAULT = "DEFAULT",
|
100
|
+
PREREQ = "PREREQ",
|
101
|
+
RECAP = "RECAP",
|
102
|
+
GOAL = "GOAL",
|
103
|
+
TESTS = "TESTS",
|
104
|
+
PLAYLIST = "PLAYLIST",
|
105
|
+
SOLUTIONS = "SOLUTIONS",
|
106
|
+
NOTES = "NOTES",
|
107
|
+
FLASHCARDS = "FLASHCARDS",
|
108
|
+
SUBJECTIVES = "SUBJECTIVES",
|
109
|
+
PUZZLE_CARDS = "PUZZLE_CARDS",
|
110
|
+
SAT_MOCK_TEST = "SAT_MOCK_TEST"
|
111
|
+
}
|
112
|
+
|
113
|
+
declare const BLOCK_TYPE_2: {
|
99
114
|
readonly DEFAULT: "DEFAULT";
|
100
115
|
readonly PREREQ: "PREREQ";
|
101
116
|
readonly RECAP: "RECAP";
|
@@ -149,6 +164,8 @@ declare const CHAPTER_PERMISSION_CODES: {
|
|
149
164
|
|
150
165
|
export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
|
151
166
|
|
167
|
+
export declare const ChapterDetails: FC<IChapterDetails>;
|
168
|
+
|
152
169
|
export declare const ChaptersList: FC<IChaptersListProps>;
|
153
170
|
|
154
171
|
export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -334,6 +351,8 @@ declare interface ErrorProps {
|
|
334
351
|
}
|
335
352
|
|
336
353
|
export declare const EVENTS: {
|
354
|
+
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
355
|
+
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
337
356
|
GOAL_CREATED: "GOAL_CREATED";
|
338
357
|
GOAL_EDITED: "GOAL_EDITED";
|
339
358
|
GOAL_DELETED: "GOAL_DELETED";
|
@@ -356,6 +375,8 @@ export declare const EVENTS: {
|
|
356
375
|
CHANGE_LOCATION: "CHANGE_LOCATION";
|
357
376
|
SHEET_STARTED: "SHEET_STARTED";
|
358
377
|
SHEET_UNASSIGNED: "SHEET_UNASSIGNED";
|
378
|
+
SHEET_REATTEMPTED: "SHEET_REATTEMPTED";
|
379
|
+
INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION";
|
359
380
|
};
|
360
381
|
|
361
382
|
declare type EventToPayload<T> = T extends {
|
@@ -363,6 +384,8 @@ declare type EventToPayload<T> = T extends {
|
|
363
384
|
eventPayload: infer P;
|
364
385
|
} ? [E] | [E, Partial<P>] : never;
|
365
386
|
|
387
|
+
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
388
|
+
|
366
389
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
367
390
|
|
368
391
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -472,8 +495,22 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
472
495
|
|
473
496
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
474
497
|
|
498
|
+
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
499
|
+
|
475
500
|
declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
|
476
501
|
|
502
|
+
declare interface HWCardListProps extends INodeCardCallbacks {
|
503
|
+
userType: TUserTypes;
|
504
|
+
studentId: string;
|
505
|
+
stream: string;
|
506
|
+
onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
507
|
+
onTestStart?: (sheetData: INodeDataProps, homeworkId?: string) => void;
|
508
|
+
onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
509
|
+
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
510
|
+
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
511
|
+
canStartJourney?: boolean;
|
512
|
+
}
|
513
|
+
|
477
514
|
declare interface IAccordionSectionProps {
|
478
515
|
headerElement: React.ReactElement;
|
479
516
|
bodyElement: React.ReactElement;
|
@@ -542,6 +579,7 @@ export declare interface IArrowTooltipProps {
|
|
542
579
|
width?: number;
|
543
580
|
widthX?: number;
|
544
581
|
zIndex?: number;
|
582
|
+
parentWidth?: number | string;
|
545
583
|
}
|
546
584
|
|
547
585
|
declare interface IAttempt {
|
@@ -643,6 +681,10 @@ declare interface IBaseWorksheetProps {
|
|
643
681
|
canShowActionBar?: boolean;
|
644
682
|
}
|
645
683
|
|
684
|
+
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
685
|
+
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
686
|
+
}
|
687
|
+
|
646
688
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
647
689
|
label: string;
|
648
690
|
renderAs: TButtonVariants;
|
@@ -713,10 +755,27 @@ declare interface ICascadingSelectInputProps {
|
|
713
755
|
|
714
756
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
715
757
|
search_and_added?: boolean;
|
716
|
-
total_supplementary_sheets: number;
|
717
758
|
learning_sheet_data: ILearningSheetData[];
|
718
759
|
}
|
719
760
|
|
761
|
+
export declare interface IChapterBlockData {
|
762
|
+
block_type: keyof typeof BLOCK_TYPE;
|
763
|
+
chapter_code: string;
|
764
|
+
code: string;
|
765
|
+
block_id: string;
|
766
|
+
name: string;
|
767
|
+
permissions: IChapterBlockPermission;
|
768
|
+
program_id: string;
|
769
|
+
section_code: keyof typeof SECTION_CODE;
|
770
|
+
sheets: INodeDataProps[];
|
771
|
+
user_block_id: string | null;
|
772
|
+
}
|
773
|
+
|
774
|
+
declare interface IChapterBlockPermission {
|
775
|
+
can_skip: boolean;
|
776
|
+
can_un_skip: boolean;
|
777
|
+
}
|
778
|
+
|
720
779
|
export declare interface IChapterBlockV3 {
|
721
780
|
completed_on: number | null;
|
722
781
|
sheets: IWorksheetModelV3[];
|
@@ -746,11 +805,29 @@ export declare interface IChapterDataProps {
|
|
746
805
|
user_chapter_progress: IUserChapterProgressProps;
|
747
806
|
state: TUserChapterStates | null;
|
748
807
|
program_id: string;
|
808
|
+
progress_stat: {
|
809
|
+
classwork: IMilestoneData['progress_stat'];
|
810
|
+
mandatory: IMilestoneData['progress_stat'];
|
811
|
+
optional: IMilestoneData['progress_stat'];
|
812
|
+
};
|
749
813
|
sheets_data: {
|
750
814
|
lessons: ILessonsListProps['lessons'];
|
751
815
|
supplementary_sheets_group_sort_order: string[];
|
752
816
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
753
817
|
};
|
818
|
+
blocks: IUserChapterData['blocks'];
|
819
|
+
}
|
820
|
+
|
821
|
+
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
822
|
+
userType: TUserTypes;
|
823
|
+
userChapterId: string;
|
824
|
+
studentId: string;
|
825
|
+
onExit?: () => void;
|
826
|
+
startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IChapterPageStartJourneyProps) => void;
|
827
|
+
chapterPageRef?: React.RefObject<HTMLDivElement>;
|
828
|
+
bannerRef?: React.RefObject<HTMLDivElement>;
|
829
|
+
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
830
|
+
canStartJourney?: boolean;
|
754
831
|
}
|
755
832
|
|
756
833
|
declare interface IChapterModel {
|
@@ -775,6 +852,25 @@ declare interface IChapterModel {
|
|
775
852
|
mastery_time: number;
|
776
853
|
chapter_time_unit: TTimeUnit;
|
777
854
|
is_puzzle_chapter?: boolean;
|
855
|
+
blocks: IUserChapterData['blocks'];
|
856
|
+
}
|
857
|
+
|
858
|
+
declare interface IChapterPageStartJourneyProps {
|
859
|
+
chapterDetails: IUserChapterData;
|
860
|
+
userChapterId: string;
|
861
|
+
studentId: string;
|
862
|
+
userType: TUserTypes;
|
863
|
+
}
|
864
|
+
|
865
|
+
declare interface IChapterProgressInfo {
|
866
|
+
completed: number;
|
867
|
+
total: number;
|
868
|
+
}
|
869
|
+
|
870
|
+
declare interface IChapterProgressStats {
|
871
|
+
mandatory: IChapterProgressInfo;
|
872
|
+
classwork: IChapterProgressInfo;
|
873
|
+
optional: IChapterProgressInfo;
|
778
874
|
}
|
779
875
|
|
780
876
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -802,6 +898,13 @@ declare interface IChaptersListProps {
|
|
802
898
|
isGoalCreation: boolean;
|
803
899
|
}
|
804
900
|
|
901
|
+
declare interface IChapterStartJourneyProps {
|
902
|
+
chapterDetails: IUserChapterData;
|
903
|
+
userChapterId: string;
|
904
|
+
studentId: string;
|
905
|
+
userType: TUserTypes;
|
906
|
+
}
|
907
|
+
|
805
908
|
declare interface IChapterState {
|
806
909
|
added?: boolean;
|
807
910
|
expanded?: boolean;
|
@@ -952,6 +1055,9 @@ declare interface IContextMenuProps {
|
|
952
1055
|
menuZIndex?: number;
|
953
1056
|
startLeft?: boolean;
|
954
1057
|
placeTop?: boolean;
|
1058
|
+
menuWidth?: number | string;
|
1059
|
+
menuWidthX?: number;
|
1060
|
+
handleOnMenuClick?: () => void;
|
955
1061
|
onMenuVisibilityChange?: (visible: boolean) => void;
|
956
1062
|
}
|
957
1063
|
|
@@ -1211,7 +1317,7 @@ declare interface IGoalCurriculumMap {
|
|
1211
1317
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1212
1318
|
blocked_countries: string[];
|
1213
1319
|
course_stream: TCourseStream;
|
1214
|
-
goal_category:
|
1320
|
+
goal_category: TGoalCategory_2;
|
1215
1321
|
goal_curriculum_standard?: string;
|
1216
1322
|
goal_code: string;
|
1217
1323
|
goal_description: string | null;
|
@@ -1240,6 +1346,12 @@ declare interface IGradeSelectorProps {
|
|
1240
1346
|
layoutAlignment?: 'center' | 'auto';
|
1241
1347
|
}
|
1242
1348
|
|
1349
|
+
export declare interface IHomepageStartJourneyProps {
|
1350
|
+
studentId: string;
|
1351
|
+
stream: string;
|
1352
|
+
userType: TUserTypes;
|
1353
|
+
}
|
1354
|
+
|
1243
1355
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1244
1356
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1245
1357
|
customBgColor?: TColorNames;
|
@@ -1341,8 +1453,9 @@ export declare interface IJourneyContext {
|
|
1341
1453
|
* @param id - The journey identifier.
|
1342
1454
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1343
1455
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1456
|
+
* @param shouldBlurNextJourney - If `true`, blurs the next journey.
|
1344
1457
|
*/
|
1345
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1458
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
|
1346
1459
|
/**
|
1347
1460
|
* Must be called to end journey and update the journey status on server.
|
1348
1461
|
* @param id - The journey id.
|
@@ -1422,8 +1535,7 @@ declare interface ILeaderboardProps {
|
|
1422
1535
|
}
|
1423
1536
|
|
1424
1537
|
declare interface ILearningSheetData {
|
1425
|
-
|
1426
|
-
learnosityRef: string;
|
1538
|
+
name: string;
|
1427
1539
|
}
|
1428
1540
|
|
1429
1541
|
declare interface ILearnosity {
|
@@ -1628,6 +1740,7 @@ export declare const ILLUSTRATIONS: {
|
|
1628
1740
|
CHAPTER_8: string;
|
1629
1741
|
CHAPTER_9: string;
|
1630
1742
|
CHAPTER_HEADER_BG: string;
|
1743
|
+
CHAPTER_HEADER_BG_2: string;
|
1631
1744
|
CIRCLE_CUEMATH_LOGO: string;
|
1632
1745
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1633
1746
|
CLOCK_ORANGE: string;
|
@@ -1669,6 +1782,14 @@ export declare const ILLUSTRATIONS: {
|
|
1669
1782
|
MILESTONE_INTRO_2: string;
|
1670
1783
|
MILESTONE_INTRO_3: string;
|
1671
1784
|
MISTAKE: string;
|
1785
|
+
NODE_CUSTOM_TEST_BG: string;
|
1786
|
+
NODE_LEARN_BG: string;
|
1787
|
+
NODE_PRACTICE_BG: string;
|
1788
|
+
NODE_PROJECT_BG: string;
|
1789
|
+
NODE_PUZZLE_BG: string;
|
1790
|
+
NODE_RECAP_BG: string;
|
1791
|
+
NODE_TEST_PREP_BG: string;
|
1792
|
+
NODE_VIDEO_BG: string;
|
1672
1793
|
NUMBER_1_ORANGE: string;
|
1673
1794
|
NUMBER_2_ORANGE: string;
|
1674
1795
|
NUMBER_3_ORANGE: string;
|
@@ -1852,7 +1973,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1852
1973
|
parentName?: string;
|
1853
1974
|
teacherName?: string;
|
1854
1975
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1855
|
-
onAddOutcome?: (milestoneId
|
1976
|
+
onAddOutcome?: (milestoneId?: string) => void;
|
1856
1977
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1857
1978
|
isClassOngoing?: boolean;
|
1858
1979
|
isStudentPresent?: boolean;
|
@@ -1891,6 +2012,8 @@ declare interface IMileStoneCreateProps {
|
|
1891
2012
|
milestoneId?: string;
|
1892
2013
|
currentCountryCode?: string;
|
1893
2014
|
courseStream: TCourseStream;
|
2015
|
+
canDeleteGoal?: boolean;
|
2016
|
+
onDeleteGoal?: () => void;
|
1894
2017
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1895
2018
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1896
2019
|
onExit?: () => void;
|
@@ -1904,7 +2027,7 @@ export declare interface IMilestoneData {
|
|
1904
2027
|
course_stream: TCourseStream;
|
1905
2028
|
grade: string;
|
1906
2029
|
board: string;
|
1907
|
-
goal_category:
|
2030
|
+
goal_category: TGoalCategory;
|
1908
2031
|
goal_code: string | null;
|
1909
2032
|
created_on_ts: number;
|
1910
2033
|
milestone_date_ts: number;
|
@@ -1919,6 +2042,10 @@ export declare interface IMilestoneData {
|
|
1919
2042
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1920
2043
|
permissions: IMilestoneCardPermissions;
|
1921
2044
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2045
|
+
progress_stat: {
|
2046
|
+
total: number;
|
2047
|
+
completed: number;
|
2048
|
+
} | null;
|
1922
2049
|
}
|
1923
2050
|
|
1924
2051
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -1996,7 +2123,7 @@ declare interface IMilestoneStartProps {
|
|
1996
2123
|
handleOnClick?: () => void;
|
1997
2124
|
}
|
1998
2125
|
|
1999
|
-
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps,
|
2126
|
+
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, INodeCardCallbacks {
|
2000
2127
|
isPlanAvailable: boolean;
|
2001
2128
|
isMilestoneActive: boolean;
|
2002
2129
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2031,7 +2158,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2031
2158
|
courseStream: TCourseStream;
|
2032
2159
|
}
|
2033
2160
|
|
2034
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2161
|
+
declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
|
2035
2162
|
userType: TUserTypes;
|
2036
2163
|
studentId: string;
|
2037
2164
|
userMilestoneId?: string;
|
@@ -2073,6 +2200,67 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2073
2200
|
|
2074
2201
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2075
2202
|
|
2203
|
+
declare interface INodeCardCallbacks {
|
2204
|
+
onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
|
2205
|
+
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2206
|
+
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
|
2207
|
+
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2208
|
+
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2209
|
+
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2210
|
+
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2211
|
+
onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2212
|
+
}
|
2213
|
+
|
2214
|
+
export declare interface INodeDataProps {
|
2215
|
+
accuracy: number | null;
|
2216
|
+
attempt_location: TSheetAttemptLocation_2;
|
2217
|
+
block_id: string;
|
2218
|
+
card_header: string;
|
2219
|
+
chapter_id: string;
|
2220
|
+
complete_status: boolean;
|
2221
|
+
course_type: TCourseType;
|
2222
|
+
desmos_calculator_enabled: boolean;
|
2223
|
+
due_date_ts: number | null;
|
2224
|
+
is_lesson_v3_enabled: boolean;
|
2225
|
+
is_optional: boolean;
|
2226
|
+
is_timed: boolean;
|
2227
|
+
is_worksheet_v3: boolean | null;
|
2228
|
+
learnosity_activity_ref: string;
|
2229
|
+
marked_as_completed: boolean;
|
2230
|
+
node_id: string;
|
2231
|
+
node_type: TNodeTypes_2;
|
2232
|
+
sheet_statement: string;
|
2233
|
+
permissions: INodePermissions;
|
2234
|
+
sheet_time: number | null;
|
2235
|
+
state: TSheetStates;
|
2236
|
+
title: string;
|
2237
|
+
user_chapter_id: string | null;
|
2238
|
+
user_node_id: string | null;
|
2239
|
+
worksheet_id: string;
|
2240
|
+
image_url: string;
|
2241
|
+
image_hue: THueNames;
|
2242
|
+
total_questions: number | null;
|
2243
|
+
unlocked_on_ts: number | null;
|
2244
|
+
items?: TNodeDataTestItemsDataProps[];
|
2245
|
+
user_milestone_id?: string;
|
2246
|
+
user_attempt_id: string | null;
|
2247
|
+
subtext: string | null;
|
2248
|
+
homework_id?: string;
|
2249
|
+
chapter_name?: string;
|
2250
|
+
}
|
2251
|
+
|
2252
|
+
declare interface INodePermissions {
|
2253
|
+
can_change_attempt_location: boolean;
|
2254
|
+
can_mark_familiar: boolean;
|
2255
|
+
can_reattempt: boolean;
|
2256
|
+
can_reset: boolean;
|
2257
|
+
can_resume: boolean;
|
2258
|
+
can_review: boolean;
|
2259
|
+
can_start: boolean;
|
2260
|
+
can_teacher_review: boolean;
|
2261
|
+
can_unassign: boolean;
|
2262
|
+
}
|
2263
|
+
|
2076
2264
|
export declare interface INudgeProps {
|
2077
2265
|
nudge: 'click';
|
2078
2266
|
content: ReactNode;
|
@@ -2081,6 +2269,10 @@ export declare interface INudgeProps {
|
|
2081
2269
|
zIndex?: number;
|
2082
2270
|
}
|
2083
2271
|
|
2272
|
+
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2273
|
+
|
2274
|
+
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2275
|
+
|
2084
2276
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2085
2277
|
|
2086
2278
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2847,13 +3039,7 @@ declare interface ITestsCreationProps {
|
|
2847
3039
|
onError: (errorMessage?: string) => void;
|
2848
3040
|
}
|
2849
3041
|
|
2850
|
-
declare interface
|
2851
|
-
onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
|
2852
|
-
onTestStart?: (sheetData: ISheetDataProps) => void;
|
2853
|
-
onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
|
2854
|
-
}
|
2855
|
-
|
2856
|
-
declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
3042
|
+
declare interface ITestsListProps {
|
2857
3043
|
userType: TUserTypes;
|
2858
3044
|
studentId: string;
|
2859
3045
|
userMilestoneId: string;
|
@@ -2862,6 +3048,10 @@ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
|
2862
3048
|
isDraftMilestone?: boolean;
|
2863
3049
|
isChaptersAvailable?: boolean;
|
2864
3050
|
canUpdatePlan?: boolean;
|
3051
|
+
onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
3052
|
+
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3053
|
+
onTestStart?: (sheetData: INodeDataProps) => void;
|
3054
|
+
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
2865
3055
|
}
|
2866
3056
|
|
2867
3057
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3106,6 +3296,20 @@ declare interface IusePointerSyncProps {
|
|
3106
3296
|
targetUserId?: string;
|
3107
3297
|
}
|
3108
3298
|
|
3299
|
+
export declare interface IUserChapterData {
|
3300
|
+
chapter_code: string;
|
3301
|
+
chapter_id: string;
|
3302
|
+
chapter_tags: string[];
|
3303
|
+
id: string;
|
3304
|
+
image_hue: THueNames;
|
3305
|
+
image_url: string;
|
3306
|
+
item_bank_enabled: boolean;
|
3307
|
+
name: string;
|
3308
|
+
program_id: string;
|
3309
|
+
progress_stat: IChapterProgressStats | null;
|
3310
|
+
blocks: IChapterBlockData[];
|
3311
|
+
}
|
3312
|
+
|
3109
3313
|
declare interface IUserChapterProgressProps {
|
3110
3314
|
familiar_sheets: number;
|
3111
3315
|
mastered_sheets: number;
|
@@ -3462,7 +3666,14 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3462
3666
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3463
3667
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3464
3668
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3465
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3669
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
3670
|
+
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3671
|
+
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3672
|
+
}
|
3673
|
+
|
3674
|
+
export declare enum JOURNEY_ID_TEACHER {
|
3675
|
+
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3676
|
+
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3466
3677
|
}
|
3467
3678
|
|
3468
3679
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3507,6 +3718,7 @@ export declare const LOTTIE: {
|
|
3507
3718
|
COLOR_1: string;
|
3508
3719
|
COLOR_2: string;
|
3509
3720
|
COLOR_3: string;
|
3721
|
+
COMPETITIVE_ARENA: string;
|
3510
3722
|
DIFFICULT: string;
|
3511
3723
|
EASY: string;
|
3512
3724
|
ELITE_CIRCLE: string;
|
@@ -3519,6 +3731,7 @@ export declare const LOTTIE: {
|
|
3519
3731
|
GOLD_3: string;
|
3520
3732
|
INFINITE_BUTTON_BG: string;
|
3521
3733
|
INFINITE_BUTTON_SYMBOL: string;
|
3734
|
+
LEARN: string;
|
3522
3735
|
LEVELUP_RINGS: string;
|
3523
3736
|
MEDIUM: string;
|
3524
3737
|
NUDGE_TAP: string;
|
@@ -3538,8 +3751,12 @@ export declare const LOTTIE: {
|
|
3538
3751
|
POINT50: string;
|
3539
3752
|
POINT5: string;
|
3540
3753
|
POINT60: string;
|
3754
|
+
PRACTICE: string;
|
3541
3755
|
PROFICIENT1X: string;
|
3756
|
+
PROJECT: string;
|
3757
|
+
PUZZLE: string;
|
3542
3758
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3759
|
+
RECAP: string;
|
3543
3760
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3544
3761
|
SILVER_1: string;
|
3545
3762
|
SILVER_2: string;
|
@@ -3552,10 +3769,12 @@ export declare const LOTTIE: {
|
|
3552
3769
|
TABLE_SEGMENT_STAR: string;
|
3553
3770
|
TARGET_ACHIEVED_TEXT: string;
|
3554
3771
|
TEACHER_VALIDATION: string;
|
3772
|
+
TEST: string;
|
3555
3773
|
TOTAL_STREAK: string;
|
3556
3774
|
TOTAL_TIME: string;
|
3557
3775
|
TOTAL_TIME_SPENT: string;
|
3558
3776
|
TOURNAMENT_RIPPLE: string;
|
3777
|
+
VIDEO: string;
|
3559
3778
|
};
|
3560
3779
|
|
3561
3780
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3594,6 +3813,21 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3594
3813
|
|
3595
3814
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3596
3815
|
|
3816
|
+
declare enum NODE_CARD_COURSE_TYPES {
|
3817
|
+
PROGRAM = "PROGRAM",
|
3818
|
+
REMEDIAL = "REMEDIAL",
|
3819
|
+
TEST_SERIES = "TEST_SERIES",
|
3820
|
+
EXAM = "EXAM"
|
3821
|
+
}
|
3822
|
+
|
3823
|
+
declare enum NODE_CARD_STATES {
|
3824
|
+
LOCKED = "LOCKED",
|
3825
|
+
NOT_STARTED = "NOT_STARTED",
|
3826
|
+
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3827
|
+
IN_PROGRESS = "IN_PROGRESS",
|
3828
|
+
COMPLETED = "COMPLETED"
|
3829
|
+
}
|
3830
|
+
|
3597
3831
|
export declare const NODE_LABELS: {
|
3598
3832
|
readonly ASSESSMENT: "ASSESSMENT";
|
3599
3833
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3739,6 +3973,7 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
3739
3973
|
export declare enum PLATFORM_EVENTS_STUDENT {
|
3740
3974
|
PAGE_VIEWED = "page_viewed",
|
3741
3975
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
3976
|
+
HOMEWORK_COMPLETED = "homework_completed",
|
3742
3977
|
ACTIVITY_STARTED = "activity_started",
|
3743
3978
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
3744
3979
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -3846,6 +4081,16 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
3846
4081
|
|
3847
4082
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
3848
4083
|
|
4084
|
+
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4085
|
+
|
4086
|
+
declare interface RecentChaptersProps {
|
4087
|
+
studentId: string;
|
4088
|
+
courseStream: TCourseStream;
|
4089
|
+
userType: TUserTypes;
|
4090
|
+
onChapterClick: IChaptersListProps['onChapterClick'];
|
4091
|
+
recentChaptersRef?: React.RefObject<HTMLDivElement>;
|
4092
|
+
}
|
4093
|
+
|
3849
4094
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3850
4095
|
|
3851
4096
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -3872,6 +4117,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
3872
4117
|
|
3873
4118
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3874
4119
|
|
4120
|
+
declare enum SECTION_CODE {
|
4121
|
+
READINESS = "READINESS",
|
4122
|
+
GOALS = "GOALS",
|
4123
|
+
TESTS = "TESTS",
|
4124
|
+
ENRICHMENT = "ENRICHMENT",
|
4125
|
+
SUBJECTIVE = "SUBJECTIVE",
|
4126
|
+
VIDEOS = "VIDEOS",
|
4127
|
+
NOTES = "NOTES",
|
4128
|
+
FLASHCARDS = "FLASHCARDS",
|
4129
|
+
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4130
|
+
}
|
4131
|
+
|
3875
4132
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
3876
4133
|
|
3877
4134
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -3935,6 +4192,8 @@ export { SketchIcon }
|
|
3935
4192
|
|
3936
4193
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3937
4194
|
|
4195
|
+
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4196
|
+
|
3938
4197
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3939
4198
|
|
3940
4199
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -3963,6 +4222,8 @@ export declare enum State {
|
|
3963
4222
|
HOLD = "HOLD"
|
3964
4223
|
}
|
3965
4224
|
|
4225
|
+
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4226
|
+
|
3966
4227
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
3967
4228
|
|
3968
4229
|
declare const STICKER_BADGE: {
|
@@ -4077,11 +4338,11 @@ declare type TBlockStatsData = {
|
|
4077
4338
|
|
4078
4339
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4079
4340
|
|
4080
|
-
declare type TBlockType = keyof typeof
|
4341
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
4081
4342
|
|
4082
4343
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4083
4344
|
|
4084
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-dark';
|
4345
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
4085
4346
|
|
4086
4347
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4087
4348
|
|
@@ -4174,6 +4435,8 @@ declare type TCourseProgramPermissions = {
|
|
4174
4435
|
|
4175
4436
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4176
4437
|
|
4438
|
+
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4439
|
+
|
4177
4440
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4178
4441
|
|
4179
4442
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4230,9 +4493,9 @@ declare interface TextProps {
|
|
4230
4493
|
|
4231
4494
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4232
4495
|
|
4233
|
-
declare type TGoalCategory =
|
4496
|
+
declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
|
4234
4497
|
|
4235
|
-
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY
|
4498
|
+
declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4236
4499
|
|
4237
4500
|
declare interface TGoals {
|
4238
4501
|
goal_code?: string;
|
@@ -4328,11 +4591,32 @@ export declare type TInclassMessage = {
|
|
4328
4591
|
eventPayload: {
|
4329
4592
|
worksheetId: string;
|
4330
4593
|
};
|
4594
|
+
} | {
|
4595
|
+
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4596
|
+
eventPayload: {
|
4597
|
+
studentId: string;
|
4598
|
+
};
|
4599
|
+
} | {
|
4600
|
+
eventName: typeof EVENTS.INVALIDATE_HOMEWORK;
|
4601
|
+
eventPayload: {
|
4602
|
+
studentId: string;
|
4603
|
+
};
|
4331
4604
|
} | {
|
4332
4605
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4333
4606
|
eventPayload: {
|
4334
4607
|
chapterId: string;
|
4335
4608
|
};
|
4609
|
+
} | {
|
4610
|
+
eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
|
4611
|
+
eventPayload: {
|
4612
|
+
chapterId: string;
|
4613
|
+
};
|
4614
|
+
} | {
|
4615
|
+
eventName: typeof EVENTS.SHEET_REATTEMPTED;
|
4616
|
+
eventPayload: {
|
4617
|
+
milestoneId: string;
|
4618
|
+
chapterId: string;
|
4619
|
+
};
|
4336
4620
|
} | {
|
4337
4621
|
eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
|
4338
4622
|
eventPayload: {
|
@@ -4457,7 +4741,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
|
|
4457
4741
|
|
4458
4742
|
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';
|
4459
4743
|
|
4460
|
-
export declare type TJourneyId = JOURNEY_ID_STUDENT;
|
4744
|
+
export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
|
4461
4745
|
|
4462
4746
|
declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
|
4463
4747
|
|
@@ -4704,11 +4988,19 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4704
4988
|
|
4705
4989
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4706
4990
|
|
4991
|
+
declare interface TNodeDataTestItemsDataProps {
|
4992
|
+
chapter_name: string;
|
4993
|
+
goal_name: string;
|
4994
|
+
ref: string;
|
4995
|
+
}
|
4996
|
+
|
4707
4997
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4708
4998
|
|
4709
4999
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4710
5000
|
|
4711
|
-
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';
|
5001
|
+
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';
|
5002
|
+
|
5003
|
+
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4712
5004
|
|
4713
5005
|
export declare type TOnPreSubmitOptions = {
|
4714
5006
|
isDraftPlan: boolean;
|
@@ -4748,10 +5040,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4748
5040
|
|
4749
5041
|
declare type TQuery = {
|
4750
5042
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4751
|
-
with_plan: boolean;
|
4752
|
-
course_stream: TCourseStream;
|
4753
5043
|
student_id: string;
|
4754
|
-
|
5044
|
+
course_stream: TCourseStream;
|
4755
5045
|
};
|
4756
5046
|
|
4757
5047
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4836,6 +5126,8 @@ declare type TSectionSummary = {
|
|
4836
5126
|
|
4837
5127
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4838
5128
|
|
5129
|
+
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5130
|
+
|
4839
5131
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4840
5132
|
|
4841
5133
|
declare type TSheetBlockData = {
|
@@ -4897,6 +5189,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
4897
5189
|
|
4898
5190
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
4899
5191
|
|
5192
|
+
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5193
|
+
|
4900
5194
|
export declare type TSkillStatus = 'pending' | 'completed';
|
4901
5195
|
|
4902
5196
|
declare type TStickerData = {
|
@@ -5018,6 +5312,13 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
|
|
5018
5312
|
registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
|
5019
5313
|
};
|
5020
5314
|
|
5315
|
+
export declare const useChapterPageJourney: () => {
|
5316
|
+
chapterPageRef: RefObject<HTMLDivElement>;
|
5317
|
+
bannerRef: RefObject<HTMLDivElement>;
|
5318
|
+
coreBlocksRef: RefObject<HTMLDivElement>;
|
5319
|
+
startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
|
5320
|
+
};
|
5321
|
+
|
5021
5322
|
export declare const useCircleSounds: () => {
|
5022
5323
|
playSwipSound: () => void;
|
5023
5324
|
play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
|
@@ -5067,7 +5368,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5067
5368
|
invalidateCircleHomeDetails: () => void;
|
5068
5369
|
};
|
5069
5370
|
|
5070
|
-
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) =>
|
5371
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => TJourneyId[];
|
5071
5372
|
|
5072
5373
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5073
5374
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
@@ -5089,8 +5390,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5089
5390
|
|
5090
5391
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5091
5392
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5092
|
-
resource: ResourceModel<
|
5093
|
-
data:
|
5393
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5394
|
+
data: INodeDataProps[] | undefined;
|
5094
5395
|
permissions: Record<string, unknown> | undefined;
|
5095
5396
|
isProcessing: boolean;
|
5096
5397
|
isProcessed: boolean;
|
@@ -5105,8 +5406,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5105
5406
|
get: (id: string, query: void, meta: {
|
5106
5407
|
studentId: string;
|
5107
5408
|
}) => Promise<void>;
|
5108
|
-
resource: ResourceModel<
|
5109
|
-
data:
|
5409
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5410
|
+
data: INodeDataProps[] | undefined;
|
5110
5411
|
permissions: Record<string, unknown> | undefined;
|
5111
5412
|
isProcessing: boolean;
|
5112
5413
|
isProcessed: boolean;
|
@@ -5117,6 +5418,12 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5117
5418
|
} & Record<string, unknown>) | undefined;
|
5118
5419
|
};
|
5119
5420
|
|
5421
|
+
export declare const useHomePageJourney: () => {
|
5422
|
+
homepageRef: RefObject<HTMLDivElement>;
|
5423
|
+
homeworkRef: RefObject<HTMLDivElement>;
|
5424
|
+
startJourney: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5425
|
+
};
|
5426
|
+
|
5120
5427
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5121
5428
|
studentClassroomId: string | undefined;
|
5122
5429
|
}) => {
|
@@ -5205,7 +5512,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5205
5512
|
declare const ZINDEX: {
|
5206
5513
|
readonly CHAPTER_CROWN_ICON: 4;
|
5207
5514
|
readonly CHAPTER_PLUS_ICON: 2;
|
5208
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5515
|
+
readonly CHAPTER_PROGRESS_SVG: 2;
|
5209
5516
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5210
5517
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5211
5518
|
readonly MODAL: 20;
|