@cuemath/leap 2.8.55 → 2.8.56-as1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +9 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/alarm.js +41 -0
- package/dist/assets/line-icons/icons/alarm.js.map +1 -0
- package/dist/assets/line-icons/icons/dart.js +23 -0
- package/dist/assets/line-icons/icons/dart.js.map +1 -0
- package/dist/assets/line-icons/icons/exclamation.js +26 -0
- package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
- package/dist/assets/line-icons/icons/home2.js +25 -0
- package/dist/assets/line-icons/icons/home2.js.map +1 -0
- package/dist/assets/line-icons/icons/important.js +23 -0
- package/dist/assets/line-icons/icons/important.js.map +1 -0
- package/dist/assets/line-icons/icons/puzzle.js +25 -0
- package/dist/assets/line-icons/icons/puzzle.js.map +1 -0
- package/dist/assets/line-icons/icons/recap.js +32 -0
- package/dist/assets/line-icons/icons/recap.js.map +1 -0
- package/dist/assets/line-icons/icons/status.js +41 -0
- package/dist/assets/line-icons/icons/status.js.map +1 -0
- package/dist/assets/line-icons/icons/testtube.js +33 -0
- package/dist/assets/line-icons/icons/testtube.js.map +1 -0
- package/dist/features/analytics-events/whitelist-events.js +7 -9
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +98 -33
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +76 -47
- 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 +65 -70
- package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
- package/dist/features/chapters-v2/api/chapter.js +10 -0
- package/dist/features/chapters-v2/api/chapter.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +26 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +69 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +97 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +52 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +103 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +13 -0
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +153 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
- package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +31 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +160 -0
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +184 -0
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
- package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
- package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
- package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
- package/dist/features/chapters-v2/constants/block-constants.js +20 -0
- package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
- package/dist/features/chapters-v2/constants/node-constants.js +15 -0
- package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
- package/dist/features/chapters-v2/utils/index.js +41 -0
- package/dist/features/chapters-v2/utils/index.js.map +1 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js +106 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
- package/dist/features/circle-games/games/tutorial/tutorial.js +14 -13
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/homework/card-menu-options.js +36 -0
- package/dist/features/homework/card-menu-options.js.map +1 -0
- package/dist/features/homework/homework-card.js +136 -0
- package/dist/features/homework/homework-card.js.map +1 -0
- package/dist/features/homework/styles.js +114 -0
- package/dist/features/homework/styles.js.map +1 -0
- package/dist/features/homework/utils.js +28 -0
- package/dist/features/homework/utils.js.map +1 -0
- package/dist/features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js +10 -10
- package/dist/features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +116 -91
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +105 -121
- 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 +145 -173
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +76 -81
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -174
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +19 -23
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js +34 -36
- 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 +96 -78
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +6 -34
- 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 +73 -73
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +8 -7
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +77 -68
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -1
- package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
- package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
- package/dist/features/recent-chapters/recent-chapters-styled.js +23 -0
- package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
- package/dist/features/recent-chapters/recent-chapters.js +49 -0
- package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
- package/dist/features/sheets/resources-list/resource-item/resource-item.js +65 -179
- package/dist/features/sheets/resources-list/resource-item/resource-item.js.map +1 -1
- package/dist/features/sheets/resources-list/resources-list.js +5 -5
- package/dist/features/sheets/resources-list/resources-list.js.map +1 -1
- package/dist/features/sheets/resources-list/styled.js +9 -13
- package/dist/features/sheets/resources-list/styled.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +1 -1
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
- package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +30 -15
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/theme/button.js +17 -102
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +200 -12
- package/dist/index.js +487 -469
- package/dist/index.js.map +1 -1
- package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
- package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
- package/dist/static/node-learn-bg.b61f815c.svg +1 -0
- package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
- package/dist/static/node-project-bg.e6a33e28.svg +1 -0
- package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
- package/dist/static/node-recap-bg.546154e4.svg +1 -0
- package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
- package/dist/static/node-video-bg.3df3f73a.svg +1 -0
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/closed-eye.js +0 -23
- package/dist/assets/line-icons/icons/closed-eye.js.map +0 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element-styled.js +0 -15
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element-styled.js.map +0 -1
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element.js +0 -26
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element.js.map +0 -1
- package/dist/features/sheets/resources-list/resource-item/styled.js +0 -38
- package/dist/features/sheets/resources-list/resource-item/styled.js.map +0 -1
- package/dist/features/sheets/resources-list/resource-item/utils.js +0 -23
- package/dist/features/sheets/resources-list/resource-item/utils.js.map +0 -1
- package/dist/features/sheets/sheets-analytics-events.js +0 -11
- package/dist/features/sheets/sheets-analytics-events.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -48,6 +48,8 @@ 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
|
+
|
51
53
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
52
54
|
|
53
55
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
@@ -107,6 +109,21 @@ declare const BLOCK_TYPE: {
|
|
107
109
|
readonly SAT_MOCK_TEST: "SAT_MOCK_TEST";
|
108
110
|
};
|
109
111
|
|
112
|
+
declare enum BLOCK_TYPE_2 {
|
113
|
+
DEFAULT = "DEFAULT",
|
114
|
+
PREREQ = "PREREQ",
|
115
|
+
RECAP = "RECAP",
|
116
|
+
GOAL = "GOAL",
|
117
|
+
TESTS = "TESTS",
|
118
|
+
PLAYLIST = "PLAYLIST",
|
119
|
+
SOLUTIONS = "SOLUTIONS",
|
120
|
+
NOTES = "NOTES",
|
121
|
+
FLASHCARDS = "FLASHCARDS",
|
122
|
+
SUBJECTIVES = "SUBJECTIVES",
|
123
|
+
PUZZLE_CARDS = "PUZZLE_CARDS",
|
124
|
+
SAT_MOCK_TEST = "SAT_MOCK_TEST"
|
125
|
+
}
|
126
|
+
|
110
127
|
export declare const Book2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
111
128
|
|
112
129
|
export declare const BookClosedIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -146,6 +163,8 @@ declare const CHAPTER_PERMISSION_CODES: {
|
|
146
163
|
|
147
164
|
export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
|
148
165
|
|
166
|
+
export declare const ChapterDetails: FC<IChapterDetails>;
|
167
|
+
|
149
168
|
export declare const ChaptersList: FC<IChaptersListProps>;
|
150
169
|
|
151
170
|
export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -259,6 +278,8 @@ export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
259
278
|
|
260
279
|
export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
|
261
280
|
|
281
|
+
export declare const DartIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
282
|
+
|
262
283
|
export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
263
284
|
|
264
285
|
export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
@@ -360,6 +381,8 @@ declare type EventToPayload<T> = T extends {
|
|
360
381
|
eventPayload: infer P;
|
361
382
|
} ? [E] | [E, Partial<P>] : never;
|
362
383
|
|
384
|
+
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
385
|
+
|
363
386
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
364
387
|
|
365
388
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -527,6 +550,7 @@ export declare interface IArrowTooltipProps {
|
|
527
550
|
width?: number;
|
528
551
|
widthX?: number;
|
529
552
|
zIndex?: number;
|
553
|
+
parentWidth?: number | string;
|
530
554
|
}
|
531
555
|
|
532
556
|
declare interface IAttempt {
|
@@ -627,6 +651,10 @@ declare interface IBaseWorksheetProps {
|
|
627
651
|
canShowActionBar?: boolean;
|
628
652
|
}
|
629
653
|
|
654
|
+
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
655
|
+
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
656
|
+
}
|
657
|
+
|
630
658
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
631
659
|
label: string;
|
632
660
|
renderAs: TButtonVariants;
|
@@ -701,6 +729,25 @@ declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | '
|
|
701
729
|
learning_sheet_data: ILearningSheetData[];
|
702
730
|
}
|
703
731
|
|
732
|
+
export declare interface IChapterBlockData {
|
733
|
+
block_type: keyof typeof BLOCK_TYPE_2;
|
734
|
+
chapter_code: string;
|
735
|
+
code: string;
|
736
|
+
block_id: string;
|
737
|
+
is_skipped: boolean;
|
738
|
+
name: string;
|
739
|
+
permissions: IChapterBlockPermission;
|
740
|
+
program_id: string;
|
741
|
+
section_code: keyof typeof SECTION_CODE;
|
742
|
+
sheets: INodeDataProps[];
|
743
|
+
user_block_id: string | null;
|
744
|
+
}
|
745
|
+
|
746
|
+
declare interface IChapterBlockPermission {
|
747
|
+
can_skip: boolean;
|
748
|
+
can_unskip: boolean;
|
749
|
+
}
|
750
|
+
|
704
751
|
export declare interface IChapterBlockV3 {
|
705
752
|
completed_on: number | null;
|
706
753
|
sheets: IWorksheetModelV3[];
|
@@ -730,6 +777,7 @@ export declare interface IChapterDataProps {
|
|
730
777
|
user_chapter_progress: IUserChapterProgressProps;
|
731
778
|
state: TUserChapterStates | null;
|
732
779
|
program_id: string;
|
780
|
+
progress_stat: IMilestoneData['progress_stat'];
|
733
781
|
sheets_data: {
|
734
782
|
lessons: ILessonsListProps['lessons'];
|
735
783
|
supplementary_sheets_group_sort_order: string[];
|
@@ -737,6 +785,13 @@ export declare interface IChapterDataProps {
|
|
737
785
|
};
|
738
786
|
}
|
739
787
|
|
788
|
+
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
789
|
+
userType: TUserTypes;
|
790
|
+
userChapterId: string;
|
791
|
+
studentId: string;
|
792
|
+
onExit: () => void;
|
793
|
+
}
|
794
|
+
|
740
795
|
declare interface IChapterModel {
|
741
796
|
code: string;
|
742
797
|
description: string;
|
@@ -761,6 +816,17 @@ declare interface IChapterModel {
|
|
761
816
|
is_puzzle_chapter?: boolean;
|
762
817
|
}
|
763
818
|
|
819
|
+
declare interface IChapterProgressInfo {
|
820
|
+
completed: number;
|
821
|
+
total: number;
|
822
|
+
}
|
823
|
+
|
824
|
+
declare interface IChapterProgressStats {
|
825
|
+
mandatory: IChapterProgressInfo;
|
826
|
+
class_work: IChapterProgressInfo;
|
827
|
+
optional: IChapterProgressInfo;
|
828
|
+
}
|
829
|
+
|
764
830
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
765
831
|
user_type: TUserTypes;
|
766
832
|
is_defocused?: boolean;
|
@@ -946,6 +1012,9 @@ declare interface IContextMenuProps {
|
|
946
1012
|
menuZIndex?: number;
|
947
1013
|
startLeft?: boolean;
|
948
1014
|
placeTop?: boolean;
|
1015
|
+
menuWidth?: number | string;
|
1016
|
+
menuWidthX?: number;
|
1017
|
+
handleOnMenuClick?: () => void;
|
949
1018
|
}
|
950
1019
|
|
951
1020
|
declare interface ICountdownTimer {
|
@@ -1204,7 +1273,7 @@ declare interface IGoalCurriculumMap {
|
|
1204
1273
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1205
1274
|
blocked_countries: string[];
|
1206
1275
|
course_stream: TCourseStream;
|
1207
|
-
goal_category:
|
1276
|
+
goal_category: TGoalCategory_2;
|
1208
1277
|
goal_curriculum_standard?: string;
|
1209
1278
|
goal_code: string;
|
1210
1279
|
goal_description: string | null;
|
@@ -1595,6 +1664,7 @@ export declare const ILLUSTRATIONS: {
|
|
1595
1664
|
CHAPTER_8: string;
|
1596
1665
|
CHAPTER_9: string;
|
1597
1666
|
CHAPTER_HEADER_BG: string;
|
1667
|
+
CHAPTER_HEADER_BG_2: string;
|
1598
1668
|
CIRCLE_CUEMATH_LOGO: string;
|
1599
1669
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1600
1670
|
CLOCK_ORANGE: string;
|
@@ -1636,6 +1706,14 @@ export declare const ILLUSTRATIONS: {
|
|
1636
1706
|
MILESTONE_INTRO_2: string;
|
1637
1707
|
MILESTONE_INTRO_3: string;
|
1638
1708
|
MISTAKE: string;
|
1709
|
+
NODE_CUSTOM_TEST_BG: string;
|
1710
|
+
NODE_LEARN_BG: string;
|
1711
|
+
NODE_PRACTICE_BG: string;
|
1712
|
+
NODE_PROJECT_BG: string;
|
1713
|
+
NODE_PUZZLE_BG: string;
|
1714
|
+
NODE_RECAP_BG: string;
|
1715
|
+
NODE_TEST_PREP_BG: string;
|
1716
|
+
NODE_VIDEO_BG: string;
|
1639
1717
|
NUMBER_1_ORANGE: string;
|
1640
1718
|
NUMBER_2_ORANGE: string;
|
1641
1719
|
NUMBER_3_ORANGE: string;
|
@@ -1816,7 +1894,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1816
1894
|
parentName?: string;
|
1817
1895
|
teacherName?: string;
|
1818
1896
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1819
|
-
onAddOutcome?: (milestoneId
|
1897
|
+
onAddOutcome?: (milestoneId?: string) => void;
|
1820
1898
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1821
1899
|
isClassOngoing?: boolean;
|
1822
1900
|
isStudentPresent?: boolean;
|
@@ -1868,7 +1946,7 @@ export declare interface IMilestoneData {
|
|
1868
1946
|
course_stream: TCourseStream;
|
1869
1947
|
grade: string;
|
1870
1948
|
board: string;
|
1871
|
-
goal_category:
|
1949
|
+
goal_category: TGoalCategory;
|
1872
1950
|
goal_code: string | null;
|
1873
1951
|
created_on_ts: number;
|
1874
1952
|
milestone_date_ts: number;
|
@@ -1883,6 +1961,10 @@ export declare interface IMilestoneData {
|
|
1883
1961
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1884
1962
|
permissions: IMilestoneCardPermissions;
|
1885
1963
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
1964
|
+
progress_stat: {
|
1965
|
+
total: number;
|
1966
|
+
completed: number;
|
1967
|
+
};
|
1886
1968
|
}
|
1887
1969
|
|
1888
1970
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2037,6 +2119,53 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2037
2119
|
|
2038
2120
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2039
2121
|
|
2122
|
+
declare interface INodeCardCallbacks {
|
2123
|
+
onNodeAttempt?: (nodeData: INodeDataProps) => void;
|
2124
|
+
onNodeView?: (nodeData: INodeDataProps) => void;
|
2125
|
+
onNodeReview?: (nodeData: INodeDataProps) => void;
|
2126
|
+
onNodeReattempt?: (nodeData: INodeDataProps) => void;
|
2127
|
+
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2128
|
+
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2129
|
+
}
|
2130
|
+
|
2131
|
+
export declare interface INodeDataProps {
|
2132
|
+
accuracy: number | null;
|
2133
|
+
attempt_location: TSheetAttemptLocation_2;
|
2134
|
+
block_id: string;
|
2135
|
+
card_header: string;
|
2136
|
+
chapter_id: string;
|
2137
|
+
complete_status: boolean;
|
2138
|
+
desmos_calculator_enabled: boolean;
|
2139
|
+
due_date_ts: number | null;
|
2140
|
+
is_lesson_v3_enabled: boolean;
|
2141
|
+
is_optional: boolean;
|
2142
|
+
is_timed: boolean;
|
2143
|
+
is_worksheet_v3: boolean | null;
|
2144
|
+
learnosity_activity_ref: string;
|
2145
|
+
marked_as_completed: boolean;
|
2146
|
+
node_id: string;
|
2147
|
+
node_type: TNodeTypes_2;
|
2148
|
+
sheet_statement: string;
|
2149
|
+
permissions: INodePermissions;
|
2150
|
+
sheet_time: number | null;
|
2151
|
+
state: TSheetStates;
|
2152
|
+
title: string;
|
2153
|
+
user_chapter_id: string | null;
|
2154
|
+
user_node_id: string | null;
|
2155
|
+
}
|
2156
|
+
|
2157
|
+
declare interface INodePermissions {
|
2158
|
+
can_change_attempt_location: boolean;
|
2159
|
+
can_mark_familiar: boolean;
|
2160
|
+
can_reattempt: boolean;
|
2161
|
+
can_reset: boolean;
|
2162
|
+
can_resume: boolean;
|
2163
|
+
can_review: boolean;
|
2164
|
+
can_start: boolean;
|
2165
|
+
can_teacher_review: boolean;
|
2166
|
+
can_unassign: boolean;
|
2167
|
+
}
|
2168
|
+
|
2040
2169
|
export declare interface INudgeProps {
|
2041
2170
|
nudge: 'click';
|
2042
2171
|
content: ReactNode;
|
@@ -2045,6 +2174,8 @@ export declare interface INudgeProps {
|
|
2045
2174
|
zIndex?: number;
|
2046
2175
|
}
|
2047
2176
|
|
2177
|
+
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2178
|
+
|
2048
2179
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2049
2180
|
|
2050
2181
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2512,6 +2643,10 @@ export declare interface ISheetDataProps {
|
|
2512
2643
|
user_node_id: string | null;
|
2513
2644
|
worksheet_id: string;
|
2514
2645
|
marked_as_completed?: boolean;
|
2646
|
+
image_url?: string;
|
2647
|
+
due_date_ts?: number | null;
|
2648
|
+
total_questions?: number;
|
2649
|
+
image_hue?: THueNames;
|
2515
2650
|
learnosity_activity_ref: string;
|
2516
2651
|
sheet_time?: number;
|
2517
2652
|
items?: TTestHelpItemsDataProps[];
|
@@ -2670,7 +2805,7 @@ declare interface ISubmitModalProps_2 {
|
|
2670
2805
|
courseStream: TCourseStream;
|
2671
2806
|
}
|
2672
2807
|
|
2673
|
-
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mode?: "resume" | "review") => boolean;
|
2808
|
+
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData | INodeDataProps, mode?: "resume" | "review") => boolean;
|
2674
2809
|
|
2675
2810
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2676
2811
|
|
@@ -3077,6 +3212,20 @@ declare interface IusePointerSyncProps {
|
|
3077
3212
|
targetUserId?: string;
|
3078
3213
|
}
|
3079
3214
|
|
3215
|
+
export declare interface IUserChapterData {
|
3216
|
+
chapter_code: string;
|
3217
|
+
chapter_id: string;
|
3218
|
+
chapter_tags: string[];
|
3219
|
+
id: string;
|
3220
|
+
image_hue: THueNames;
|
3221
|
+
image_url: string;
|
3222
|
+
item_bank_enabled: boolean;
|
3223
|
+
name: string;
|
3224
|
+
program_id: string;
|
3225
|
+
progress_stat: IChapterProgressStats | null;
|
3226
|
+
blocks: IChapterBlockData[];
|
3227
|
+
}
|
3228
|
+
|
3080
3229
|
declare interface IUserChapterProgressProps {
|
3081
3230
|
familiar_sheets: number;
|
3082
3231
|
mastered_sheets: number;
|
@@ -3564,6 +3713,14 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3564
3713
|
|
3565
3714
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3566
3715
|
|
3716
|
+
declare enum NODE_CARD_STATES {
|
3717
|
+
LOCKED = "LOCKED",
|
3718
|
+
NOT_STARTED = "NOT_STARTED",
|
3719
|
+
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3720
|
+
IN_PROGRESS = "IN_PROGRESS",
|
3721
|
+
COMPLETED = "COMPLETED"
|
3722
|
+
}
|
3723
|
+
|
3567
3724
|
export declare const NODE_LABELS: {
|
3568
3725
|
readonly ASSESSMENT: "ASSESSMENT";
|
3569
3726
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3791,6 +3948,8 @@ declare const PUZZLE_CARD_STATE: {
|
|
3791
3948
|
|
3792
3949
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3793
3950
|
|
3951
|
+
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3952
|
+
|
3794
3953
|
export declare const PYTHON_NODE_TYPES: {
|
3795
3954
|
readonly PPT_BASIC: "PPT_BASIC";
|
3796
3955
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3811,6 +3970,15 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
3811
3970
|
|
3812
3971
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
3813
3972
|
|
3973
|
+
export declare const RecentChapters: FC<RecentChaptersProps>;
|
3974
|
+
|
3975
|
+
declare interface RecentChaptersProps {
|
3976
|
+
studentId: string;
|
3977
|
+
courseStream: TCourseStream;
|
3978
|
+
userType: TUserTypes;
|
3979
|
+
onChapterClick: IChaptersListProps['onChapterClick'];
|
3980
|
+
}
|
3981
|
+
|
3814
3982
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3815
3983
|
|
3816
3984
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -3837,6 +4005,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
3837
4005
|
|
3838
4006
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3839
4007
|
|
4008
|
+
declare enum SECTION_CODE {
|
4009
|
+
READINESS = "READINESS",
|
4010
|
+
GOALS = "GOALS",
|
4011
|
+
TESTS = "TESTS",
|
4012
|
+
ENRICHMENT = "ENRICHMENT",
|
4013
|
+
SUBJECTIVE = "SUBJECTIVE",
|
4014
|
+
VIDEOS = "VIDEOS",
|
4015
|
+
NOTES = "NOTES",
|
4016
|
+
FLASHCARDS = "FLASHCARDS",
|
4017
|
+
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4018
|
+
}
|
4019
|
+
|
3840
4020
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
3841
4021
|
|
3842
4022
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -3924,6 +4104,8 @@ export declare enum State {
|
|
3924
4104
|
HOLD = "HOLD"
|
3925
4105
|
}
|
3926
4106
|
|
4107
|
+
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4108
|
+
|
3927
4109
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
3928
4110
|
|
3929
4111
|
declare const STICKER_BADGE: {
|
@@ -4042,7 +4224,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE;
|
|
4042
4224
|
|
4043
4225
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4044
4226
|
|
4045
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4227
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray';
|
4046
4228
|
|
4047
4229
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4048
4230
|
|
@@ -4164,6 +4346,8 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4164
4346
|
|
4165
4347
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4166
4348
|
|
4349
|
+
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4350
|
+
|
4167
4351
|
/**
|
4168
4352
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4169
4353
|
*/
|
@@ -4190,9 +4374,9 @@ declare interface TextProps {
|
|
4190
4374
|
|
4191
4375
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4192
4376
|
|
4193
|
-
declare type TGoalCategory =
|
4377
|
+
declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
|
4194
4378
|
|
4195
|
-
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY
|
4379
|
+
declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4196
4380
|
|
4197
4381
|
declare interface TGoals {
|
4198
4382
|
goal_code?: string;
|
@@ -4655,7 +4839,9 @@ declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
|
4655
4839
|
|
4656
4840
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4657
4841
|
|
4658
|
-
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';
|
4842
|
+
export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE' | 'VIDEO';
|
4843
|
+
|
4844
|
+
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4659
4845
|
|
4660
4846
|
export declare type TOnPreSubmitOptions = {
|
4661
4847
|
isDraftPlan: boolean;
|
@@ -4695,10 +4881,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4695
4881
|
|
4696
4882
|
declare type TQuery = {
|
4697
4883
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4698
|
-
with_plan: boolean;
|
4699
|
-
course_stream: TCourseStream;
|
4700
4884
|
student_id: string;
|
4701
|
-
|
4885
|
+
course_stream: TCourseStream;
|
4702
4886
|
};
|
4703
4887
|
|
4704
4888
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4783,6 +4967,8 @@ declare type TSectionSummary = {
|
|
4783
4967
|
|
4784
4968
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4785
4969
|
|
4970
|
+
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4971
|
+
|
4786
4972
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4787
4973
|
|
4788
4974
|
declare type TSheetBlockData = {
|
@@ -4844,6 +5030,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
4844
5030
|
|
4845
5031
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
4846
5032
|
|
5033
|
+
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5034
|
+
|
4847
5035
|
export declare type TSkillStatus = 'pending' | 'completed';
|
4848
5036
|
|
4849
5037
|
declare type TStickerData = {
|
@@ -5159,7 +5347,7 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
|
5159
5347
|
declare const ZINDEX: {
|
5160
5348
|
readonly CHAPTER_CROWN_ICON: 4;
|
5161
5349
|
readonly CHAPTER_PLUS_ICON: 2;
|
5162
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5350
|
+
readonly CHAPTER_PROGRESS_SVG: 2;
|
5163
5351
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5164
5352
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5165
5353
|
readonly MODAL: 20;
|