@cuemath/leap 3.4.3 → 3.4.4-akm-1
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 +7 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js +1 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
- package/dist/features/auth/pla-signup/signup-options/signup-options.js +46 -37
- package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js +2 -9
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js +6 -8
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js.map +1 -1
- package/dist/features/circle-games/{game-launcher → game-launcher-v2}/api/get-content-for-today/constants.js +1 -1
- package/dist/features/circle-games/game-launcher-v2/api/get-content-for-today/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/api/get-content-for-today/get-circle-home-api.js +10 -0
- package/dist/features/circle-games/game-launcher-v2/api/get-content-for-today/get-circle-home-api.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/card-container-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/card-container.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel-styled.js +120 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel.js +57 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge-style.js +20 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge-style.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge.js +17 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-single-badge.js +20 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-single-badge.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card-styled.js +48 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card.js +66 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/constants.js +7 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/constants.js +6 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content-styled.js +62 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content.js +13 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/infinite-button/infinite-mode-launcher-button.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/spl-events-text-style.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/spl-events-text-types.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/spl-events-text.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode/table-mode-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode/table-mode.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode-star/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode-star/table-mode-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode-star/table-mode-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-segment-star/table-segment-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-segment-star/table-segment-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/tables-card-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/tables-card.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/helper.js +94 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/helper.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +37 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-analytics-events.js +7 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-analytics-events.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-v2.js +242 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-v2.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/helpers.js +8 -0
- package/dist/features/circle-games/game-launcher-v2/helpers.js.map +1 -0
- package/dist/features/milestone/create/milestone-create-helpers.js +6 -2
- package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-comps.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js +2 -2
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock-styled.js +2 -2
- package/dist/features/post-game-stats/clock/clock-styled.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/constants.js +1 -1
- package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
- package/dist/features/post-game-stats/points/points.js +5 -4
- package/dist/features/post-game-stats/points/points.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats-styled.js +9 -8
- package/dist/features/post-game-stats/post-game-stats-styled.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats.js +107 -105
- package/dist/features/post-game-stats/post-game-stats.js.map +1 -1
- package/dist/features/post-game-stats/score/score-styled.js +2 -2
- package/dist/features/post-game-stats/score/score-styled.js.map +1 -1
- package/dist/features/post-game-stats/streak/constants.js +1 -1
- package/dist/features/post-game-stats/streak/constants.js.map +1 -1
- package/dist/features/post-game-stats/streak/streak-styled.js +2 -2
- package/dist/features/post-game-stats/streak/streak-styled.js.map +1 -1
- package/dist/features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.js +37 -20
- package/dist/features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.js.map +1 -1
- package/dist/index.d.ts +91 -9
- package/dist/index.js +274 -267
- package/dist/index.js.map +1 -1
- package/dist/static/accuracy-badge.2e161f00.svg +1 -0
- package/dist/static/clock-badge.0adb4ba6.svg +1 -0
- package/dist/static/down-arrow-badge.f462f615.svg +1 -0
- package/dist/static/green-tick.43b94c3a.svg +1 -0
- package/dist/static/points-badge.96bdecc9.svg +1 -0
- package/dist/static/star-badge.5450c267.svg +1 -0
- package/dist/static/up-arrow-badge.71fe7ad1.svg +1 -0
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/carat-left.js +0 -26
- package/dist/assets/line-icons/icons/carat-left.js.map +0 -1
- package/dist/assets/line-icons/icons/carat-right.js +0 -26
- package/dist/assets/line-icons/icons/carat-right.js.map +0 -1
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js +0 -10
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js +0 -39
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js +0 -85
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js +0 -138
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js +0 -105
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/infinite-button/infinite-mode-launcher-button.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text-style.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text-types.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +0 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/helper.js +0 -73
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/helper.js.map +0 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +0 -36
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +0 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +0 -219
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/constants.js +0 -8
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +0 -286
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/constants.js +0 -10
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey-styled.js +0 -13
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +0 -137
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js +0 -14
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey-styled.js +0 -13
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +0 -230
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +0 -1
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/card-container/card-container-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/card-container/card-container.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/card-container/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/infinite-button/infinite-mode-launcher-button.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/spl-events-text-style.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/spl-events-text-types.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/spl-events-text.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode/table-mode-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode/table-mode.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode-star/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode-star/table-mode-star-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode-star/table-mode-star.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-segment-star/table-segment-star-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-segment-star/table-segment-star.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/tables-card-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/tables-card.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ declare interface BaseProject {
|
|
|
153
153
|
cardLottie: string;
|
|
154
154
|
tutorial: string;
|
|
155
155
|
variant: string;
|
|
156
|
+
displayNameImage: string;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
export declare const BeltsElementsStickers: NamedExoticComponent<BeltsElementsStickersProps>;
|
|
@@ -404,7 +405,7 @@ export declare const COUNTRY_CODE_MAP: {
|
|
|
404
405
|
geoIPCountryCode: string;
|
|
405
406
|
}[];
|
|
406
407
|
|
|
407
|
-
declare const COURSE_STREAMS: {
|
|
408
|
+
export declare const COURSE_STREAMS: {
|
|
408
409
|
readonly SAT_DEMO: "SAT-DEMO";
|
|
409
410
|
readonly SAT_MATH: "SAT-MATH";
|
|
410
411
|
readonly SAT_ENGLISH: "SAT-ENGLISH";
|
|
@@ -673,6 +674,8 @@ declare interface FlexViewProps {
|
|
|
673
674
|
|
|
674
675
|
export declare interface Game extends BaseProject {
|
|
675
676
|
isPlayed: boolean;
|
|
677
|
+
wonToday: number;
|
|
678
|
+
lostToday: number;
|
|
676
679
|
}
|
|
677
680
|
|
|
678
681
|
export declare const GAME_LAUNCHER_ASSET_PADDING: number;
|
|
@@ -681,7 +684,7 @@ export declare const GAME_LAUNCHER_SIZE: number;
|
|
|
681
684
|
|
|
682
685
|
export declare const GameIcon: FC<SVGProps<SVGSVGElement>>;
|
|
683
686
|
|
|
684
|
-
export declare const
|
|
687
|
+
export declare const GameLauncherV2: FC<IGameLauncherProps>;
|
|
685
688
|
|
|
686
689
|
declare enum GENDER {
|
|
687
690
|
MALE = "MALE",
|
|
@@ -712,6 +715,8 @@ declare const getMediaQueries: () => {
|
|
|
712
715
|
minWidthLargeDevice: string;
|
|
713
716
|
};
|
|
714
717
|
|
|
718
|
+
export declare const getPreferencesFromConfig: IGetPreferencesFromConfig;
|
|
719
|
+
|
|
715
720
|
declare const getTabConfig: IGetTabConfig;
|
|
716
721
|
|
|
717
722
|
declare const getTextButtonConfig: IGetTextButtonConfig;
|
|
@@ -981,6 +986,7 @@ declare interface IBaseProject {
|
|
|
981
986
|
card: string;
|
|
982
987
|
variant: string;
|
|
983
988
|
tutorial: string;
|
|
989
|
+
display_name_image?: string;
|
|
984
990
|
}
|
|
985
991
|
|
|
986
992
|
declare interface IBaseSelectInputProps<IDType extends string | number> extends Omit<IBaseInputProps, 'inputElement' | 'size'> {
|
|
@@ -1708,10 +1714,13 @@ declare interface IFirstSessionIntroductionProps {
|
|
|
1708
1714
|
|
|
1709
1715
|
declare interface IGame extends IBaseProject {
|
|
1710
1716
|
played: boolean;
|
|
1717
|
+
won_today: number;
|
|
1718
|
+
lost_today: number;
|
|
1711
1719
|
}
|
|
1712
1720
|
|
|
1713
1721
|
declare interface IGameLauncherProps {
|
|
1714
1722
|
onSegmentClick: (projectDetail: Game | Puzzle | Lesson | ITableDetails, projectType: ProjectType) => void;
|
|
1723
|
+
showTables?: boolean;
|
|
1715
1724
|
isLoading?: boolean;
|
|
1716
1725
|
data: IProjectData | null;
|
|
1717
1726
|
defaultIndex?: number;
|
|
@@ -1743,6 +1752,7 @@ declare interface IGetCheckboxConfig {
|
|
|
1743
1752
|
declare interface IGetCircleHomePayloadModel {
|
|
1744
1753
|
user_id: string;
|
|
1745
1754
|
grade: string;
|
|
1755
|
+
country_code: string;
|
|
1746
1756
|
}
|
|
1747
1757
|
|
|
1748
1758
|
declare interface IGetCircleHomeResponseModel {
|
|
@@ -1779,6 +1789,14 @@ declare interface IGetMilestoneResourcesAPIMetaData {
|
|
|
1779
1789
|
studentId: string;
|
|
1780
1790
|
}
|
|
1781
1791
|
|
|
1792
|
+
declare interface IGetPreferencesFromConfig {
|
|
1793
|
+
(config: IMilestoneConfig, options: {
|
|
1794
|
+
grade: string;
|
|
1795
|
+
preferenceCategory: TPreferenceCategory;
|
|
1796
|
+
courseStream: TCourseStream;
|
|
1797
|
+
}): TMilestoneConfigOption[];
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1782
1800
|
declare interface IGetTabConfig {
|
|
1783
1801
|
(gutter: number): {
|
|
1784
1802
|
sizes: Record<TTabSizes, ITabSizeConfig>;
|
|
@@ -2222,7 +2240,8 @@ declare interface ILesson extends IBaseProject {
|
|
|
2222
2240
|
session_id: string;
|
|
2223
2241
|
mini_game_identifier: string;
|
|
2224
2242
|
target_questions: number;
|
|
2225
|
-
status: 'pending' | 'completed';
|
|
2243
|
+
status: 'pending' | 'completed' | 'paused';
|
|
2244
|
+
first_attempt?: ILessonFirstAttempt;
|
|
2226
2245
|
}
|
|
2227
2246
|
|
|
2228
2247
|
export declare interface ILessonDataProps {
|
|
@@ -2241,6 +2260,12 @@ export declare interface ILessonDataProps {
|
|
|
2241
2260
|
learnosity_activity_ref: string;
|
|
2242
2261
|
}
|
|
2243
2262
|
|
|
2263
|
+
declare interface ILessonFirstAttempt {
|
|
2264
|
+
points_scored: number;
|
|
2265
|
+
accuracy: number;
|
|
2266
|
+
gross_time_taken: number;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2244
2269
|
declare interface ILessonItemCallbackProps extends Omit<ISheetItemCallbackProps, 'onReset'> {
|
|
2245
2270
|
onReset?: (nodeId: string) => void;
|
|
2246
2271
|
}
|
|
@@ -2273,6 +2298,7 @@ declare interface ILinearProgressBarProps {
|
|
|
2273
2298
|
}
|
|
2274
2299
|
|
|
2275
2300
|
export declare const ILLUSTRATIONS: {
|
|
2301
|
+
ACCURACY_BADGE: string;
|
|
2276
2302
|
ALARM_CLOCK_ORANGE: string;
|
|
2277
2303
|
ALARM_CLOCK_PURPLE: string;
|
|
2278
2304
|
ALIEN_1: string;
|
|
@@ -2311,6 +2337,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2311
2337
|
CIRCLE_CUEMATH_LOGO: string;
|
|
2312
2338
|
CIRCLE_CUEMATH_LOGO_WHITE: string;
|
|
2313
2339
|
CIRCLE_OUTERCIRCLE_BG: string;
|
|
2340
|
+
CLOCK_BADGE: string;
|
|
2314
2341
|
CLOCK_ORANGE: string;
|
|
2315
2342
|
COMMON: string;
|
|
2316
2343
|
COMMUNITY_BULB: string;
|
|
@@ -2321,6 +2348,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2321
2348
|
CUECOIN_GOLD: string;
|
|
2322
2349
|
CUEMATH_APP_QR_CODE: string;
|
|
2323
2350
|
DESKTOP_WITH_PURPLE_FILL: string;
|
|
2351
|
+
DOWN_ARROW_BADGE: string;
|
|
2324
2352
|
DURATION_30MIN_GRAY: string;
|
|
2325
2353
|
DURATION_45MIN_GRAY: string;
|
|
2326
2354
|
DURATION_60MIN_GRAY: string;
|
|
@@ -2338,6 +2366,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2338
2366
|
GRADUATE_PINK_FILLED_BG: string;
|
|
2339
2367
|
GREEN_BALLOON: string;
|
|
2340
2368
|
GREEN_FACE: string;
|
|
2369
|
+
GREEN_TICK: string;
|
|
2341
2370
|
HANDSHAKE: string;
|
|
2342
2371
|
HANDSHAKE_GREEN: string;
|
|
2343
2372
|
HEART_OUTLINED: string;
|
|
@@ -2389,6 +2418,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2389
2418
|
PLATFORM_PURPLE: string;
|
|
2390
2419
|
PLAY: string;
|
|
2391
2420
|
PLAY_ICON: string;
|
|
2421
|
+
POINTS_BADGE: string;
|
|
2392
2422
|
POINTS_SUM: string;
|
|
2393
2423
|
PRACTICED_SHIELD_GREEN: string;
|
|
2394
2424
|
PRACTICED_SHIELD_GREY: string;
|
|
@@ -2412,6 +2442,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2412
2442
|
ROCKET_YELLOW: string;
|
|
2413
2443
|
SCORE: string;
|
|
2414
2444
|
SMILEY: string;
|
|
2445
|
+
STAR_BADGE: string;
|
|
2415
2446
|
STAR_ORANGE: string;
|
|
2416
2447
|
STAR_ORANGE_FILLED: string;
|
|
2417
2448
|
STAR_OUTLINED: string;
|
|
@@ -2433,6 +2464,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2433
2464
|
TRUSTPILOT: string;
|
|
2434
2465
|
TWO_STARS_FILLED: string;
|
|
2435
2466
|
UP_ARROW: string;
|
|
2467
|
+
UP_ARROW_BADGE: string;
|
|
2436
2468
|
USER_CROWN_GRID_BACKGROUND: string;
|
|
2437
2469
|
USER_DOWN: string;
|
|
2438
2470
|
USER_PIN: string;
|
|
@@ -3151,6 +3183,7 @@ export declare interface IPostGameStat {
|
|
|
3151
3183
|
export declare interface IPostGameStatsProps {
|
|
3152
3184
|
stats: IPostGameStat[];
|
|
3153
3185
|
show: boolean;
|
|
3186
|
+
offsetY?: number;
|
|
3154
3187
|
onComplete?: () => void;
|
|
3155
3188
|
}
|
|
3156
3189
|
|
|
@@ -3168,6 +3201,7 @@ declare interface IPreferencesCurriculumMap {
|
|
|
3168
3201
|
text_input_needed?: boolean;
|
|
3169
3202
|
preference_description?: string;
|
|
3170
3203
|
lottie_key?: string;
|
|
3204
|
+
preference_description_2?: string;
|
|
3171
3205
|
}
|
|
3172
3206
|
|
|
3173
3207
|
export declare interface IPreviewWorksheetModel {
|
|
@@ -3266,6 +3300,7 @@ declare interface IPuzzle extends IBaseProject {
|
|
|
3266
3300
|
question: string;
|
|
3267
3301
|
is_hint_seen: boolean;
|
|
3268
3302
|
solved: boolean;
|
|
3303
|
+
first_attempt?: IPuzzleFirstAttempt;
|
|
3269
3304
|
}
|
|
3270
3305
|
|
|
3271
3306
|
declare interface IPuzzleAppProps {
|
|
@@ -3338,6 +3373,11 @@ declare interface IPuzzleDashboardProps {
|
|
|
3338
3373
|
onCardClick: (userNodeId: string) => void;
|
|
3339
3374
|
}
|
|
3340
3375
|
|
|
3376
|
+
declare interface IPuzzleFirstAttempt {
|
|
3377
|
+
solved_with_hint: boolean;
|
|
3378
|
+
points_scored: number;
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3341
3381
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
|
3342
3382
|
question: string;
|
|
3343
3383
|
askHintPermission?: boolean;
|
|
@@ -3893,7 +3933,7 @@ export declare interface ITableInfo {
|
|
|
3893
3933
|
|
|
3894
3934
|
declare interface ITableInfo_2 {
|
|
3895
3935
|
table_number: number;
|
|
3896
|
-
stars: ('advance' | 'random' | 'sequence')[];
|
|
3936
|
+
stars: ('advance' | 'random' | 'sequence' | 'infinite')[];
|
|
3897
3937
|
}
|
|
3898
3938
|
|
|
3899
3939
|
declare interface ITableModeState {
|
|
@@ -4410,6 +4450,7 @@ declare interface IUserTypeSelectorProps {
|
|
|
4410
4450
|
|
|
4411
4451
|
declare interface IUseTeacherStickersJourneyProps {
|
|
4412
4452
|
triggerRef: RefObject<HTMLDivElement>;
|
|
4453
|
+
triggerElement: ReactElement;
|
|
4413
4454
|
tooltipConfig: TArrowTooltipConfigProps;
|
|
4414
4455
|
}
|
|
4415
4456
|
|
|
@@ -4826,6 +4867,7 @@ export declare interface Lesson extends BaseProject {
|
|
|
4826
4867
|
miniGameIdentifier: string;
|
|
4827
4868
|
targetQuestions: number;
|
|
4828
4869
|
status: TSkillStatus;
|
|
4870
|
+
firstAttempt: LessonFirstAttempt;
|
|
4829
4871
|
}
|
|
4830
4872
|
|
|
4831
4873
|
declare const LESSON_TAG_TYPE: {
|
|
@@ -4833,6 +4875,12 @@ declare const LESSON_TAG_TYPE: {
|
|
|
4833
4875
|
readonly DEFAULT: "DEFAULT";
|
|
4834
4876
|
};
|
|
4835
4877
|
|
|
4878
|
+
export declare interface LessonFirstAttempt {
|
|
4879
|
+
pointsScored: number;
|
|
4880
|
+
accuracy: number;
|
|
4881
|
+
grossTimeTaken: number;
|
|
4882
|
+
}
|
|
4883
|
+
|
|
4836
4884
|
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
|
4837
4885
|
|
|
4838
4886
|
export declare const loadScript: ILoadScript;
|
|
@@ -5230,6 +5278,7 @@ export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
|
|
5230
5278
|
|
|
5231
5279
|
export declare enum PLA_ANALYTICS_EVENTS {
|
|
5232
5280
|
START_SIGNUP_CTA_CLICKED = "start_signup_cta_clicked",
|
|
5281
|
+
SIGNUP_TO_LOGIN_CTA_CLICKED = "signup_to_login_cta_clicked",
|
|
5233
5282
|
ECNA_STEP_VIEWED = "ecna_step_viewed",
|
|
5234
5283
|
ECNA_RESPONSE_RECORDED_DEBUG = "ecna_response_recorded_debug",
|
|
5235
5284
|
PARENT_SIGNUP_CTA_CLICKED = "parent_signup_cta_clicked",
|
|
@@ -5312,7 +5361,7 @@ export declare const PostGameStats: NamedExoticComponent<IPostGameStatsProps & R
|
|
|
5312
5361
|
|
|
5313
5362
|
export declare const PracticeIcon: FC<SVGProps<SVGSVGElement>>;
|
|
5314
5363
|
|
|
5315
|
-
declare const PREFERENCE_CATEGORY: {
|
|
5364
|
+
export declare const PREFERENCE_CATEGORY: {
|
|
5316
5365
|
readonly LEVEL: "Level";
|
|
5317
5366
|
readonly FOCUS: "Focus";
|
|
5318
5367
|
readonly BEHAVIOR: "Behaviors";
|
|
@@ -5347,6 +5396,7 @@ export declare interface Puzzle extends BaseProject {
|
|
|
5347
5396
|
question: string;
|
|
5348
5397
|
isHintSeen: boolean;
|
|
5349
5398
|
solved: boolean;
|
|
5399
|
+
firstAttempt: PuzzleFirstAttempt;
|
|
5350
5400
|
}
|
|
5351
5401
|
|
|
5352
5402
|
export declare const Puzzle2Icon: FC<SVGProps<SVGSVGElement>>;
|
|
@@ -5374,6 +5424,11 @@ export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
|
|
5374
5424
|
|
|
5375
5425
|
export declare const PuzzleFeedbackCelebration: FC;
|
|
5376
5426
|
|
|
5427
|
+
export declare interface PuzzleFirstAttempt {
|
|
5428
|
+
solvedWithHint: boolean;
|
|
5429
|
+
pointsScored: number;
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5377
5432
|
export declare const PuzzleIcon: FC<SVGProps<SVGSVGElement>>;
|
|
5378
5433
|
|
|
5379
5434
|
export declare const PYTHON_NODE_TYPES: {
|
|
@@ -6496,6 +6551,15 @@ declare type TMilestoneChapterBlockData = {
|
|
|
6496
6551
|
user_id: string;
|
|
6497
6552
|
};
|
|
6498
6553
|
|
|
6554
|
+
export declare type TMilestoneConfigOption = {
|
|
6555
|
+
id: string;
|
|
6556
|
+
label: string;
|
|
6557
|
+
description?: string;
|
|
6558
|
+
lottie?: keyof typeof LOTTIE;
|
|
6559
|
+
extendedDescription?: string;
|
|
6560
|
+
category?: TPreferenceCategory;
|
|
6561
|
+
};
|
|
6562
|
+
|
|
6499
6563
|
declare type TMilestoneDeleteProps = {
|
|
6500
6564
|
milestoneId: string;
|
|
6501
6565
|
isGoalCreation?: boolean;
|
|
@@ -6550,7 +6614,7 @@ declare type TPreference = {
|
|
|
6550
6614
|
selectedTime: string;
|
|
6551
6615
|
};
|
|
6552
6616
|
|
|
6553
|
-
declare type TPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
|
|
6617
|
+
export declare type TPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
|
|
6554
6618
|
|
|
6555
6619
|
declare type TProfileHighlight = {
|
|
6556
6620
|
illustration: string;
|
|
@@ -6752,7 +6816,7 @@ declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMI
|
|
|
6752
6816
|
|
|
6753
6817
|
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
|
6754
6818
|
|
|
6755
|
-
export declare type TSkillStatus = 'pending' | 'completed';
|
|
6819
|
+
export declare type TSkillStatus = 'pending' | 'completed' | 'paused';
|
|
6756
6820
|
|
|
6757
6821
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
|
6758
6822
|
|
|
@@ -6978,7 +7042,7 @@ declare const useGetCircleHomeAPI: (initialId?: string, initialQuery?: IGetCircl
|
|
|
6978
7042
|
} & Record<string, unknown>) | undefined;
|
|
6979
7043
|
};
|
|
6980
7044
|
|
|
6981
|
-
export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string) => Omit<ReturnType<typeof useGetCircleHomeAPI>, "data" | "get"> & {
|
|
7045
|
+
export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string, countryCode: string) => Omit<ReturnType<typeof useGetCircleHomeAPI>, "data" | "get"> & {
|
|
6982
7046
|
data: ICircleHomeDetails | null;
|
|
6983
7047
|
getCircleHomeDetails: () => void;
|
|
6984
7048
|
invalidateCircleHomeDetails: () => void;
|
|
@@ -7004,6 +7068,24 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
|
|
|
7004
7068
|
data: ILeaderboardDetails | null;
|
|
7005
7069
|
};
|
|
7006
7070
|
|
|
7071
|
+
export declare const useGetMileStoneConfig: (initialId?: string, initialQuery?: {
|
|
7072
|
+
demo_type?: "TRIAL_V3";
|
|
7073
|
+
} | undefined) => {
|
|
7074
|
+
get: (id: string, query: {
|
|
7075
|
+
demo_type?: "TRIAL_V3";
|
|
7076
|
+
} | undefined, meta: void) => Promise<void>;
|
|
7077
|
+
resource: ResourceModel<IMilestoneConfig> | undefined;
|
|
7078
|
+
data: IMilestoneConfig | undefined;
|
|
7079
|
+
permissions: Record<string, unknown> | undefined;
|
|
7080
|
+
isProcessing: boolean;
|
|
7081
|
+
isProcessed: boolean;
|
|
7082
|
+
isProcessingFailed: boolean;
|
|
7083
|
+
isStale: boolean;
|
|
7084
|
+
error: ({
|
|
7085
|
+
message?: string | undefined;
|
|
7086
|
+
} & Record<string, unknown>) | undefined;
|
|
7087
|
+
};
|
|
7088
|
+
|
|
7007
7089
|
export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
|
|
7008
7090
|
get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
|
|
7009
7091
|
resource: ResourceModel<INodeDataProps[]> | undefined;
|
|
@@ -7162,7 +7244,7 @@ export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorPro
|
|
|
7162
7244
|
|
|
7163
7245
|
export declare const useStickers: () => IStickersContextType;
|
|
7164
7246
|
|
|
7165
|
-
export declare const useStickersJourney: ({ triggerRef, tooltipConfig, }: IUseTeacherStickersJourneyProps) => {
|
|
7247
|
+
export declare const useStickersJourney: ({ triggerRef, triggerElement, tooltipConfig, }: IUseTeacherStickersJourneyProps) => {
|
|
7166
7248
|
startTeacherStickersJourney: () => void;
|
|
7167
7249
|
};
|
|
7168
7250
|
|