@cuemath/leap 2.9.9 → 2.9.11-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/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/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 +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/circle-games/sign-up/comp/circular-steps/circular-steps-styled.js +4 -4
- 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 +7 -7
- 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-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/post-game-stats/digital-meter/constants.js +10 -9
- package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js +88 -86
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/helper.js +3 -13
- package/dist/features/post-game-stats/digital-meter/helper.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/animated-arc/animated-arc-constants.js +5 -0
- package/dist/features/ui/animated-arc/animated-arc-constants.js.map +1 -0
- package/dist/features/ui/animated-arc/animated-arc-helpers.js +14 -0
- package/dist/features/ui/animated-arc/animated-arc-helpers.js.map +1 -0
- package/dist/features/ui/animated-arc/animated-arc-styled.js +33 -0
- package/dist/features/ui/animated-arc/animated-arc-styled.js.map +1 -0
- package/dist/features/ui/animated-arc/animated-arc.js +49 -0
- package/dist/features/ui/animated-arc/animated-arc.js.map +1 -0
- package/dist/features/ui/animated-arc/constants.js +5 -0
- package/dist/features/ui/animated-arc/constants.js.map +1 -0
- 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 +37 -19
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/image/image.js +12 -12
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input-styled.js +77 -67
- package/dist/features/ui/inputs/base-input/base-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input.js +49 -47
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +14 -12
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +48 -31
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/text/text.js +29 -27
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/button.js +41 -7
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/ui/theme/input.js +67 -14
- package/dist/features/ui/theme/input.js.map +1 -1
- package/dist/index.d.ts +371 -35
- package/dist/index.js +449 -423
- 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/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js +0 -17
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js +0 -50
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js +0 -6
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -11,6 +11,7 @@ import { ForwardRefExoticComponent } from 'react';
|
|
11
11
|
import { HTMLAttributes } from 'react';
|
12
12
|
import { IChannelMessage } from '@cuemath/cue-message-broker';
|
13
13
|
import type { IframeHTMLAttributes } from 'react';
|
14
|
+
import type { ImgHTMLAttributes } from 'react';
|
14
15
|
import type { InputHTMLAttributes } from 'react';
|
15
16
|
import { IProvidedProps } from 'google-maps-react';
|
16
17
|
import { IStyledComponent } from 'styled-components';
|
@@ -26,7 +27,7 @@ import * as React_3 from 'react';
|
|
26
27
|
import type { ReactElement } from 'react';
|
27
28
|
import { ReactNode } from 'react';
|
28
29
|
import { RefAttributes } from 'react';
|
29
|
-
import
|
30
|
+
import { RefObject } from 'react';
|
30
31
|
import { ResourceModel } from '@cuemath/rest-api';
|
31
32
|
import type { SetStateAction } from 'react';
|
32
33
|
import { Substitute } from 'styled-components/dist/types';
|
@@ -50,6 +51,8 @@ export declare const AchievementShareInstructionModal: React_2.FC<IShareInstruct
|
|
50
51
|
|
51
52
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
52
53
|
|
54
|
+
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
55
|
+
|
53
56
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
54
57
|
|
55
58
|
export declare const ArcButton: MemoExoticComponent<ForwardRefExoticComponent<IArcButtonProps & {
|
@@ -92,7 +95,22 @@ declare const BLOCK_STATUS: {
|
|
92
95
|
readonly LOCKED: "LOCKED";
|
93
96
|
};
|
94
97
|
|
95
|
-
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: {
|
96
114
|
readonly DEFAULT: "DEFAULT";
|
97
115
|
readonly PREREQ: "PREREQ";
|
98
116
|
readonly RECAP: "RECAP";
|
@@ -146,6 +164,8 @@ declare const CHAPTER_PERMISSION_CODES: {
|
|
146
164
|
|
147
165
|
export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
|
148
166
|
|
167
|
+
export declare const ChapterDetails: FC<IChapterDetails>;
|
168
|
+
|
149
169
|
export declare const ChaptersList: FC<IChaptersListProps>;
|
150
170
|
|
151
171
|
export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -331,6 +351,8 @@ declare interface ErrorProps {
|
|
331
351
|
}
|
332
352
|
|
333
353
|
export declare const EVENTS: {
|
354
|
+
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
355
|
+
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
334
356
|
GOAL_CREATED: "GOAL_CREATED";
|
335
357
|
GOAL_EDITED: "GOAL_EDITED";
|
336
358
|
GOAL_DELETED: "GOAL_DELETED";
|
@@ -353,6 +375,8 @@ export declare const EVENTS: {
|
|
353
375
|
CHANGE_LOCATION: "CHANGE_LOCATION";
|
354
376
|
SHEET_STARTED: "SHEET_STARTED";
|
355
377
|
SHEET_UNASSIGNED: "SHEET_UNASSIGNED";
|
378
|
+
SHEET_REATTEMPTED: "SHEET_REATTEMPTED";
|
379
|
+
INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION";
|
356
380
|
};
|
357
381
|
|
358
382
|
declare type EventToPayload<T> = T extends {
|
@@ -360,6 +384,8 @@ declare type EventToPayload<T> = T extends {
|
|
360
384
|
eventPayload: infer P;
|
361
385
|
} ? [E] | [E, Partial<P>] : never;
|
362
386
|
|
387
|
+
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
388
|
+
|
363
389
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
364
390
|
|
365
391
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -469,8 +495,22 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
469
495
|
|
470
496
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
471
497
|
|
498
|
+
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
499
|
+
|
472
500
|
declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
|
473
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
|
+
|
474
514
|
declare interface IAccordionSectionProps {
|
475
515
|
headerElement: React.ReactElement;
|
476
516
|
bodyElement: React.ReactElement;
|
@@ -495,6 +535,18 @@ declare interface IActionData {
|
|
495
535
|
dimension?: IViewport;
|
496
536
|
}
|
497
537
|
|
538
|
+
declare interface IAnimatedArcProps {
|
539
|
+
radius: number;
|
540
|
+
strokeWidth: number;
|
541
|
+
color: TColorNames;
|
542
|
+
targetAngle: number;
|
543
|
+
startAngle?: number;
|
544
|
+
mode?: 'draw' | 'fade';
|
545
|
+
duration?: number;
|
546
|
+
delay?: number;
|
547
|
+
showAnimatedRainbowArc?: boolean;
|
548
|
+
}
|
549
|
+
|
498
550
|
declare interface IAppLoaderProps {
|
499
551
|
width?: string | number;
|
500
552
|
height?: string | number;
|
@@ -527,6 +579,7 @@ export declare interface IArrowTooltipProps {
|
|
527
579
|
width?: number;
|
528
580
|
widthX?: number;
|
529
581
|
zIndex?: number;
|
582
|
+
parentWidth?: number | string;
|
530
583
|
}
|
531
584
|
|
532
585
|
declare interface IAttempt {
|
@@ -565,6 +618,7 @@ declare interface IBaseInputProps {
|
|
565
618
|
canSiblingInteract?: boolean;
|
566
619
|
willShowMessage?: boolean;
|
567
620
|
errorMessage?: string;
|
621
|
+
helperText?: string;
|
568
622
|
mandatory?: boolean;
|
569
623
|
shape?: TInputShapes;
|
570
624
|
isTransparent?: boolean;
|
@@ -627,6 +681,10 @@ declare interface IBaseWorksheetProps {
|
|
627
681
|
canShowActionBar?: boolean;
|
628
682
|
}
|
629
683
|
|
684
|
+
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
685
|
+
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
686
|
+
}
|
687
|
+
|
630
688
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
631
689
|
label: string;
|
632
690
|
renderAs: TButtonVariants;
|
@@ -697,10 +755,27 @@ declare interface ICascadingSelectInputProps {
|
|
697
755
|
|
698
756
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
699
757
|
search_and_added?: boolean;
|
700
|
-
total_supplementary_sheets: number;
|
701
758
|
learning_sheet_data: ILearningSheetData[];
|
702
759
|
}
|
703
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
|
+
|
704
779
|
export declare interface IChapterBlockV3 {
|
705
780
|
completed_on: number | null;
|
706
781
|
sheets: IWorksheetModelV3[];
|
@@ -730,11 +805,29 @@ export declare interface IChapterDataProps {
|
|
730
805
|
user_chapter_progress: IUserChapterProgressProps;
|
731
806
|
state: TUserChapterStates | null;
|
732
807
|
program_id: string;
|
808
|
+
progress_stat: {
|
809
|
+
classwork: IMilestoneData['progress_stat'];
|
810
|
+
mandatory: IMilestoneData['progress_stat'];
|
811
|
+
optional: IMilestoneData['progress_stat'];
|
812
|
+
};
|
733
813
|
sheets_data: {
|
734
814
|
lessons: ILessonsListProps['lessons'];
|
735
815
|
supplementary_sheets_group_sort_order: string[];
|
736
816
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
737
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;
|
738
831
|
}
|
739
832
|
|
740
833
|
declare interface IChapterModel {
|
@@ -759,6 +852,25 @@ declare interface IChapterModel {
|
|
759
852
|
mastery_time: number;
|
760
853
|
chapter_time_unit: TTimeUnit;
|
761
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;
|
762
874
|
}
|
763
875
|
|
764
876
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -786,6 +898,13 @@ declare interface IChaptersListProps {
|
|
786
898
|
isGoalCreation: boolean;
|
787
899
|
}
|
788
900
|
|
901
|
+
declare interface IChapterStartJourneyProps {
|
902
|
+
chapterDetails: IUserChapterData;
|
903
|
+
userChapterId: string;
|
904
|
+
studentId: string;
|
905
|
+
userType: TUserTypes;
|
906
|
+
}
|
907
|
+
|
789
908
|
declare interface IChapterState {
|
790
909
|
added?: boolean;
|
791
910
|
expanded?: boolean;
|
@@ -936,6 +1055,10 @@ declare interface IContextMenuProps {
|
|
936
1055
|
menuZIndex?: number;
|
937
1056
|
startLeft?: boolean;
|
938
1057
|
placeTop?: boolean;
|
1058
|
+
menuWidth?: number | string;
|
1059
|
+
menuWidthX?: number;
|
1060
|
+
handleOnMenuClick?: () => void;
|
1061
|
+
onMenuVisibilityChange?: (visible: boolean) => void;
|
939
1062
|
}
|
940
1063
|
|
941
1064
|
declare interface ICountdownTimer {
|
@@ -1194,7 +1317,7 @@ declare interface IGoalCurriculumMap {
|
|
1194
1317
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1195
1318
|
blocked_countries: string[];
|
1196
1319
|
course_stream: TCourseStream;
|
1197
|
-
goal_category:
|
1320
|
+
goal_category: TGoalCategory_2;
|
1198
1321
|
goal_curriculum_standard?: string;
|
1199
1322
|
goal_code: string;
|
1200
1323
|
goal_description: string | null;
|
@@ -1223,12 +1346,24 @@ declare interface IGradeSelectorProps {
|
|
1223
1346
|
layoutAlignment?: 'center' | 'auto';
|
1224
1347
|
}
|
1225
1348
|
|
1349
|
+
export declare interface IHomepageStartJourneyProps {
|
1350
|
+
studentId: string;
|
1351
|
+
stream: string;
|
1352
|
+
userType: TUserTypes;
|
1353
|
+
}
|
1354
|
+
|
1226
1355
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1227
1356
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1228
1357
|
customBgColor?: TColorNames;
|
1229
1358
|
renderAs: TButtonVariants;
|
1230
1359
|
}
|
1231
1360
|
|
1361
|
+
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1362
|
+
withLoader: boolean;
|
1363
|
+
borderRadius?: number;
|
1364
|
+
borderColor?: TColorNames;
|
1365
|
+
}
|
1366
|
+
|
1232
1367
|
export declare interface IInfoMessage {
|
1233
1368
|
message: string;
|
1234
1369
|
position: 'top' | 'bottom';
|
@@ -1275,6 +1410,8 @@ export declare interface IInputVariantConfig {
|
|
1275
1410
|
};
|
1276
1411
|
backgroundColorName?: TColorNames;
|
1277
1412
|
optionHoverColorName?: TColorNames;
|
1413
|
+
labelBackgroundColorName?: TColorNames;
|
1414
|
+
errorMessageColorName?: TColorNames;
|
1278
1415
|
}
|
1279
1416
|
|
1280
1417
|
declare interface IIsOkayTypeQuestion {
|
@@ -1316,8 +1453,9 @@ export declare interface IJourneyContext {
|
|
1316
1453
|
* @param id - The journey identifier.
|
1317
1454
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1318
1455
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1456
|
+
* @param shouldBlurNextJourney - If `true`, blurs the next journey.
|
1319
1457
|
*/
|
1320
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1458
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
|
1321
1459
|
/**
|
1322
1460
|
* Must be called to end journey and update the journey status on server.
|
1323
1461
|
* @param id - The journey id.
|
@@ -1397,8 +1535,7 @@ declare interface ILeaderboardProps {
|
|
1397
1535
|
}
|
1398
1536
|
|
1399
1537
|
declare interface ILearningSheetData {
|
1400
|
-
|
1401
|
-
learnosityRef: string;
|
1538
|
+
name: string;
|
1402
1539
|
}
|
1403
1540
|
|
1404
1541
|
declare interface ILearnosity {
|
@@ -1603,6 +1740,7 @@ export declare const ILLUSTRATIONS: {
|
|
1603
1740
|
CHAPTER_8: string;
|
1604
1741
|
CHAPTER_9: string;
|
1605
1742
|
CHAPTER_HEADER_BG: string;
|
1743
|
+
CHAPTER_HEADER_BG_2: string;
|
1606
1744
|
CIRCLE_CUEMATH_LOGO: string;
|
1607
1745
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1608
1746
|
CLOCK_ORANGE: string;
|
@@ -1644,6 +1782,14 @@ export declare const ILLUSTRATIONS: {
|
|
1644
1782
|
MILESTONE_INTRO_2: string;
|
1645
1783
|
MILESTONE_INTRO_3: string;
|
1646
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;
|
1647
1793
|
NUMBER_1_ORANGE: string;
|
1648
1794
|
NUMBER_2_ORANGE: string;
|
1649
1795
|
NUMBER_3_ORANGE: string;
|
@@ -1733,6 +1879,9 @@ declare interface ILPARSheetCallbacks extends ISATSheetItemCallbacks {
|
|
1733
1879
|
onReview?: (sheet: TLPARSheetData) => void;
|
1734
1880
|
}
|
1735
1881
|
|
1882
|
+
declare const Image_2: React.FC<IImageProps>;
|
1883
|
+
export { Image_2 as Image }
|
1884
|
+
|
1736
1885
|
export declare const ImageIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1737
1886
|
|
1738
1887
|
export declare const IMAGES: {
|
@@ -1824,7 +1973,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1824
1973
|
parentName?: string;
|
1825
1974
|
teacherName?: string;
|
1826
1975
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1827
|
-
onAddOutcome?: (milestoneId
|
1976
|
+
onAddOutcome?: (milestoneId?: string) => void;
|
1828
1977
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1829
1978
|
isClassOngoing?: boolean;
|
1830
1979
|
isStudentPresent?: boolean;
|
@@ -1863,6 +2012,8 @@ declare interface IMileStoneCreateProps {
|
|
1863
2012
|
milestoneId?: string;
|
1864
2013
|
currentCountryCode?: string;
|
1865
2014
|
courseStream: TCourseStream;
|
2015
|
+
canDeleteGoal?: boolean;
|
2016
|
+
onDeleteGoal?: () => void;
|
1866
2017
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1867
2018
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1868
2019
|
onExit?: () => void;
|
@@ -1876,7 +2027,7 @@ export declare interface IMilestoneData {
|
|
1876
2027
|
course_stream: TCourseStream;
|
1877
2028
|
grade: string;
|
1878
2029
|
board: string;
|
1879
|
-
goal_category:
|
2030
|
+
goal_category: TGoalCategory;
|
1880
2031
|
goal_code: string | null;
|
1881
2032
|
created_on_ts: number;
|
1882
2033
|
milestone_date_ts: number;
|
@@ -1891,6 +2042,10 @@ export declare interface IMilestoneData {
|
|
1891
2042
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1892
2043
|
permissions: IMilestoneCardPermissions;
|
1893
2044
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2045
|
+
progress_stat: {
|
2046
|
+
total: number;
|
2047
|
+
completed: number;
|
2048
|
+
} | null;
|
1894
2049
|
}
|
1895
2050
|
|
1896
2051
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -1968,7 +2123,7 @@ declare interface IMilestoneStartProps {
|
|
1968
2123
|
handleOnClick?: () => void;
|
1969
2124
|
}
|
1970
2125
|
|
1971
|
-
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 {
|
1972
2127
|
isPlanAvailable: boolean;
|
1973
2128
|
isMilestoneActive: boolean;
|
1974
2129
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2003,7 +2158,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2003
2158
|
courseStream: TCourseStream;
|
2004
2159
|
}
|
2005
2160
|
|
2006
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2161
|
+
declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
|
2007
2162
|
userType: TUserTypes;
|
2008
2163
|
studentId: string;
|
2009
2164
|
userMilestoneId?: string;
|
@@ -2045,6 +2200,67 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2045
2200
|
|
2046
2201
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2047
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
|
+
|
2048
2264
|
export declare interface INudgeProps {
|
2049
2265
|
nudge: 'click';
|
2050
2266
|
content: ReactNode;
|
@@ -2053,6 +2269,10 @@ export declare interface INudgeProps {
|
|
2053
2269
|
zIndex?: number;
|
2054
2270
|
}
|
2055
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
|
+
|
2056
2276
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2057
2277
|
|
2058
2278
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2819,13 +3039,7 @@ declare interface ITestsCreationProps {
|
|
2819
3039
|
onError: (errorMessage?: string) => void;
|
2820
3040
|
}
|
2821
3041
|
|
2822
|
-
declare interface
|
2823
|
-
onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
|
2824
|
-
onTestStart?: (sheetData: ISheetDataProps) => void;
|
2825
|
-
onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
|
2826
|
-
}
|
2827
|
-
|
2828
|
-
declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
3042
|
+
declare interface ITestsListProps {
|
2829
3043
|
userType: TUserTypes;
|
2830
3044
|
studentId: string;
|
2831
3045
|
userMilestoneId: string;
|
@@ -2834,6 +3048,10 @@ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
|
2834
3048
|
isDraftMilestone?: boolean;
|
2835
3049
|
isChaptersAvailable?: boolean;
|
2836
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;
|
2837
3055
|
}
|
2838
3056
|
|
2839
3057
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3078,6 +3296,20 @@ declare interface IusePointerSyncProps {
|
|
3078
3296
|
targetUserId?: string;
|
3079
3297
|
}
|
3080
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
|
+
|
3081
3313
|
declare interface IUserChapterProgressProps {
|
3082
3314
|
familiar_sheets: number;
|
3083
3315
|
mastered_sheets: number;
|
@@ -3434,7 +3666,14 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3434
3666
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3435
3667
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3436
3668
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3437
|
-
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"
|
3438
3677
|
}
|
3439
3678
|
|
3440
3679
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3479,6 +3718,7 @@ export declare const LOTTIE: {
|
|
3479
3718
|
COLOR_1: string;
|
3480
3719
|
COLOR_2: string;
|
3481
3720
|
COLOR_3: string;
|
3721
|
+
COMPETITIVE_ARENA: string;
|
3482
3722
|
DIFFICULT: string;
|
3483
3723
|
EASY: string;
|
3484
3724
|
ELITE_CIRCLE: string;
|
@@ -3491,6 +3731,7 @@ export declare const LOTTIE: {
|
|
3491
3731
|
GOLD_3: string;
|
3492
3732
|
INFINITE_BUTTON_BG: string;
|
3493
3733
|
INFINITE_BUTTON_SYMBOL: string;
|
3734
|
+
LEARN: string;
|
3494
3735
|
LEVELUP_RINGS: string;
|
3495
3736
|
MEDIUM: string;
|
3496
3737
|
NUDGE_TAP: string;
|
@@ -3510,8 +3751,12 @@ export declare const LOTTIE: {
|
|
3510
3751
|
POINT50: string;
|
3511
3752
|
POINT5: string;
|
3512
3753
|
POINT60: string;
|
3754
|
+
PRACTICE: string;
|
3513
3755
|
PROFICIENT1X: string;
|
3756
|
+
PROJECT: string;
|
3757
|
+
PUZZLE: string;
|
3514
3758
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3759
|
+
RECAP: string;
|
3515
3760
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3516
3761
|
SILVER_1: string;
|
3517
3762
|
SILVER_2: string;
|
@@ -3524,10 +3769,12 @@ export declare const LOTTIE: {
|
|
3524
3769
|
TABLE_SEGMENT_STAR: string;
|
3525
3770
|
TARGET_ACHIEVED_TEXT: string;
|
3526
3771
|
TEACHER_VALIDATION: string;
|
3772
|
+
TEST: string;
|
3527
3773
|
TOTAL_STREAK: string;
|
3528
3774
|
TOTAL_TIME: string;
|
3529
3775
|
TOTAL_TIME_SPENT: string;
|
3530
3776
|
TOURNAMENT_RIPPLE: string;
|
3777
|
+
VIDEO: string;
|
3531
3778
|
};
|
3532
3779
|
|
3533
3780
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3566,6 +3813,21 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3566
3813
|
|
3567
3814
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3568
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
|
+
|
3569
3831
|
export declare const NODE_LABELS: {
|
3570
3832
|
readonly ASSESSMENT: "ASSESSMENT";
|
3571
3833
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3711,6 +3973,7 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
3711
3973
|
export declare enum PLATFORM_EVENTS_STUDENT {
|
3712
3974
|
PAGE_VIEWED = "page_viewed",
|
3713
3975
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
3976
|
+
HOMEWORK_COMPLETED = "homework_completed",
|
3714
3977
|
ACTIVITY_STARTED = "activity_started",
|
3715
3978
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
3716
3979
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -3818,6 +4081,16 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
3818
4081
|
|
3819
4082
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
3820
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
|
+
|
3821
4094
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3822
4095
|
|
3823
4096
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -3844,6 +4117,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
3844
4117
|
|
3845
4118
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3846
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
|
+
|
3847
4132
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
3848
4133
|
|
3849
4134
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -3907,6 +4192,8 @@ export { SketchIcon }
|
|
3907
4192
|
|
3908
4193
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3909
4194
|
|
4195
|
+
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4196
|
+
|
3910
4197
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3911
4198
|
|
3912
4199
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -3935,6 +4222,8 @@ export declare enum State {
|
|
3935
4222
|
HOLD = "HOLD"
|
3936
4223
|
}
|
3937
4224
|
|
4225
|
+
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4226
|
+
|
3938
4227
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
3939
4228
|
|
3940
4229
|
declare const STICKER_BADGE: {
|
@@ -4049,11 +4338,11 @@ declare type TBlockStatsData = {
|
|
4049
4338
|
|
4050
4339
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4051
4340
|
|
4052
|
-
declare type TBlockType = keyof typeof
|
4341
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
4053
4342
|
|
4054
4343
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4055
4344
|
|
4056
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4345
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
4057
4346
|
|
4058
4347
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4059
4348
|
|
@@ -4146,6 +4435,8 @@ declare type TCourseProgramPermissions = {
|
|
4146
4435
|
|
4147
4436
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4148
4437
|
|
4438
|
+
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4439
|
+
|
4149
4440
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4150
4441
|
|
4151
4442
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4197,13 +4488,14 @@ declare interface TextProps {
|
|
4197
4488
|
$marginBottomX?: number;
|
4198
4489
|
$inline?: boolean;
|
4199
4490
|
$textDecoration?: string;
|
4491
|
+
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
4200
4492
|
}
|
4201
4493
|
|
4202
4494
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4203
4495
|
|
4204
|
-
declare type TGoalCategory =
|
4496
|
+
declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
|
4205
4497
|
|
4206
|
-
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY
|
4498
|
+
declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4207
4499
|
|
4208
4500
|
declare interface TGoals {
|
4209
4501
|
goal_code?: string;
|
@@ -4299,11 +4591,32 @@ export declare type TInclassMessage = {
|
|
4299
4591
|
eventPayload: {
|
4300
4592
|
worksheetId: string;
|
4301
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
|
+
};
|
4302
4604
|
} | {
|
4303
4605
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4304
4606
|
eventPayload: {
|
4305
4607
|
chapterId: string;
|
4306
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
|
+
};
|
4307
4620
|
} | {
|
4308
4621
|
eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
|
4309
4622
|
eventPayload: {
|
@@ -4422,13 +4735,13 @@ export declare type TInputShapes = 'border' | 'borderLess' | 'curved';
|
|
4422
4735
|
|
4423
4736
|
export declare type TInputSizes = 'small' | 'regular' | 'xsmall';
|
4424
4737
|
|
4425
|
-
export declare type TInputVariants = 'primary' | 'secondary' | 'success' | 'error';
|
4738
|
+
export declare type TInputVariants = 'primary' | 'secondary' | 'success' | 'error' | 'primary-dark' | 'success-dark' | 'error-dark';
|
4426
4739
|
|
4427
4740
|
declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | 'Instruction' | 'Task' | 'Try' | 'Learn' | 'Apply';
|
4428
4741
|
|
4429
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';
|
4430
4743
|
|
4431
|
-
export declare type TJourneyId = JOURNEY_ID_STUDENT;
|
4744
|
+
export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
|
4432
4745
|
|
4433
4746
|
declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
|
4434
4747
|
|
@@ -4675,11 +4988,19 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4675
4988
|
|
4676
4989
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4677
4990
|
|
4991
|
+
declare interface TNodeDataTestItemsDataProps {
|
4992
|
+
chapter_name: string;
|
4993
|
+
goal_name: string;
|
4994
|
+
ref: string;
|
4995
|
+
}
|
4996
|
+
|
4678
4997
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4679
4998
|
|
4680
4999
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4681
5000
|
|
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';
|
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;
|
4683
5004
|
|
4684
5005
|
export declare type TOnPreSubmitOptions = {
|
4685
5006
|
isDraftPlan: boolean;
|
@@ -4719,10 +5040,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4719
5040
|
|
4720
5041
|
declare type TQuery = {
|
4721
5042
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4722
|
-
with_plan: boolean;
|
4723
|
-
course_stream: TCourseStream;
|
4724
5043
|
student_id: string;
|
4725
|
-
|
5044
|
+
course_stream: TCourseStream;
|
4726
5045
|
};
|
4727
5046
|
|
4728
5047
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4807,6 +5126,8 @@ declare type TSectionSummary = {
|
|
4807
5126
|
|
4808
5127
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4809
5128
|
|
5129
|
+
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5130
|
+
|
4810
5131
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4811
5132
|
|
4812
5133
|
declare type TSheetBlockData = {
|
@@ -4868,6 +5189,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
4868
5189
|
|
4869
5190
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
4870
5191
|
|
5192
|
+
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5193
|
+
|
4871
5194
|
export declare type TSkillStatus = 'pending' | 'completed';
|
4872
5195
|
|
4873
5196
|
declare type TStickerData = {
|
@@ -4989,6 +5312,13 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
|
|
4989
5312
|
registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
|
4990
5313
|
};
|
4991
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
|
+
|
4992
5322
|
export declare const useCircleSounds: () => {
|
4993
5323
|
playSwipSound: () => void;
|
4994
5324
|
play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
|
@@ -5038,7 +5368,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5038
5368
|
invalidateCircleHomeDetails: () => void;
|
5039
5369
|
};
|
5040
5370
|
|
5041
|
-
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) =>
|
5371
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => TJourneyId[];
|
5042
5372
|
|
5043
5373
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5044
5374
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
@@ -5060,8 +5390,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5060
5390
|
|
5061
5391
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5062
5392
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5063
|
-
resource: ResourceModel<
|
5064
|
-
data:
|
5393
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5394
|
+
data: INodeDataProps[] | undefined;
|
5065
5395
|
permissions: Record<string, unknown> | undefined;
|
5066
5396
|
isProcessing: boolean;
|
5067
5397
|
isProcessed: boolean;
|
@@ -5076,8 +5406,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5076
5406
|
get: (id: string, query: void, meta: {
|
5077
5407
|
studentId: string;
|
5078
5408
|
}) => Promise<void>;
|
5079
|
-
resource: ResourceModel<
|
5080
|
-
data:
|
5409
|
+
resource: ResourceModel<INodeDataProps[]> | undefined;
|
5410
|
+
data: INodeDataProps[] | undefined;
|
5081
5411
|
permissions: Record<string, unknown> | undefined;
|
5082
5412
|
isProcessing: boolean;
|
5083
5413
|
isProcessed: boolean;
|
@@ -5088,6 +5418,12 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5088
5418
|
} & Record<string, unknown>) | undefined;
|
5089
5419
|
};
|
5090
5420
|
|
5421
|
+
export declare const useHomePageJourney: () => {
|
5422
|
+
homepageRef: RefObject<HTMLDivElement>;
|
5423
|
+
homeworkRef: RefObject<HTMLDivElement>;
|
5424
|
+
startJourney: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5425
|
+
};
|
5426
|
+
|
5091
5427
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5092
5428
|
studentClassroomId: string | undefined;
|
5093
5429
|
}) => {
|
@@ -5176,7 +5512,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5176
5512
|
declare const ZINDEX: {
|
5177
5513
|
readonly CHAPTER_CROWN_ICON: 4;
|
5178
5514
|
readonly CHAPTER_PLUS_ICON: 2;
|
5179
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5515
|
+
readonly CHAPTER_PROGRESS_SVG: 2;
|
5180
5516
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5181
5517
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5182
5518
|
readonly MODAL: 20;
|