@cuemath/leap 2.8.60-beta-0.1 → 2.8.60
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/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/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js +62 -75
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +127 -110
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.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/tests-list.js +68 -77
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +3 -4
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +29 -30
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +1 -1
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu-styled.js +14 -28
- package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +15 -30
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +39 -24
- package/dist/features/ui/lottie-animation/lottie-animation.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 -187
- package/dist/index.js +471 -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 -154
- 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 -12
- 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 -40
- package/dist/features/chapters-v2/utils/index.js.map +0 -1
- package/dist/features/chapters-v2/utils/node-card-utils.js +0 -78
- package/dist/features/chapters-v2/utils/node-card-utils.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;
|
@@ -2802,7 +2671,7 @@ declare interface ISubmitModalProps_2 {
|
|
2802
2671
|
courseStream: TCourseStream;
|
2803
2672
|
}
|
2804
2673
|
|
2805
|
-
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData
|
2674
|
+
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mode?: "resume" | "review") => boolean;
|
2806
2675
|
|
2807
2676
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2808
2677
|
|
@@ -3209,20 +3078,6 @@ declare interface IusePointerSyncProps {
|
|
3209
3078
|
targetUserId?: string;
|
3210
3079
|
}
|
3211
3080
|
|
3212
|
-
export declare interface IUserChapterData {
|
3213
|
-
chapter_code: string;
|
3214
|
-
chapter_id: string;
|
3215
|
-
chapter_tags: string[];
|
3216
|
-
id: string;
|
3217
|
-
image_hue: THueNames;
|
3218
|
-
image_url: string;
|
3219
|
-
item_bank_enabled: boolean;
|
3220
|
-
name: string;
|
3221
|
-
program_id: string;
|
3222
|
-
progress_stat: IChapterProgressStats | null;
|
3223
|
-
blocks: IChapterBlockData[];
|
3224
|
-
}
|
3225
|
-
|
3226
3081
|
declare interface IUserChapterProgressProps {
|
3227
3082
|
familiar_sheets: number;
|
3228
3083
|
mastered_sheets: number;
|
@@ -3710,14 +3565,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3710
3565
|
|
3711
3566
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3712
3567
|
|
3713
|
-
declare enum NODE_CARD_STATES {
|
3714
|
-
LOCKED = "LOCKED",
|
3715
|
-
NOT_STARTED = "NOT_STARTED",
|
3716
|
-
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3717
|
-
IN_PROGRESS = "IN_PROGRESS",
|
3718
|
-
COMPLETED = "COMPLETED"
|
3719
|
-
}
|
3720
|
-
|
3721
3568
|
export declare const NODE_LABELS: {
|
3722
3569
|
readonly ASSESSMENT: "ASSESSMENT";
|
3723
3570
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3950,8 +3797,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
3950
3797
|
|
3951
3798
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3952
3799
|
|
3953
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3954
|
-
|
3955
3800
|
export declare const PYTHON_NODE_TYPES: {
|
3956
3801
|
readonly PPT_BASIC: "PPT_BASIC";
|
3957
3802
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3998,18 +3843,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
3998
3843
|
|
3999
3844
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4000
3845
|
|
4001
|
-
declare enum SECTION_CODE {
|
4002
|
-
READINESS = "READINESS",
|
4003
|
-
GOALS = "GOALS",
|
4004
|
-
TESTS = "TESTS",
|
4005
|
-
ENRICHMENT = "ENRICHMENT",
|
4006
|
-
SUBJECTIVE = "SUBJECTIVE",
|
4007
|
-
VIDEOS = "VIDEOS",
|
4008
|
-
NOTES = "NOTES",
|
4009
|
-
FLASHCARDS = "FLASHCARDS",
|
4010
|
-
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4011
|
-
}
|
4012
|
-
|
4013
3846
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4014
3847
|
|
4015
3848
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4097,8 +3930,6 @@ export declare enum State {
|
|
4097
3930
|
HOLD = "HOLD"
|
4098
3931
|
}
|
4099
3932
|
|
4100
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4101
|
-
|
4102
3933
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4103
3934
|
|
4104
3935
|
declare const STICKER_BADGE: {
|
@@ -4217,7 +4048,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE;
|
|
4217
4048
|
|
4218
4049
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4219
4050
|
|
4220
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4051
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4221
4052
|
|
4222
4053
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4223
4054
|
|
@@ -4339,8 +4170,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4339
4170
|
|
4340
4171
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4341
4172
|
|
4342
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4343
|
-
|
4344
4173
|
/**
|
4345
4174
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4346
4175
|
*/
|
@@ -4367,9 +4196,9 @@ declare interface TextProps {
|
|
4367
4196
|
|
4368
4197
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4369
4198
|
|
4370
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4199
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4371
4200
|
|
4372
|
-
declare type TGoalCategory_2 =
|
4201
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4373
4202
|
|
4374
4203
|
declare interface TGoals {
|
4375
4204
|
goal_code?: string;
|
@@ -4837,9 +4666,7 @@ declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
|
4837
4666
|
|
4838
4667
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4839
4668
|
|
4840
|
-
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'
|
4841
|
-
|
4842
|
-
declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4669
|
+
export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE';
|
4843
4670
|
|
4844
4671
|
export declare type TOnPreSubmitOptions = {
|
4845
4672
|
isDraftPlan: boolean;
|
@@ -4879,8 +4706,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4879
4706
|
|
4880
4707
|
declare type TQuery = {
|
4881
4708
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4882
|
-
|
4709
|
+
with_plan: boolean;
|
4883
4710
|
course_stream: TCourseStream;
|
4711
|
+
student_id: string;
|
4712
|
+
in_class?: boolean;
|
4884
4713
|
};
|
4885
4714
|
|
4886
4715
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4965,8 +4794,6 @@ declare type TSectionSummary = {
|
|
4965
4794
|
|
4966
4795
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4967
4796
|
|
4968
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4969
|
-
|
4970
4797
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4971
4798
|
|
4972
4799
|
declare type TSheetBlockData = {
|
@@ -5028,8 +4855,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5028
4855
|
|
5029
4856
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5030
4857
|
|
5031
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5032
|
-
|
5033
4858
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5034
4859
|
|
5035
4860
|
declare type TStickerData = {
|
@@ -5345,7 +5170,7 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
|
5345
5170
|
declare const ZINDEX: {
|
5346
5171
|
readonly CHAPTER_CROWN_ICON: 4;
|
5347
5172
|
readonly CHAPTER_PLUS_ICON: 2;
|
5348
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5173
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5349
5174
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5350
5175
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5351
5176
|
readonly MODAL: 20;
|