@cuemath/leap 2.8.61-as9 → 2.8.61-rj-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +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/line-icons/icons/chevron-right.js.map +1 -1
- package/dist/assets/line-icons/icons/closed-eye.js +23 -0
- package/dist/assets/line-icons/icons/closed-eye.js.map +1 -0
- package/dist/constants/api.js +2 -3
- package/dist/constants/api.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/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +77 -85
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +66 -76
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +37 -38
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +49 -50
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +2 -5
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/journey/hooks/use-get-eligible-journeys-via-route.js +13 -0
- package/dist/features/journey/hooks/use-get-eligible-journeys-via-route.js.map +1 -0
- package/dist/features/journey/use-journey/journey-context-provider.js +74 -40
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +1 -1
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/journey/user-journey-api/user-journey-api.js +12 -0
- package/dist/features/journey/user-journey-api/user-journey-api.js.map +1 -0
- 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 +104 -136
- 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 +83 -76
- 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 +23 -19
- 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 +100 -96
- package/dist/features/milestone/milestone-list-container/milestone-list-container.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 +112 -114
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +18 -16
- 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 +34 -6
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -1
- 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/sheets/utils/is-v3-worksheet.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/theme/button.js +107 -22
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +57 -290
- package/dist/index.js +471 -495
- 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 -26
- 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 -73
- 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 -97
- 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 -52
- 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 -103
- 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 -153
- 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-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 -31
- 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 -164
- 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 -183
- 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 -41
- package/dist/features/chapters-v2/utils/index.js.map +0 -1
- package/dist/features/chapters-v2/utils/node-card-utils.js +0 -122
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +0 -1
- package/dist/features/circle-games/game-launcher/api/update-circle-onboarding/constants.js +0 -5
- package/dist/features/circle-games/game-launcher/api/update-circle-onboarding/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/api/update-circle-onboarding/post-circle-coachmark-api.js +0 -9
- package/dist/features/circle-games/game-launcher/api/update-circle-onboarding/post-circle-coachmark-api.js.map +0 -1
- package/dist/features/circle-games/game-launcher/dal/use-post-update-circle-journey-dal/use-post-update-circle-journey-dal.js +0 -23
- package/dist/features/circle-games/game-launcher/dal/use-post-update-circle-journey-dal/use-post-update-circle-journey-dal.js.map +0 -1
- package/dist/features/homework/card-menu-options.js +0 -38
- package/dist/features/homework/card-menu-options.js.map +0 -1
- package/dist/features/homework/homework-card.js +0 -288
- 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 -34
- 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 -159
- 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 -117
- package/dist/features/homework/styles.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 -84
- 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 -34
- package/dist/features/recent-chapters/recent-chapters.js.map +0 -1
- package/dist/features/sheet-v2/resource-list/resource-list.js +0 -51
- 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/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/index.d.ts
CHANGED
@@ -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,7 +331,6 @@ declare interface ErrorProps {
|
|
352
331
|
}
|
353
332
|
|
354
333
|
export declare const EVENTS: {
|
355
|
-
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
356
334
|
GOAL_CREATED: "GOAL_CREATED";
|
357
335
|
GOAL_EDITED: "GOAL_EDITED";
|
358
336
|
GOAL_DELETED: "GOAL_DELETED";
|
@@ -382,8 +360,6 @@ declare type EventToPayload<T> = T extends {
|
|
382
360
|
eventPayload: infer P;
|
383
361
|
} ? [E] | [E, Partial<P>] : never;
|
384
362
|
|
385
|
-
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
386
|
-
|
387
363
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
388
364
|
|
389
365
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -493,19 +469,8 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
493
469
|
|
494
470
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
495
471
|
|
496
|
-
export declare const HomeworkCardList: React_2.FC<HWCardListProps>;
|
497
|
-
|
498
472
|
declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
|
499
473
|
|
500
|
-
declare interface HWCardListProps extends INodeCardCallbacks {
|
501
|
-
userType: TUserTypes;
|
502
|
-
studentId: string;
|
503
|
-
stream: string;
|
504
|
-
onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
505
|
-
onTestStart?: (sheetData: INodeDataProps) => void;
|
506
|
-
onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
507
|
-
}
|
508
|
-
|
509
474
|
declare interface IAccordionSectionProps {
|
510
475
|
headerElement: React.ReactElement;
|
511
476
|
bodyElement: React.ReactElement;
|
@@ -562,7 +527,6 @@ export declare interface IArrowTooltipProps {
|
|
562
527
|
width?: number;
|
563
528
|
widthX?: number;
|
564
529
|
zIndex?: number;
|
565
|
-
parentWidth?: number | string;
|
566
530
|
}
|
567
531
|
|
568
532
|
declare interface IAttempt {
|
@@ -663,10 +627,6 @@ declare interface IBaseWorksheetProps {
|
|
663
627
|
canShowActionBar?: boolean;
|
664
628
|
}
|
665
629
|
|
666
|
-
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
667
|
-
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
668
|
-
}
|
669
|
-
|
670
630
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
671
631
|
label: string;
|
672
632
|
renderAs: TButtonVariants;
|
@@ -737,28 +697,10 @@ declare interface ICascadingSelectInputProps {
|
|
737
697
|
|
738
698
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
739
699
|
search_and_added?: boolean;
|
700
|
+
total_supplementary_sheets: number;
|
740
701
|
learning_sheet_data: ILearningSheetData[];
|
741
702
|
}
|
742
703
|
|
743
|
-
export declare interface IChapterBlockData {
|
744
|
-
block_type: keyof typeof BLOCK_TYPE;
|
745
|
-
chapter_code: string;
|
746
|
-
code: string;
|
747
|
-
block_id: string;
|
748
|
-
is_skipped: boolean;
|
749
|
-
name: string;
|
750
|
-
permissions: IChapterBlockPermission;
|
751
|
-
program_id: string;
|
752
|
-
section_code: keyof typeof SECTION_CODE;
|
753
|
-
sheets: INodeDataProps[];
|
754
|
-
user_block_id: string | null;
|
755
|
-
}
|
756
|
-
|
757
|
-
declare interface IChapterBlockPermission {
|
758
|
-
can_skip: boolean;
|
759
|
-
can_un_skip: boolean;
|
760
|
-
}
|
761
|
-
|
762
704
|
export declare interface IChapterBlockV3 {
|
763
705
|
completed_on: number | null;
|
764
706
|
sheets: IWorksheetModelV3[];
|
@@ -788,24 +730,11 @@ export declare interface IChapterDataProps {
|
|
788
730
|
user_chapter_progress: IUserChapterProgressProps;
|
789
731
|
state: TUserChapterStates | null;
|
790
732
|
program_id: string;
|
791
|
-
progress_stat: {
|
792
|
-
classwork: IMilestoneData['progress_stat'];
|
793
|
-
mandatory: IMilestoneData['progress_stat'];
|
794
|
-
optional: IMilestoneData['progress_stat'];
|
795
|
-
};
|
796
733
|
sheets_data: {
|
797
734
|
lessons: ILessonsListProps['lessons'];
|
798
735
|
supplementary_sheets_group_sort_order: string[];
|
799
736
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
800
737
|
};
|
801
|
-
blocks: IUserChapterData['blocks'];
|
802
|
-
}
|
803
|
-
|
804
|
-
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
805
|
-
userType: TUserTypes;
|
806
|
-
userChapterId: string;
|
807
|
-
studentId: string;
|
808
|
-
onExit?: () => void;
|
809
738
|
}
|
810
739
|
|
811
740
|
declare interface IChapterModel {
|
@@ -830,18 +759,6 @@ declare interface IChapterModel {
|
|
830
759
|
mastery_time: number;
|
831
760
|
chapter_time_unit: TTimeUnit;
|
832
761
|
is_puzzle_chapter?: boolean;
|
833
|
-
blocks: IUserChapterData['blocks'];
|
834
|
-
}
|
835
|
-
|
836
|
-
declare interface IChapterProgressInfo {
|
837
|
-
completed: number;
|
838
|
-
total: number;
|
839
|
-
}
|
840
|
-
|
841
|
-
declare interface IChapterProgressStats {
|
842
|
-
mandatory: IChapterProgressInfo;
|
843
|
-
class_work: IChapterProgressInfo;
|
844
|
-
optional: IChapterProgressInfo;
|
845
762
|
}
|
846
763
|
|
847
764
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -925,7 +842,6 @@ export declare interface ICircleHomeDetails {
|
|
925
842
|
tournamentRank: number;
|
926
843
|
projects: IProjects;
|
927
844
|
timestamps: ITodaysContentTimeStamps;
|
928
|
-
coachmarkProgress: ICoachmarkProgress;
|
929
845
|
}
|
930
846
|
|
931
847
|
declare interface ICircularSteps {
|
@@ -989,15 +905,6 @@ declare interface ICoachMarkCompletion {
|
|
989
905
|
CIRCLE_TABLES_INTRO_JOURNEY: boolean;
|
990
906
|
}
|
991
907
|
|
992
|
-
export declare interface ICoachmarkProgress {
|
993
|
-
CIRCLE_ACTIVITIES_INTRO_JOURNEY: boolean;
|
994
|
-
CIRCLE_LEADERBOARD_INTRO_JOURNEY: boolean;
|
995
|
-
CIRCLE_POINTS_REWARD_JOURNEY: boolean;
|
996
|
-
CIRCLE_STREAK_UPDATE_JOURNEY: boolean;
|
997
|
-
CIRCLE_TUTORIAL_JOURNEY: boolean;
|
998
|
-
CIRCLE_TABLES_INTRO_JOURNEY: boolean;
|
999
|
-
}
|
1000
|
-
|
1001
908
|
/**
|
1002
909
|
* Represents a coachmark, an interactive guidance element positioned over an existing element.
|
1003
910
|
*/
|
@@ -1029,9 +936,6 @@ declare interface IContextMenuProps {
|
|
1029
936
|
menuZIndex?: number;
|
1030
937
|
startLeft?: boolean;
|
1031
938
|
placeTop?: boolean;
|
1032
|
-
menuWidth?: number | string;
|
1033
|
-
menuWidthX?: number;
|
1034
|
-
handleOnMenuClick?: () => void;
|
1035
939
|
}
|
1036
940
|
|
1037
941
|
declare interface ICountdownTimer {
|
@@ -1207,7 +1111,6 @@ declare interface IGameLauncherProps {
|
|
1207
1111
|
defaultIndex?: number;
|
1208
1112
|
journeyId?: TJourneyId;
|
1209
1113
|
isTutorialOnboardingDone?: boolean;
|
1210
|
-
onJourneyComplete: (journeyId: TJourneyId) => void;
|
1211
1114
|
}
|
1212
1115
|
|
1213
1116
|
declare interface IGetArrowTooltipConfig {
|
@@ -1290,7 +1193,7 @@ declare interface IGoalCurriculumMap {
|
|
1290
1193
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1291
1194
|
blocked_countries: string[];
|
1292
1195
|
course_stream: TCourseStream;
|
1293
|
-
goal_category:
|
1196
|
+
goal_category: TGoalCategory;
|
1294
1197
|
goal_curriculum_standard?: string;
|
1295
1198
|
goal_code: string;
|
1296
1199
|
goal_description: string | null;
|
@@ -1319,11 +1222,6 @@ declare interface IGradeSelectorProps {
|
|
1319
1222
|
layoutAlignment?: 'center' | 'auto';
|
1320
1223
|
}
|
1321
1224
|
|
1322
|
-
export declare interface IHomeworkData extends INodeDataProps {
|
1323
|
-
homework_id: string;
|
1324
|
-
chapter_name: string;
|
1325
|
-
}
|
1326
|
-
|
1327
1225
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1328
1226
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1329
1227
|
customBgColor?: TColorNames;
|
@@ -1386,6 +1284,7 @@ declare interface IIsOkayTypeQuestion {
|
|
1386
1284
|
* Context interface for managing onboarding journeys using coachmarks.
|
1387
1285
|
*/
|
1388
1286
|
export declare interface IJourneyContext {
|
1287
|
+
isJourneyActive: boolean;
|
1389
1288
|
/** List of all active coachmarks within the journey. */
|
1390
1289
|
coachmarks: ICoachmarkProps[];
|
1391
1290
|
/**
|
@@ -1418,6 +1317,23 @@ export declare interface IJourneyContext {
|
|
1418
1317
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1419
1318
|
*/
|
1420
1319
|
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1320
|
+
/**
|
1321
|
+
* Must be called to end journey and update the journey status on server.
|
1322
|
+
* @param id - The journey id.
|
1323
|
+
*/
|
1324
|
+
endJourney: (id: TJourneyId) => void;
|
1325
|
+
/**
|
1326
|
+
* Array of IDs representing the journeys that the user has completed.
|
1327
|
+
* This data is set only the component is mounted.
|
1328
|
+
* And thereafter it is updated when the user completes a journey, through the `endJourney` method.
|
1329
|
+
*/
|
1330
|
+
userCompletedJourneyIds: TJourneyId[] | null;
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
declare interface IJourneyProviderProps {
|
1334
|
+
children: React.ReactNode;
|
1335
|
+
appId: string;
|
1336
|
+
userId: string;
|
1421
1337
|
}
|
1422
1338
|
|
1423
1339
|
export declare interface ILayout {
|
@@ -1480,7 +1396,8 @@ declare interface ILeaderboardProps {
|
|
1480
1396
|
}
|
1481
1397
|
|
1482
1398
|
declare interface ILearningSheetData {
|
1483
|
-
|
1399
|
+
title: string;
|
1400
|
+
learnosityRef: string;
|
1484
1401
|
}
|
1485
1402
|
|
1486
1403
|
declare interface ILearnosity {
|
@@ -1685,7 +1602,6 @@ export declare const ILLUSTRATIONS: {
|
|
1685
1602
|
CHAPTER_8: string;
|
1686
1603
|
CHAPTER_9: string;
|
1687
1604
|
CHAPTER_HEADER_BG: string;
|
1688
|
-
CHAPTER_HEADER_BG_2: string;
|
1689
1605
|
CIRCLE_CUEMATH_LOGO: string;
|
1690
1606
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1691
1607
|
CLOCK_ORANGE: string;
|
@@ -1727,14 +1643,6 @@ export declare const ILLUSTRATIONS: {
|
|
1727
1643
|
MILESTONE_INTRO_2: string;
|
1728
1644
|
MILESTONE_INTRO_3: string;
|
1729
1645
|
MISTAKE: string;
|
1730
|
-
NODE_CUSTOM_TEST_BG: string;
|
1731
|
-
NODE_LEARN_BG: string;
|
1732
|
-
NODE_PRACTICE_BG: string;
|
1733
|
-
NODE_PROJECT_BG: string;
|
1734
|
-
NODE_PUZZLE_BG: string;
|
1735
|
-
NODE_RECAP_BG: string;
|
1736
|
-
NODE_TEST_PREP_BG: string;
|
1737
|
-
NODE_VIDEO_BG: string;
|
1738
1646
|
NUMBER_1_ORANGE: string;
|
1739
1647
|
NUMBER_2_ORANGE: string;
|
1740
1648
|
NUMBER_3_ORANGE: string;
|
@@ -1915,7 +1823,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1915
1823
|
parentName?: string;
|
1916
1824
|
teacherName?: string;
|
1917
1825
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1918
|
-
onAddOutcome?: (milestoneId
|
1826
|
+
onAddOutcome?: (milestoneId: string) => void;
|
1919
1827
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1920
1828
|
isClassOngoing?: boolean;
|
1921
1829
|
isStudentPresent?: boolean;
|
@@ -1954,8 +1862,6 @@ declare interface IMileStoneCreateProps {
|
|
1954
1862
|
milestoneId?: string;
|
1955
1863
|
currentCountryCode?: string;
|
1956
1864
|
courseStream: TCourseStream;
|
1957
|
-
canDeleteGoal?: boolean;
|
1958
|
-
onDeleteGoal?: () => void;
|
1959
1865
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1960
1866
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1961
1867
|
onExit?: () => void;
|
@@ -1969,7 +1875,7 @@ export declare interface IMilestoneData {
|
|
1969
1875
|
course_stream: TCourseStream;
|
1970
1876
|
grade: string;
|
1971
1877
|
board: string;
|
1972
|
-
goal_category:
|
1878
|
+
goal_category: TGoalCategory_2;
|
1973
1879
|
goal_code: string | null;
|
1974
1880
|
created_on_ts: number;
|
1975
1881
|
milestone_date_ts: number;
|
@@ -1984,10 +1890,6 @@ export declare interface IMilestoneData {
|
|
1984
1890
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1985
1891
|
permissions: IMilestoneCardPermissions;
|
1986
1892
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
1987
|
-
progress_stat: {
|
1988
|
-
total: number;
|
1989
|
-
completed: number;
|
1990
|
-
} | null;
|
1991
1893
|
}
|
1992
1894
|
|
1993
1895
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2065,7 +1967,7 @@ declare interface IMilestoneStartProps {
|
|
2065
1967
|
handleOnClick?: () => void;
|
2066
1968
|
}
|
2067
1969
|
|
2068
|
-
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps,
|
1970
|
+
declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, ISheetItemCallbackProps {
|
2069
1971
|
isPlanAvailable: boolean;
|
2070
1972
|
isMilestoneActive: boolean;
|
2071
1973
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2100,7 +2002,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2100
2002
|
courseStream: TCourseStream;
|
2101
2003
|
}
|
2102
2004
|
|
2103
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2005
|
+
declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
|
2104
2006
|
userType: TUserTypes;
|
2105
2007
|
studentId: string;
|
2106
2008
|
userMilestoneId?: string;
|
@@ -2142,62 +2044,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2142
2044
|
|
2143
2045
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2144
2046
|
|
2145
|
-
declare interface INodeCardCallbacks {
|
2146
|
-
onNodeAttempt?: (nodeData: INodeDataProps) => void;
|
2147
|
-
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2148
|
-
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2149
|
-
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2150
|
-
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2151
|
-
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2152
|
-
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2153
|
-
onNodeUnassign?: (nodeData: INodeDataProps | IHomeworkData, milestoneId?: string) => void;
|
2154
|
-
}
|
2155
|
-
|
2156
|
-
export declare interface INodeDataProps {
|
2157
|
-
accuracy: number | null;
|
2158
|
-
attempt_location: TSheetAttemptLocation_2;
|
2159
|
-
block_id: string;
|
2160
|
-
card_header: string;
|
2161
|
-
chapter_id: string;
|
2162
|
-
complete_status: boolean;
|
2163
|
-
desmos_calculator_enabled: boolean;
|
2164
|
-
due_date_ts: number | null;
|
2165
|
-
is_lesson_v3_enabled: boolean;
|
2166
|
-
is_optional: boolean;
|
2167
|
-
is_timed: boolean;
|
2168
|
-
is_worksheet_v3: boolean | null;
|
2169
|
-
learnosity_activity_ref: string;
|
2170
|
-
marked_as_completed: boolean;
|
2171
|
-
node_id: string;
|
2172
|
-
node_type: TNodeTypes_2;
|
2173
|
-
sheet_statement: string;
|
2174
|
-
permissions: INodePermissions;
|
2175
|
-
sheet_time: number | null;
|
2176
|
-
state: TSheetStates;
|
2177
|
-
title: string;
|
2178
|
-
user_chapter_id: string | null;
|
2179
|
-
user_node_id: string | null;
|
2180
|
-
worksheet_id: string;
|
2181
|
-
image_url: string;
|
2182
|
-
image_hue: THueNames;
|
2183
|
-
total_questions: number | null;
|
2184
|
-
unlocked_on_ts: number | null;
|
2185
|
-
items?: TNodeDataTestItemsDataProps[];
|
2186
|
-
user_milestone_id?: string;
|
2187
|
-
}
|
2188
|
-
|
2189
|
-
declare interface INodePermissions {
|
2190
|
-
can_change_attempt_location: boolean;
|
2191
|
-
can_mark_familiar: boolean;
|
2192
|
-
can_reattempt: boolean;
|
2193
|
-
can_reset: boolean;
|
2194
|
-
can_resume: boolean;
|
2195
|
-
can_review: boolean;
|
2196
|
-
can_start: boolean;
|
2197
|
-
can_teacher_review: boolean;
|
2198
|
-
can_unassign: boolean;
|
2199
|
-
}
|
2200
|
-
|
2201
2047
|
export declare interface INudgeProps {
|
2202
2048
|
nudge: 'click';
|
2203
2049
|
content: ReactNode;
|
@@ -2206,10 +2052,6 @@ export declare interface INudgeProps {
|
|
2206
2052
|
zIndex?: number;
|
2207
2053
|
}
|
2208
2054
|
|
2209
|
-
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2210
|
-
|
2211
|
-
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2212
|
-
|
2213
2055
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2214
2056
|
|
2215
2057
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2316,11 +2158,6 @@ export declare interface IPointsLeaderboardDetails extends IBaseLeaderboardDetai
|
|
2316
2158
|
leaderboardPlayers: ILeaderboardPlayerWithPoints[];
|
2317
2159
|
}
|
2318
2160
|
|
2319
|
-
declare interface IPostCircleOnboardingPayload {
|
2320
|
-
intelenrollment_id: string;
|
2321
|
-
completed_coachmarks: string[];
|
2322
|
-
}
|
2323
|
-
|
2324
2161
|
export declare interface IPostGameStat {
|
2325
2162
|
type: EPostGameStat;
|
2326
2163
|
value: number;
|
@@ -2836,7 +2673,7 @@ declare interface ISubmitModalProps_2 {
|
|
2836
2673
|
courseStream: TCourseStream;
|
2837
2674
|
}
|
2838
2675
|
|
2839
|
-
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData
|
2676
|
+
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mode?: "resume" | "review") => boolean;
|
2840
2677
|
|
2841
2678
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2842
2679
|
|
@@ -2984,7 +2821,13 @@ declare interface ITestsCreationProps {
|
|
2984
2821
|
onError: (errorMessage?: string) => void;
|
2985
2822
|
}
|
2986
2823
|
|
2987
|
-
declare interface
|
2824
|
+
declare interface ITestSheetItemCallbackProps {
|
2825
|
+
onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
|
2826
|
+
onTestStart?: (sheetData: ISheetDataProps) => void;
|
2827
|
+
onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
|
2828
|
+
}
|
2829
|
+
|
2830
|
+
declare interface ITestsListProps extends ITestSheetItemCallbackProps {
|
2988
2831
|
userType: TUserTypes;
|
2989
2832
|
studentId: string;
|
2990
2833
|
userMilestoneId: string;
|
@@ -2993,9 +2836,6 @@ declare interface ITestsListProps {
|
|
2993
2836
|
isDraftMilestone?: boolean;
|
2994
2837
|
isChaptersAvailable?: boolean;
|
2995
2838
|
canUpdatePlan?: boolean;
|
2996
|
-
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
2997
|
-
onTestStart?: (sheetData: INodeDataProps) => void;
|
2998
|
-
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
2999
2839
|
}
|
3000
2840
|
|
3001
2841
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3240,20 +3080,6 @@ declare interface IusePointerSyncProps {
|
|
3240
3080
|
targetUserId?: string;
|
3241
3081
|
}
|
3242
3082
|
|
3243
|
-
export declare interface IUserChapterData {
|
3244
|
-
chapter_code: string;
|
3245
|
-
chapter_id: string;
|
3246
|
-
chapter_tags: string[];
|
3247
|
-
id: string;
|
3248
|
-
image_hue: THueNames;
|
3249
|
-
image_url: string;
|
3250
|
-
item_bank_enabled: boolean;
|
3251
|
-
name: string;
|
3252
|
-
program_id: string;
|
3253
|
-
progress_stat: IChapterProgressStats | null;
|
3254
|
-
blocks: IChapterBlockData[];
|
3255
|
-
}
|
3256
|
-
|
3257
3083
|
declare interface IUserChapterProgressProps {
|
3258
3084
|
familiar_sheets: number;
|
3259
3085
|
mastered_sheets: number;
|
@@ -3610,9 +3436,7 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3610
3436
|
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3611
3437
|
}
|
3612
3438
|
|
3613
|
-
export declare const JourneyProvider: FC<
|
3614
|
-
children: ReactNode;
|
3615
|
-
}>;
|
3439
|
+
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
3616
3440
|
|
3617
3441
|
export declare const Leaderboard: ({ leaderboardData, type, userId, onClose, isLoading, streakInfo, }: ILeaderboardProps) => JSX_2.Element;
|
3618
3442
|
|
@@ -3741,14 +3565,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3741
3565
|
|
3742
3566
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3743
3567
|
|
3744
|
-
declare enum NODE_CARD_STATES {
|
3745
|
-
LOCKED = "LOCKED",
|
3746
|
-
NOT_STARTED = "NOT_STARTED",
|
3747
|
-
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3748
|
-
IN_PROGRESS = "IN_PROGRESS",
|
3749
|
-
COMPLETED = "COMPLETED"
|
3750
|
-
}
|
3751
|
-
|
3752
3568
|
export declare const NODE_LABELS: {
|
3753
3569
|
readonly ASSESSMENT: "ASSESSMENT";
|
3754
3570
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3981,8 +3797,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
3981
3797
|
|
3982
3798
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3983
3799
|
|
3984
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3985
|
-
|
3986
3800
|
export declare const PYTHON_NODE_TYPES: {
|
3987
3801
|
readonly PPT_BASIC: "PPT_BASIC";
|
3988
3802
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -4003,15 +3817,6 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
4003
3817
|
|
4004
3818
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
4005
3819
|
|
4006
|
-
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4007
|
-
|
4008
|
-
declare interface RecentChaptersProps {
|
4009
|
-
studentId: string;
|
4010
|
-
courseStream: TCourseStream;
|
4011
|
-
userType: TUserTypes;
|
4012
|
-
onChapterClick: IChaptersListProps['onChapterClick'];
|
4013
|
-
}
|
4014
|
-
|
4015
3820
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
4016
3821
|
|
4017
3822
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -4038,18 +3843,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
4038
3843
|
|
4039
3844
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4040
3845
|
|
4041
|
-
declare enum SECTION_CODE {
|
4042
|
-
READINESS = "READINESS",
|
4043
|
-
GOALS = "GOALS",
|
4044
|
-
TESTS = "TESTS",
|
4045
|
-
ENRICHMENT = "ENRICHMENT",
|
4046
|
-
SUBJECTIVE = "SUBJECTIVE",
|
4047
|
-
VIDEOS = "VIDEOS",
|
4048
|
-
NOTES = "NOTES",
|
4049
|
-
FLASHCARDS = "FLASHCARDS",
|
4050
|
-
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4051
|
-
}
|
4052
|
-
|
4053
3846
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4054
3847
|
|
4055
3848
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4109,8 +3902,6 @@ export { SketchIcon }
|
|
4109
3902
|
|
4110
3903
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4111
3904
|
|
4112
|
-
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4113
|
-
|
4114
3905
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4115
3906
|
|
4116
3907
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -4139,8 +3930,6 @@ export declare enum State {
|
|
4139
3930
|
HOLD = "HOLD"
|
4140
3931
|
}
|
4141
3932
|
|
4142
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4143
|
-
|
4144
3933
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4145
3934
|
|
4146
3935
|
declare const STICKER_BADGE: {
|
@@ -4255,11 +4044,11 @@ declare type TBlockStatsData = {
|
|
4255
4044
|
|
4256
4045
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4257
4046
|
|
4258
|
-
declare type TBlockType = keyof typeof
|
4047
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE;
|
4259
4048
|
|
4260
4049
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4261
4050
|
|
4262
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4051
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4263
4052
|
|
4264
4053
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4265
4054
|
|
@@ -4381,8 +4170,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4381
4170
|
|
4382
4171
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4383
4172
|
|
4384
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4385
|
-
|
4386
4173
|
/**
|
4387
4174
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4388
4175
|
*/
|
@@ -4409,9 +4196,9 @@ declare interface TextProps {
|
|
4409
4196
|
|
4410
4197
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4411
4198
|
|
4412
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4199
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4413
4200
|
|
4414
|
-
declare type TGoalCategory_2 =
|
4201
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4415
4202
|
|
4416
4203
|
declare interface TGoals {
|
4417
4204
|
goal_code?: string;
|
@@ -4499,11 +4286,6 @@ export declare type TInclassMessage = {
|
|
4499
4286
|
eventPayload: {
|
4500
4287
|
worksheetId: string;
|
4501
4288
|
};
|
4502
|
-
} | {
|
4503
|
-
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4504
|
-
eventPayload: {
|
4505
|
-
studentId: string;
|
4506
|
-
};
|
4507
4289
|
} | {
|
4508
4290
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4509
4291
|
eventPayload: {
|
@@ -4880,19 +4662,11 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4880
4662
|
|
4881
4663
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4882
4664
|
|
4883
|
-
declare interface TNodeDataTestItemsDataProps {
|
4884
|
-
chapter_name: string;
|
4885
|
-
goal_name: string;
|
4886
|
-
ref: string;
|
4887
|
-
}
|
4888
|
-
|
4889
4665
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4890
4666
|
|
4891
4667
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4892
4668
|
|
4893
|
-
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'
|
4894
|
-
|
4895
|
-
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4669
|
+
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';
|
4896
4670
|
|
4897
4671
|
export declare type TOnPreSubmitOptions = {
|
4898
4672
|
isDraftPlan: boolean;
|
@@ -4932,8 +4706,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4932
4706
|
|
4933
4707
|
declare type TQuery = {
|
4934
4708
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4935
|
-
|
4709
|
+
with_plan: boolean;
|
4936
4710
|
course_stream: TCourseStream;
|
4711
|
+
student_id: string;
|
4712
|
+
in_class?: boolean;
|
4937
4713
|
};
|
4938
4714
|
|
4939
4715
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -5018,8 +4794,6 @@ declare type TSectionSummary = {
|
|
5018
4794
|
|
5019
4795
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5020
4796
|
|
5021
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5022
|
-
|
5023
4797
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
5024
4798
|
|
5025
4799
|
declare type TSheetBlockData = {
|
@@ -5081,8 +4855,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5081
4855
|
|
5082
4856
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5083
4857
|
|
5084
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5085
|
-
|
5086
4858
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5087
4859
|
|
5088
4860
|
declare type TStickerData = {
|
@@ -5251,6 +5023,14 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
|
|
5251
5023
|
invalidateCircleHomeDetails: () => void;
|
5252
5024
|
};
|
5253
5025
|
|
5026
|
+
/**
|
5027
|
+
* Unless the useGetUserJourney API is resolved, this hook will return an empty array.
|
5028
|
+
* This is because the userCompletedJourneyIds are set from the API response.
|
5029
|
+
* And Unless the API is resolved, we cannot determine the eligible journeys.
|
5030
|
+
* So, we return an empty array.
|
5031
|
+
*/
|
5032
|
+
export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => JOURNEY_ID_STUDENT[];
|
5033
|
+
|
5254
5034
|
declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
|
5255
5035
|
get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
|
5256
5036
|
resource: ResourceModel<IGetLeaderboardResponseModel> | undefined;
|
@@ -5271,8 +5051,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5271
5051
|
|
5272
5052
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5273
5053
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5274
|
-
resource: ResourceModel<
|
5275
|
-
data:
|
5054
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5055
|
+
data: ISheetDataProps[] | undefined;
|
5276
5056
|
permissions: Record<string, unknown> | undefined;
|
5277
5057
|
isProcessing: boolean;
|
5278
5058
|
isProcessed: boolean;
|
@@ -5287,8 +5067,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5287
5067
|
get: (id: string, query: void, meta: {
|
5288
5068
|
studentId: string;
|
5289
5069
|
}) => Promise<void>;
|
5290
|
-
resource: ResourceModel<
|
5291
|
-
data:
|
5070
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5071
|
+
data: ISheetDataProps[] | undefined;
|
5292
5072
|
permissions: Record<string, unknown> | undefined;
|
5293
5073
|
isProcessing: boolean;
|
5294
5074
|
isProcessed: boolean;
|
@@ -5317,19 +5097,6 @@ export declare const useJourney: () => IJourneyContext;
|
|
5317
5097
|
|
5318
5098
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
5319
5099
|
|
5320
|
-
declare const usePostUpdateCircleCoachmark: (opts?: {
|
5321
|
-
onComplete?: ((errorMessage: string | null, data?: IGetCircleHomeResponseModel | undefined, permissions?: void | undefined) => void) | undefined;
|
5322
|
-
triggerOnComplete?: boolean | undefined;
|
5323
|
-
} | undefined) => {
|
5324
|
-
post: (body: IPostCircleOnboardingPayload, meta: void) => Promise<void>;
|
5325
|
-
isProcessing: boolean;
|
5326
|
-
onComplete: (() => void) | undefined;
|
5327
|
-
};
|
5328
|
-
|
5329
|
-
export declare const usePostUpdateCircleJourneyDal: () => Omit<ReturnType<typeof usePostUpdateCircleCoachmark>, "data" | "post"> & {
|
5330
|
-
postCircleJourneyCompletion: (userId: string, journeyCompletionIds: TJourneyId[]) => void;
|
5331
|
-
};
|
5332
|
-
|
5333
5100
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5334
5101
|
|
5335
5102
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -5398,7 +5165,7 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
|
5398
5165
|
declare const ZINDEX: {
|
5399
5166
|
readonly CHAPTER_CROWN_ICON: 4;
|
5400
5167
|
readonly CHAPTER_PLUS_ICON: 2;
|
5401
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5168
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5402
5169
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5403
5170
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5404
5171
|
readonly MODAL: 20;
|