@cuemath/leap 2.8.36-hg3 → 2.8.36-link.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 +2 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +0 -6
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/assets/sounds/sounds.js +7 -0
- package/dist/assets/sounds/sounds.js.map +1 -0
- 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.js +65 -108
- 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/points/points.js +24 -25
- 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/streak/streak-styled.js +17 -18
- package/dist/features/post-game-stats/streak/streak-styled.js.map +1 -1
- package/dist/features/talk-meter/helper.js +11 -0
- package/dist/features/talk-meter/helper.js.map +1 -0
- package/dist/features/talk-meter/hooks/use-talk-meter.js +112 -0
- package/dist/features/talk-meter/hooks/use-talk-meter.js.map +1 -0
- package/dist/features/talk-meter/ripple/index.js +62 -0
- package/dist/features/talk-meter/ripple/index.js.map +1 -0
- package/dist/features/talk-meter/talk-meter-styled.js +89 -0
- package/dist/features/talk-meter/talk-meter-styled.js.map +1 -0
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view-styled.js +22 -0
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view-styled.js.map +1 -0
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view.js +101 -0
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view.js.map +1 -0
- package/dist/features/talk-meter/talk-meter.js +73 -0
- package/dist/features/talk-meter/talk-meter.js.map +1 -0
- 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/index.d.ts +141 -78
- package/dist/index.js +201 -194
- package/dist/index.js.map +1 -1
- package/dist/static/female-avatar.b8cd1012.svg +1 -0
- package/dist/static/male-avatar.2febc9eb.svg +1 -0
- package/package.json +2 -3
- 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 -54
- 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-star/table-star-styled.js +0 -11
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star.js +0 -16
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +0 -161
- 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 -225
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.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/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/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;
|
@@ -389,7 +389,7 @@ declare interface FlexViewProps {
|
|
389
389
|
$flex?: number;
|
390
390
|
}
|
391
391
|
|
392
|
-
export declare interface Game extends BaseProject {
|
392
|
+
export declare interface Game extends BaseProject<GameId> {
|
393
393
|
isPlayed: boolean;
|
394
394
|
}
|
395
395
|
|
@@ -399,8 +399,28 @@ export declare const GAME_LAUNCHER_SIZE: number;
|
|
399
399
|
|
400
400
|
export declare const GameIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
401
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
|
+
|
402
416
|
export declare const GameLauncher: FC<IGameLauncherProps>;
|
403
417
|
|
418
|
+
declare enum GENDER {
|
419
|
+
MALE = "MALE",
|
420
|
+
FEMALE = "FEMALE",
|
421
|
+
OTHER = "OTHER"
|
422
|
+
}
|
423
|
+
|
404
424
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
405
425
|
|
406
426
|
declare const getButtonConfig: IGetButtonConfig;
|
@@ -552,8 +572,8 @@ declare interface IBaseLeaderboardDetails {
|
|
552
572
|
currentTimestamp: number;
|
553
573
|
}
|
554
574
|
|
555
|
-
declare interface IBaseProject {
|
556
|
-
id:
|
575
|
+
declare interface IBaseProject<T> {
|
576
|
+
id: T;
|
557
577
|
name: string;
|
558
578
|
card: string;
|
559
579
|
variant: string;
|
@@ -574,10 +594,13 @@ declare interface IBaseSelectInputProps<IDType extends string | number> extends
|
|
574
594
|
theme?: 'light' | 'dark';
|
575
595
|
}
|
576
596
|
|
577
|
-
declare interface IBaseWebGameProps {
|
578
|
-
projectId:
|
597
|
+
declare interface IBaseWebGameProps<T> {
|
598
|
+
projectId: T;
|
579
599
|
variant: string;
|
580
600
|
projectType: ProjectType;
|
601
|
+
joinByRoomId?: string;
|
602
|
+
enableSync?: boolean;
|
603
|
+
enablePlayerTurnIndicators?: boolean;
|
581
604
|
enableCloseButton?: boolean;
|
582
605
|
}
|
583
606
|
|
@@ -1058,12 +1081,12 @@ declare interface IFile {
|
|
1058
1081
|
url: string;
|
1059
1082
|
}
|
1060
1083
|
|
1061
|
-
declare interface IGame extends IBaseProject {
|
1084
|
+
declare interface IGame extends IBaseProject<GameId> {
|
1062
1085
|
played: boolean;
|
1063
1086
|
}
|
1064
1087
|
|
1065
1088
|
declare interface IGameLauncherProps {
|
1066
|
-
onSegmentClick: (projectDetail: Game | Puzzle | Lesson
|
1089
|
+
onSegmentClick: (projectDetail: Game | Puzzle | Lesson, projectType: ProjectType) => void;
|
1067
1090
|
isLoading?: boolean;
|
1068
1091
|
data: IProjects | null;
|
1069
1092
|
defaultIndex?: number;
|
@@ -1461,9 +1484,9 @@ declare interface ILearnosityQuestionScore {
|
|
1461
1484
|
unscored?: boolean;
|
1462
1485
|
}
|
1463
1486
|
|
1464
|
-
declare interface ILesson extends IBaseProject {
|
1487
|
+
declare interface ILesson extends IBaseProject<LessonId> {
|
1465
1488
|
session_id: string;
|
1466
|
-
mini_game_identifier:
|
1489
|
+
mini_game_identifier: MiniGameId;
|
1467
1490
|
target_questions: number;
|
1468
1491
|
status: 'pending' | 'completed';
|
1469
1492
|
}
|
@@ -1501,8 +1524,8 @@ declare interface ILessonsListProps extends ILessonItemCallbackProps {
|
|
1501
1524
|
lessonItemColorHue: THueNames;
|
1502
1525
|
}
|
1503
1526
|
|
1504
|
-
export declare interface ILessonWebGameProps extends IBaseWebGameProps
|
1505
|
-
miniGameIdentifier:
|
1527
|
+
export declare interface ILessonWebGameProps extends IBaseWebGameProps<LessonId> {
|
1528
|
+
miniGameIdentifier: MiniGameId;
|
1506
1529
|
sessionId: string;
|
1507
1530
|
targetQuestions: number;
|
1508
1531
|
}
|
@@ -1548,6 +1571,7 @@ export declare const ILLUSTRATIONS: {
|
|
1548
1571
|
DURATION_60MIN_GRAY: string;
|
1549
1572
|
DURATION_90MIN_GRAY: string;
|
1550
1573
|
EARTH_GREEN: string;
|
1574
|
+
FEMALE_AVATAR: string;
|
1551
1575
|
GAME_PLAY: string;
|
1552
1576
|
GLOBE_WITH_BLUE_FILL: string;
|
1553
1577
|
GRADE_GRID_BACKGROUND: string;
|
@@ -1565,6 +1589,7 @@ export declare const ILLUSTRATIONS: {
|
|
1565
1589
|
LOADER_1: string;
|
1566
1590
|
LOCKED: string;
|
1567
1591
|
MAINTENANCE: string;
|
1592
|
+
MALE_AVATAR: string;
|
1568
1593
|
MASTERED_BADGE: string;
|
1569
1594
|
MASTERED_SHIELD_GRAY: string;
|
1570
1595
|
MASTERED_SHIELD_GREEN: string;
|
@@ -1925,8 +1950,7 @@ declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps
|
|
1925
1950
|
canUpdatePlan?: boolean;
|
1926
1951
|
}
|
1927
1952
|
|
1928
|
-
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps
|
1929
|
-
enablePlayerTurnIndicators?: boolean;
|
1953
|
+
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps<GameId> {
|
1930
1954
|
}
|
1931
1955
|
|
1932
1956
|
declare interface IMultiTabBlockerContextValue {
|
@@ -2137,7 +2161,6 @@ export declare interface IProjects {
|
|
2137
2161
|
games: IProject<Game>;
|
2138
2162
|
puzzles: IProject<Puzzle>;
|
2139
2163
|
lessons?: IProject<Lesson>;
|
2140
|
-
tables?: ITables;
|
2141
2164
|
}
|
2142
2165
|
|
2143
2166
|
declare interface IProjects_2 {
|
@@ -2153,10 +2176,6 @@ declare interface IProjects_2 {
|
|
2153
2176
|
label: string;
|
2154
2177
|
data: ILesson[];
|
2155
2178
|
};
|
2156
|
-
tables?: {
|
2157
|
-
label: string;
|
2158
|
-
data: ITables_2;
|
2159
|
-
};
|
2160
2179
|
}
|
2161
2180
|
|
2162
2181
|
declare interface IPublishData {
|
@@ -2164,7 +2183,7 @@ declare interface IPublishData {
|
|
2164
2183
|
eventPayload: IActionData;
|
2165
2184
|
}
|
2166
2185
|
|
2167
|
-
declare interface IPuzzle extends IBaseProject {
|
2186
|
+
declare interface IPuzzle extends IBaseProject<PuzzleId> {
|
2168
2187
|
question: string;
|
2169
2188
|
is_hint_seen: boolean;
|
2170
2189
|
solved: boolean;
|
@@ -2198,7 +2217,7 @@ declare interface IPuzzleCard_2 {
|
|
2198
2217
|
programId: string;
|
2199
2218
|
}
|
2200
2219
|
|
2201
|
-
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps
|
2220
|
+
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps<PuzzleId> {
|
2202
2221
|
question: string;
|
2203
2222
|
askHintPermission?: boolean;
|
2204
2223
|
}
|
@@ -2561,48 +2580,6 @@ export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mo
|
|
2561
2580
|
|
2562
2581
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2563
2582
|
|
2564
|
-
declare interface ISyncableWebGameProps {
|
2565
|
-
joinByRoomId?: string;
|
2566
|
-
enableSync?: boolean;
|
2567
|
-
}
|
2568
|
-
|
2569
|
-
export declare interface ITable {
|
2570
|
-
tableList: ITableInfo[];
|
2571
|
-
infiniteModeHighScore: number;
|
2572
|
-
}
|
2573
|
-
|
2574
|
-
export declare interface ITableDetails {
|
2575
|
-
mode: TTableMode;
|
2576
|
-
tableNumber?: number;
|
2577
|
-
infiniteModeHighScore?: number;
|
2578
|
-
}
|
2579
|
-
|
2580
|
-
export declare interface ITableInfo {
|
2581
|
-
tableNumber: number;
|
2582
|
-
stars: TTableMode[];
|
2583
|
-
}
|
2584
|
-
|
2585
|
-
declare interface ITableInfo_2 {
|
2586
|
-
table_number: number;
|
2587
|
-
stars: ('advance' | 'random' | 'sequence')[];
|
2588
|
-
}
|
2589
|
-
|
2590
|
-
declare interface ITables {
|
2591
|
-
type: ProjectType;
|
2592
|
-
label: string;
|
2593
|
-
data: ITable;
|
2594
|
-
}
|
2595
|
-
|
2596
|
-
declare interface ITables_2 {
|
2597
|
-
table_wise_details: ITableInfo_2[];
|
2598
|
-
infinite_mode_high_score: number;
|
2599
|
-
}
|
2600
|
-
|
2601
|
-
export declare interface ITableWebGameProps extends IBaseWebGameProps {
|
2602
|
-
tableNumber: number;
|
2603
|
-
infiniteModeHighScore?: number;
|
2604
|
-
}
|
2605
|
-
|
2606
2583
|
declare interface ITabProps {
|
2607
2584
|
label: number | string;
|
2608
2585
|
$selected: boolean;
|
@@ -2652,6 +2629,28 @@ declare interface ITagProps {
|
|
2652
2629
|
textColor?: TColorNames;
|
2653
2630
|
}
|
2654
2631
|
|
2632
|
+
declare interface ITalkMeter {
|
2633
|
+
userType: TUserTypes;
|
2634
|
+
studentId: string;
|
2635
|
+
teacherId: string;
|
2636
|
+
classStartTime?: Date;
|
2637
|
+
avPackageEnabled?: boolean;
|
2638
|
+
teacherClassroomId: string;
|
2639
|
+
teacherTalkTime: number;
|
2640
|
+
studentTalkTime: number;
|
2641
|
+
lastBatchReceivedNo: number;
|
2642
|
+
canDisplayBatch: boolean;
|
2643
|
+
onMessageReceive: () => void;
|
2644
|
+
onDismissMeter: () => void;
|
2645
|
+
}
|
2646
|
+
|
2647
|
+
declare interface ITalkMeterProps extends ITalkMeter {
|
2648
|
+
studentName?: string;
|
2649
|
+
teacherName?: string;
|
2650
|
+
teacherGender: GENDER;
|
2651
|
+
animated?: boolean;
|
2652
|
+
}
|
2653
|
+
|
2655
2654
|
declare interface ITeacherReview {
|
2656
2655
|
reviewComment?: string;
|
2657
2656
|
images?: string[];
|
@@ -2989,8 +2988,8 @@ export declare interface IVibrationPattern {
|
|
2989
2988
|
|
2990
2989
|
export declare interface IWebViewProps extends IframeHTMLAttributes<HTMLIFrameElement> {
|
2991
2990
|
baseUrl: string;
|
2992
|
-
projectDetails: IMultiplayerWebGameProps | IPuzzleWebGameProps | ILessonWebGameProps | ITableWebGameProps;
|
2993
2991
|
parentDomain: string;
|
2992
|
+
projectDetails: IMultiplayerWebGameProps | IPuzzleWebGameProps | ILessonWebGameProps;
|
2994
2993
|
playerDetails: IPlayer;
|
2995
2994
|
onBack?: () => void;
|
2996
2995
|
onGameLoad?: () => void;
|
@@ -3286,9 +3285,9 @@ export declare const LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloa
|
|
3286
3285
|
|
3287
3286
|
export declare const LeftIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3288
3287
|
|
3289
|
-
export declare interface Lesson extends BaseProject {
|
3288
|
+
export declare interface Lesson extends BaseProject<LessonId> {
|
3290
3289
|
sessionId: string;
|
3291
|
-
miniGameIdentifier:
|
3290
|
+
miniGameIdentifier: MiniGameId;
|
3292
3291
|
targetQuestions: number;
|
3293
3292
|
status: TSkillStatus;
|
3294
3293
|
}
|
@@ -3298,6 +3297,17 @@ declare const LESSON_TAG_TYPE: {
|
|
3298
3297
|
readonly DEFAULT: "DEFAULT";
|
3299
3298
|
};
|
3300
3299
|
|
3300
|
+
export declare enum LessonId {
|
3301
|
+
ANGLES = "angles",
|
3302
|
+
FRACTIONS = "fractions",
|
3303
|
+
TIME = "time",
|
3304
|
+
ADDITION_SUBTRACTION = "addition-subtraction",
|
3305
|
+
MULTIPLICATION_DIVISION = "multiplication-division",
|
3306
|
+
PERCENTAGES = "percentages",
|
3307
|
+
INTEGERS = "integers",
|
3308
|
+
RATIOS = "ratios"
|
3309
|
+
}
|
3310
|
+
|
3301
3311
|
export declare const loadScript: ILoadScript;
|
3302
3312
|
|
3303
3313
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -3307,7 +3317,6 @@ export declare const LockIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3307
3317
|
export declare const LOTTIE: {
|
3308
3318
|
ACCURACY_METER: string;
|
3309
3319
|
ACCURACY_NEEDLE: string;
|
3310
|
-
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
3311
3320
|
BEGINNER1X: string;
|
3312
3321
|
BRONZE_1: string;
|
3313
3322
|
BRONZE_2: string;
|
@@ -3331,8 +3340,6 @@ export declare const LOTTIE: {
|
|
3331
3340
|
GOLD_1: string;
|
3332
3341
|
GOLD_2: string;
|
3333
3342
|
GOLD_3: string;
|
3334
|
-
INFINITE_BUTTON_BG: string;
|
3335
|
-
INFINITE_BUTTON_SYMBOL: string;
|
3336
3343
|
LEVELUP_RINGS: string;
|
3337
3344
|
MEDIUM: string;
|
3338
3345
|
NUDGE_TAP: string;
|
@@ -3350,8 +3357,6 @@ export declare const LOTTIE: {
|
|
3350
3357
|
POINT5: string;
|
3351
3358
|
POINT60: string;
|
3352
3359
|
PROFICIENT1X: string;
|
3353
|
-
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3354
|
-
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3355
3360
|
SILVER_1: string;
|
3356
3361
|
SILVER_2: string;
|
3357
3362
|
SILVER_3: string;
|
@@ -3359,7 +3364,6 @@ export declare const LOTTIE: {
|
|
3359
3364
|
SPINNER_WHITE: string;
|
3360
3365
|
SPLASH_SCREEN: string;
|
3361
3366
|
STAY_CONNECTED_LOTTIE: string;
|
3362
|
-
TABLE_MODE_REVEAL: string;
|
3363
3367
|
TEACHER_VALIDATION: string;
|
3364
3368
|
TOTAL_STREAK: string;
|
3365
3369
|
TOTAL_TIME: string;
|
@@ -3388,6 +3392,23 @@ export declare const MilestoneOutcome: React_2.FC<IMilestoneOutcomeContainer>;
|
|
3388
3392
|
|
3389
3393
|
export declare const MilestoneStart: React_2.FC<IMilestoneStartProps>;
|
3390
3394
|
|
3395
|
+
export declare enum MiniGameId {
|
3396
|
+
SNAKE = "snake",
|
3397
|
+
BASKETBALL = "basketball",
|
3398
|
+
REARRANGE = "rearrange",
|
3399
|
+
CAR_RACE = "car-race",
|
3400
|
+
DROP_ME = "drop-me",
|
3401
|
+
WARZONE = "warzone",
|
3402
|
+
SLOT_MACHINE = "slot-machine",
|
3403
|
+
SLING_SHOT = "sling-shot",
|
3404
|
+
CLOCK = "clock",
|
3405
|
+
MINING = "mining",
|
3406
|
+
SHADING_AREA = "shading-area",
|
3407
|
+
MAGIC_HAT = "magic-hat",
|
3408
|
+
PUZZLE = "puzzle",
|
3409
|
+
BALANCE = "balance"
|
3410
|
+
}
|
3411
|
+
|
3391
3412
|
export declare const Minus2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3392
3413
|
|
3393
3414
|
export declare const MinusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -3591,6 +3612,36 @@ export declare const PreviewWorksheet: FC<IPreviewWorksheetProps>;
|
|
3591
3612
|
|
3592
3613
|
export declare const ProgressIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3593
3614
|
|
3615
|
+
export declare const ProjectId: {
|
3616
|
+
readonly ANGLES: LessonId.ANGLES;
|
3617
|
+
readonly FRACTIONS: LessonId.FRACTIONS;
|
3618
|
+
readonly TIME: LessonId.TIME;
|
3619
|
+
readonly ADDITION_SUBTRACTION: LessonId.ADDITION_SUBTRACTION;
|
3620
|
+
readonly MULTIPLICATION_DIVISION: LessonId.MULTIPLICATION_DIVISION;
|
3621
|
+
readonly PERCENTAGES: LessonId.PERCENTAGES;
|
3622
|
+
readonly INTEGERS: LessonId.INTEGERS;
|
3623
|
+
readonly RATIOS: LessonId.RATIOS;
|
3624
|
+
readonly CUT_THE_STRIP: PuzzleId.CUT_THE_STRIP;
|
3625
|
+
readonly ONE_LINE_WONDER: PuzzleId.ONE_LINE_WONDER;
|
3626
|
+
readonly FLIP_IT_UP: PuzzleId.FLIP_IT_UP;
|
3627
|
+
readonly CARS_IN_CHAOS: PuzzleId.CARS_IN_CHAOS;
|
3628
|
+
readonly REFLEKT: PuzzleId.REFLEKT;
|
3629
|
+
readonly MATCHSTICKS: PuzzleId.MATCHSTICKS;
|
3630
|
+
readonly NO_CROSS: PuzzleId.NO_CROSS;
|
3631
|
+
readonly DISSECTION: PuzzleId.DISSECTION;
|
3632
|
+
readonly CHESS_MOVES: GameId.CHESS_MOVES;
|
3633
|
+
readonly NO_ATTACK: GameId.NO_ATTACK;
|
3634
|
+
readonly TROMINOS: GameId.TROMINOS;
|
3635
|
+
readonly NIMS_GAME: GameId.NIMS_GAME;
|
3636
|
+
readonly TRANSFORMATION: GameId.TRANSFORMATION;
|
3637
|
+
readonly LIGHTS_ON_OR_OFF: GameId.LIGHTS_ON_OR_OFF;
|
3638
|
+
readonly LIQUID_WARS: GameId.LIQUID_WARS;
|
3639
|
+
readonly HACKENBUSH: GameId.HACKENBUSH;
|
3640
|
+
readonly SQUARE_IT: GameId.SQUARE_IT;
|
3641
|
+
readonly CLASH_OF_COLOURS: GameId.CLASH_OF_COLOURS;
|
3642
|
+
readonly REACH: GameId.REACH;
|
3643
|
+
};
|
3644
|
+
|
3594
3645
|
export declare enum ProjectOutcome {
|
3595
3646
|
WIN = "win",
|
3596
3647
|
LOSE = "lose",
|
@@ -3605,11 +3656,10 @@ export declare enum ProjectOutcome {
|
|
3605
3656
|
export declare enum ProjectType {
|
3606
3657
|
GAME = "game",
|
3607
3658
|
PUZZLE = "puzzle",
|
3608
|
-
LESSON = "lesson"
|
3609
|
-
TABLE = "table"
|
3659
|
+
LESSON = "lesson"
|
3610
3660
|
}
|
3611
3661
|
|
3612
|
-
export declare interface Puzzle extends BaseProject {
|
3662
|
+
export declare interface Puzzle extends BaseProject<PuzzleId> {
|
3613
3663
|
question: string;
|
3614
3664
|
isHintSeen: boolean;
|
3615
3665
|
solved: boolean;
|
@@ -3630,6 +3680,17 @@ declare const PUZZLE_CARD_STATE: {
|
|
3630
3680
|
|
3631
3681
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3632
3682
|
|
3683
|
+
export declare enum PuzzleId {
|
3684
|
+
CUT_THE_STRIP = "cut-the-strip",
|
3685
|
+
ONE_LINE_WONDER = "one-line-wonder",
|
3686
|
+
FLIP_IT_UP = "flip-it-up",
|
3687
|
+
CARS_IN_CHAOS = "cars-in-chaos",
|
3688
|
+
REFLEKT = "reflekt",
|
3689
|
+
MATCHSTICKS = "matchsticks",
|
3690
|
+
NO_CROSS = "no-cross",
|
3691
|
+
DISSECTION = "dissection"
|
3692
|
+
}
|
3693
|
+
|
3633
3694
|
export declare const PYTHON_NODE_TYPES: {
|
3634
3695
|
readonly PPT_BASIC: "PPT_BASIC";
|
3635
3696
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3806,6 +3867,8 @@ declare type TAggregateForRewardsData = {
|
|
3806
3867
|
|
3807
3868
|
declare type TAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch';
|
3808
3869
|
|
3870
|
+
export declare const TalkMeter: FC<ITalkMeterProps>;
|
3871
|
+
|
3809
3872
|
export declare type TArrowTooltipConfig = {
|
3810
3873
|
backgroundColorName: TColorNames;
|
3811
3874
|
textColorName: TColorNames;
|
@@ -4496,6 +4559,8 @@ declare type TPreference = {
|
|
4496
4559
|
|
4497
4560
|
declare type TPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
|
4498
4561
|
|
4562
|
+
export declare type TProject = GameId | PuzzleId | LessonId;
|
4563
|
+
|
4499
4564
|
declare type TPublish = (data: IPublishData) => boolean | undefined;
|
4500
4565
|
|
4501
4566
|
declare type TPublishMouseMove = (points: IPointerData) => void;
|
@@ -4678,8 +4743,6 @@ declare type TSubscribe = (id: string, cb: (data: IActionData | IActionData[]) =
|
|
4678
4743
|
|
4679
4744
|
declare type TSubscribeMouseMove = (id: string, callback: (data: IPointerData) => void) => void;
|
4680
4745
|
|
4681
|
-
export declare type TTableMode = 'random' | 'sequence' | 'advance' | 'infinite';
|
4682
|
-
|
4683
4746
|
export declare type TTabSizes = 'xsmall' | 'small' | 'regular' | 'medium';
|
4684
4747
|
|
4685
4748
|
export declare type TTabVariants = 'primary';
|