@cuemath/leap 2.8.60-gs1 → 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/bin2.js +8 -7
- package/dist/assets/line-icons/icons/bin2.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/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +4 -12
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +105 -128
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +92 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +25 -0
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -0
- package/dist/features/milestone/create/milestone-create.js +43 -49
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +53 -51
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +40 -42
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-container.js +62 -64
- package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-container.js +52 -54
- package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-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 +102 -136
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +13 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +38 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +1 -0
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +123 -107
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +176 -157
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +10 -24
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +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-creation/tests-creation.js +18 -16
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/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/theme/button.js +107 -22
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +12 -191
- package/dist/index.js +471 -489
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/alarm.js +0 -41
- package/dist/assets/line-icons/icons/alarm.js.map +0 -1
- package/dist/assets/line-icons/icons/dart.js +0 -23
- package/dist/assets/line-icons/icons/dart.js.map +0 -1
- package/dist/assets/line-icons/icons/exclamation.js +0 -26
- package/dist/assets/line-icons/icons/exclamation.js.map +0 -1
- package/dist/assets/line-icons/icons/home2.js +0 -25
- package/dist/assets/line-icons/icons/home2.js.map +0 -1
- package/dist/assets/line-icons/icons/important.js +0 -23
- package/dist/assets/line-icons/icons/important.js.map +0 -1
- package/dist/assets/line-icons/icons/puzzle.js +0 -25
- package/dist/assets/line-icons/icons/puzzle.js.map +0 -1
- package/dist/assets/line-icons/icons/recap.js +0 -32
- package/dist/assets/line-icons/icons/recap.js.map +0 -1
- package/dist/assets/line-icons/icons/skip-colored.js +0 -43
- package/dist/assets/line-icons/icons/skip-colored.js.map +0 -1
- package/dist/assets/line-icons/icons/status.js +0 -41
- package/dist/assets/line-icons/icons/status.js.map +0 -1
- package/dist/assets/line-icons/icons/testtube.js +0 -33
- package/dist/assets/line-icons/icons/testtube.js.map +0 -1
- package/dist/features/chapters-v2/api/chapter.js +0 -10
- package/dist/features/chapters-v2/api/chapter.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +0 -112
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +0 -26
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +0 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +0 -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 -164
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +0 -1
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +0 -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;
|
@@ -1933,8 +1855,6 @@ declare interface IMileStoneCreateProps {
|
|
1933
1855
|
milestoneId?: string;
|
1934
1856
|
currentCountryCode?: string;
|
1935
1857
|
courseStream: TCourseStream;
|
1936
|
-
canDeleteGoal?: boolean;
|
1937
|
-
onDeleteGoal?: () => void;
|
1938
1858
|
onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
|
1939
1859
|
onFormDataChange?: (formData: IMilestoneFormData) => void;
|
1940
1860
|
onExit?: () => void;
|
@@ -1948,7 +1868,7 @@ export declare interface IMilestoneData {
|
|
1948
1868
|
course_stream: TCourseStream;
|
1949
1869
|
grade: string;
|
1950
1870
|
board: string;
|
1951
|
-
goal_category:
|
1871
|
+
goal_category: TGoalCategory_2;
|
1952
1872
|
goal_code: string | null;
|
1953
1873
|
created_on_ts: number;
|
1954
1874
|
milestone_date_ts: number;
|
@@ -1963,10 +1883,6 @@ export declare interface IMilestoneData {
|
|
1963
1883
|
user_milestone_progress: IUserChapterProgressProps | null;
|
1964
1884
|
permissions: IMilestoneCardPermissions;
|
1965
1885
|
recommended_chapter_filters: TRecommendedChaptersFilter | null;
|
1966
|
-
progress_stat: {
|
1967
|
-
total: number;
|
1968
|
-
completed: number;
|
1969
|
-
} | null;
|
1970
1886
|
}
|
1971
1887
|
|
1972
1888
|
declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
|
@@ -2121,53 +2037,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2121
2037
|
|
2122
2038
|
export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
2123
2039
|
|
2124
|
-
declare interface INodeCardCallbacks {
|
2125
|
-
onNodeAttempt?: (nodeData: INodeDataProps) => void;
|
2126
|
-
onNodeView?: (nodeData: INodeDataProps) => void;
|
2127
|
-
onNodeReview?: (nodeData: INodeDataProps) => void;
|
2128
|
-
onNodeReattempt?: (nodeData: INodeDataProps) => void;
|
2129
|
-
onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
|
2130
|
-
onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
|
2131
|
-
}
|
2132
|
-
|
2133
|
-
export declare interface INodeDataProps {
|
2134
|
-
accuracy: number | null;
|
2135
|
-
attempt_location: TSheetAttemptLocation_2;
|
2136
|
-
block_id: string;
|
2137
|
-
card_header: string;
|
2138
|
-
chapter_id: string;
|
2139
|
-
complete_status: boolean;
|
2140
|
-
desmos_calculator_enabled: boolean;
|
2141
|
-
due_date_ts: number | null;
|
2142
|
-
is_lesson_v3_enabled: boolean;
|
2143
|
-
is_optional: boolean;
|
2144
|
-
is_timed: boolean;
|
2145
|
-
is_worksheet_v3: boolean | null;
|
2146
|
-
learnosity_activity_ref: string;
|
2147
|
-
marked_as_completed: boolean;
|
2148
|
-
node_id: string;
|
2149
|
-
node_type: TNodeTypes_2;
|
2150
|
-
sheet_statement: string;
|
2151
|
-
permissions: INodePermissions;
|
2152
|
-
sheet_time: number | null;
|
2153
|
-
state: TSheetStates;
|
2154
|
-
title: string;
|
2155
|
-
user_chapter_id: string | null;
|
2156
|
-
user_node_id: string | null;
|
2157
|
-
}
|
2158
|
-
|
2159
|
-
declare interface INodePermissions {
|
2160
|
-
can_change_attempt_location: boolean;
|
2161
|
-
can_mark_familiar: boolean;
|
2162
|
-
can_reattempt: boolean;
|
2163
|
-
can_reset: boolean;
|
2164
|
-
can_resume: boolean;
|
2165
|
-
can_review: boolean;
|
2166
|
-
can_start: boolean;
|
2167
|
-
can_teacher_review: boolean;
|
2168
|
-
can_unassign: boolean;
|
2169
|
-
}
|
2170
|
-
|
2171
2040
|
export declare interface INudgeProps {
|
2172
2041
|
nudge: 'click';
|
2173
2042
|
content: ReactNode;
|
@@ -2176,8 +2045,6 @@ export declare interface INudgeProps {
|
|
2176
2045
|
zIndex?: number;
|
2177
2046
|
}
|
2178
2047
|
|
2179
|
-
export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2180
|
-
|
2181
2048
|
export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
|
2182
2049
|
|
2183
2050
|
export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
|
@@ -2804,7 +2671,7 @@ declare interface ISubmitModalProps_2 {
|
|
2804
2671
|
courseStream: TCourseStream;
|
2805
2672
|
}
|
2806
2673
|
|
2807
|
-
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData
|
2674
|
+
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mode?: "resume" | "review") => boolean;
|
2808
2675
|
|
2809
2676
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2810
2677
|
|
@@ -3211,20 +3078,6 @@ declare interface IusePointerSyncProps {
|
|
3211
3078
|
targetUserId?: string;
|
3212
3079
|
}
|
3213
3080
|
|
3214
|
-
export declare interface IUserChapterData {
|
3215
|
-
chapter_code: string;
|
3216
|
-
chapter_id: string;
|
3217
|
-
chapter_tags: string[];
|
3218
|
-
id: string;
|
3219
|
-
image_hue: THueNames;
|
3220
|
-
image_url: string;
|
3221
|
-
item_bank_enabled: boolean;
|
3222
|
-
name: string;
|
3223
|
-
program_id: string;
|
3224
|
-
progress_stat: IChapterProgressStats | null;
|
3225
|
-
blocks: IChapterBlockData[];
|
3226
|
-
}
|
3227
|
-
|
3228
3081
|
declare interface IUserChapterProgressProps {
|
3229
3082
|
familiar_sheets: number;
|
3230
3083
|
mastered_sheets: number;
|
@@ -3712,14 +3565,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3712
3565
|
|
3713
3566
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3714
3567
|
|
3715
|
-
declare enum NODE_CARD_STATES {
|
3716
|
-
LOCKED = "LOCKED",
|
3717
|
-
NOT_STARTED = "NOT_STARTED",
|
3718
|
-
WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
|
3719
|
-
IN_PROGRESS = "IN_PROGRESS",
|
3720
|
-
COMPLETED = "COMPLETED"
|
3721
|
-
}
|
3722
|
-
|
3723
3568
|
export declare const NODE_LABELS: {
|
3724
3569
|
readonly ASSESSMENT: "ASSESSMENT";
|
3725
3570
|
readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
|
@@ -3952,8 +3797,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
3952
3797
|
|
3953
3798
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3954
3799
|
|
3955
|
-
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3956
|
-
|
3957
3800
|
export declare const PYTHON_NODE_TYPES: {
|
3958
3801
|
readonly PPT_BASIC: "PPT_BASIC";
|
3959
3802
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -4000,18 +3843,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
|
|
4000
3843
|
|
4001
3844
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4002
3845
|
|
4003
|
-
declare enum SECTION_CODE {
|
4004
|
-
READINESS = "READINESS",
|
4005
|
-
GOALS = "GOALS",
|
4006
|
-
TESTS = "TESTS",
|
4007
|
-
ENRICHMENT = "ENRICHMENT",
|
4008
|
-
SUBJECTIVE = "SUBJECTIVE",
|
4009
|
-
VIDEOS = "VIDEOS",
|
4010
|
-
NOTES = "NOTES",
|
4011
|
-
FLASHCARDS = "FLASHCARDS",
|
4012
|
-
PUZZLE_CARDS = "PUZZLE_CARDS"
|
4013
|
-
}
|
4014
|
-
|
4015
3846
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
|
4016
3847
|
|
4017
3848
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
|
@@ -4071,8 +3902,6 @@ export { SketchIcon }
|
|
4071
3902
|
|
4072
3903
|
export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4073
3904
|
|
4074
|
-
export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4075
|
-
|
4076
3905
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4077
3906
|
|
4078
3907
|
export declare const SplashScreen: ({ animationCompleted }: {
|
@@ -4101,8 +3930,6 @@ export declare enum State {
|
|
4101
3930
|
HOLD = "HOLD"
|
4102
3931
|
}
|
4103
3932
|
|
4104
|
-
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4105
|
-
|
4106
3933
|
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
|
4107
3934
|
|
4108
3935
|
declare const STICKER_BADGE: {
|
@@ -4221,7 +4048,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE;
|
|
4221
4048
|
|
4222
4049
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4223
4050
|
|
4224
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary'
|
4051
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
|
4225
4052
|
|
4226
4053
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4227
4054
|
|
@@ -4343,8 +4170,6 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
4343
4170
|
|
4344
4171
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
4345
4172
|
|
4346
|
-
export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4347
|
-
|
4348
4173
|
/**
|
4349
4174
|
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
4350
4175
|
*/
|
@@ -4371,9 +4196,9 @@ declare interface TextProps {
|
|
4371
4196
|
|
4372
4197
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
4373
4198
|
|
4374
|
-
declare type TGoalCategory = keyof typeof GOAL_CATEGORY
|
4199
|
+
declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
|
4375
4200
|
|
4376
|
-
declare type TGoalCategory_2 =
|
4201
|
+
declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
|
4377
4202
|
|
4378
4203
|
declare interface TGoals {
|
4379
4204
|
goal_code?: string;
|
@@ -4841,9 +4666,7 @@ declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
|
|
4841
4666
|
|
4842
4667
|
declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
|
4843
4668
|
|
4844
|
-
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
|
-
|
4846
|
-
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';
|
4847
4670
|
|
4848
4671
|
export declare type TOnPreSubmitOptions = {
|
4849
4672
|
isDraftPlan: boolean;
|
@@ -4883,8 +4706,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
|
|
4883
4706
|
|
4884
4707
|
declare type TQuery = {
|
4885
4708
|
milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
|
4886
|
-
|
4709
|
+
with_plan: boolean;
|
4887
4710
|
course_stream: TCourseStream;
|
4711
|
+
student_id: string;
|
4712
|
+
in_class?: boolean;
|
4888
4713
|
};
|
4889
4714
|
|
4890
4715
|
declare type TQuestionByQuestionOverviewList = {
|
@@ -4969,8 +4794,6 @@ declare type TSectionSummary = {
|
|
4969
4794
|
|
4970
4795
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4971
4796
|
|
4972
|
-
declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4973
|
-
|
4974
4797
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
4975
4798
|
|
4976
4799
|
declare type TSheetBlockData = {
|
@@ -5032,8 +4855,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
5032
4855
|
|
5033
4856
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
5034
4857
|
|
5035
|
-
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
5036
|
-
|
5037
4858
|
export declare type TSkillStatus = 'pending' | 'completed';
|
5038
4859
|
|
5039
4860
|
declare type TStickerData = {
|
@@ -5349,7 +5170,7 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
|
5349
5170
|
declare const ZINDEX: {
|
5350
5171
|
readonly CHAPTER_CROWN_ICON: 4;
|
5351
5172
|
readonly CHAPTER_PLUS_ICON: 2;
|
5352
|
-
readonly CHAPTER_PROGRESS_SVG:
|
5173
|
+
readonly CHAPTER_PROGRESS_SVG: 1;
|
5353
5174
|
readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
|
5354
5175
|
readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
|
5355
5176
|
readonly MODAL: 20;
|