@cuemath/leap 2.9.9-as6 → 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/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/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 +8 -26
- 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/test-stages/chapter-selection/chapter-item/chapter-item.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/trial-session/comps/learning-plan/index.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 -351
- 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 -129
- 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 -30
- 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-view.js +0 -157
- package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +0 -1
- package/dist/features/homework/hw-card-list/hw-card-list.js +0 -67
- 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 -279
- 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/journey/mocks/home-page-homwworks-mock.js +0 -268
- package/dist/features/journey/mocks/home-page-homwworks-mock.js.map +0 -1
- package/dist/features/journey/mocks/recent-chapters-mock.js +0 -531
- package/dist/features/journey/mocks/recent-chapters-mock.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,22 +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
|
-
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
512
|
-
canStartJourney?: boolean;
|
513
|
-
}
|
514
|
-
|
515
474
|
declare interface IAccordionSectionProps {
|
516
475
|
headerElement: React.ReactElement;
|
517
476
|
bodyElement: React.ReactElement;
|
@@ -568,7 +527,6 @@ export declare interface IArrowTooltipProps {
|
|
568
527
|
width?: number;
|
569
528
|
widthX?: number;
|
570
529
|
zIndex?: number;
|
571
|
-
parentWidth?: number | string;
|
572
530
|
}
|
573
531
|
|
574
532
|
declare interface IAttempt {
|
@@ -669,10 +627,6 @@ declare interface IBaseWorksheetProps {
|
|
669
627
|
canShowActionBar?: boolean;
|
670
628
|
}
|
671
629
|
|
672
|
-
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
673
|
-
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
674
|
-
}
|
675
|
-
|
676
630
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
677
631
|
label: string;
|
678
632
|
renderAs: TButtonVariants;
|
@@ -743,28 +697,10 @@ declare interface ICascadingSelectInputProps {
|
|
743
697
|
|
744
698
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
745
699
|
search_and_added?: boolean;
|
700
|
+
total_supplementary_sheets: number;
|
746
701
|
learning_sheet_data: ILearningSheetData[];
|
747
702
|
}
|
748
703
|
|
749
|
-
export declare interface IChapterBlockData {
|
750
|
-
block_type: keyof typeof BLOCK_TYPE;
|
751
|
-
chapter_code: string;
|
752
|
-
code: string;
|
753
|
-
block_id: string;
|
754
|
-
is_skipped: boolean;
|
755
|
-
name: string;
|
756
|
-
permissions: IChapterBlockPermission;
|
757
|
-
program_id: string;
|
758
|
-
section_code: keyof typeof SECTION_CODE;
|
759
|
-
sheets: INodeDataProps[];
|
760
|
-
user_block_id: string | null;
|
761
|
-
}
|
762
|
-
|
763
|
-
declare interface IChapterBlockPermission {
|
764
|
-
can_skip: boolean;
|
765
|
-
can_un_skip: boolean;
|
766
|
-
}
|
767
|
-
|
768
704
|
export declare interface IChapterBlockV3 {
|
769
705
|
completed_on: number | null;
|
770
706
|
sheets: IWorksheetModelV3[];
|
@@ -794,29 +730,11 @@ export declare interface IChapterDataProps {
|
|
794
730
|
user_chapter_progress: IUserChapterProgressProps;
|
795
731
|
state: TUserChapterStates | null;
|
796
732
|
program_id: string;
|
797
|
-
progress_stat: {
|
798
|
-
classwork: IMilestoneData['progress_stat'];
|
799
|
-
mandatory: IMilestoneData['progress_stat'];
|
800
|
-
optional: IMilestoneData['progress_stat'];
|
801
|
-
};
|
802
733
|
sheets_data: {
|
803
734
|
lessons: ILessonsListProps['lessons'];
|
804
735
|
supplementary_sheets_group_sort_order: string[];
|
805
736
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
806
737
|
};
|
807
|
-
blocks: IUserChapterData['blocks'];
|
808
|
-
}
|
809
|
-
|
810
|
-
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
811
|
-
userType: TUserTypes;
|
812
|
-
userChapterId: string;
|
813
|
-
studentId: string;
|
814
|
-
onExit?: () => void;
|
815
|
-
startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
|
816
|
-
chapterPageRef?: React.RefObject<HTMLDivElement>;
|
817
|
-
bannerRef?: React.RefObject<HTMLDivElement>;
|
818
|
-
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
819
|
-
canStartJourney?: boolean;
|
820
738
|
}
|
821
739
|
|
822
740
|
declare interface IChapterModel {
|
@@ -841,18 +759,6 @@ declare interface IChapterModel {
|
|
841
759
|
mastery_time: number;
|
842
760
|
chapter_time_unit: TTimeUnit;
|
843
761
|
is_puzzle_chapter?: boolean;
|
844
|
-
blocks: IUserChapterData['blocks'];
|
845
|
-
}
|
846
|
-
|
847
|
-
declare interface IChapterProgressInfo {
|
848
|
-
completed: number;
|
849
|
-
total: number;
|
850
|
-
}
|
851
|
-
|
852
|
-
declare interface IChapterProgressStats {
|
853
|
-
mandatory: IChapterProgressInfo;
|
854
|
-
classwork: IChapterProgressInfo;
|
855
|
-
optional: IChapterProgressInfo;
|
856
762
|
}
|
857
763
|
|
858
764
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -880,13 +786,6 @@ declare interface IChaptersListProps {
|
|
880
786
|
isGoalCreation: boolean;
|
881
787
|
}
|
882
788
|
|
883
|
-
declare interface IChapterStartJourneyProps {
|
884
|
-
chapterDetails: IUserChapterData;
|
885
|
-
userChapterId: string;
|
886
|
-
studentId: string;
|
887
|
-
userType: TUserTypes;
|
888
|
-
}
|
889
|
-
|
890
789
|
declare interface IChapterState {
|
891
790
|
added?: boolean;
|
892
791
|
expanded?: boolean;
|
@@ -1037,9 +936,6 @@ declare interface IContextMenuProps {
|
|
1037
936
|
menuZIndex?: number;
|
1038
937
|
startLeft?: boolean;
|
1039
938
|
placeTop?: boolean;
|
1040
|
-
menuWidth?: number | string;
|
1041
|
-
menuWidthX?: number;
|
1042
|
-
handleOnMenuClick?: () => void;
|
1043
939
|
}
|
1044
940
|
|
1045
941
|
declare interface ICountdownTimer {
|
@@ -1298,7 +1194,7 @@ declare interface IGoalCurriculumMap {
|
|
1298
1194
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1299
1195
|
blocked_countries: string[];
|
1300
1196
|
course_stream: TCourseStream;
|
1301
|
-
goal_category:
|
1197
|
+
goal_category: TGoalCategory;
|
1302
1198
|
goal_curriculum_standard?: string;
|
1303
1199
|
goal_code: string;
|
1304
1200
|
goal_description: string | null;
|
@@ -1327,19 +1223,6 @@ declare interface IGradeSelectorProps {
|
|
1327
1223
|
layoutAlignment?: 'center' | 'auto';
|
1328
1224
|
}
|
1329
1225
|
|
1330
|
-
export declare interface IHomepageStartJourneyProps {
|
1331
|
-
studentId: string;
|
1332
|
-
stream: string;
|
1333
|
-
userType: TUserTypes;
|
1334
|
-
}
|
1335
|
-
|
1336
|
-
declare interface IHomepageStartJourneyProps_2 {
|
1337
|
-
chapterDetails: IUserChapterData;
|
1338
|
-
userChapterId: string;
|
1339
|
-
studentId: string;
|
1340
|
-
userType: TUserTypes;
|
1341
|
-
}
|
1342
|
-
|
1343
1226
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1344
1227
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1345
1228
|
customBgColor?: TColorNames;
|
@@ -1433,9 +1316,8 @@ export declare interface IJourneyContext {
|
|
1433
1316
|
* @param id - The journey identifier.
|
1434
1317
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1435
1318
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1436
|
-
* @param shouldBlurNextJourney - If `true`, blurs the next journey.
|
1437
1319
|
*/
|
1438
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number
|
1320
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1439
1321
|
/**
|
1440
1322
|
* Must be called to end journey and update the journey status on server.
|
1441
1323
|
* @param id - The journey id.
|
@@ -1515,7 +1397,8 @@ declare interface ILeaderboardProps {
|
|
1515
1397
|
}
|
1516
1398
|
|
1517
1399
|
declare interface ILearningSheetData {
|
1518
|
-
|
1400
|
+
title: string;
|
1401
|
+
learnosityRef: string;
|
1519
1402
|
}
|
1520
1403
|
|
1521
1404
|
declare interface ILearnosity {
|
@@ -1720,7 +1603,6 @@ export declare const ILLUSTRATIONS: {
|
|
1720
1603
|
CHAPTER_8: string;
|
1721
1604
|
CHAPTER_9: string;
|
1722
1605
|
CHAPTER_HEADER_BG: string;
|
1723
|
-
CHAPTER_HEADER_BG_2: string;
|
1724
1606
|
CIRCLE_CUEMATH_LOGO: string;
|
1725
1607
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1726
1608
|
CLOCK_ORANGE: string;
|
@@ -1762,14 +1644,6 @@ export declare const ILLUSTRATIONS: {
|
|
1762
1644
|
MILESTONE_INTRO_2: string;
|
1763
1645
|
MILESTONE_INTRO_3: string;
|
1764
1646
|
MISTAKE: string;
|
1765
|
-
NODE_CUSTOM_TEST_BG: string;
|
1766
|
-
NODE_LEARN_BG: string;
|
1767
|
-
NODE_PRACTICE_BG: string;
|
1768
|
-
NODE_PROJECT_BG: string;
|
1769
|
-
NODE_PUZZLE_BG: string;
|
1770
|
-
NODE_RECAP_BG: string;
|
1771
|
-
NODE_TEST_PREP_BG: string;
|
1772
|
-
NODE_VIDEO_BG: string;
|
1773
1647
|
NUMBER_1_ORANGE: string;
|
1774
1648
|
NUMBER_2_ORANGE: string;
|
1775
1649
|
NUMBER_3_ORANGE: string;
|
@@ -1950,7 +1824,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1950
1824
|
parentName?: string;
|
1951
1825
|
teacherName?: string;
|
1952
1826
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1953
|
-
onAddOutcome?: (milestoneId
|
1827
|
+
onAddOutcome?: (milestoneId: string) => void;
|
1954
1828
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1955
1829
|
isClassOngoing?: boolean;
|
1956
1830
|
isStudentPresent?: boolean;
|
@@ -1989,8 +1863,6 @@ declare interface IMileStoneCreateProps {
|
|
1989
1863
|
milestoneId?: string;
|
1990
1864
|
currentCountryCode?: string;
|
1991
1865
|
courseStream: TCourseStream;
|
1992
|
-
canDeleteGoal?: boolean;
|
1993
|
-
onDeleteGoal?: () => void;
|
1994
1866
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1995
1867
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1996
1868
|
onExit?: () => void;
|
@@ -2004,7 +1876,7 @@ export declare interface IMilestoneData {
|
|
2004
1876
|
course_stream: TCourseStream;
|
2005
1877
|
grade: string;
|
2006
1878
|
board: string;
|
2007
|
-
goal_category:
|
1879
|
+
goal_category: TGoalCategory_2;
|
2008
1880
|
goal_code: string | null;
|
2009
1881
|
created_on_ts: number;
|
2010
1882
|
milestone_date_ts: number;
|
@@ -2019,10 +1891,6 @@ export declare interface IMilestoneData {
|
|
2019
1891
|
user_milestone_progress: IUserChapterProgressProps | null;
|
2020
1892
|
permissions: IMilestoneCardPermissions;
|
2021
1893
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2022
|
-
progress_stat: {
|
2023
|
-
total: number;
|
2024
|
-
completed: number;
|
2025
|
-
} | null;
|
2026
1894
|
}
|
2027
1895
|
|
2028
1896
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2100,7 +1968,7 @@ declare interface IMilestoneStartProps {
|
|
2100
1968
|
handleOnClick?: () => void;
|
2101
1969
|
}
|
2102
1970
|
|
2103
|
-
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 {
|
2104
1972
|
isPlanAvailable: boolean;
|
2105
1973
|
isMilestoneActive: boolean;
|
2106
1974
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2135,7 +2003,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2135
2003
|
courseStream: TCourseStream;
|
2136
2004
|
}
|
2137
2005
|
|
2138
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2006
|
+
declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
|
2139
2007
|
userType: TUserTypes;
|
2140
2008
|
studentId: string;
|
2141
2009
|
userMilestoneId?: string;
|
@@ -2177,67 +2045,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2177
2045
|
|
2178
2046
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2179
2047
|
|
2180
|
-
declare interface INodeCardCallbacks {
|
2181
|
-
onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
|
2182
|
-
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2183
|
-
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
|
2184
|
-
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2185
|
-
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2186
|
-
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2187
|
-
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2188
|
-
onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2189
|
-
}
|
2190
|
-
|
2191
|
-
export declare interface INodeDataProps {
|
2192
|
-
accuracy: number | null;
|
2193
|
-
attempt_location: TSheetAttemptLocation_2;
|
2194
|
-
block_id: string;
|
2195
|
-
card_header: string;
|
2196
|
-
chapter_id: string;
|
2197
|
-
complete_status: boolean;
|
2198
|
-
course_type: TCourseType;
|
2199
|
-
desmos_calculator_enabled: boolean;
|
2200
|
-
due_date_ts: number | null;
|
2201
|
-
is_lesson_v3_enabled: boolean;
|
2202
|
-
is_optional: boolean;
|
2203
|
-
is_timed: boolean;
|
2204
|
-
is_worksheet_v3: boolean | null;
|
2205
|
-
learnosity_activity_ref: string;
|
2206
|
-
marked_as_completed: boolean;
|
2207
|
-
node_id: string;
|
2208
|
-
node_type: TNodeTypes_2;
|
2209
|
-
sheet_statement: string;
|
2210
|
-
permissions: INodePermissions;
|
2211
|
-
sheet_time: number | null;
|
2212
|
-
state: TSheetStates;
|
2213
|
-
title: string;
|
2214
|
-
user_chapter_id: string | null;
|
2215
|
-
user_node_id: string | null;
|
2216
|
-
worksheet_id: string;
|
2217
|
-
image_url: string;
|
2218
|
-
image_hue: THueNames;
|
2219
|
-
total_questions: number | null;
|
2220
|
-
unlocked_on_ts: number | null;
|
2221
|
-
items?: TNodeDataTestItemsDataProps[];
|
2222
|
-
user_milestone_id?: string;
|
2223
|
-
user_attempt_id: string | null;
|
2224
|
-
subtext: string | null;
|
2225
|
-
homework_id?: string;
|
2226
|
-
chapter_name?: string;
|
2227
|
-
}
|
2228
|
-
|
2229
|
-
declare interface INodePermissions {
|
2230
|
-
can_change_attempt_location: boolean;
|
2231
|
-
can_mark_familiar: boolean;
|
2232
|
-
can_reattempt: boolean;
|
2233
|
-
can_reset: boolean;
|
2234
|
-
can_resume: boolean;
|
2235
|
-
can_review: boolean;
|
2236
|
-
can_start: boolean;
|
2237
|
-
can_teacher_review: boolean;
|
2238
|
-
can_unassign: boolean;
|
2239
|
-
}
|
2240
|
-
|
2241
2048
|
export declare interface INudgeProps {
|
2242
2049
|
nudge: 'click';
|
2243
2050
|
content: ReactNode;
|
@@ -2246,10 +2053,6 @@ export declare interface INudgeProps {
|
|
2246
2053
|
zIndex?: number;
|
2247
2054
|
}
|
2248
2055
|
|
2249
|
-
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2250
|
-
|
2251
|
-
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2252
|
-
|
2253
2056
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2254
2057
|
|
2255
2058
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -3016,7 +2819,13 @@ declare interface ITestsCreationProps {
|
|
3016
2819
|
onError: (errorMessage?: string) => void;
|
3017
2820
|
}
|
3018
2821
|
|
3019
|
-
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 {
|
3020
2829
|
userType: TUserTypes;
|
3021
2830
|
studentId: string;
|
3022
2831
|
userMilestoneId: string;
|
@@ -3025,10 +2834,6 @@ declare interface ITestsListProps {
|
|
3025
2834
|
isDraftMilestone?: boolean;
|
3026
2835
|
isChaptersAvailable?: boolean;
|
3027
2836
|
canUpdatePlan?: boolean;
|
3028
|
-
onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
3029
|
-
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3030
|
-
onTestStart?: (sheetData: INodeDataProps) => void;
|
3031
|
-
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3032
2837
|
}
|
3033
2838
|
|
3034
2839
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3273,20 +3078,6 @@ declare interface IusePointerSyncProps {
|
|
3273
3078
|
targetUserId?: string;
|
3274
3079
|
}
|
3275
3080
|
|
3276
|
-
export declare interface IUserChapterData {
|
3277
|
-
chapter_code: string;
|
3278
|
-
chapter_id: string;
|
3279
|
-
chapter_tags: string[];
|
3280
|
-
id: string;
|
3281
|
-
image_hue: THueNames;
|
3282
|
-
image_url: string;
|
3283
|
-
item_bank_enabled: boolean;
|
3284
|
-
name: string;
|
3285
|
-
program_id: string;
|
3286
|
-
progress_stat: IChapterProgressStats | null;
|
3287
|
-
blocks: IChapterBlockData[];
|
3288
|
-
}
|
3289
|
-
|
3290
3081
|
declare interface IUserChapterProgressProps {
|
3291
3082
|
familiar_sheets: number;
|
3292
3083
|
mastered_sheets: number;
|
@@ -3501,6 +3292,7 @@ declare interface IWorksheetCallbackProps {
|
|
3501
3292
|
}) => void;
|
3502
3293
|
onBulkResponsesChange?: (responses: Record<string, IWorksheetResponse>) => void;
|
3503
3294
|
onResponsesChange?: (responses: Record<string, IWorksheetResponse>) => void;
|
3295
|
+
onMediaStateChange?: (question: IWorksheetQuestion, mediaType: TWORKSHHET_QUESTION_MEDIA_TYPE, mediaState: Record<string, unknown>) => void;
|
3504
3296
|
onTeacherValidation?: (questionId: string, rating?: keyof typeof QUESTIONS_RATING) => void;
|
3505
3297
|
onOptionalItemAssignment?: (itemType: TItemType) => void;
|
3506
3298
|
onOptionalItemSkip?: (itemType: TItemType) => void;
|
@@ -3608,6 +3400,7 @@ export declare interface IWorksheetRef {
|
|
3608
3400
|
validateQuestion: (responseId: string, rating?: keyof typeof QUESTIONS_RATING, skipRemainingQuestions?: boolean) => void;
|
3609
3401
|
assignOptionalItems: (itemType: TItemType) => void;
|
3610
3402
|
skipOptionalItems: (itemType: TItemType) => void;
|
3403
|
+
updateMediaState: (responseId: string, mediaType: TWORKSHHET_QUESTION_MEDIA_TYPE, mediaState: Record<string, unknown>) => void;
|
3611
3404
|
}
|
3612
3405
|
|
3613
3406
|
export declare interface IWorksheetResponse {
|
@@ -3617,6 +3410,7 @@ export declare interface IWorksheetResponse {
|
|
3617
3410
|
questionPosition: number;
|
3618
3411
|
isOkayTypeQuestion: boolean;
|
3619
3412
|
response?: ILearnosityQuestionResponse;
|
3413
|
+
simState?: Record<string, unknown>;
|
3620
3414
|
score?: ILearnosityQuestionScore;
|
3621
3415
|
responseEdited?: boolean;
|
3622
3416
|
hintsUsed?: number;
|
@@ -3640,14 +3434,7 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3640
3434
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3641
3435
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3642
3436
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3643
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3644
|
-
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3645
|
-
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3646
|
-
}
|
3647
|
-
|
3648
|
-
export declare enum JOURNEY_ID_TEACHER {
|
3649
|
-
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
3650
|
-
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
|
3437
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3651
3438
|
}
|
3652
3439
|
|
3653
3440
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3692,7 +3479,6 @@ export declare const LOTTIE: {
|
|
3692
3479
|
COLOR_1: string;
|
3693
3480
|
COLOR_2: string;
|
3694
3481
|
COLOR_3: string;
|
3695
|
-
COMPETITIVE_ARENA: string;
|
3696
3482
|
DIFFICULT: string;
|
3697
3483
|
EASY: string;
|
3698
3484
|
ELITE_CIRCLE: string;
|
@@ -3705,7 +3491,6 @@ export declare const LOTTIE: {
|
|
3705
3491
|
GOLD_3: string;
|
3706
3492
|
INFINITE_BUTTON_BG: string;
|
3707
3493
|
INFINITE_BUTTON_SYMBOL: string;
|
3708
|
-
LEARN: string;
|
3709
3494
|
LEVELUP_RINGS: string;
|
3710
3495
|
MEDIUM: string;
|
3711
3496
|
NUDGE_TAP: string;
|
@@ -3725,12 +3510,8 @@ export declare const LOTTIE: {
|
|
3725
3510
|
POINT50: string;
|
3726
3511
|
POINT5: string;
|
3727
3512
|
POINT60: string;
|
3728
|
-
PRACTICE: string;
|
3729
3513
|
PROFICIENT1X: string;
|
3730
|
-
PROJECT: string;
|
3731
|
-
PUZZLE: string;
|
3732
3514
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3733
|
-
RECAP: string;
|
3734
3515
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3735
3516
|
SILVER_1: string;
|
3736
3517
|
SILVER_2: string;
|
@@ -3743,12 +3524,10 @@ export declare const LOTTIE: {
|
|
3743
3524
|
TABLE_SEGMENT_STAR: string;
|
3744
3525
|
TARGET_ACHIEVED_TEXT: string;
|
3745
3526
|
TEACHER_VALIDATION: string;
|
3746
|
-
TEST: string;
|
3747
3527
|
TOTAL_STREAK: string;
|
3748
3528
|
TOTAL_TIME: string;
|
3749
3529
|
TOTAL_TIME_SPENT: string;
|
3750
3530
|
TOURNAMENT_RIPPLE: string;
|
3751
|
-
VIDEO: string;
|
3752
3531
|
};
|
3753
3532
|
|
3754
3533
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3787,21 +3566,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3787
3566
|
|
3788
3567
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3789
3568
|
|
3790
|
-
declare enum NODE_CARD_COURSE_TYPES {
|
3791
|
-
PROGRAM = "PROGRAM",
|
3792
|
-
REMEDIAL = "REMEDIAL",
|
3793
|
-
TEST_SERIES = "TEST_SERIES",
|
3794
|
-
EXAM = "EXAM"
|
3795
|
-
}
|
3796
|
-
|
3797
|
-
declare enum NODE_CARD_STATES {
|
3798
|
-
LOCKED = "LOCKED",
|
3799
|
-
NOT_STARTED = "NOT_STARTED",
|
3800
|
-
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3801
|
-
IN_PROGRESS = "IN_PROGRESS",
|
3802
|
-
COMPLETED = "COMPLETED"
|
3803
|
-
}
|
3804
|
-
|
3805
3569
|
export declare const NODE_LABELS: {
|
3806
3570
|
readonly ASSESSMENT: "ASSESSMENT";
|
3807
3571
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3947,7 +3711,6 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
3947
3711
|
export declare enum PLATFORM_EVENTS_STUDENT {
|
3948
3712
|
PAGE_VIEWED = "page_viewed",
|
3949
3713
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
3950
|
-
HOMEWORK_COMPLETED = "homework_completed",
|
3951
3714
|
ACTIVITY_STARTED = "activity_started",
|
3952
3715
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
3953
3716
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4035,8 +3798,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
4035
3798
|
|
4036
3799
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4037
3800
|
|
4038
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4039
|
-
|
4040
3801
|
export declare const PYTHON_NODE_TYPES: {
|
4041
3802
|
readonly PPT_BASIC: "PPT_BASIC";
|
4042
3803
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -4057,18 +3818,6 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
4057
3818
|
|
4058
3819
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
4059
3820
|
|
4060
|
-
export declare const RecapIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4061
|
-
|
4062
|
-
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4063
|
-
|
4064
|
-
declare interface RecentChaptersProps {
|
4065
|
-
studentId: string;
|
4066
|
-
courseStream: TCourseStream;
|
4067
|
-
userType: TUserTypes;
|
4068
|
-
onChapterClick: IChaptersListProps['onChapterClick'];
|
4069
|
-
recentChaptersRef?: React.RefObject<HTMLDivElement>;
|
4070
|
-
}
|
4071
|
-
|
4072
3821
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
4073
3822
|
|
4074
3823
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -4095,18 +3844,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
4095
3844
|
|
4096
3845
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4097
3846
|
|
4098
|
-
declare enum SECTION_CODE {
|
4099
|
-
READINESS = "READINESS",
|
4100
|
-
GOALS = "GOALS",
|
4101
|
-
TESTS = "TESTS",
|
4102
|
-
ENRICHMENT = "ENRICHMENT",
|
4103
|
-
SUBJECTIVE = "SUBJECTIVE",
|
4104
|
-
VIDEOS = "VIDEOS",
|
4105
|
-
NOTES = "NOTES",
|
4106
|
-
FLASHCARDS = "FLASHCARDS",
|
4107
|
-
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4108
|
-
}
|
4109
|
-
|
4110
3847
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4111
3848
|
|
4112
3849
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4170,8 +3907,6 @@ export { SketchIcon }
|
|
4170
3907
|
|
4171
3908
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4172
3909
|
|
4173
|
-
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4174
|
-
|
4175
3910
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4176
3911
|
|
4177
3912
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -4200,8 +3935,6 @@ export declare enum State {
|
|
4200
3935
|
HOLD = "HOLD"
|
4201
3936
|
}
|
4202
3937
|
|
4203
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4204
|
-
|
4205
3938
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4206
3939
|
|
4207
3940
|
declare const STICKER_BADGE: {
|
@@ -4316,11 +4049,11 @@ declare type TBlockStatsData = {
|
|
4316
4049
|
|
4317
4050
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4318
4051
|
|
4319
|
-
declare type TBlockType = keyof typeof
|
4052
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE;
|
4320
4053
|
|
4321
4054
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4322
4055
|
|
4323
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4056
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4324
4057
|
|
4325
4058
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4326
4059
|
|
@@ -4413,8 +4146,6 @@ declare type TCourseProgramPermissions = {
|
|
4413
4146
|
|
4414
4147
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4415
4148
|
|
4416
|
-
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4417
|
-
|
4418
4149
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4419
4150
|
|
4420
4151
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4444,8 +4175,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4444
4175
|
|
4445
4176
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4446
4177
|
|
4447
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4448
|
-
|
4449
4178
|
/**
|
4450
4179
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4451
4180
|
*/
|
@@ -4472,9 +4201,9 @@ declare interface TextProps {
|
|
4472
4201
|
|
4473
4202
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4474
4203
|
|
4475
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4204
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4476
4205
|
|
4477
|
-
declare type TGoalCategory_2 =
|
4206
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4478
4207
|
|
4479
4208
|
declare interface TGoals {
|
4480
4209
|
goal_code?: string;
|
@@ -4558,36 +4287,23 @@ export declare type TInclassMessage = {
|
|
4558
4287
|
itemType: TItemType;
|
4559
4288
|
};
|
4560
4289
|
} | {
|
4561
|
-
eventName: '
|
4562
|
-
eventPayload: {
|
4563
|
-
worksheetId: string;
|
4564
|
-
};
|
4565
|
-
} | {
|
4566
|
-
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4290
|
+
eventName: 'WORKSHEET_MEDIA_STATE_UPDATED_BY_TEACHER';
|
4567
4291
|
eventPayload: {
|
4568
|
-
|
4292
|
+
attemptId: string;
|
4293
|
+
responseId: string;
|
4294
|
+
mediaType: TWORKSHHET_QUESTION_MEDIA_TYPE;
|
4295
|
+
mediaState: Record<string, unknown>;
|
4569
4296
|
};
|
4570
4297
|
} | {
|
4571
|
-
eventName:
|
4298
|
+
eventName: 'STUDENT_LEARNING_WORKSHEET_COMPLETED';
|
4572
4299
|
eventPayload: {
|
4573
|
-
|
4300
|
+
worksheetId: string;
|
4574
4301
|
};
|
4575
4302
|
} | {
|
4576
4303
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4577
4304
|
eventPayload: {
|
4578
4305
|
chapterId: string;
|
4579
4306
|
};
|
4580
|
-
} | {
|
4581
|
-
eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
|
4582
|
-
eventPayload: {
|
4583
|
-
chapterId: string;
|
4584
|
-
};
|
4585
|
-
} | {
|
4586
|
-
eventName: typeof EVENTS.SHEET_REATTEMPTED;
|
4587
|
-
eventPayload: {
|
4588
|
-
milestoneId: string;
|
4589
|
-
chapterId: string;
|
4590
|
-
};
|
4591
4307
|
} | {
|
4592
4308
|
eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
|
4593
4309
|
eventPayload: {
|
@@ -4712,7 +4428,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
|
|
4712
4428
|
|
4713
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';
|
4714
4430
|
|
4715
|
-
export declare type TJourneyId = JOURNEY_ID_STUDENT
|
4431
|
+
export declare type TJourneyId = JOURNEY_ID_STUDENT;
|
4716
4432
|
|
4717
4433
|
declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
|
4718
4434
|
|
@@ -4959,19 +4675,11 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4959
4675
|
|
4960
4676
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4961
4677
|
|
4962
|
-
declare interface TNodeDataTestItemsDataProps {
|
4963
|
-
chapter_name: string;
|
4964
|
-
goal_name: string;
|
4965
|
-
ref: string;
|
4966
|
-
}
|
4967
|
-
|
4968
4678
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4969
4679
|
|
4970
4680
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4971
4681
|
|
4972
|
-
export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE'
|
4973
|
-
|
4974
|
-
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';
|
4975
4683
|
|
4976
4684
|
export declare type TOnPreSubmitOptions = {
|
4977
4685
|
isDraftPlan: boolean;
|
@@ -5011,8 +4719,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
5011
4719
|
|
5012
4720
|
declare type TQuery = {
|
5013
4721
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
5014
|
-
|
4722
|
+
with_plan: boolean;
|
5015
4723
|
course_stream: TCourseStream;
|
4724
|
+
student_id: string;
|
4725
|
+
in_class?: boolean;
|
5016
4726
|
};
|
5017
4727
|
|
5018
4728
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -5097,8 +4807,6 @@ declare type TSectionSummary = {
|
|
5097
4807
|
|
5098
4808
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5099
4809
|
|
5100
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5101
|
-
|
5102
4810
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
5103
4811
|
|
5104
4812
|
declare type TSheetBlockData = {
|
@@ -5160,8 +4868,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5160
4868
|
|
5161
4869
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5162
4870
|
|
5163
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5164
|
-
|
5165
4871
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5166
4872
|
|
5167
4873
|
declare type TStickerData = {
|
@@ -5255,6 +4961,8 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
5255
4961
|
|
5256
4962
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
5257
4963
|
|
4964
|
+
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
4965
|
+
|
5258
4966
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|
5259
4967
|
|
5260
4968
|
export declare const UIContext: Context<UIContextProps>;
|
@@ -5281,13 +4989,6 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
|
|
5281
4989
|
registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
|
5282
4990
|
};
|
5283
4991
|
|
5284
|
-
export declare const useChapterPageJourney: () => {
|
5285
|
-
chapterPageRef: RefObject<HTMLDivElement>;
|
5286
|
-
bannerRef: RefObject<HTMLDivElement>;
|
5287
|
-
coreBlocksRef: RefObject<HTMLDivElement>;
|
5288
|
-
startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
|
5289
|
-
};
|
5290
|
-
|
5291
4992
|
export declare const useCircleSounds: () => {
|
5292
4993
|
playSwipSound: () => void;
|
5293
4994
|
play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
|
@@ -5337,7 +5038,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5337
5038
|
invalidateCircleHomeDetails: () => void;
|
5338
5039
|
};
|
5339
5040
|
|
5340
|
-
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) =>
|
5041
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => JOURNEY_ID_STUDENT[];
|
5341
5042
|
|
5342
5043
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5343
5044
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
@@ -5359,8 +5060,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5359
5060
|
|
5360
5061
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5361
5062
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5362
|
-
resource: ResourceModel<
|
5363
|
-
data:
|
5063
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5064
|
+
data: ISheetDataProps[] | undefined;
|
5364
5065
|
permissions: Record<string, unknown> | undefined;
|
5365
5066
|
isProcessing: boolean;
|
5366
5067
|
isProcessed: boolean;
|
@@ -5375,8 +5076,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5375
5076
|
get: (id: string, query: void, meta: {
|
5376
5077
|
studentId: string;
|
5377
5078
|
}) => Promise<void>;
|
5378
|
-
resource: ResourceModel<
|
5379
|
-
data:
|
5079
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5080
|
+
data: ISheetDataProps[] | undefined;
|
5380
5081
|
permissions: Record<string, unknown> | undefined;
|
5381
5082
|
isProcessing: boolean;
|
5382
5083
|
isProcessed: boolean;
|
@@ -5387,12 +5088,6 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5387
5088
|
} & Record<string, unknown>) | undefined;
|
5388
5089
|
};
|
5389
5090
|
|
5390
|
-
export declare const useHomePageJourney: () => {
|
5391
|
-
homepageRef: RefObject<HTMLDivElement>;
|
5392
|
-
homeworkRef: RefObject<HTMLDivElement>;
|
5393
|
-
startJourney: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5394
|
-
};
|
5395
|
-
|
5396
5091
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5397
5092
|
studentClassroomId: string | undefined;
|
5398
5093
|
}) => {
|
@@ -5481,7 +5176,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5481
5176
|
declare const ZINDEX: {
|
5482
5177
|
readonly CHAPTER_CROWN_ICON: 4;
|
5483
5178
|
readonly CHAPTER_PLUS_ICON: 2;
|
5484
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5179
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5485
5180
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5486
5181
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5487
5182
|
readonly MODAL: 20;
|