@cuemath/leap 2.8.56-as1 → 2.8.56-hg1
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/closed-eye.js +23 -0
- package/dist/assets/line-icons/icons/closed-eye.js.map +1 -0
- package/dist/features/analytics-events/whitelist-events.js +9 -7
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +33 -98
- 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 +47 -76
- 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 -65
- package/dist/features/chapters/chapters-list/chapters-list.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/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/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/milestone-list/milestone-list.js +91 -116
- 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 +121 -105
- 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 +173 -145
- 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 +81 -76
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +22 -10
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +53 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +37 -70
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +174 -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 +36 -34
- 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 +78 -96
- 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-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 +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 +7 -8
- 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 +68 -77
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element-styled.js +15 -0
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element-styled.js.map +1 -0
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element.js +26 -0
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element.js.map +1 -0
- package/dist/features/sheets/resources-list/resource-item/resource-item.js +179 -65
- package/dist/features/sheets/resources-list/resource-item/resource-item.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/styled.js +38 -0
- package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -0
- package/dist/features/sheets/resources-list/resource-item/utils.js +23 -0
- package/dist/features/sheets/resources-list/resource-item/utils.js.map +1 -0
- 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 +13 -9
- package/dist/features/sheets/resources-list/styled.js.map +1 -1
- package/dist/features/sheets/sheets-analytics-events.js +11 -0
- package/dist/features/sheets/sheets-analytics-events.js.map +1 -0
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +3 -4
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +29 -30
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +1 -1
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu-styled.js +14 -28
- package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +15 -30
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/theme/button.js +102 -17
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +12 -200
- package/dist/index.js +469 -487
- 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/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 -69
- 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 -160
- 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 -184
- 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 -15
- 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 -106
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +0 -1
- package/dist/features/homework/card-menu-options.js +0 -36
- package/dist/features/homework/card-menu-options.js.map +0 -1
- package/dist/features/homework/homework-card.js +0 -136
- package/dist/features/homework/homework-card.js.map +0 -1
- package/dist/features/homework/styles.js +0 -114
- package/dist/features/homework/styles.js.map +0 -1
- package/dist/features/homework/utils.js +0 -28
- package/dist/features/homework/utils.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 -23
- package/dist/features/recent-chapters/recent-chapters-styled.js.map +0 -1
- package/dist/features/recent-chapters/recent-chapters.js +0 -49
- package/dist/features/recent-chapters/recent-chapters.js.map +0 -1
- package/dist/static/chapter-header-bg-2.c8d96894.svg +0 -1
- package/dist/static/node-custom-test-bg.d3b757be.svg +0 -1
- package/dist/static/node-learn-bg.b61f815c.svg +0 -1
- package/dist/static/node-practice-bg.16cbaf2a.svg +0 -1
- package/dist/static/node-project-bg.e6a33e28.svg +0 -1
- package/dist/static/node-puzzle-bg.3422135c.svg +0 -1
- package/dist/static/node-recap-bg.546154e4.svg +0 -1
- package/dist/static/node-test-prep-bg.42c0b9c4.svg +0 -1
- package/dist/static/node-video-bg.3df3f73a.svg +0 -1
package/dist/index.d.ts
CHANGED
@@ -48,8 +48,6 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
48
48
|
|
49
49
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
50
50
|
|
51
|
-
export declare const AlarmIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
52
|
-
|
53
51
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
54
52
|
|
55
53
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
@@ -109,21 +107,6 @@ declare const BLOCK_TYPE: {
|
|
109
107
|
readonly SAT_MOCK_TEST: "SAT_MOCK_TEST";
|
110
108
|
};
|
111
109
|
|
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
|
-
|
127
110
|
export declare const Book2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
128
111
|
|
129
112
|
export declare const BookClosedIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -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>;
|
@@ -381,8 +360,6 @@ declare type EventToPayload<T> = T extends {
|
|
381
360
|
eventPayload: infer P;
|
382
361
|
} ? [E] | [E, Partial<P>] : never;
|
383
362
|
|
384
|
-
export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
385
|
-
|
386
363
|
export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
|
387
364
|
|
388
365
|
declare const EXTRA_PRACTICE: "extra_practice";
|
@@ -550,7 +527,6 @@ export declare interface IArrowTooltipProps {
|
|
550
527
|
width?: number;
|
551
528
|
widthX?: number;
|
552
529
|
zIndex?: number;
|
553
|
-
parentWidth?: number | string;
|
554
530
|
}
|
555
531
|
|
556
532
|
declare interface IAttempt {
|
@@ -651,10 +627,6 @@ declare interface IBaseWorksheetProps {
|
|
651
627
|
canShowActionBar?: boolean;
|
652
628
|
}
|
653
629
|
|
654
|
-
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
655
|
-
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
656
|
-
}
|
657
|
-
|
658
630
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
659
631
|
label: string;
|
660
632
|
renderAs: TButtonVariants;
|
@@ -729,25 +701,6 @@ declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | '
|
|
729
701
|
learning_sheet_data: ILearningSheetData[];
|
730
702
|
}
|
731
703
|
|
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
|
-
|
751
704
|
export declare interface IChapterBlockV3 {
|
752
705
|
completed_on: number | null;
|
753
706
|
sheets: IWorksheetModelV3[];
|
@@ -777,7 +730,6 @@ export declare interface IChapterDataProps {
|
|
777
730
|
user_chapter_progress: IUserChapterProgressProps;
|
778
731
|
state: TUserChapterStates | null;
|
779
732
|
program_id: string;
|
780
|
-
progress_stat: IMilestoneData['progress_stat'];
|
781
733
|
sheets_data: {
|
782
734
|
lessons: ILessonsListProps['lessons'];
|
783
735
|
supplementary_sheets_group_sort_order: string[];
|
@@ -785,13 +737,6 @@ export declare interface IChapterDataProps {
|
|
785
737
|
};
|
786
738
|
}
|
787
739
|
|
788
|
-
declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
789
|
-
userType: TUserTypes;
|
790
|
-
userChapterId: string;
|
791
|
-
studentId: string;
|
792
|
-
onExit: () => void;
|
793
|
-
}
|
794
|
-
|
795
740
|
declare interface IChapterModel {
|
796
741
|
code: string;
|
797
742
|
description: string;
|
@@ -816,17 +761,6 @@ declare interface IChapterModel {
|
|
816
761
|
is_puzzle_chapter?: boolean;
|
817
762
|
}
|
818
763
|
|
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
|
-
|
830
764
|
declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
|
831
765
|
user_type: TUserTypes;
|
832
766
|
is_defocused?: boolean;
|
@@ -1012,9 +946,6 @@ declare interface IContextMenuProps {
|
|
1012
946
|
menuZIndex?: number;
|
1013
947
|
startLeft?: boolean;
|
1014
948
|
placeTop?: boolean;
|
1015
|
-
menuWidth?: number | string;
|
1016
|
-
menuWidthX?: number;
|
1017
|
-
handleOnMenuClick?: () => void;
|
1018
949
|
}
|
1019
950
|
|
1020
951
|
declare interface ICountdownTimer {
|
@@ -1273,7 +1204,7 @@ declare interface IGoalCurriculumMap {
|
|
1273
1204
|
blocked_enrollment_types: TEnrollmentTypes[];
|
1274
1205
|
blocked_countries: string[];
|
1275
1206
|
course_stream: TCourseStream;
|
1276
|
-
goal_category:
|
1207
|
+
goal_category: TGoalCategory;
|
1277
1208
|
goal_curriculum_standard?: string;
|
1278
1209
|
goal_code: string;
|
1279
1210
|
goal_description: string | null;
|
@@ -1664,7 +1595,6 @@ export declare const ILLUSTRATIONS: {
|
|
1664
1595
|
CHAPTER_8: string;
|
1665
1596
|
CHAPTER_9: string;
|
1666
1597
|
CHAPTER_HEADER_BG: string;
|
1667
|
-
CHAPTER_HEADER_BG_2: string;
|
1668
1598
|
CIRCLE_CUEMATH_LOGO: string;
|
1669
1599
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1670
1600
|
CLOCK_ORANGE: string;
|
@@ -1706,14 +1636,6 @@ export declare const ILLUSTRATIONS: {
|
|
1706
1636
|
MILESTONE_INTRO_2: string;
|
1707
1637
|
MILESTONE_INTRO_3: string;
|
1708
1638
|
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;
|
1717
1639
|
NUMBER_1_ORANGE: string;
|
1718
1640
|
NUMBER_2_ORANGE: string;
|
1719
1641
|
NUMBER_3_ORANGE: string;
|
@@ -1894,7 +1816,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
1894
1816
|
parentName?: string;
|
1895
1817
|
teacherName?: string;
|
1896
1818
|
onEdit?: (editProps: IMilestoneEditProps) => void;
|
1897
|
-
onAddOutcome?: (milestoneId
|
1819
|
+
onAddOutcome?: (milestoneId: string) => void;
|
1898
1820
|
onChapterClick: IChaptersListProps['onChapterClick'];
|
1899
1821
|
isClassOngoing?: boolean;
|
1900
1822
|
isStudentPresent?: boolean;
|
@@ -1946,7 +1868,7 @@ export declare interface IMilestoneData {
|
|
1946
1868
|
course_stream: TCourseStream;
|
1947
1869
|
grade: string;
|
1948
1870
|
board: string;
|
1949
|
-
goal_category:
|
1871
|
+
goal_category: TGoalCategory_2;
|
1950
1872
|
goal_code: string | null;
|
1951
1873
|
created_on_ts: number;
|
1952
1874
|
milestone_date_ts: number;
|
@@ -1961,10 +1883,6 @@ export declare interface IMilestoneData {
|
|
1961
1883
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1962
1884
|
permissions: IMilestoneCardPermissions;
|
1963
1885
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
1964
|
-
progress_stat: {
|
1965
|
-
total: number;
|
1966
|
-
completed: number;
|
1967
|
-
};
|
1968
1886
|
}
|
1969
1887
|
|
1970
1888
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2119,53 +2037,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2119
2037
|
|
2120
2038
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2121
2039
|
|
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
|
-
|
2169
2040
|
export declare interface INudgeProps {
|
2170
2041
|
nudge: 'click';
|
2171
2042
|
content: ReactNode;
|
@@ -2174,8 +2045,6 @@ export declare interface INudgeProps {
|
|
2174
2045
|
zIndex?: number;
|
2175
2046
|
}
|
2176
2047
|
|
2177
|
-
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2178
|
-
|
2179
2048
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2180
2049
|
|
2181
2050
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2643,10 +2512,6 @@ export declare interface ISheetDataProps {
|
|
2643
2512
|
user_node_id: string | null;
|
2644
2513
|
worksheet_id: string;
|
2645
2514
|
marked_as_completed?: boolean;
|
2646
|
-
image_url?: string;
|
2647
|
-
due_date_ts?: number | null;
|
2648
|
-
total_questions?: number;
|
2649
|
-
image_hue?: THueNames;
|
2650
2515
|
learnosity_activity_ref: string;
|
2651
2516
|
sheet_time?: number;
|
2652
2517
|
items?: TTestHelpItemsDataProps[];
|
@@ -2805,7 +2670,7 @@ declare interface ISubmitModalProps_2 {
|
|
2805
2670
|
courseStream: TCourseStream;
|
2806
2671
|
}
|
2807
2672
|
|
2808
|
-
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData
|
2673
|
+
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mode?: "resume" | "review") => boolean;
|
2809
2674
|
|
2810
2675
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2811
2676
|
|
@@ -3212,20 +3077,6 @@ declare interface IusePointerSyncProps {
|
|
3212
3077
|
targetUserId?: string;
|
3213
3078
|
}
|
3214
3079
|
|
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
|
-
|
3229
3080
|
declare interface IUserChapterProgressProps {
|
3230
3081
|
familiar_sheets: number;
|
3231
3082
|
mastered_sheets: number;
|
@@ -3713,14 +3564,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3713
3564
|
|
3714
3565
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3715
3566
|
|
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
|
-
|
3724
3567
|
export declare const NODE_LABELS: {
|
3725
3568
|
readonly ASSESSMENT: "ASSESSMENT";
|
3726
3569
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3948,8 +3791,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
3948
3791
|
|
3949
3792
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3950
3793
|
|
3951
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3952
|
-
|
3953
3794
|
export declare const PYTHON_NODE_TYPES: {
|
3954
3795
|
readonly PPT_BASIC: "PPT_BASIC";
|
3955
3796
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3970,15 +3811,6 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
|
|
3970
3811
|
|
3971
3812
|
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
|
3972
3813
|
|
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
|
-
|
3982
3814
|
export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3983
3815
|
|
3984
3816
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
@@ -4005,18 +3837,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
4005
3837
|
|
4006
3838
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4007
3839
|
|
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
|
-
|
4020
3840
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4021
3841
|
|
4022
3842
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4104,8 +3924,6 @@ export declare enum State {
|
|
4104
3924
|
HOLD = "HOLD"
|
4105
3925
|
}
|
4106
3926
|
|
4107
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4108
|
-
|
4109
3927
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4110
3928
|
|
4111
3929
|
declare const STICKER_BADGE: {
|
@@ -4224,7 +4042,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE;
|
|
4224
4042
|
|
4225
4043
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4226
4044
|
|
4227
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4045
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4228
4046
|
|
4229
4047
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4230
4048
|
|
@@ -4346,8 +4164,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4346
4164
|
|
4347
4165
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4348
4166
|
|
4349
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4350
|
-
|
4351
4167
|
/**
|
4352
4168
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4353
4169
|
*/
|
@@ -4374,9 +4190,9 @@ declare interface TextProps {
|
|
4374
4190
|
|
4375
4191
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4376
4192
|
|
4377
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4193
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4378
4194
|
|
4379
|
-
declare type TGoalCategory_2 =
|
4195
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4380
4196
|
|
4381
4197
|
declare interface TGoals {
|
4382
4198
|
goal_code?: string;
|
@@ -4839,9 +4655,7 @@ declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
|
4839
4655
|
|
4840
4656
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4841
4657
|
|
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'
|
4843
|
-
|
4844
|
-
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
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';
|
4845
4659
|
|
4846
4660
|
export declare type TOnPreSubmitOptions = {
|
4847
4661
|
isDraftPlan: boolean;
|
@@ -4881,8 +4695,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4881
4695
|
|
4882
4696
|
declare type TQuery = {
|
4883
4697
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4884
|
-
|
4698
|
+
with_plan: boolean;
|
4885
4699
|
course_stream: TCourseStream;
|
4700
|
+
student_id: string;
|
4701
|
+
in_class?: boolean;
|
4886
4702
|
};
|
4887
4703
|
|
4888
4704
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4967,8 +4783,6 @@ declare type TSectionSummary = {
|
|
4967
4783
|
|
4968
4784
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4969
4785
|
|
4970
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4971
|
-
|
4972
4786
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4973
4787
|
|
4974
4788
|
declare type TSheetBlockData = {
|
@@ -5030,8 +4844,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5030
4844
|
|
5031
4845
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5032
4846
|
|
5033
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5034
|
-
|
5035
4847
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5036
4848
|
|
5037
4849
|
declare type TStickerData = {
|
@@ -5347,7 +5159,7 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
|
5347
5159
|
declare const ZINDEX: {
|
5348
5160
|
readonly CHAPTER_CROWN_ICON: 4;
|
5349
5161
|
readonly CHAPTER_PLUS_ICON: 2;
|
5350
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5162
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5351
5163
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5352
5164
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5353
5165
|
readonly MODAL: 20;
|