@cuemath/leap 2.9.9-as4 → 2.9.9
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 +0 -9
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/bin2.js +8 -7
- 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/lottie/lottie.js +1 -9
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/constants/api.js +2 -3
- 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 +11 -13
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +33 -99
- 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 +49 -92
- 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 +70 -64
- package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/constants.js +2 -2
- package/dist/features/circle-games/games/tutorial/constants.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js +6 -6
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view.js +52 -45
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js +104 -74
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/banner/banner.js +6 -6
- package/dist/features/circle-games/leaderboard/comps/banner/banner.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/navigation-button/navigation-button-styled.js +1 -1
- package/dist/features/circle-games/leaderboard/comps/navigation-button/navigation-button-styled.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard-styled.js +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard-styled.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard.js +9 -9
- package/dist/features/circle-games/leaderboard/leaderboard.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps-styled.js +8 -8
- package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps-styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/constants.js +9 -9
- package/dist/features/circle-games/sign-up/constants.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +6 -12
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark-styled.js +5 -12
- package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/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/use-journey/journey-context-provider.js +28 -36
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +5 -10
- 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 +49 -42
- 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 +4 -12
- 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 +105 -128
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +92 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +25 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -0
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +20 -14
- 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 +50 -26
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +43 -49
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/create/utils/index.js +38 -33
- 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 +53 -51
- 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 +40 -42
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-container.js +62 -64
- package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-helpers.js +53 -50
- package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-container.js +52 -54
- 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 +17 -9
- 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 +105 -138
- 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/context-menu-helper/menu-element-styled.js +13 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +38 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +123 -107
- 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 +176 -157
- 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 +10 -24
- 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 +86 -80
- 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 +22 -10
- 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-status.js +53 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +37 -70
- 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 +176 -114
- 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-info.js +25 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +16 -29
- 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 +25 -17
- 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 +35 -23
- 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 +113 -110
- 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 +113 -116
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
- package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +50 -46
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +71 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +31 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +38 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +79 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +18 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +51 -0
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +11 -0
- package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +135 -0
- package/dist/features/milestone/milestone-tests/tests-list/tests-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 +3 -4
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/ui/arc-button/constants.js +4 -4
- package/dist/features/ui/arc-button/constants.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +29 -30
- 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 +14 -28
- package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +15 -30
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +13 -19
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/theme/button.js +107 -22
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-create-imperative-handle.js +96 -78
- package/dist/features/worksheet/worksheet/hooks/use-create-imperative-handle.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +79 -47
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +150 -147
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +325 -300
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/index.d.ts +46 -355
- package/dist/index.js +471 -503
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/alarm.js +0 -41
- package/dist/assets/line-icons/icons/alarm.js.map +0 -1
- package/dist/assets/line-icons/icons/dart.js +0 -23
- package/dist/assets/line-icons/icons/dart.js.map +0 -1
- package/dist/assets/line-icons/icons/exclamation.js +0 -26
- package/dist/assets/line-icons/icons/exclamation.js.map +0 -1
- package/dist/assets/line-icons/icons/home2.js +0 -25
- package/dist/assets/line-icons/icons/home2.js.map +0 -1
- package/dist/assets/line-icons/icons/important.js +0 -23
- package/dist/assets/line-icons/icons/important.js.map +0 -1
- package/dist/assets/line-icons/icons/puzzle.js +0 -25
- package/dist/assets/line-icons/icons/puzzle.js.map +0 -1
- package/dist/assets/line-icons/icons/recap.js +0 -32
- package/dist/assets/line-icons/icons/recap.js.map +0 -1
- package/dist/assets/line-icons/icons/skip-colored.js +0 -43
- package/dist/assets/line-icons/icons/skip-colored.js.map +0 -1
- package/dist/assets/line-icons/icons/status.js +0 -41
- package/dist/assets/line-icons/icons/status.js.map +0 -1
- package/dist/assets/line-icons/icons/testtube.js +0 -33
- package/dist/assets/line-icons/icons/testtube.js.map +0 -1
- package/dist/features/chapters-v2/api/chapter.js +0 -10
- package/dist/features/chapters-v2/api/chapter.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +0 -112
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +0 -35
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +0 -83
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +0 -90
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +0 -98
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +0 -51
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +0 -127
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +0 -13
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +0 -159
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +0 -16
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/node-card.js +0 -12
- package/dist/features/chapters-v2/comps/node-card/node-card.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +0 -31
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +0 -32
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +0 -9
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +0 -189
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +0 -194
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +0 -1
- package/dist/features/chapters-v2/comps/tag/tag-styled.js +0 -13
- package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +0 -1
- package/dist/features/chapters-v2/comps/tag/tag.js +0 -28
- package/dist/features/chapters-v2/comps/tag/tag.js.map +0 -1
- package/dist/features/chapters-v2/constants/block-constants.js +0 -20
- package/dist/features/chapters-v2/constants/block-constants.js.map +0 -1
- package/dist/features/chapters-v2/constants/node-constants.js +0 -14
- package/dist/features/chapters-v2/constants/node-constants.js.map +0 -1
- package/dist/features/chapters-v2/utils/index.js +0 -38
- package/dist/features/chapters-v2/utils/index.js.map +0 -1
- package/dist/features/chapters-v2/utils/node-card-utils.js +0 -177
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +0 -1
- package/dist/features/homework/card-menu-option.js +0 -28
- package/dist/features/homework/card-menu-option.js.map +0 -1
- package/dist/features/homework/card-menu-options.js +0 -22
- package/dist/features/homework/card-menu-options.js.map +0 -1
- package/dist/features/homework/card-title.js +0 -16
- package/dist/features/homework/card-title.js.map +0 -1
- package/dist/features/homework/homework-analytics-events.js +0 -10
- package/dist/features/homework/homework-analytics-events.js.map +0 -1
- package/dist/features/homework/homework-card-view.js +0 -143
- package/dist/features/homework/homework-card-view.js.map +0 -1
- package/dist/features/homework/homework-card.js +0 -245
- package/dist/features/homework/homework-card.js.map +0 -1
- package/dist/features/homework/hw-card-list/api/get-homeworks.js +0 -10
- package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +0 -1
- package/dist/features/homework/hw-card-list/hw-card-list-styled.js +0 -63
- package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +0 -1
- package/dist/features/homework/hw-card-list/hw-card-list.js +0 -191
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +0 -1
- package/dist/features/homework/node-progress.js +0 -29
- package/dist/features/homework/node-progress.js.map +0 -1
- package/dist/features/homework/styles.js +0 -130
- package/dist/features/homework/styles.js.map +0 -1
- package/dist/features/homework/utils.js +0 -48
- package/dist/features/homework/utils.js.map +0 -1
- package/dist/features/journey/hooks/use-chapter-journey.js +0 -194
- package/dist/features/journey/hooks/use-chapter-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-home-page-journey.js +0 -189
- package/dist/features/journey/hooks/use-home-page-journey.js.map +0 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +0 -5
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +0 -1
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +0 -587
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +0 -1
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +0 -165
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +0 -1
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +0 -25
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +0 -87
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +0 -1
- package/dist/features/recent-chapters/api/get-recent-chapters.js +0 -9
- package/dist/features/recent-chapters/api/get-recent-chapters.js.map +0 -1
- package/dist/features/recent-chapters/recent-chapters-styled.js +0 -16
- package/dist/features/recent-chapters/recent-chapters-styled.js.map +0 -1
- package/dist/features/recent-chapters/recent-chapters.js +0 -39
- package/dist/features/recent-chapters/recent-chapters.js.map +0 -1
- package/dist/features/sheet-v2/resource-list/resource-list.js +0 -45
- package/dist/features/sheet-v2/resource-list/resource-list.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInDays.js +0 -17
- package/dist/node_modules/date-fns/differenceInDays.js.map +0 -1
- package/dist/static/chapter-header-bg-2.c8d96894.svg +0 -1
- package/dist/static/competitive-arena.b9c40801.json +0 -1
- package/dist/static/learn.71b13323.json +0 -1
- package/dist/static/node-custom-test-bg.d3b757be.svg +0 -1
- package/dist/static/node-learn-bg.b61f815c.svg +0 -1
- package/dist/static/node-practice-bg.16cbaf2a.svg +0 -1
- package/dist/static/node-project-bg.e6a33e28.svg +0 -1
- package/dist/static/node-puzzle-bg.3422135c.svg +0 -1
- package/dist/static/node-recap-bg.546154e4.svg +0 -1
- package/dist/static/node-test-prep-bg.42c0b9c4.svg +0 -1
- package/dist/static/node-video-bg.3df3f73a.svg +0 -1
- package/dist/static/practice.158dd488.json +0 -1
- package/dist/static/project.eb665827.json +0 -1
- package/dist/static/puzzle.b298c7e4.json +0 -1
- package/dist/static/recap.0dd2c1e2.json +0 -1
- package/dist/static/test.803d6036.json +0 -1
- package/dist/static/video.b41451e2.json +0 -1
package/dist/index.d.ts
CHANGED
@@ -26,7 +26,7 @@ import * as React_3 from 'react';
|
|
26
26
|
import type { ReactElement } from 'react';
|
27
27
|
import { ReactNode } from 'react';
|
28
28
|
import { RefAttributes } from 'react';
|
29
|
-
import { RefObject } from 'react';
|
29
|
+
import type { RefObject } from 'react';
|
30
30
|
import { ResourceModel } from '@cuemath/rest-api';
|
31
31
|
import type { SetStateAction } from 'react';
|
32
32
|
import { Substitute } from 'styled-components/dist/types';
|
@@ -48,8 +48,6 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
48
48
|
|
49
49
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
50
50
|
|
51
|
-
export declare const AlarmIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
52
|
-
|
53
51
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
54
52
|
|
55
53
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
@@ -94,22 +92,7 @@ declare const BLOCK_STATUS: {
|
|
94
92
|
readonly LOCKED: "LOCKED";
|
95
93
|
};
|
96
94
|
|
97
|
-
declare
|
98
|
-
DEFAULT = "DEFAULT",
|
99
|
-
PREREQ = "PREREQ",
|
100
|
-
RECAP = "RECAP",
|
101
|
-
GOAL = "GOAL",
|
102
|
-
TESTS = "TESTS",
|
103
|
-
PLAYLIST = "PLAYLIST",
|
104
|
-
SOLUTIONS = "SOLUTIONS",
|
105
|
-
NOTES = "NOTES",
|
106
|
-
FLASHCARDS = "FLASHCARDS",
|
107
|
-
SUBJECTIVES = "SUBJECTIVES",
|
108
|
-
PUZZLE_CARDS = "PUZZLE_CARDS",
|
109
|
-
SAT_MOCK_TEST = "SAT_MOCK_TEST"
|
110
|
-
}
|
111
|
-
|
112
|
-
declare const BLOCK_TYPE_2: {
|
95
|
+
declare const BLOCK_TYPE: {
|
113
96
|
readonly DEFAULT: "DEFAULT";
|
114
97
|
readonly PREREQ: "PREREQ";
|
115
98
|
readonly RECAP: "RECAP";
|
@@ -163,8 +146,6 @@ declare const CHAPTER_PERMISSION_CODES: {
|
|
163
146
|
|
164
147
|
export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
|
165
148
|
|
166
|
-
export declare const ChapterDetails: FC<IChapterDetails>;
|
167
|
-
|
168
149
|
export declare const ChaptersList: FC<IChaptersListProps>;
|
169
150
|
|
170
151
|
export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -278,8 +259,6 @@ export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
278
259
|
|
279
260
|
export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
|
280
261
|
|
281
|
-
export declare const DartIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
282
|
-
|
283
262
|
export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
284
263
|
|
285
264
|
export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
@@ -352,8 +331,6 @@ declare interface ErrorProps {
|
|
352
331
|
}
|
353
332
|
|
354
333
|
export declare const EVENTS: {
|
355
|
-
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
356
|
-
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
357
334
|
GOAL_CREATED: "GOAL_CREATED";
|
358
335
|
GOAL_EDITED: "GOAL_EDITED";
|
359
336
|
GOAL_DELETED: "GOAL_DELETED";
|
@@ -376,8 +353,6 @@ export declare const EVENTS: {
|
|
376
353
|
CHANGE_LOCATION: "CHANGE_LOCATION";
|
377
354
|
SHEET_STARTED: "SHEET_STARTED";
|
378
355
|
SHEET_UNASSIGNED: "SHEET_UNASSIGNED";
|
379
|
-
SHEET_REATTEMPTED: "SHEET_REATTEMPTED";
|
380
|
-
INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION";
|
381
356
|
};
|
382
357
|
|
383
358
|
declare type EventToPayload<T> = T extends {
|
@@ -385,8 +360,6 @@ declare type EventToPayload<T> = T extends {
|
|
385
360
|
eventPayload: infer P;
|
386
361
|
} ? [E] | [E, Partial<P>] : never;
|
387
362
|
|
388
|
-
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
389
|
-
|
390
363
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
391
364
|
|
392
365
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -496,23 +469,8 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
496
469
|
|
497
470
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
498
471
|
|
499
|
-
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
500
|
-
|
501
472
|
declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
|
502
473
|
|
503
|
-
declare interface HWCardListProps extends INodeCardCallbacks {
|
504
|
-
userType: TUserTypes;
|
505
|
-
studentId: string;
|
506
|
-
stream: string;
|
507
|
-
onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
508
|
-
onTestStart?: (sheetData: INodeDataProps, homeworkId?: string) => void;
|
509
|
-
onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
510
|
-
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
511
|
-
individualHomeworkRef?: React_2.RefObject<HTMLDivElement>;
|
512
|
-
startHomePageJourney?: ({ hwDetails, studentId, stream, userType, }: IHomepageStartJourneyProps) => void;
|
513
|
-
canStartJourney?: boolean;
|
514
|
-
}
|
515
|
-
|
516
474
|
declare interface IAccordionSectionProps {
|
517
475
|
headerElement: React.ReactElement;
|
518
476
|
bodyElement: React.ReactElement;
|
@@ -569,7 +527,6 @@ export declare interface IArrowTooltipProps {
|
|
569
527
|
width?: number;
|
570
528
|
widthX?: number;
|
571
529
|
zIndex?: number;
|
572
|
-
parentWidth?: number | string;
|
573
530
|
}
|
574
531
|
|
575
532
|
declare interface IAttempt {
|
@@ -670,10 +627,6 @@ declare interface IBaseWorksheetProps {
|
|
670
627
|
canShowActionBar?: boolean;
|
671
628
|
}
|
672
629
|
|
673
|
-
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
674
|
-
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
675
|
-
}
|
676
|
-
|
677
630
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
678
631
|
label: string;
|
679
632
|
renderAs: TButtonVariants;
|
@@ -744,28 +697,10 @@ declare interface ICascadingSelectInputProps {
|
|
744
697
|
|
745
698
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
746
699
|
search_and_added?: boolean;
|
700
|
+
total_supplementary_sheets: number;
|
747
701
|
learning_sheet_data: ILearningSheetData[];
|
748
702
|
}
|
749
703
|
|
750
|
-
export declare interface IChapterBlockData {
|
751
|
-
block_type: keyof typeof BLOCK_TYPE;
|
752
|
-
chapter_code: string;
|
753
|
-
code: string;
|
754
|
-
block_id: string;
|
755
|
-
is_skipped: boolean;
|
756
|
-
name: string;
|
757
|
-
permissions: IChapterBlockPermission;
|
758
|
-
program_id: string;
|
759
|
-
section_code: keyof typeof SECTION_CODE;
|
760
|
-
sheets: INodeDataProps[];
|
761
|
-
user_block_id: string | null;
|
762
|
-
}
|
763
|
-
|
764
|
-
declare interface IChapterBlockPermission {
|
765
|
-
can_skip: boolean;
|
766
|
-
can_un_skip: boolean;
|
767
|
-
}
|
768
|
-
|
769
704
|
export declare interface IChapterBlockV3 {
|
770
705
|
completed_on: number | null;
|
771
706
|
sheets: IWorksheetModelV3[];
|
@@ -795,29 +730,11 @@ export declare interface IChapterDataProps {
|
|
795
730
|
user_chapter_progress: IUserChapterProgressProps;
|
796
731
|
state: TUserChapterStates | null;
|
797
732
|
program_id: string;
|
798
|
-
progress_stat: {
|
799
|
-
classwork: IMilestoneData['progress_stat'];
|
800
|
-
mandatory: IMilestoneData['progress_stat'];
|
801
|
-
optional: IMilestoneData['progress_stat'];
|
802
|
-
};
|
803
733
|
sheets_data: {
|
804
734
|
lessons: ILessonsListProps['lessons'];
|
805
735
|
supplementary_sheets_group_sort_order: string[];
|
806
736
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
807
737
|
};
|
808
|
-
blocks: IUserChapterData['blocks'];
|
809
|
-
}
|
810
|
-
|
811
|
-
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
812
|
-
userType: TUserTypes;
|
813
|
-
userChapterId: string;
|
814
|
-
studentId: string;
|
815
|
-
onExit?: () => void;
|
816
|
-
startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
|
817
|
-
chapterPageRef?: React.RefObject<HTMLDivElement>;
|
818
|
-
bannerRef?: React.RefObject<HTMLDivElement>;
|
819
|
-
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
820
|
-
canStartJourney?: boolean;
|
821
738
|
}
|
822
739
|
|
823
740
|
declare interface IChapterModel {
|
@@ -842,18 +759,6 @@ declare interface IChapterModel {
|
|
842
759
|
mastery_time: number;
|
843
760
|
chapter_time_unit: TTimeUnit;
|
844
761
|
is_puzzle_chapter?: boolean;
|
845
|
-
blocks: IUserChapterData['blocks'];
|
846
|
-
}
|
847
|
-
|
848
|
-
declare interface IChapterProgressInfo {
|
849
|
-
completed: number;
|
850
|
-
total: number;
|
851
|
-
}
|
852
|
-
|
853
|
-
declare interface IChapterProgressStats {
|
854
|
-
mandatory: IChapterProgressInfo;
|
855
|
-
classwork: IChapterProgressInfo;
|
856
|
-
optional: IChapterProgressInfo;
|
857
762
|
}
|
858
763
|
|
859
764
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -881,13 +786,6 @@ declare interface IChaptersListProps {
|
|
881
786
|
isGoalCreation: boolean;
|
882
787
|
}
|
883
788
|
|
884
|
-
declare interface IChapterStartJourneyProps {
|
885
|
-
chapterDetails: IUserChapterData;
|
886
|
-
userChapterId: string;
|
887
|
-
studentId: string;
|
888
|
-
userType: TUserTypes;
|
889
|
-
}
|
890
|
-
|
891
789
|
declare interface IChapterState {
|
892
790
|
added?: boolean;
|
893
791
|
expanded?: boolean;
|
@@ -1038,9 +936,6 @@ declare interface IContextMenuProps {
|
|
1038
936
|
menuZIndex?: number;
|
1039
937
|
startLeft?: boolean;
|
1040
938
|
placeTop?: boolean;
|
1041
|
-
menuWidth?: number | string;
|
1042
|
-
menuWidthX?: number;
|
1043
|
-
handleOnMenuClick?: () => void;
|
1044
939
|
}
|
1045
940
|
|
1046
941
|
declare interface ICountdownTimer {
|
@@ -1299,7 +1194,7 @@ declare interface IGoalCurriculumMap {
|
|
1299
1194
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1300
1195
|
blocked_countries: string[];
|
1301
1196
|
course_stream: TCourseStream;
|
1302
|
-
goal_category:
|
1197
|
+
goal_category: TGoalCategory;
|
1303
1198
|
goal_curriculum_standard?: string;
|
1304
1199
|
goal_code: string;
|
1305
1200
|
goal_description: string | null;
|
@@ -1328,20 +1223,6 @@ declare interface IGradeSelectorProps {
|
|
1328
1223
|
layoutAlignment?: 'center' | 'auto';
|
1329
1224
|
}
|
1330
1225
|
|
1331
|
-
export declare interface IHomepageStartJourneyProps {
|
1332
|
-
hwDetails: INodeDataProps[];
|
1333
|
-
studentId: string;
|
1334
|
-
stream: string;
|
1335
|
-
userType: TUserTypes;
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
declare interface IHomepageStartJourneyProps_2 {
|
1339
|
-
chapterDetails: IUserChapterData;
|
1340
|
-
userChapterId: string;
|
1341
|
-
studentId: string;
|
1342
|
-
userType: TUserTypes;
|
1343
|
-
}
|
1344
|
-
|
1345
1226
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1346
1227
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1347
1228
|
customBgColor?: TColorNames;
|
@@ -1435,9 +1316,8 @@ export declare interface IJourneyContext {
|
|
1435
1316
|
* @param id - The journey identifier.
|
1436
1317
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1437
1318
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1438
|
-
* @param shouldBlurNextJourney - If `true`, blurs the next journey.
|
1439
1319
|
*/
|
1440
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number
|
1320
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1441
1321
|
/**
|
1442
1322
|
* Must be called to end journey and update the journey status on server.
|
1443
1323
|
* @param id - The journey id.
|
@@ -1517,7 +1397,8 @@ declare interface ILeaderboardProps {
|
|
1517
1397
|
}
|
1518
1398
|
|
1519
1399
|
declare interface ILearningSheetData {
|
1520
|
-
|
1400
|
+
title: string;
|
1401
|
+
learnosityRef: string;
|
1521
1402
|
}
|
1522
1403
|
|
1523
1404
|
declare interface ILearnosity {
|
@@ -1722,7 +1603,6 @@ export declare const ILLUSTRATIONS: {
|
|
1722
1603
|
CHAPTER_8: string;
|
1723
1604
|
CHAPTER_9: string;
|
1724
1605
|
CHAPTER_HEADER_BG: string;
|
1725
|
-
CHAPTER_HEADER_BG_2: string;
|
1726
1606
|
CIRCLE_CUEMATH_LOGO: string;
|
1727
1607
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1728
1608
|
CLOCK_ORANGE: string;
|
@@ -1764,14 +1644,6 @@ export declare const ILLUSTRATIONS: {
|
|
1764
1644
|
MILESTONE_INTRO_2: string;
|
1765
1645
|
MILESTONE_INTRO_3: string;
|
1766
1646
|
MISTAKE: string;
|
1767
|
-
NODE_CUSTOM_TEST_BG: string;
|
1768
|
-
NODE_LEARN_BG: string;
|
1769
|
-
NODE_PRACTICE_BG: string;
|
1770
|
-
NODE_PROJECT_BG: string;
|
1771
|
-
NODE_PUZZLE_BG: string;
|
1772
|
-
NODE_RECAP_BG: string;
|
1773
|
-
NODE_TEST_PREP_BG: string;
|
1774
|
-
NODE_VIDEO_BG: string;
|
1775
1647
|
NUMBER_1_ORANGE: string;
|
1776
1648
|
NUMBER_2_ORANGE: string;
|
1777
1649
|
NUMBER_3_ORANGE: string;
|
@@ -1952,7 +1824,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1952
1824
|
parentName?: string;
|
1953
1825
|
teacherName?: string;
|
1954
1826
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1955
|
-
onAddOutcome?: (milestoneId
|
1827
|
+
onAddOutcome?: (milestoneId: string) => void;
|
1956
1828
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1957
1829
|
isClassOngoing?: boolean;
|
1958
1830
|
isStudentPresent?: boolean;
|
@@ -1991,8 +1863,6 @@ declare interface IMileStoneCreateProps {
|
|
1991
1863
|
milestoneId?: string;
|
1992
1864
|
currentCountryCode?: string;
|
1993
1865
|
courseStream: TCourseStream;
|
1994
|
-
canDeleteGoal?: boolean;
|
1995
|
-
onDeleteGoal?: () => void;
|
1996
1866
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1997
1867
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1998
1868
|
onExit?: () => void;
|
@@ -2006,7 +1876,7 @@ export declare interface IMilestoneData {
|
|
2006
1876
|
course_stream: TCourseStream;
|
2007
1877
|
grade: string;
|
2008
1878
|
board: string;
|
2009
|
-
goal_category:
|
1879
|
+
goal_category: TGoalCategory_2;
|
2010
1880
|
goal_code: string | null;
|
2011
1881
|
created_on_ts: number;
|
2012
1882
|
milestone_date_ts: number;
|
@@ -2021,10 +1891,6 @@ export declare interface IMilestoneData {
|
|
2021
1891
|
user_milestone_progress: IUserChapterProgressProps | null;
|
2022
1892
|
permissions: IMilestoneCardPermissions;
|
2023
1893
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2024
|
-
progress_stat: {
|
2025
|
-
total: number;
|
2026
|
-
completed: number;
|
2027
|
-
} | null;
|
2028
1894
|
}
|
2029
1895
|
|
2030
1896
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2102,7 +1968,7 @@ declare interface IMilestoneStartProps {
|
|
2102
1968
|
handleOnClick?: () => void;
|
2103
1969
|
}
|
2104
1970
|
|
2105
|
-
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps,
|
1971
|
+
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, ISheetItemCallbackProps {
|
2106
1972
|
isPlanAvailable: boolean;
|
2107
1973
|
isMilestoneActive: boolean;
|
2108
1974
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2137,7 +2003,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2137
2003
|
courseStream: TCourseStream;
|
2138
2004
|
}
|
2139
2005
|
|
2140
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2006
|
+
declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
|
2141
2007
|
userType: TUserTypes;
|
2142
2008
|
studentId: string;
|
2143
2009
|
userMilestoneId?: string;
|
@@ -2179,67 +2045,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2179
2045
|
|
2180
2046
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2181
2047
|
|
2182
|
-
declare interface INodeCardCallbacks {
|
2183
|
-
onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
|
2184
|
-
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2185
|
-
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
|
2186
|
-
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2187
|
-
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2188
|
-
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2189
|
-
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2190
|
-
onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2191
|
-
}
|
2192
|
-
|
2193
|
-
export declare interface INodeDataProps {
|
2194
|
-
accuracy: number | null;
|
2195
|
-
attempt_location: TSheetAttemptLocation_2;
|
2196
|
-
block_id: string;
|
2197
|
-
card_header: string;
|
2198
|
-
chapter_id: string;
|
2199
|
-
complete_status: boolean;
|
2200
|
-
course_type: TCourseType;
|
2201
|
-
desmos_calculator_enabled: boolean;
|
2202
|
-
due_date_ts: number | null;
|
2203
|
-
is_lesson_v3_enabled: boolean;
|
2204
|
-
is_optional: boolean;
|
2205
|
-
is_timed: boolean;
|
2206
|
-
is_worksheet_v3: boolean | null;
|
2207
|
-
learnosity_activity_ref: string;
|
2208
|
-
marked_as_completed: boolean;
|
2209
|
-
node_id: string;
|
2210
|
-
node_type: TNodeTypes_2;
|
2211
|
-
sheet_statement: string;
|
2212
|
-
permissions: INodePermissions;
|
2213
|
-
sheet_time: number | null;
|
2214
|
-
state: TSheetStates;
|
2215
|
-
title: string;
|
2216
|
-
user_chapter_id: string | null;
|
2217
|
-
user_node_id: string | null;
|
2218
|
-
worksheet_id: string;
|
2219
|
-
image_url: string;
|
2220
|
-
image_hue: THueNames;
|
2221
|
-
total_questions: number | null;
|
2222
|
-
unlocked_on_ts: number | null;
|
2223
|
-
items?: TNodeDataTestItemsDataProps[];
|
2224
|
-
user_milestone_id?: string;
|
2225
|
-
user_attempt_id: string | null;
|
2226
|
-
subtext: string | null;
|
2227
|
-
homework_id?: string;
|
2228
|
-
chapter_name?: string;
|
2229
|
-
}
|
2230
|
-
|
2231
|
-
declare interface INodePermissions {
|
2232
|
-
can_change_attempt_location: boolean;
|
2233
|
-
can_mark_familiar: boolean;
|
2234
|
-
can_reattempt: boolean;
|
2235
|
-
can_reset: boolean;
|
2236
|
-
can_resume: boolean;
|
2237
|
-
can_review: boolean;
|
2238
|
-
can_start: boolean;
|
2239
|
-
can_teacher_review: boolean;
|
2240
|
-
can_unassign: boolean;
|
2241
|
-
}
|
2242
|
-
|
2243
2048
|
export declare interface INudgeProps {
|
2244
2049
|
nudge: 'click';
|
2245
2050
|
content: ReactNode;
|
@@ -2248,10 +2053,6 @@ export declare interface INudgeProps {
|
|
2248
2053
|
zIndex?: number;
|
2249
2054
|
}
|
2250
2055
|
|
2251
|
-
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2252
|
-
|
2253
|
-
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2254
|
-
|
2255
2056
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2256
2057
|
|
2257
2058
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -3018,7 +2819,13 @@ declare interface ITestsCreationProps {
|
|
3018
2819
|
onError: (errorMessage?: string) => void;
|
3019
2820
|
}
|
3020
2821
|
|
3021
|
-
declare interface
|
2822
|
+
declare interface ITestSheetItemCallbackProps {
|
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 {
|
3022
2829
|
userType: TUserTypes;
|
3023
2830
|
studentId: string;
|
3024
2831
|
userMilestoneId: string;
|
@@ -3027,10 +2834,6 @@ declare interface ITestsListProps {
|
|
3027
2834
|
isDraftMilestone?: boolean;
|
3028
2835
|
isChaptersAvailable?: boolean;
|
3029
2836
|
canUpdatePlan?: boolean;
|
3030
|
-
onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
3031
|
-
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3032
|
-
onTestStart?: (sheetData: INodeDataProps) => void;
|
3033
|
-
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3034
2837
|
}
|
3035
2838
|
|
3036
2839
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3275,20 +3078,6 @@ declare interface IusePointerSyncProps {
|
|
3275
3078
|
targetUserId?: string;
|
3276
3079
|
}
|
3277
3080
|
|
3278
|
-
export declare interface IUserChapterData {
|
3279
|
-
chapter_code: string;
|
3280
|
-
chapter_id: string;
|
3281
|
-
chapter_tags: string[];
|
3282
|
-
id: string;
|
3283
|
-
image_hue: THueNames;
|
3284
|
-
image_url: string;
|
3285
|
-
item_bank_enabled: boolean;
|
3286
|
-
name: string;
|
3287
|
-
program_id: string;
|
3288
|
-
progress_stat: IChapterProgressStats | null;
|
3289
|
-
blocks: IChapterBlockData[];
|
3290
|
-
}
|
3291
|
-
|
3292
3081
|
declare interface IUserChapterProgressProps {
|
3293
3082
|
familiar_sheets: number;
|
3294
3083
|
mastered_sheets: number;
|
@@ -3503,6 +3292,7 @@ declare interface IWorksheetCallbackProps {
|
|
3503
3292
|
}) => void;
|
3504
3293
|
onBulkResponsesChange?: (responses: Record<string, IWorksheetResponse>) => void;
|
3505
3294
|
onResponsesChange?: (responses: Record<string, IWorksheetResponse>) => void;
|
3295
|
+
onMediaStateChange?: (question: IWorksheetQuestion, mediaType: TWORKSHHET_QUESTION_MEDIA_TYPE, mediaState: Record<string, unknown>) => void;
|
3506
3296
|
onTeacherValidation?: (questionId: string, rating?: keyof typeof QUESTIONS_RATING) => void;
|
3507
3297
|
onOptionalItemAssignment?: (itemType: TItemType) => void;
|
3508
3298
|
onOptionalItemSkip?: (itemType: TItemType) => void;
|
@@ -3610,6 +3400,7 @@ export declare interface IWorksheetRef {
|
|
3610
3400
|
validateQuestion: (responseId: string, rating?: keyof typeof QUESTIONS_RATING, skipRemainingQuestions?: boolean) => void;
|
3611
3401
|
assignOptionalItems: (itemType: TItemType) => void;
|
3612
3402
|
skipOptionalItems: (itemType: TItemType) => void;
|
3403
|
+
updateMediaState: (responseId: string, mediaType: TWORKSHHET_QUESTION_MEDIA_TYPE, mediaState: Record<string, unknown>) => void;
|
3613
3404
|
}
|
3614
3405
|
|
3615
3406
|
export declare interface IWorksheetResponse {
|
@@ -3619,6 +3410,7 @@ export declare interface IWorksheetResponse {
|
|
3619
3410
|
questionPosition: number;
|
3620
3411
|
isOkayTypeQuestion: boolean;
|
3621
3412
|
response?: ILearnosityQuestionResponse;
|
3413
|
+
simState?: Record<string, unknown>;
|
3622
3414
|
score?: ILearnosityQuestionScore;
|
3623
3415
|
responseEdited?: boolean;
|
3624
3416
|
hintsUsed?: number;
|
@@ -3642,14 +3434,7 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3642
3434
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3643
3435
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3644
3436
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3645
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3646
|
-
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3647
|
-
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3648
|
-
}
|
3649
|
-
|
3650
|
-
export declare enum JOURNEY_ID_TEACHER {
|
3651
|
-
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3652
|
-
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3437
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3653
3438
|
}
|
3654
3439
|
|
3655
3440
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3694,7 +3479,6 @@ export declare const LOTTIE: {
|
|
3694
3479
|
COLOR_1: string;
|
3695
3480
|
COLOR_2: string;
|
3696
3481
|
COLOR_3: string;
|
3697
|
-
COMPETITIVE_ARENA: string;
|
3698
3482
|
DIFFICULT: string;
|
3699
3483
|
EASY: string;
|
3700
3484
|
ELITE_CIRCLE: string;
|
@@ -3707,7 +3491,6 @@ export declare const LOTTIE: {
|
|
3707
3491
|
GOLD_3: string;
|
3708
3492
|
INFINITE_BUTTON_BG: string;
|
3709
3493
|
INFINITE_BUTTON_SYMBOL: string;
|
3710
|
-
LEARN: string;
|
3711
3494
|
LEVELUP_RINGS: string;
|
3712
3495
|
MEDIUM: string;
|
3713
3496
|
NUDGE_TAP: string;
|
@@ -3727,12 +3510,8 @@ export declare const LOTTIE: {
|
|
3727
3510
|
POINT50: string;
|
3728
3511
|
POINT5: string;
|
3729
3512
|
POINT60: string;
|
3730
|
-
PRACTICE: string;
|
3731
3513
|
PROFICIENT1X: string;
|
3732
|
-
PROJECT: string;
|
3733
|
-
PUZZLE: string;
|
3734
3514
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3735
|
-
RECAP: string;
|
3736
3515
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3737
3516
|
SILVER_1: string;
|
3738
3517
|
SILVER_2: string;
|
@@ -3745,12 +3524,10 @@ export declare const LOTTIE: {
|
|
3745
3524
|
TABLE_SEGMENT_STAR: string;
|
3746
3525
|
TARGET_ACHIEVED_TEXT: string;
|
3747
3526
|
TEACHER_VALIDATION: string;
|
3748
|
-
TEST: string;
|
3749
3527
|
TOTAL_STREAK: string;
|
3750
3528
|
TOTAL_TIME: string;
|
3751
3529
|
TOTAL_TIME_SPENT: string;
|
3752
3530
|
TOURNAMENT_RIPPLE: string;
|
3753
|
-
VIDEO: string;
|
3754
3531
|
};
|
3755
3532
|
|
3756
3533
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3789,21 +3566,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3789
3566
|
|
3790
3567
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3791
3568
|
|
3792
|
-
declare enum NODE_CARD_COURSE_TYPES {
|
3793
|
-
PROGRAM = "PROGRAM",
|
3794
|
-
REMEDIAL = "REMEDIAL",
|
3795
|
-
TEST_SERIES = "TEST_SERIES",
|
3796
|
-
EXAM = "EXAM"
|
3797
|
-
}
|
3798
|
-
|
3799
|
-
declare enum NODE_CARD_STATES {
|
3800
|
-
LOCKED = "LOCKED",
|
3801
|
-
NOT_STARTED = "NOT_STARTED",
|
3802
|
-
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3803
|
-
IN_PROGRESS = "IN_PROGRESS",
|
3804
|
-
COMPLETED = "COMPLETED"
|
3805
|
-
}
|
3806
|
-
|
3807
3569
|
export declare const NODE_LABELS: {
|
3808
3570
|
readonly ASSESSMENT: "ASSESSMENT";
|
3809
3571
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3949,7 +3711,6 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
3949
3711
|
export declare enum PLATFORM_EVENTS_STUDENT {
|
3950
3712
|
PAGE_VIEWED = "page_viewed",
|
3951
3713
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
3952
|
-
HOMEWORK_COMPLETED = "homework_completed",
|
3953
3714
|
ACTIVITY_STARTED = "activity_started",
|
3954
3715
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
3955
3716
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4037,8 +3798,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
4037
3798
|
|
4038
3799
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4039
3800
|
|
4040
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4041
|
-
|
4042
3801
|
export declare const PYTHON_NODE_TYPES: {
|
4043
3802
|
readonly PPT_BASIC: "PPT_BASIC";
|
4044
3803
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -4059,18 +3818,6 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
4059
3818
|
|
4060
3819
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
4061
3820
|
|
4062
|
-
export declare const RecapIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4063
|
-
|
4064
|
-
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4065
|
-
|
4066
|
-
declare interface RecentChaptersProps {
|
4067
|
-
studentId: string;
|
4068
|
-
courseStream: TCourseStream;
|
4069
|
-
userType: TUserTypes;
|
4070
|
-
onChapterClick: IChaptersListProps['onChapterClick'];
|
4071
|
-
recentChaptersRef?: React.RefObject<HTMLDivElement>;
|
4072
|
-
}
|
4073
|
-
|
4074
3821
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
4075
3822
|
|
4076
3823
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -4097,18 +3844,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
4097
3844
|
|
4098
3845
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4099
3846
|
|
4100
|
-
declare enum SECTION_CODE {
|
4101
|
-
READINESS = "READINESS",
|
4102
|
-
GOALS = "GOALS",
|
4103
|
-
TESTS = "TESTS",
|
4104
|
-
ENRICHMENT = "ENRICHMENT",
|
4105
|
-
SUBJECTIVE = "SUBJECTIVE",
|
4106
|
-
VIDEOS = "VIDEOS",
|
4107
|
-
NOTES = "NOTES",
|
4108
|
-
FLASHCARDS = "FLASHCARDS",
|
4109
|
-
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4110
|
-
}
|
4111
|
-
|
4112
3847
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4113
3848
|
|
4114
3849
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4172,8 +3907,6 @@ export { SketchIcon }
|
|
4172
3907
|
|
4173
3908
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4174
3909
|
|
4175
|
-
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4176
|
-
|
4177
3910
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4178
3911
|
|
4179
3912
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -4202,8 +3935,6 @@ export declare enum State {
|
|
4202
3935
|
HOLD = "HOLD"
|
4203
3936
|
}
|
4204
3937
|
|
4205
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4206
|
-
|
4207
3938
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4208
3939
|
|
4209
3940
|
declare const STICKER_BADGE: {
|
@@ -4318,11 +4049,11 @@ declare type TBlockStatsData = {
|
|
4318
4049
|
|
4319
4050
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4320
4051
|
|
4321
|
-
declare type TBlockType = keyof typeof
|
4052
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE;
|
4322
4053
|
|
4323
4054
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4324
4055
|
|
4325
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4056
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4326
4057
|
|
4327
4058
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4328
4059
|
|
@@ -4415,8 +4146,6 @@ declare type TCourseProgramPermissions = {
|
|
4415
4146
|
|
4416
4147
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4417
4148
|
|
4418
|
-
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4419
|
-
|
4420
4149
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4421
4150
|
|
4422
4151
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4446,8 +4175,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4446
4175
|
|
4447
4176
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4448
4177
|
|
4449
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4450
|
-
|
4451
4178
|
/**
|
4452
4179
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4453
4180
|
*/
|
@@ -4474,9 +4201,9 @@ declare interface TextProps {
|
|
4474
4201
|
|
4475
4202
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4476
4203
|
|
4477
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4204
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4478
4205
|
|
4479
|
-
declare type TGoalCategory_2 =
|
4206
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4480
4207
|
|
4481
4208
|
declare interface TGoals {
|
4482
4209
|
goal_code?: string;
|
@@ -4560,36 +4287,23 @@ export declare type TInclassMessage = {
|
|
4560
4287
|
itemType: TItemType;
|
4561
4288
|
};
|
4562
4289
|
} | {
|
4563
|
-
eventName: '
|
4564
|
-
eventPayload: {
|
4565
|
-
worksheetId: string;
|
4566
|
-
};
|
4567
|
-
} | {
|
4568
|
-
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4290
|
+
eventName: 'WORKSHEET_MEDIA_STATE_UPDATED_BY_TEACHER';
|
4569
4291
|
eventPayload: {
|
4570
|
-
|
4292
|
+
attemptId: string;
|
4293
|
+
responseId: string;
|
4294
|
+
mediaType: TWORKSHHET_QUESTION_MEDIA_TYPE;
|
4295
|
+
mediaState: Record<string, unknown>;
|
4571
4296
|
};
|
4572
4297
|
} | {
|
4573
|
-
eventName:
|
4298
|
+
eventName: 'STUDENT_LEARNING_WORKSHEET_COMPLETED';
|
4574
4299
|
eventPayload: {
|
4575
|
-
|
4300
|
+
worksheetId: string;
|
4576
4301
|
};
|
4577
4302
|
} | {
|
4578
4303
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4579
4304
|
eventPayload: {
|
4580
4305
|
chapterId: string;
|
4581
4306
|
};
|
4582
|
-
} | {
|
4583
|
-
eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
|
4584
|
-
eventPayload: {
|
4585
|
-
chapterId: string;
|
4586
|
-
};
|
4587
|
-
} | {
|
4588
|
-
eventName: typeof EVENTS.SHEET_REATTEMPTED;
|
4589
|
-
eventPayload: {
|
4590
|
-
milestoneId: string;
|
4591
|
-
chapterId: string;
|
4592
|
-
};
|
4593
4307
|
} | {
|
4594
4308
|
eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
|
4595
4309
|
eventPayload: {
|
@@ -4714,7 +4428,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
|
|
4714
4428
|
|
4715
4429
|
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';
|
4716
4430
|
|
4717
|
-
export declare type TJourneyId = JOURNEY_ID_STUDENT
|
4431
|
+
export declare type TJourneyId = JOURNEY_ID_STUDENT;
|
4718
4432
|
|
4719
4433
|
declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
|
4720
4434
|
|
@@ -4961,19 +4675,11 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4961
4675
|
|
4962
4676
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4963
4677
|
|
4964
|
-
declare interface TNodeDataTestItemsDataProps {
|
4965
|
-
chapter_name: string;
|
4966
|
-
goal_name: string;
|
4967
|
-
ref: string;
|
4968
|
-
}
|
4969
|
-
|
4970
4678
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4971
4679
|
|
4972
4680
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4973
4681
|
|
4974
|
-
export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE'
|
4975
|
-
|
4976
|
-
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
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';
|
4977
4683
|
|
4978
4684
|
export declare type TOnPreSubmitOptions = {
|
4979
4685
|
isDraftPlan: boolean;
|
@@ -5013,8 +4719,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
5013
4719
|
|
5014
4720
|
declare type TQuery = {
|
5015
4721
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
5016
|
-
|
4722
|
+
with_plan: boolean;
|
5017
4723
|
course_stream: TCourseStream;
|
4724
|
+
student_id: string;
|
4725
|
+
in_class?: boolean;
|
5018
4726
|
};
|
5019
4727
|
|
5020
4728
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -5099,8 +4807,6 @@ declare type TSectionSummary = {
|
|
5099
4807
|
|
5100
4808
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5101
4809
|
|
5102
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5103
|
-
|
5104
4810
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
5105
4811
|
|
5106
4812
|
declare type TSheetBlockData = {
|
@@ -5162,8 +4868,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5162
4868
|
|
5163
4869
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5164
4870
|
|
5165
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5166
|
-
|
5167
4871
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5168
4872
|
|
5169
4873
|
declare type TStickerData = {
|
@@ -5257,6 +4961,8 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
5257
4961
|
|
5258
4962
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
5259
4963
|
|
4964
|
+
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
4965
|
+
|
5260
4966
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|
5261
4967
|
|
5262
4968
|
export declare const UIContext: Context<UIContextProps>;
|
@@ -5283,13 +4989,6 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
|
|
5283
4989
|
registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
|
5284
4990
|
};
|
5285
4991
|
|
5286
|
-
export declare const useChapterPageJourney: () => {
|
5287
|
-
chapterPageRef: RefObject<HTMLDivElement>;
|
5288
|
-
bannerRef: RefObject<HTMLDivElement>;
|
5289
|
-
coreBlocksRef: RefObject<HTMLDivElement>;
|
5290
|
-
startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
|
5291
|
-
};
|
5292
|
-
|
5293
4992
|
export declare const useCircleSounds: () => {
|
5294
4993
|
playSwipSound: () => void;
|
5295
4994
|
play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
|
@@ -5339,7 +5038,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5339
5038
|
invalidateCircleHomeDetails: () => void;
|
5340
5039
|
};
|
5341
5040
|
|
5342
|
-
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) =>
|
5041
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => JOURNEY_ID_STUDENT[];
|
5343
5042
|
|
5344
5043
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5345
5044
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
@@ -5361,8 +5060,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5361
5060
|
|
5362
5061
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5363
5062
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5364
|
-
resource: ResourceModel<
|
5365
|
-
data:
|
5063
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5064
|
+
data: ISheetDataProps[] | undefined;
|
5366
5065
|
permissions: Record<string, unknown> | undefined;
|
5367
5066
|
isProcessing: boolean;
|
5368
5067
|
isProcessed: boolean;
|
@@ -5377,8 +5076,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5377
5076
|
get: (id: string, query: void, meta: {
|
5378
5077
|
studentId: string;
|
5379
5078
|
}) => Promise<void>;
|
5380
|
-
resource: ResourceModel<
|
5381
|
-
data:
|
5079
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5080
|
+
data: ISheetDataProps[] | undefined;
|
5382
5081
|
permissions: Record<string, unknown> | undefined;
|
5383
5082
|
isProcessing: boolean;
|
5384
5083
|
isProcessed: boolean;
|
@@ -5389,14 +5088,6 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5389
5088
|
} & Record<string, unknown>) | undefined;
|
5390
5089
|
};
|
5391
5090
|
|
5392
|
-
export declare const useHomePageJourney: () => {
|
5393
|
-
homepageRef: RefObject<HTMLDivElement>;
|
5394
|
-
homeworkRef: RefObject<HTMLDivElement>;
|
5395
|
-
individualHomeworkRef: RefObject<HTMLDivElement>;
|
5396
|
-
recentChaptersRef: RefObject<HTMLDivElement>;
|
5397
|
-
startJourney: ({ hwDetails, studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5398
|
-
};
|
5399
|
-
|
5400
5091
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5401
5092
|
studentClassroomId: string | undefined;
|
5402
5093
|
}) => {
|
@@ -5485,7 +5176,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5485
5176
|
declare const ZINDEX: {
|
5486
5177
|
readonly CHAPTER_CROWN_ICON: 4;
|
5487
5178
|
readonly CHAPTER_PLUS_ICON: 2;
|
5488
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5179
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5489
5180
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5490
5181
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5491
5182
|
readonly MODAL: 20;
|