@cuemath/leap 2.9.4-as4 → 2.9.4-link.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/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/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/communication/pub-sub/constants.js +2 -5
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark-styled.js +5 -12
- package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +28 -36
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +5 -10
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/milestone/create/api/goal-submit.js +1 -1
- package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +49 -42
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +4 -12
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +105 -128
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +92 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +25 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -0
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +20 -14
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +50 -26
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +43 -49
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/create/utils/index.js +38 -33
- package/dist/features/milestone/create/utils/index.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +53 -51
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +40 -42
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-container.js +62 -64
- package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-helpers.js +53 -50
- package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-container.js +52 -54
- package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js +17 -9
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +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 +175 -155
- 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 +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/trial-session/comps/offering-information/offering-information.js +21 -21
- package/dist/features/trial-session/comps/offering-information/offering-information.js.map +1 -1
- package/dist/features/trial-session/comps/pricing/pricing-cards.js +46 -46
- package/dist/features/trial-session/comps/pricing/pricing-cards.js.map +1 -1
- package/dist/features/trial-session/comps/pricing/pricing.js +25 -25
- package/dist/features/trial-session/comps/pricing/pricing.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 +32 -308
- package/dist/index.js +470 -498
- 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 -171
- 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 -192
- 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 -144
- package/dist/features/chapters-v2/utils/node-card-utils.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/card-title.js +0 -15
- package/dist/features/homework/card-title.js.map +0 -1
- package/dist/features/homework/homework-card-view.js +0 -131
- package/dist/features/homework/homework-card-view.js.map +0 -1
- package/dist/features/homework/homework-card.js +0 -205
- 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 -71
- 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 -208
- 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/journey/hooks/use-home-page-journey.js +0 -189
- package/dist/features/journey/hooks/use-home-page-journey.js.map +0 -1
- package/dist/features/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 -85
- 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 -39
- 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,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,23 +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
|
-
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
508
|
-
individualHomeworkRef?: React_2.RefObject<HTMLDivElement>;
|
509
|
-
startHomePageJourney?: ({ hwDetails, studentId, stream, userType, }: IHomepageStartJourneyProps) => void;
|
510
|
-
canStartJourney?: boolean;
|
511
|
-
}
|
512
|
-
|
513
474
|
declare interface IAccordionSectionProps {
|
514
475
|
headerElement: React.ReactElement;
|
515
476
|
bodyElement: React.ReactElement;
|
@@ -566,7 +527,6 @@ export declare interface IArrowTooltipProps {
|
|
566
527
|
width?: number;
|
567
528
|
widthX?: number;
|
568
529
|
zIndex?: number;
|
569
|
-
parentWidth?: number | string;
|
570
530
|
}
|
571
531
|
|
572
532
|
declare interface IAttempt {
|
@@ -667,10 +627,6 @@ declare interface IBaseWorksheetProps {
|
|
667
627
|
canShowActionBar?: boolean;
|
668
628
|
}
|
669
629
|
|
670
|
-
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
671
|
-
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
672
|
-
}
|
673
|
-
|
674
630
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
675
631
|
label: string;
|
676
632
|
renderAs: TButtonVariants;
|
@@ -741,28 +697,10 @@ declare interface ICascadingSelectInputProps {
|
|
741
697
|
|
742
698
|
declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
|
743
699
|
search_and_added?: boolean;
|
700
|
+
total_supplementary_sheets: number;
|
744
701
|
learning_sheet_data: ILearningSheetData[];
|
745
702
|
}
|
746
703
|
|
747
|
-
export declare interface IChapterBlockData {
|
748
|
-
block_type: keyof typeof BLOCK_TYPE;
|
749
|
-
chapter_code: string;
|
750
|
-
code: string;
|
751
|
-
block_id: string;
|
752
|
-
is_skipped: boolean;
|
753
|
-
name: string;
|
754
|
-
permissions: IChapterBlockPermission;
|
755
|
-
program_id: string;
|
756
|
-
section_code: keyof typeof SECTION_CODE;
|
757
|
-
sheets: INodeDataProps[];
|
758
|
-
user_block_id: string | null;
|
759
|
-
}
|
760
|
-
|
761
|
-
declare interface IChapterBlockPermission {
|
762
|
-
can_skip: boolean;
|
763
|
-
can_un_skip: boolean;
|
764
|
-
}
|
765
|
-
|
766
704
|
export declare interface IChapterBlockV3 {
|
767
705
|
completed_on: number | null;
|
768
706
|
sheets: IWorksheetModelV3[];
|
@@ -792,24 +730,11 @@ export declare interface IChapterDataProps {
|
|
792
730
|
user_chapter_progress: IUserChapterProgressProps;
|
793
731
|
state: TUserChapterStates | null;
|
794
732
|
program_id: string;
|
795
|
-
progress_stat: {
|
796
|
-
classwork: IMilestoneData['progress_stat'];
|
797
|
-
mandatory: IMilestoneData['progress_stat'];
|
798
|
-
optional: IMilestoneData['progress_stat'];
|
799
|
-
};
|
800
733
|
sheets_data: {
|
801
734
|
lessons: ILessonsListProps['lessons'];
|
802
735
|
supplementary_sheets_group_sort_order: string[];
|
803
736
|
supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
|
804
737
|
};
|
805
|
-
blocks: IUserChapterData['blocks'];
|
806
|
-
}
|
807
|
-
|
808
|
-
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
809
|
-
userType: TUserTypes;
|
810
|
-
userChapterId: string;
|
811
|
-
studentId: string;
|
812
|
-
onExit?: () => void;
|
813
738
|
}
|
814
739
|
|
815
740
|
declare interface IChapterModel {
|
@@ -834,18 +759,6 @@ declare interface IChapterModel {
|
|
834
759
|
mastery_time: number;
|
835
760
|
chapter_time_unit: TTimeUnit;
|
836
761
|
is_puzzle_chapter?: boolean;
|
837
|
-
blocks: IUserChapterData['blocks'];
|
838
|
-
}
|
839
|
-
|
840
|
-
declare interface IChapterProgressInfo {
|
841
|
-
completed: number;
|
842
|
-
total: number;
|
843
|
-
}
|
844
|
-
|
845
|
-
declare interface IChapterProgressStats {
|
846
|
-
mandatory: IChapterProgressInfo;
|
847
|
-
class_work: IChapterProgressInfo;
|
848
|
-
optional: IChapterProgressInfo;
|
849
762
|
}
|
850
763
|
|
851
764
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
@@ -1023,9 +936,6 @@ declare interface IContextMenuProps {
|
|
1023
936
|
menuZIndex?: number;
|
1024
937
|
startLeft?: boolean;
|
1025
938
|
placeTop?: boolean;
|
1026
|
-
menuWidth?: number | string;
|
1027
|
-
menuWidthX?: number;
|
1028
|
-
handleOnMenuClick?: () => void;
|
1029
939
|
}
|
1030
940
|
|
1031
941
|
declare interface ICountdownTimer {
|
@@ -1284,7 +1194,7 @@ declare interface IGoalCurriculumMap {
|
|
1284
1194
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1285
1195
|
blocked_countries: string[];
|
1286
1196
|
course_stream: TCourseStream;
|
1287
|
-
goal_category:
|
1197
|
+
goal_category: TGoalCategory;
|
1288
1198
|
goal_curriculum_standard?: string;
|
1289
1199
|
goal_code: string;
|
1290
1200
|
goal_description: string | null;
|
@@ -1313,18 +1223,6 @@ declare interface IGradeSelectorProps {
|
|
1313
1223
|
layoutAlignment?: 'center' | 'auto';
|
1314
1224
|
}
|
1315
1225
|
|
1316
|
-
export declare interface IHomepageStartJourneyProps {
|
1317
|
-
hwDetails: IHomeworkData[];
|
1318
|
-
studentId: string;
|
1319
|
-
stream: string;
|
1320
|
-
userType: TUserTypes;
|
1321
|
-
}
|
1322
|
-
|
1323
|
-
export declare interface IHomeworkData extends INodeDataProps {
|
1324
|
-
homework_id: string;
|
1325
|
-
chapter_name: string;
|
1326
|
-
}
|
1327
|
-
|
1328
1226
|
declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
|
1329
1227
|
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1330
1228
|
customBgColor?: TColorNames;
|
@@ -1418,12 +1316,8 @@ export declare interface IJourneyContext {
|
|
1418
1316
|
* @param id - The journey identifier.
|
1419
1317
|
* @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
|
1420
1318
|
* @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
|
1421
|
-
|
1422
|
-
|
1423
|
-
// todo
|
1424
|
-
|
1425
1319
|
*/
|
1426
|
-
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number
|
1320
|
+
nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
|
1427
1321
|
/**
|
1428
1322
|
* Must be called to end journey and update the journey status on server.
|
1429
1323
|
* @param id - The journey id.
|
@@ -1503,7 +1397,8 @@ declare interface ILeaderboardProps {
|
|
1503
1397
|
}
|
1504
1398
|
|
1505
1399
|
declare interface ILearningSheetData {
|
1506
|
-
|
1400
|
+
title: string;
|
1401
|
+
learnosityRef: string;
|
1507
1402
|
}
|
1508
1403
|
|
1509
1404
|
declare interface ILearnosity {
|
@@ -1708,7 +1603,6 @@ export declare const ILLUSTRATIONS: {
|
|
1708
1603
|
CHAPTER_8: string;
|
1709
1604
|
CHAPTER_9: string;
|
1710
1605
|
CHAPTER_HEADER_BG: string;
|
1711
|
-
CHAPTER_HEADER_BG_2: string;
|
1712
1606
|
CIRCLE_CUEMATH_LOGO: string;
|
1713
1607
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1714
1608
|
CLOCK_ORANGE: string;
|
@@ -1750,14 +1644,6 @@ export declare const ILLUSTRATIONS: {
|
|
1750
1644
|
MILESTONE_INTRO_2: string;
|
1751
1645
|
MILESTONE_INTRO_3: string;
|
1752
1646
|
MISTAKE: string;
|
1753
|
-
NODE_CUSTOM_TEST_BG: string;
|
1754
|
-
NODE_LEARN_BG: string;
|
1755
|
-
NODE_PRACTICE_BG: string;
|
1756
|
-
NODE_PROJECT_BG: string;
|
1757
|
-
NODE_PUZZLE_BG: string;
|
1758
|
-
NODE_RECAP_BG: string;
|
1759
|
-
NODE_TEST_PREP_BG: string;
|
1760
|
-
NODE_VIDEO_BG: string;
|
1761
1647
|
NUMBER_1_ORANGE: string;
|
1762
1648
|
NUMBER_2_ORANGE: string;
|
1763
1649
|
NUMBER_3_ORANGE: string;
|
@@ -1938,7 +1824,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1938
1824
|
parentName?: string;
|
1939
1825
|
teacherName?: string;
|
1940
1826
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1941
|
-
onAddOutcome?: (milestoneId
|
1827
|
+
onAddOutcome?: (milestoneId: string) => void;
|
1942
1828
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1943
1829
|
isClassOngoing?: boolean;
|
1944
1830
|
isStudentPresent?: boolean;
|
@@ -1977,8 +1863,6 @@ declare interface IMileStoneCreateProps {
|
|
1977
1863
|
milestoneId?: string;
|
1978
1864
|
currentCountryCode?: string;
|
1979
1865
|
courseStream: TCourseStream;
|
1980
|
-
canDeleteGoal?: boolean;
|
1981
|
-
onDeleteGoal?: () => void;
|
1982
1866
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1983
1867
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1984
1868
|
onExit?: () => void;
|
@@ -1992,7 +1876,7 @@ export declare interface IMilestoneData {
|
|
1992
1876
|
course_stream: TCourseStream;
|
1993
1877
|
grade: string;
|
1994
1878
|
board: string;
|
1995
|
-
goal_category:
|
1879
|
+
goal_category: TGoalCategory_2;
|
1996
1880
|
goal_code: string | null;
|
1997
1881
|
created_on_ts: number;
|
1998
1882
|
milestone_date_ts: number;
|
@@ -2007,10 +1891,6 @@ export declare interface IMilestoneData {
|
|
2007
1891
|
user_milestone_progress: IUserChapterProgressProps | null;
|
2008
1892
|
permissions: IMilestoneCardPermissions;
|
2009
1893
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
2010
|
-
progress_stat: {
|
2011
|
-
total: number;
|
2012
|
-
completed: number;
|
2013
|
-
} | null;
|
2014
1894
|
}
|
2015
1895
|
|
2016
1896
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2088,7 +1968,7 @@ declare interface IMilestoneStartProps {
|
|
2088
1968
|
handleOnClick?: () => void;
|
2089
1969
|
}
|
2090
1970
|
|
2091
|
-
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 {
|
2092
1972
|
isPlanAvailable: boolean;
|
2093
1973
|
isMilestoneActive: boolean;
|
2094
1974
|
goalCategory: IMilestoneData['goal_category'];
|
@@ -2123,7 +2003,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
|
|
2123
2003
|
courseStream: TCourseStream;
|
2124
2004
|
}
|
2125
2005
|
|
2126
|
-
declare interface IMilestoneWidgetResourcesProps extends
|
2006
|
+
declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
|
2127
2007
|
userType: TUserTypes;
|
2128
2008
|
studentId: string;
|
2129
2009
|
userMilestoneId?: string;
|
@@ -2165,65 +2045,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2165
2045
|
|
2166
2046
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2167
2047
|
|
2168
|
-
declare interface INodeCardCallbacks {
|
2169
|
-
onNodeAttempt?: (nodeData: INodeDataProps) => void;
|
2170
|
-
onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2171
|
-
onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2172
|
-
onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2173
|
-
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2174
|
-
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2175
|
-
onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
|
2176
|
-
onNodeUnassign?: (nodeData: INodeDataProps | IHomeworkData, milestoneId?: string) => void;
|
2177
|
-
}
|
2178
|
-
|
2179
|
-
export declare interface INodeDataProps {
|
2180
|
-
accuracy: number | null;
|
2181
|
-
attempt_location: TSheetAttemptLocation_2;
|
2182
|
-
block_id: string;
|
2183
|
-
card_header: string;
|
2184
|
-
chapter_id: string;
|
2185
|
-
complete_status: boolean;
|
2186
|
-
course_type: TCourseType;
|
2187
|
-
desmos_calculator_enabled: boolean;
|
2188
|
-
due_date_ts: number | null;
|
2189
|
-
is_lesson_v3_enabled: boolean;
|
2190
|
-
is_optional: boolean;
|
2191
|
-
is_timed: boolean;
|
2192
|
-
is_worksheet_v3: boolean | null;
|
2193
|
-
learnosity_activity_ref: string;
|
2194
|
-
marked_as_completed: boolean;
|
2195
|
-
node_id: string;
|
2196
|
-
node_type: TNodeTypes_2;
|
2197
|
-
sheet_statement: string;
|
2198
|
-
permissions: INodePermissions;
|
2199
|
-
sheet_time: number | null;
|
2200
|
-
state: TSheetStates;
|
2201
|
-
title: string;
|
2202
|
-
user_chapter_id: string | null;
|
2203
|
-
user_node_id: string | null;
|
2204
|
-
worksheet_id: string;
|
2205
|
-
image_url: string;
|
2206
|
-
image_hue: THueNames;
|
2207
|
-
total_questions: number | null;
|
2208
|
-
unlocked_on_ts: number | null;
|
2209
|
-
items?: TNodeDataTestItemsDataProps[];
|
2210
|
-
user_milestone_id?: string;
|
2211
|
-
user_attempt_id: string | null;
|
2212
|
-
subtext: string | null;
|
2213
|
-
}
|
2214
|
-
|
2215
|
-
declare interface INodePermissions {
|
2216
|
-
can_change_attempt_location: boolean;
|
2217
|
-
can_mark_familiar: boolean;
|
2218
|
-
can_reattempt: boolean;
|
2219
|
-
can_reset: boolean;
|
2220
|
-
can_resume: boolean;
|
2221
|
-
can_review: boolean;
|
2222
|
-
can_start: boolean;
|
2223
|
-
can_teacher_review: boolean;
|
2224
|
-
can_unassign: boolean;
|
2225
|
-
}
|
2226
|
-
|
2227
2048
|
export declare interface INudgeProps {
|
2228
2049
|
nudge: 'click';
|
2229
2050
|
content: ReactNode;
|
@@ -2232,10 +2053,6 @@ export declare interface INudgeProps {
|
|
2232
2053
|
zIndex?: number;
|
2233
2054
|
}
|
2234
2055
|
|
2235
|
-
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2236
|
-
|
2237
|
-
export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2238
|
-
|
2239
2056
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2240
2057
|
|
2241
2058
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -3002,7 +2819,13 @@ declare interface ITestsCreationProps {
|
|
3002
2819
|
onError: (errorMessage?: string) => void;
|
3003
2820
|
}
|
3004
2821
|
|
3005
|
-
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 {
|
3006
2829
|
userType: TUserTypes;
|
3007
2830
|
studentId: string;
|
3008
2831
|
userMilestoneId: string;
|
@@ -3011,10 +2834,6 @@ declare interface ITestsListProps {
|
|
3011
2834
|
isDraftMilestone?: boolean;
|
3012
2835
|
isChaptersAvailable?: boolean;
|
3013
2836
|
canUpdatePlan?: boolean;
|
3014
|
-
onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
|
3015
|
-
onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3016
|
-
onTestStart?: (sheetData: INodeDataProps) => void;
|
3017
|
-
onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
|
3018
2837
|
}
|
3019
2838
|
|
3020
2839
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
@@ -3259,20 +3078,6 @@ declare interface IusePointerSyncProps {
|
|
3259
3078
|
targetUserId?: string;
|
3260
3079
|
}
|
3261
3080
|
|
3262
|
-
export declare interface IUserChapterData {
|
3263
|
-
chapter_code: string;
|
3264
|
-
chapter_id: string;
|
3265
|
-
chapter_tags: string[];
|
3266
|
-
id: string;
|
3267
|
-
image_hue: THueNames;
|
3268
|
-
image_url: string;
|
3269
|
-
item_bank_enabled: boolean;
|
3270
|
-
name: string;
|
3271
|
-
program_id: string;
|
3272
|
-
progress_stat: IChapterProgressStats | null;
|
3273
|
-
blocks: IChapterBlockData[];
|
3274
|
-
}
|
3275
|
-
|
3276
3081
|
declare interface IUserChapterProgressProps {
|
3277
3082
|
familiar_sheets: number;
|
3278
3083
|
mastered_sheets: number;
|
@@ -3626,8 +3431,7 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
3626
3431
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
3627
3432
|
CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
|
3628
3433
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
3629
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3630
|
-
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY"
|
3434
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
|
3631
3435
|
}
|
3632
3436
|
|
3633
3437
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -3672,7 +3476,6 @@ export declare const LOTTIE: {
|
|
3672
3476
|
COLOR_1: string;
|
3673
3477
|
COLOR_2: string;
|
3674
3478
|
COLOR_3: string;
|
3675
|
-
COMPETITIVE_ARENA: string;
|
3676
3479
|
DIFFICULT: string;
|
3677
3480
|
EASY: string;
|
3678
3481
|
ELITE_CIRCLE: string;
|
@@ -3685,7 +3488,6 @@ export declare const LOTTIE: {
|
|
3685
3488
|
GOLD_3: string;
|
3686
3489
|
INFINITE_BUTTON_BG: string;
|
3687
3490
|
INFINITE_BUTTON_SYMBOL: string;
|
3688
|
-
LEARN: string;
|
3689
3491
|
LEVELUP_RINGS: string;
|
3690
3492
|
MEDIUM: string;
|
3691
3493
|
NUDGE_TAP: string;
|
@@ -3705,12 +3507,8 @@ export declare const LOTTIE: {
|
|
3705
3507
|
POINT50: string;
|
3706
3508
|
POINT5: string;
|
3707
3509
|
POINT60: string;
|
3708
|
-
PRACTICE: string;
|
3709
3510
|
PROFICIENT1X: string;
|
3710
|
-
PROJECT: string;
|
3711
|
-
PUZZLE: string;
|
3712
3511
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3713
|
-
RECAP: string;
|
3714
3512
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3715
3513
|
SILVER_1: string;
|
3716
3514
|
SILVER_2: string;
|
@@ -3723,12 +3521,10 @@ export declare const LOTTIE: {
|
|
3723
3521
|
TABLE_SEGMENT_STAR: string;
|
3724
3522
|
TARGET_ACHIEVED_TEXT: string;
|
3725
3523
|
TEACHER_VALIDATION: string;
|
3726
|
-
TEST: string;
|
3727
3524
|
TOTAL_STREAK: string;
|
3728
3525
|
TOTAL_TIME: string;
|
3729
3526
|
TOTAL_TIME_SPENT: string;
|
3730
3527
|
TOURNAMENT_RIPPLE: string;
|
3731
|
-
VIDEO: string;
|
3732
3528
|
};
|
3733
3529
|
|
3734
3530
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3767,21 +3563,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3767
3563
|
|
3768
3564
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3769
3565
|
|
3770
|
-
declare enum NODE_CARD_COURSE_TYPES {
|
3771
|
-
PROGRAM = "PROGRAM",
|
3772
|
-
REMEDIAL = "REMEDIAL",
|
3773
|
-
TEST_SERIES = "TEST_SERIES",
|
3774
|
-
EXAM = "EXAM"
|
3775
|
-
}
|
3776
|
-
|
3777
|
-
declare enum NODE_CARD_STATES {
|
3778
|
-
LOCKED = "LOCKED",
|
3779
|
-
NOT_STARTED = "NOT_STARTED",
|
3780
|
-
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3781
|
-
IN_PROGRESS = "IN_PROGRESS",
|
3782
|
-
COMPLETED = "COMPLETED"
|
3783
|
-
}
|
3784
|
-
|
3785
3566
|
export declare const NODE_LABELS: {
|
3786
3567
|
readonly ASSESSMENT: "ASSESSMENT";
|
3787
3568
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -4014,8 +3795,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
4014
3795
|
|
4015
3796
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4016
3797
|
|
4017
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4018
|
-
|
4019
3798
|
export declare const PYTHON_NODE_TYPES: {
|
4020
3799
|
readonly PPT_BASIC: "PPT_BASIC";
|
4021
3800
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -4036,18 +3815,6 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
4036
3815
|
|
4037
3816
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
4038
3817
|
|
4039
|
-
export declare const RecapIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4040
|
-
|
4041
|
-
export declare const RecentChapters: FC<RecentChaptersProps>;
|
4042
|
-
|
4043
|
-
declare interface RecentChaptersProps {
|
4044
|
-
studentId: string;
|
4045
|
-
courseStream: TCourseStream;
|
4046
|
-
userType: TUserTypes;
|
4047
|
-
onChapterClick: IChaptersListProps['onChapterClick'];
|
4048
|
-
recentChaptersRef?: React.RefObject<HTMLDivElement>;
|
4049
|
-
}
|
4050
|
-
|
4051
3818
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
4052
3819
|
|
4053
3820
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -4074,18 +3841,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
4074
3841
|
|
4075
3842
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4076
3843
|
|
4077
|
-
declare enum SECTION_CODE {
|
4078
|
-
READINESS = "READINESS",
|
4079
|
-
GOALS = "GOALS",
|
4080
|
-
TESTS = "TESTS",
|
4081
|
-
ENRICHMENT = "ENRICHMENT",
|
4082
|
-
SUBJECTIVE = "SUBJECTIVE",
|
4083
|
-
VIDEOS = "VIDEOS",
|
4084
|
-
NOTES = "NOTES",
|
4085
|
-
FLASHCARDS = "FLASHCARDS",
|
4086
|
-
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4087
|
-
}
|
4088
|
-
|
4089
3844
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4090
3845
|
|
4091
3846
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4145,8 +3900,6 @@ export { SketchIcon }
|
|
4145
3900
|
|
4146
3901
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4147
3902
|
|
4148
|
-
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4149
|
-
|
4150
3903
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4151
3904
|
|
4152
3905
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -4175,8 +3928,6 @@ export declare enum State {
|
|
4175
3928
|
HOLD = "HOLD"
|
4176
3929
|
}
|
4177
3930
|
|
4178
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4179
|
-
|
4180
3931
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4181
3932
|
|
4182
3933
|
declare const STICKER_BADGE: {
|
@@ -4291,11 +4042,11 @@ declare type TBlockStatsData = {
|
|
4291
4042
|
|
4292
4043
|
declare type TBlockStatus = keyof typeof BLOCK_STATUS;
|
4293
4044
|
|
4294
|
-
declare type TBlockType = keyof typeof
|
4045
|
+
declare type TBlockType = keyof typeof BLOCK_TYPE;
|
4295
4046
|
|
4296
4047
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4297
4048
|
|
4298
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4049
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4299
4050
|
|
4300
4051
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4301
4052
|
|
@@ -4388,8 +4139,6 @@ declare type TCourseProgramPermissions = {
|
|
4388
4139
|
|
4389
4140
|
declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
|
4390
4141
|
|
4391
|
-
declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
|
4392
|
-
|
4393
4142
|
declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
|
4394
4143
|
|
4395
4144
|
declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
|
@@ -4419,8 +4168,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4419
4168
|
|
4420
4169
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4421
4170
|
|
4422
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4423
|
-
|
4424
4171
|
/**
|
4425
4172
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4426
4173
|
*/
|
@@ -4447,9 +4194,9 @@ declare interface TextProps {
|
|
4447
4194
|
|
4448
4195
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4449
4196
|
|
4450
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4197
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4451
4198
|
|
4452
|
-
declare type TGoalCategory_2 =
|
4199
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4453
4200
|
|
4454
4201
|
declare interface TGoals {
|
4455
4202
|
goal_code?: string;
|
@@ -4537,11 +4284,6 @@ export declare type TInclassMessage = {
|
|
4537
4284
|
eventPayload: {
|
4538
4285
|
worksheetId: string;
|
4539
4286
|
};
|
4540
|
-
} | {
|
4541
|
-
eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
|
4542
|
-
eventPayload: {
|
4543
|
-
studentId: string;
|
4544
|
-
};
|
4545
4287
|
} | {
|
4546
4288
|
eventName: typeof EVENTS.CHAPTER_UPDATED;
|
4547
4289
|
eventPayload: {
|
@@ -4918,19 +4660,11 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
|
|
4918
4660
|
|
4919
4661
|
declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
4920
4662
|
|
4921
|
-
declare interface TNodeDataTestItemsDataProps {
|
4922
|
-
chapter_name: string;
|
4923
|
-
goal_name: string;
|
4924
|
-
ref: string;
|
4925
|
-
}
|
4926
|
-
|
4927
4663
|
declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
4928
4664
|
|
4929
4665
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4930
4666
|
|
4931
|
-
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'
|
4932
|
-
|
4933
|
-
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4667
|
+
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';
|
4934
4668
|
|
4935
4669
|
export declare type TOnPreSubmitOptions = {
|
4936
4670
|
isDraftPlan: boolean;
|
@@ -4970,8 +4704,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4970
4704
|
|
4971
4705
|
declare type TQuery = {
|
4972
4706
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4973
|
-
|
4707
|
+
with_plan: boolean;
|
4974
4708
|
course_stream: TCourseStream;
|
4709
|
+
student_id: string;
|
4710
|
+
in_class?: boolean;
|
4975
4711
|
};
|
4976
4712
|
|
4977
4713
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -5056,8 +4792,6 @@ declare type TSectionSummary = {
|
|
5056
4792
|
|
5057
4793
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5058
4794
|
|
5059
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
5060
|
-
|
5061
4795
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
5062
4796
|
|
5063
4797
|
declare type TSheetBlockData = {
|
@@ -5119,8 +4853,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5119
4853
|
|
5120
4854
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5121
4855
|
|
5122
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5123
|
-
|
5124
4856
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5125
4857
|
|
5126
4858
|
declare type TStickerData = {
|
@@ -5311,8 +5043,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
5311
5043
|
|
5312
5044
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
5313
5045
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
5314
|
-
resource: ResourceModel<
|
5315
|
-
data:
|
5046
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5047
|
+
data: ISheetDataProps[] | undefined;
|
5316
5048
|
permissions: Record<string, unknown> | undefined;
|
5317
5049
|
isProcessing: boolean;
|
5318
5050
|
isProcessed: boolean;
|
@@ -5327,8 +5059,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5327
5059
|
get: (id: string, query: void, meta: {
|
5328
5060
|
studentId: string;
|
5329
5061
|
}) => Promise<void>;
|
5330
|
-
resource: ResourceModel<
|
5331
|
-
data:
|
5062
|
+
resource: ResourceModel<ISheetDataProps[]> | undefined;
|
5063
|
+
data: ISheetDataProps[] | undefined;
|
5332
5064
|
permissions: Record<string, unknown> | undefined;
|
5333
5065
|
isProcessing: boolean;
|
5334
5066
|
isProcessed: boolean;
|
@@ -5339,14 +5071,6 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
5339
5071
|
} & Record<string, unknown>) | undefined;
|
5340
5072
|
};
|
5341
5073
|
|
5342
|
-
export declare const useHomePageJourney: () => {
|
5343
|
-
homepageRef: RefObject<HTMLDivElement>;
|
5344
|
-
homeworkRef: RefObject<HTMLDivElement>;
|
5345
|
-
individualHomeworkRef: RefObject<HTMLDivElement>;
|
5346
|
-
recentChaptersRef: RefObject<HTMLDivElement>;
|
5347
|
-
startJourney: ({ hwDetails, studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
5348
|
-
};
|
5349
|
-
|
5350
5074
|
export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
|
5351
5075
|
studentClassroomId: string | undefined;
|
5352
5076
|
}) => {
|
@@ -5435,7 +5159,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
5435
5159
|
declare const ZINDEX: {
|
5436
5160
|
readonly CHAPTER_CROWN_ICON: 4;
|
5437
5161
|
readonly CHAPTER_PLUS_ICON: 2;
|
5438
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5162
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5439
5163
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5440
5164
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5441
5165
|
readonly MODAL: 20;
|