@cuemath/leap 2.8.36-tables-beta-hg2 → 2.8.36
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/lottie/lottie.js +0 -12
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js +6 -6
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js +73 -29
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js +85 -87
- 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/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +15 -25
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js +7 -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.js +65 -109
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- package/dist/features/circle-games/games/web-view/enums/project-ids-enum.js +14 -0
- package/dist/features/circle-games/games/web-view/enums/project-ids-enum.js.map +1 -0
- package/dist/features/circle-games/games/web-view/enums/project-type-enum.js +1 -1
- package/dist/features/circle-games/games/web-view/enums/project-type-enum.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view-types.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view.js +82 -69
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js +16 -17
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock-styled.js +10 -11
- package/dist/features/post-game-stats/clock/clock-styled.js.map +1 -1
- package/dist/features/post-game-stats/enums/post-game-stats-enum.js +1 -1
- package/dist/features/post-game-stats/enums/post-game-stats-enum.js.map +1 -1
- package/dist/features/post-game-stats/points/points.js +27 -33
- package/dist/features/post-game-stats/points/points.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats-styled.js +1 -1
- package/dist/features/post-game-stats/post-game-stats-styled.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats.js +61 -83
- package/dist/features/post-game-stats/post-game-stats.js.map +1 -1
- package/dist/features/post-game-stats/streak/streak-styled.js +17 -18
- package/dist/features/post-game-stats/streak/streak-styled.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/constants.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +148 -142
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/index.d.ts +111 -122
- package/dist/index.js +209 -206
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js +0 -53
- 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 +0 -24
- 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 +0 -7
- package/dist/features/circle-games/game-launcher/comps/card-container/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/constants.js +0 -20
- 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/table-mode/table-mode-styled.js +0 -24
- 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 +0 -48
- 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/table-mode-star-styled.js +0 -25
- 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 +0 -57
- 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 +0 -27
- 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 +0 -37
- 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 +0 -154
- 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 +0 -236
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js +0 -17
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js +0 -47
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js +0 -6
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/constants.js +0 -16
- package/dist/features/post-game-stats/digital-meter/constants.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +0 -87
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js +0 -185
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/helper.js +0 -33
- package/dist/features/post-game-stats/digital-meter/helper.js.map +0 -1
- package/dist/features/post-game-stats/number-count-animation/number-count-animation-styled.js +0 -29
- package/dist/features/post-game-stats/number-count-animation/number-count-animation-styled.js.map +0 -1
- package/dist/features/post-game-stats/number-count-animation/number-count-animation.js +0 -20
- package/dist/features/post-game-stats/number-count-animation/number-count-animation.js.map +0 -1
- package/dist/static/advance-mode-segment-lottie.51ff6707.json +0 -1
- package/dist/static/infinite-button-bg.5909225e.json +0 -1
- package/dist/static/infinite-button-symbol.aa31350c.json +0 -1
- package/dist/static/point2.7cec6e24.json +0 -1
- package/dist/static/point3.f96fe7aa.json +0 -1
- package/dist/static/point4.fe04fb83.json +0 -1
- package/dist/static/random-mode-segment-lottie.79cf1c07.json +0 -1
- package/dist/static/sequence-mode-segment-lottie.11ac49e9.json +0 -1
- package/dist/static/table-mode-reveal.b44a82c3.json +0 -1
- package/dist/static/table-mode-star.b8a1d762.json +0 -1
- package/dist/static/table-segment-star.78e851d6.json +0 -1
- package/dist/static/target-achieved-text.053bd142.json +0 -2830
- package/dist/static/target-achieved-text.10db8475.json +0 -1
package/dist/index.d.ts
CHANGED
@@ -72,8 +72,8 @@ export declare const BackgroundImage: ({ img }: {
|
|
72
72
|
|
73
73
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
74
74
|
|
75
|
-
declare interface BaseProject {
|
76
|
-
id:
|
75
|
+
declare interface BaseProject<T> {
|
76
|
+
id: T;
|
77
77
|
name: string;
|
78
78
|
cardLottie: string;
|
79
79
|
tutorial: string;
|
@@ -253,8 +253,6 @@ export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
253
253
|
|
254
254
|
export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
255
255
|
|
256
|
-
export declare const DigitalMeter: FC<IDigitalMeterProps>;
|
257
|
-
|
258
256
|
export declare const DownIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
259
257
|
|
260
258
|
export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -298,8 +296,7 @@ export declare enum EPostGameStat {
|
|
298
296
|
STREAK = "streak",
|
299
297
|
ACCURACY = "accuracy",
|
300
298
|
CLOCK = "clock",
|
301
|
-
POINT = "point"
|
302
|
-
DIGITAL_METER = "digital-meter"
|
299
|
+
POINT = "point"
|
303
300
|
}
|
304
301
|
|
305
302
|
export declare const EraserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -392,7 +389,7 @@ declare interface FlexViewProps {
|
|
392
389
|
$flex?: number;
|
393
390
|
}
|
394
391
|
|
395
|
-
export declare interface Game extends BaseProject {
|
392
|
+
export declare interface Game extends BaseProject<GameId> {
|
396
393
|
isPlayed: boolean;
|
397
394
|
}
|
398
395
|
|
@@ -402,6 +399,20 @@ export declare const GAME_LAUNCHER_SIZE: number;
|
|
402
399
|
|
403
400
|
export declare const GameIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
404
401
|
|
402
|
+
export declare enum GameId {
|
403
|
+
CHESS_MOVES = "chess-moves",
|
404
|
+
NO_ATTACK = "no-attack",
|
405
|
+
TROMINOS = "trominos",
|
406
|
+
NIMS_GAME = "nims-game",
|
407
|
+
TRANSFORMATION = "transformation",
|
408
|
+
LIGHTS_ON_OR_OFF = "lights-on-or-off",
|
409
|
+
LIQUID_WARS = "liquid-wars",
|
410
|
+
HACKENBUSH = "hackenbush",
|
411
|
+
SQUARE_IT = "square-it",
|
412
|
+
CLASH_OF_COLOURS = "clash-of-colours",
|
413
|
+
REACH = "reach"
|
414
|
+
}
|
415
|
+
|
405
416
|
export declare const GameLauncher: FC<IGameLauncherProps>;
|
406
417
|
|
407
418
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
@@ -555,8 +566,8 @@ declare interface IBaseLeaderboardDetails {
|
|
555
566
|
currentTimestamp: number;
|
556
567
|
}
|
557
568
|
|
558
|
-
declare interface IBaseProject {
|
559
|
-
id:
|
569
|
+
declare interface IBaseProject<T> {
|
570
|
+
id: T;
|
560
571
|
name: string;
|
561
572
|
card: string;
|
562
573
|
variant: string;
|
@@ -577,10 +588,13 @@ declare interface IBaseSelectInputProps<IDType extends string | number> extends
|
|
577
588
|
theme?: 'light' | 'dark';
|
578
589
|
}
|
579
590
|
|
580
|
-
declare interface IBaseWebGameProps {
|
581
|
-
projectId:
|
591
|
+
declare interface IBaseWebGameProps<T> {
|
592
|
+
projectId: T;
|
582
593
|
variant: string;
|
583
594
|
projectType: ProjectType;
|
595
|
+
joinByRoomId?: string;
|
596
|
+
enableSync?: boolean;
|
597
|
+
enablePlayerTurnIndicators?: boolean;
|
584
598
|
enableCloseButton?: boolean;
|
585
599
|
}
|
586
600
|
|
@@ -1007,18 +1021,6 @@ declare interface IDesmosCalculatorProps {
|
|
1007
1021
|
};
|
1008
1022
|
}
|
1009
1023
|
|
1010
|
-
declare interface IDigitalMeterProps {
|
1011
|
-
show: boolean;
|
1012
|
-
value: number;
|
1013
|
-
maxValue: number;
|
1014
|
-
targetValue?: number;
|
1015
|
-
displayText: string;
|
1016
|
-
progressType: 'stepper' | 'linear';
|
1017
|
-
helperTextPrimary: string;
|
1018
|
-
helperTextSecondary: string;
|
1019
|
-
onComplete: () => void;
|
1020
|
-
}
|
1021
|
-
|
1022
1024
|
declare interface IEditMilestoneModalProps extends IMilestoneEditProps {
|
1023
1025
|
studentId: string;
|
1024
1026
|
isUsingAlternateCurriculum: boolean;
|
@@ -1073,14 +1075,14 @@ declare interface IFile {
|
|
1073
1075
|
url: string;
|
1074
1076
|
}
|
1075
1077
|
|
1076
|
-
declare interface IGame extends IBaseProject {
|
1078
|
+
declare interface IGame extends IBaseProject<GameId> {
|
1077
1079
|
played: boolean;
|
1078
1080
|
}
|
1079
1081
|
|
1080
1082
|
declare interface IGameLauncherProps {
|
1081
|
-
onSegmentClick: (projectDetail: Game | Puzzle | Lesson
|
1083
|
+
onSegmentClick: (projectDetail: Game | Puzzle | Lesson, projectType: ProjectType) => void;
|
1082
1084
|
isLoading?: boolean;
|
1083
|
-
data:
|
1085
|
+
data: IProjects | null;
|
1084
1086
|
defaultIndex?: number;
|
1085
1087
|
journeyId?: TJourneyId;
|
1086
1088
|
onJourneyComplete: (journeyId: TJourneyId) => void;
|
@@ -1476,9 +1478,9 @@ declare interface ILearnosityQuestionScore {
|
|
1476
1478
|
unscored?: boolean;
|
1477
1479
|
}
|
1478
1480
|
|
1479
|
-
declare interface ILesson extends IBaseProject {
|
1481
|
+
declare interface ILesson extends IBaseProject<LessonId> {
|
1480
1482
|
session_id: string;
|
1481
|
-
mini_game_identifier:
|
1483
|
+
mini_game_identifier: MiniGameId;
|
1482
1484
|
target_questions: number;
|
1483
1485
|
status: 'pending' | 'completed';
|
1484
1486
|
}
|
@@ -1516,8 +1518,8 @@ declare interface ILessonsListProps extends ILessonItemCallbackProps {
|
|
1516
1518
|
lessonItemColorHue: THueNames;
|
1517
1519
|
}
|
1518
1520
|
|
1519
|
-
export declare interface ILessonWebGameProps extends IBaseWebGameProps
|
1520
|
-
miniGameIdentifier:
|
1521
|
+
export declare interface ILessonWebGameProps extends IBaseWebGameProps<LessonId> {
|
1522
|
+
miniGameIdentifier: MiniGameId;
|
1521
1523
|
sessionId: string;
|
1522
1524
|
targetQuestions: number;
|
1523
1525
|
}
|
@@ -1940,8 +1942,7 @@ declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps
|
|
1940
1942
|
canUpdatePlan?: boolean;
|
1941
1943
|
}
|
1942
1944
|
|
1943
|
-
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps
|
1944
|
-
enablePlayerTurnIndicators?: boolean;
|
1945
|
+
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps<GameId> {
|
1945
1946
|
}
|
1946
1947
|
|
1947
1948
|
declare interface IMultiTabBlockerContextValue {
|
@@ -2058,9 +2059,6 @@ export declare interface IPlayerStats {
|
|
2058
2059
|
errorCode: IStatsToAwardErrorCode;
|
2059
2060
|
outcome: ProjectOutcome;
|
2060
2061
|
value: string;
|
2061
|
-
starEligibleTime?: number;
|
2062
|
-
starEligibleAccuracy?: number;
|
2063
|
-
starRewarded?: boolean;
|
2064
2062
|
}
|
2065
2063
|
|
2066
2064
|
declare interface IPointerData extends Record<string, unknown> {
|
@@ -2097,12 +2095,6 @@ export declare interface IPostGameStat {
|
|
2097
2095
|
onComplete?: () => void;
|
2098
2096
|
helperText?: ReactNode;
|
2099
2097
|
stopAtEnd?: boolean;
|
2100
|
-
targetValue?: number;
|
2101
|
-
maxValue?: number;
|
2102
|
-
helperTextPrimary?: string;
|
2103
|
-
helperTextSecondary?: string;
|
2104
|
-
progressType?: 'linear' | 'stepper';
|
2105
|
-
displayText?: string;
|
2106
2098
|
}
|
2107
2099
|
|
2108
2100
|
export declare interface IPostGameStatsProps {
|
@@ -2157,15 +2149,10 @@ export declare interface IProject<T> {
|
|
2157
2149
|
initialProgressValue?: number;
|
2158
2150
|
}
|
2159
2151
|
|
2160
|
-
export declare interface IProjectData extends IProjects {
|
2161
|
-
tables?: ITablesData;
|
2162
|
-
}
|
2163
|
-
|
2164
2152
|
export declare interface IProjects {
|
2165
2153
|
games: IProject<Game>;
|
2166
2154
|
puzzles: IProject<Puzzle>;
|
2167
2155
|
lessons?: IProject<Lesson>;
|
2168
|
-
tables?: ITables;
|
2169
2156
|
}
|
2170
2157
|
|
2171
2158
|
declare interface IProjects_2 {
|
@@ -2181,10 +2168,6 @@ declare interface IProjects_2 {
|
|
2181
2168
|
label: string;
|
2182
2169
|
data: ILesson[];
|
2183
2170
|
};
|
2184
|
-
tables?: {
|
2185
|
-
label: string;
|
2186
|
-
data: ITables_2;
|
2187
|
-
};
|
2188
2171
|
}
|
2189
2172
|
|
2190
2173
|
declare interface IPublishData {
|
@@ -2192,7 +2175,7 @@ declare interface IPublishData {
|
|
2192
2175
|
eventPayload: IActionData;
|
2193
2176
|
}
|
2194
2177
|
|
2195
|
-
declare interface IPuzzle extends IBaseProject {
|
2178
|
+
declare interface IPuzzle extends IBaseProject<PuzzleId> {
|
2196
2179
|
question: string;
|
2197
2180
|
is_hint_seen: boolean;
|
2198
2181
|
solved: boolean;
|
@@ -2226,7 +2209,7 @@ declare interface IPuzzleCard_2 {
|
|
2226
2209
|
programId: string;
|
2227
2210
|
}
|
2228
2211
|
|
2229
|
-
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps
|
2212
|
+
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps<PuzzleId> {
|
2230
2213
|
question: string;
|
2231
2214
|
askHintPermission?: boolean;
|
2232
2215
|
}
|
@@ -2589,56 +2572,6 @@ export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mo
|
|
2589
2572
|
|
2590
2573
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2591
2574
|
|
2592
|
-
declare interface ISyncableWebGameProps {
|
2593
|
-
joinByRoomId?: string;
|
2594
|
-
enableSync?: boolean;
|
2595
|
-
}
|
2596
|
-
|
2597
|
-
export declare interface ITable {
|
2598
|
-
tableList: ITableInfo[];
|
2599
|
-
infiniteModeHighScore: number;
|
2600
|
-
}
|
2601
|
-
|
2602
|
-
export declare interface ITableDetails {
|
2603
|
-
mode: TTableMode;
|
2604
|
-
tableNumber?: number;
|
2605
|
-
infiniteModeHighScore?: number;
|
2606
|
-
isStarRewarded?: boolean;
|
2607
|
-
}
|
2608
|
-
|
2609
|
-
export declare interface ITableInfo {
|
2610
|
-
tableNumber: number;
|
2611
|
-
stars: TTableMode[];
|
2612
|
-
}
|
2613
|
-
|
2614
|
-
declare interface ITableInfo_2 {
|
2615
|
-
table_number: number;
|
2616
|
-
stars: ('advance' | 'random' | 'sequence')[];
|
2617
|
-
}
|
2618
|
-
|
2619
|
-
export declare interface ITables {
|
2620
|
-
type: ProjectType;
|
2621
|
-
label: string;
|
2622
|
-
data: ITable;
|
2623
|
-
}
|
2624
|
-
|
2625
|
-
declare interface ITables_2 {
|
2626
|
-
table_wise_details: ITableInfo_2[];
|
2627
|
-
infinite_mode_high_score: number;
|
2628
|
-
}
|
2629
|
-
|
2630
|
-
export declare interface ITablesData extends ITables {
|
2631
|
-
openModesOfTable?: {
|
2632
|
-
tableNumber: number;
|
2633
|
-
rewardStars?: TTableMode[];
|
2634
|
-
};
|
2635
|
-
}
|
2636
|
-
|
2637
|
-
export declare interface ITableWebGameProps extends IBaseWebGameProps {
|
2638
|
-
tableNumber: number;
|
2639
|
-
infiniteModeHighScore?: number;
|
2640
|
-
}
|
2641
|
-
|
2642
2575
|
declare interface ITabProps {
|
2643
2576
|
label: number | string;
|
2644
2577
|
$selected: boolean;
|
@@ -3025,8 +2958,8 @@ export declare interface IVibrationPattern {
|
|
3025
2958
|
|
3026
2959
|
export declare interface IWebViewProps extends IframeHTMLAttributes<HTMLIFrameElement> {
|
3027
2960
|
baseUrl: string;
|
3028
|
-
projectDetails: IMultiplayerWebGameProps | IPuzzleWebGameProps | ILessonWebGameProps | ITableWebGameProps;
|
3029
2961
|
parentDomain: string;
|
2962
|
+
projectDetails: IMultiplayerWebGameProps | IPuzzleWebGameProps | ILessonWebGameProps;
|
3030
2963
|
playerDetails: IPlayer;
|
3031
2964
|
onBack?: () => void;
|
3032
2965
|
onGameLoad?: () => void;
|
@@ -3322,9 +3255,9 @@ export declare const LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloa
|
|
3322
3255
|
|
3323
3256
|
export declare const LeftIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3324
3257
|
|
3325
|
-
export declare interface Lesson extends BaseProject {
|
3258
|
+
export declare interface Lesson extends BaseProject<LessonId> {
|
3326
3259
|
sessionId: string;
|
3327
|
-
miniGameIdentifier:
|
3260
|
+
miniGameIdentifier: MiniGameId;
|
3328
3261
|
targetQuestions: number;
|
3329
3262
|
status: TSkillStatus;
|
3330
3263
|
}
|
@@ -3334,6 +3267,17 @@ declare const LESSON_TAG_TYPE: {
|
|
3334
3267
|
readonly DEFAULT: "DEFAULT";
|
3335
3268
|
};
|
3336
3269
|
|
3270
|
+
export declare enum LessonId {
|
3271
|
+
ANGLES = "angles",
|
3272
|
+
FRACTIONS = "fractions",
|
3273
|
+
TIME = "time",
|
3274
|
+
ADDITION_SUBTRACTION = "addition-subtraction",
|
3275
|
+
MULTIPLICATION_DIVISION = "multiplication-division",
|
3276
|
+
PERCENTAGES = "percentages",
|
3277
|
+
INTEGERS = "integers",
|
3278
|
+
RATIOS = "ratios"
|
3279
|
+
}
|
3280
|
+
|
3337
3281
|
export declare const loadScript: ILoadScript;
|
3338
3282
|
|
3339
3283
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -3343,7 +3287,6 @@ export declare const LockIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3343
3287
|
export declare const LOTTIE: {
|
3344
3288
|
ACCURACY_METER: string;
|
3345
3289
|
ACCURACY_NEEDLE: string;
|
3346
|
-
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
3347
3290
|
BEGINNER1X: string;
|
3348
3291
|
BRONZE_1: string;
|
3349
3292
|
BRONZE_2: string;
|
@@ -3367,8 +3310,6 @@ export declare const LOTTIE: {
|
|
3367
3310
|
GOLD_1: string;
|
3368
3311
|
GOLD_2: string;
|
3369
3312
|
GOLD_3: string;
|
3370
|
-
INFINITE_BUTTON_BG: string;
|
3371
|
-
INFINITE_BUTTON_SYMBOL: string;
|
3372
3313
|
LEVELUP_RINGS: string;
|
3373
3314
|
MEDIUM: string;
|
3374
3315
|
NUDGE_TAP: string;
|
@@ -3378,19 +3319,14 @@ export declare const LOTTIE: {
|
|
3378
3319
|
POINT1: string;
|
3379
3320
|
POINT20: string;
|
3380
3321
|
POINT25: string;
|
3381
|
-
POINT2: string;
|
3382
3322
|
POINT30: string;
|
3383
3323
|
POINT35: string;
|
3384
|
-
POINT3: string;
|
3385
3324
|
POINT40: string;
|
3386
3325
|
POINT45: string;
|
3387
|
-
POINT4: string;
|
3388
3326
|
POINT50: string;
|
3389
3327
|
POINT5: string;
|
3390
3328
|
POINT60: string;
|
3391
3329
|
PROFICIENT1X: string;
|
3392
|
-
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3393
|
-
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3394
3330
|
SILVER_1: string;
|
3395
3331
|
SILVER_2: string;
|
3396
3332
|
SILVER_3: string;
|
@@ -3398,10 +3334,6 @@ export declare const LOTTIE: {
|
|
3398
3334
|
SPINNER_WHITE: string;
|
3399
3335
|
SPLASH_SCREEN: string;
|
3400
3336
|
STAY_CONNECTED_LOTTIE: string;
|
3401
|
-
TABLE_MODE_REVEAL: string;
|
3402
|
-
TABLE_MODE_STAR: string;
|
3403
|
-
TABLE_SEGMENT_STAR: string;
|
3404
|
-
TARGET_ACHIEVED_TEXT: string;
|
3405
3337
|
TEACHER_VALIDATION: string;
|
3406
3338
|
TOTAL_STREAK: string;
|
3407
3339
|
TOTAL_TIME: string;
|
@@ -3430,6 +3362,23 @@ export declare const MilestoneOutcome: React_2.FC<IMilestoneOutcomeContainer>;
|
|
3430
3362
|
|
3431
3363
|
export declare const MilestoneStart: React_2.FC<IMilestoneStartProps>;
|
3432
3364
|
|
3365
|
+
export declare enum MiniGameId {
|
3366
|
+
SNAKE = "snake",
|
3367
|
+
BASKETBALL = "basketball",
|
3368
|
+
REARRANGE = "rearrange",
|
3369
|
+
CAR_RACE = "car-race",
|
3370
|
+
DROP_ME = "drop-me",
|
3371
|
+
WARZONE = "warzone",
|
3372
|
+
SLOT_MACHINE = "slot-machine",
|
3373
|
+
SLING_SHOT = "sling-shot",
|
3374
|
+
CLOCK = "clock",
|
3375
|
+
MINING = "mining",
|
3376
|
+
SHADING_AREA = "shading-area",
|
3377
|
+
MAGIC_HAT = "magic-hat",
|
3378
|
+
PUZZLE = "puzzle",
|
3379
|
+
BALANCE = "balance"
|
3380
|
+
}
|
3381
|
+
|
3433
3382
|
export declare const Minus2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3434
3383
|
|
3435
3384
|
export declare const MinusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -3633,6 +3582,36 @@ export declare const PreviewWorksheet: FC<IPreviewWorksheetProps>;
|
|
3633
3582
|
|
3634
3583
|
export declare const ProgressIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3635
3584
|
|
3585
|
+
export declare const ProjectId: {
|
3586
|
+
readonly ANGLES: LessonId.ANGLES;
|
3587
|
+
readonly FRACTIONS: LessonId.FRACTIONS;
|
3588
|
+
readonly TIME: LessonId.TIME;
|
3589
|
+
readonly ADDITION_SUBTRACTION: LessonId.ADDITION_SUBTRACTION;
|
3590
|
+
readonly MULTIPLICATION_DIVISION: LessonId.MULTIPLICATION_DIVISION;
|
3591
|
+
readonly PERCENTAGES: LessonId.PERCENTAGES;
|
3592
|
+
readonly INTEGERS: LessonId.INTEGERS;
|
3593
|
+
readonly RATIOS: LessonId.RATIOS;
|
3594
|
+
readonly CUT_THE_STRIP: PuzzleId.CUT_THE_STRIP;
|
3595
|
+
readonly ONE_LINE_WONDER: PuzzleId.ONE_LINE_WONDER;
|
3596
|
+
readonly FLIP_IT_UP: PuzzleId.FLIP_IT_UP;
|
3597
|
+
readonly CARS_IN_CHAOS: PuzzleId.CARS_IN_CHAOS;
|
3598
|
+
readonly REFLEKT: PuzzleId.REFLEKT;
|
3599
|
+
readonly MATCHSTICKS: PuzzleId.MATCHSTICKS;
|
3600
|
+
readonly NO_CROSS: PuzzleId.NO_CROSS;
|
3601
|
+
readonly DISSECTION: PuzzleId.DISSECTION;
|
3602
|
+
readonly CHESS_MOVES: GameId.CHESS_MOVES;
|
3603
|
+
readonly NO_ATTACK: GameId.NO_ATTACK;
|
3604
|
+
readonly TROMINOS: GameId.TROMINOS;
|
3605
|
+
readonly NIMS_GAME: GameId.NIMS_GAME;
|
3606
|
+
readonly TRANSFORMATION: GameId.TRANSFORMATION;
|
3607
|
+
readonly LIGHTS_ON_OR_OFF: GameId.LIGHTS_ON_OR_OFF;
|
3608
|
+
readonly LIQUID_WARS: GameId.LIQUID_WARS;
|
3609
|
+
readonly HACKENBUSH: GameId.HACKENBUSH;
|
3610
|
+
readonly SQUARE_IT: GameId.SQUARE_IT;
|
3611
|
+
readonly CLASH_OF_COLOURS: GameId.CLASH_OF_COLOURS;
|
3612
|
+
readonly REACH: GameId.REACH;
|
3613
|
+
};
|
3614
|
+
|
3636
3615
|
export declare enum ProjectOutcome {
|
3637
3616
|
WIN = "win",
|
3638
3617
|
LOSE = "lose",
|
@@ -3647,11 +3626,10 @@ export declare enum ProjectOutcome {
|
|
3647
3626
|
export declare enum ProjectType {
|
3648
3627
|
GAME = "game",
|
3649
3628
|
PUZZLE = "puzzle",
|
3650
|
-
LESSON = "lesson"
|
3651
|
-
TABLE = "table"
|
3629
|
+
LESSON = "lesson"
|
3652
3630
|
}
|
3653
3631
|
|
3654
|
-
export declare interface Puzzle extends BaseProject {
|
3632
|
+
export declare interface Puzzle extends BaseProject<PuzzleId> {
|
3655
3633
|
question: string;
|
3656
3634
|
isHintSeen: boolean;
|
3657
3635
|
solved: boolean;
|
@@ -3672,6 +3650,17 @@ declare const PUZZLE_CARD_STATE: {
|
|
3672
3650
|
|
3673
3651
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3674
3652
|
|
3653
|
+
export declare enum PuzzleId {
|
3654
|
+
CUT_THE_STRIP = "cut-the-strip",
|
3655
|
+
ONE_LINE_WONDER = "one-line-wonder",
|
3656
|
+
FLIP_IT_UP = "flip-it-up",
|
3657
|
+
CARS_IN_CHAOS = "cars-in-chaos",
|
3658
|
+
REFLEKT = "reflekt",
|
3659
|
+
MATCHSTICKS = "matchsticks",
|
3660
|
+
NO_CROSS = "no-cross",
|
3661
|
+
DISSECTION = "dissection"
|
3662
|
+
}
|
3663
|
+
|
3675
3664
|
export declare const PYTHON_NODE_TYPES: {
|
3676
3665
|
readonly PPT_BASIC: "PPT_BASIC";
|
3677
3666
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -4538,6 +4527,8 @@ declare type TPreference = {
|
|
4538
4527
|
|
4539
4528
|
declare type TPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
|
4540
4529
|
|
4530
|
+
export declare type TProject = GameId | PuzzleId | LessonId;
|
4531
|
+
|
4541
4532
|
declare type TPublish = (data: IPublishData) => boolean | undefined;
|
4542
4533
|
|
4543
4534
|
declare type TPublishMouseMove = (points: IPointerData) => void;
|
@@ -4720,8 +4711,6 @@ declare type TSubscribe = (id: string, cb: (data: IActionData | IActionData[]) =
|
|
4720
4711
|
|
4721
4712
|
declare type TSubscribeMouseMove = (id: string, callback: (data: IPointerData) => void) => void;
|
4722
4713
|
|
4723
|
-
export declare type TTableMode = 'random' | 'sequence' | 'advance' | 'infinite';
|
4724
|
-
|
4725
4714
|
export declare type TTabSizes = 'xsmall' | 'small' | 'regular' | 'medium';
|
4726
4715
|
|
4727
4716
|
export declare type TTabVariants = 'primary';
|