@cuemath/leap 2.8.36-beta-0.1 → 2.8.36-hg2
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 +6 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +13 -15
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js +53 -0
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container.js +24 -0
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/card-container/constants.js +7 -0
- package/dist/features/circle-games/game-launcher/comps/card-container/constants.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 +29 -73
- 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 +87 -85
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/constants.js +20 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode-styled.js +24 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js +54 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star-styled.js +11 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star.js +16 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +161 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +225 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -0
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +25 -15
- 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 +103 -61
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- 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 +69 -82
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +1 -2
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js +117 -130
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js +17 -16
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock-styled.js +11 -10
- package/dist/features/post-game-stats/clock/clock-styled.js.map +1 -1
- package/dist/features/post-game-stats/points/points.js +25 -24
- 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 +18 -17
- 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/ui/grade-selector/grade-tab.js +15 -15
- package/dist/features/ui/grade-selector/grade-tab.js.map +1 -1
- package/dist/features/ui/tab/tab-styled.js +8 -7
- package/dist/features/ui/tab/tab-styled.js.map +1 -1
- package/dist/features/ui/tab/tab.js +31 -36
- package/dist/features/ui/tab/tab.js.map +1 -1
- package/dist/features/ui/theme/tab.js +3 -3
- package/dist/features/ui/theme/tab.js.map +1 -1
- package/dist/index.d.ts +79 -151
- package/dist/index.js +343 -352
- package/dist/index.js.map +1 -1
- package/dist/static/advance-mode-segment-lottie.51ff6707.json +1 -0
- package/dist/static/infinite-button-bg.5909225e.json +1 -0
- package/dist/static/infinite-button-symbol.aa31350c.json +1 -0
- package/dist/static/random-mode-segment-lottie.79cf1c07.json +1 -0
- package/dist/static/sequence-mode-segment-lottie.11ac49e9.json +1 -0
- package/dist/static/table-mode-reveal.b44a82c3.json +1 -0
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/sheet.js +0 -54
- package/dist/assets/line-icons/icons/sheet.js.map +0 -1
- package/dist/features/circle-games/games/web-view/enums/project-ids-enum.js +0 -14
- package/dist/features/circle-games/games/web-view/enums/project-ids-enum.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/added-resource-and-filters.js +0 -188
- package/dist/features/milestone/milestone-resources/resources-assign/added-resource-and-filters.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/get-resource.js +0 -11
- package/dist/features/milestone/milestone-resources/resources-assign/api/get-resource.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +0 -9
- package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/lpar-resource-assign.js +0 -9
- package/dist/features/milestone/milestone-resources/resources-assign/api/lpar-resource-assign.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/filter-item/filter-item-styled.js +0 -19
- package/dist/features/milestone/milestone-resources/resources-assign/comps/filter-item/filter-item-styled.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/filter-item/filter-item.js +0 -47
- package/dist/features/milestone/milestone-resources/resources-assign/comps/filter-item/filter-item.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/resource-item-styled.js +0 -22
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/resource-item-styled.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/resource-item.js +0 -60
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/resource-item.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/utils.js +0 -6
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/utils.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/constant.js +0 -6
- package/dist/features/milestone/milestone-resources/resources-assign/constant.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resource-assign-analytics-events.js +0 -19
- package/dist/features/milestone/milestone-resources/resources-assign/resource-assign-analytics-events.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/no-resource-screen.js +0 -32
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/no-resource-screen.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/resource-items-styled.js +0 -19
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/resource-items-styled.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/resource-items.js +0 -85
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/resource-items.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign-styled.js +0 -63
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign-styled.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +0 -232
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +0 -1
- package/dist/features/milestone/milestone-resources/resources-assign/utils.js +0 -12
- package/dist/features/milestone/milestone-resources/resources-assign/utils.js.map +0 -1
- package/dist/features/ui/inputs/searchable-input/searchable-input-styled.js +0 -28
- package/dist/features/ui/inputs/searchable-input/searchable-input-styled.js.map +0 -1
- package/dist/features/ui/inputs/searchable-input/searchable-input.js +0 -101
- package/dist/features/ui/inputs/searchable-input/searchable-input.js.map +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 {
|
76
|
+
id: string;
|
77
77
|
name: string;
|
78
78
|
cardLottie: string;
|
79
79
|
tutorial: string;
|
@@ -299,8 +299,6 @@ export declare enum EPostGameStat {
|
|
299
299
|
POINT = "point"
|
300
300
|
}
|
301
301
|
|
302
|
-
export declare const EPResourceAssign: FC<IEPResourceAssign>;
|
303
|
-
|
304
302
|
export declare const EraserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
305
303
|
|
306
304
|
declare const Error_2: React_2.FC<IErrorProps>;
|
@@ -330,7 +328,6 @@ export declare const EVENTS: {
|
|
330
328
|
MILESTONE_RESOURCE_UNASSIGNED: "MILESTONE_RESOURCE_UNASSIGNED";
|
331
329
|
MILESTONE_RESOURCE_RESET: "MILESTONE_RESOURCE_RESET";
|
332
330
|
PAST_MILESTONE_OUTCOME_ADDED: "PAST_MILESTONE_OUTCOME_ADDED";
|
333
|
-
MILESTONE_TEST_ASSIGNED: "MILESTONE_TEST_ASSIGNED";
|
334
331
|
CHAPTER_UPDATED: "CHAPTER_UPDATED";
|
335
332
|
LESSONS_MARKED_AS_FAMILIAR: "LESSONS_MARKED_AS_FAMILIAR";
|
336
333
|
LESSONS_MARKED_AS_IRRELEVANT: "LESSONS_MARKED_AS_IRRELEVANT";
|
@@ -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 {
|
396
393
|
isPlayed: boolean;
|
397
394
|
}
|
398
395
|
|
@@ -402,20 +399,6 @@ export declare const GAME_LAUNCHER_SIZE: number;
|
|
402
399
|
|
403
400
|
export declare const GameIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
404
401
|
|
405
|
-
export declare enum GameId {
|
406
|
-
CHESS_MOVES = "chess-moves",
|
407
|
-
NO_ATTACK = "no-attack",
|
408
|
-
TROMINOS = "trominos",
|
409
|
-
NIMS_GAME = "nims-game",
|
410
|
-
TRANSFORMATION = "transformation",
|
411
|
-
LIGHTS_ON_OR_OFF = "lights-on-or-off",
|
412
|
-
LIQUID_WARS = "liquid-wars",
|
413
|
-
HACKENBUSH = "hackenbush",
|
414
|
-
SQUARE_IT = "square-it",
|
415
|
-
CLASH_OF_COLOURS = "clash-of-colours",
|
416
|
-
REACH = "reach"
|
417
|
-
}
|
418
|
-
|
419
402
|
export declare const GameLauncher: FC<IGameLauncherProps>;
|
420
403
|
|
421
404
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
@@ -569,8 +552,8 @@ declare interface IBaseLeaderboardDetails {
|
|
569
552
|
currentTimestamp: number;
|
570
553
|
}
|
571
554
|
|
572
|
-
declare interface IBaseProject
|
573
|
-
id:
|
555
|
+
declare interface IBaseProject {
|
556
|
+
id: string;
|
574
557
|
name: string;
|
575
558
|
card: string;
|
576
559
|
variant: string;
|
@@ -591,13 +574,10 @@ declare interface IBaseSelectInputProps<IDType extends string | number> extends
|
|
591
574
|
theme?: 'light' | 'dark';
|
592
575
|
}
|
593
576
|
|
594
|
-
declare interface IBaseWebGameProps
|
595
|
-
projectId:
|
577
|
+
declare interface IBaseWebGameProps {
|
578
|
+
projectId: string;
|
596
579
|
variant: string;
|
597
580
|
projectType: ProjectType;
|
598
|
-
joinByRoomId?: string;
|
599
|
-
enableSync?: boolean;
|
600
|
-
enablePlayerTurnIndicators?: boolean;
|
601
581
|
enableCloseButton?: boolean;
|
602
582
|
}
|
603
583
|
|
@@ -1037,17 +1017,6 @@ declare interface IEditMilestoneModalProps extends IMilestoneEditProps {
|
|
1037
1017
|
courseStream: TCourseStream;
|
1038
1018
|
}
|
1039
1019
|
|
1040
|
-
declare interface IEPResourceAssign {
|
1041
|
-
studentId: string;
|
1042
|
-
stream: TCourseStream;
|
1043
|
-
programId?: string;
|
1044
|
-
userMilestoneId?: string;
|
1045
|
-
onError: (errorMessage: string) => void;
|
1046
|
-
onResourceAssign: (toastMessage: string) => void;
|
1047
|
-
onExitResourceAssign: () => void;
|
1048
|
-
onViewResource: (resource: IResourceItemData) => void;
|
1049
|
-
}
|
1050
|
-
|
1051
1020
|
declare interface IErrorProps {
|
1052
1021
|
onTryAgain?: () => void;
|
1053
1022
|
height?: string | number;
|
@@ -1089,12 +1058,12 @@ declare interface IFile {
|
|
1089
1058
|
url: string;
|
1090
1059
|
}
|
1091
1060
|
|
1092
|
-
declare interface IGame extends IBaseProject
|
1061
|
+
declare interface IGame extends IBaseProject {
|
1093
1062
|
played: boolean;
|
1094
1063
|
}
|
1095
1064
|
|
1096
1065
|
declare interface IGameLauncherProps {
|
1097
|
-
onSegmentClick: (projectDetail: Game | Puzzle | Lesson, projectType: ProjectType) => void;
|
1066
|
+
onSegmentClick: (projectDetail: Game | Puzzle | Lesson | ITableDetails, projectType: ProjectType) => void;
|
1098
1067
|
isLoading?: boolean;
|
1099
1068
|
data: IProjects | null;
|
1100
1069
|
defaultIndex?: number;
|
@@ -1492,9 +1461,9 @@ declare interface ILearnosityQuestionScore {
|
|
1492
1461
|
unscored?: boolean;
|
1493
1462
|
}
|
1494
1463
|
|
1495
|
-
declare interface ILesson extends IBaseProject
|
1464
|
+
declare interface ILesson extends IBaseProject {
|
1496
1465
|
session_id: string;
|
1497
|
-
mini_game_identifier:
|
1466
|
+
mini_game_identifier: string;
|
1498
1467
|
target_questions: number;
|
1499
1468
|
status: 'pending' | 'completed';
|
1500
1469
|
}
|
@@ -1532,8 +1501,8 @@ declare interface ILessonsListProps extends ILessonItemCallbackProps {
|
|
1532
1501
|
lessonItemColorHue: THueNames;
|
1533
1502
|
}
|
1534
1503
|
|
1535
|
-
export declare interface ILessonWebGameProps extends IBaseWebGameProps
|
1536
|
-
miniGameIdentifier:
|
1504
|
+
export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
1505
|
+
miniGameIdentifier: string;
|
1537
1506
|
sessionId: string;
|
1538
1507
|
targetQuestions: number;
|
1539
1508
|
}
|
@@ -1956,7 +1925,8 @@ declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps
|
|
1956
1925
|
canUpdatePlan?: boolean;
|
1957
1926
|
}
|
1958
1927
|
|
1959
|
-
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps
|
1928
|
+
export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
1929
|
+
enablePlayerTurnIndicators?: boolean;
|
1960
1930
|
}
|
1961
1931
|
|
1962
1932
|
declare interface IMultiTabBlockerContextValue {
|
@@ -2167,6 +2137,7 @@ export declare interface IProjects {
|
|
2167
2137
|
games: IProject<Game>;
|
2168
2138
|
puzzles: IProject<Puzzle>;
|
2169
2139
|
lessons?: IProject<Lesson>;
|
2140
|
+
tables?: ITables;
|
2170
2141
|
}
|
2171
2142
|
|
2172
2143
|
declare interface IProjects_2 {
|
@@ -2182,6 +2153,10 @@ declare interface IProjects_2 {
|
|
2182
2153
|
label: string;
|
2183
2154
|
data: ILesson[];
|
2184
2155
|
};
|
2156
|
+
tables?: {
|
2157
|
+
label: string;
|
2158
|
+
data: ITables_2;
|
2159
|
+
};
|
2185
2160
|
}
|
2186
2161
|
|
2187
2162
|
declare interface IPublishData {
|
@@ -2189,7 +2164,7 @@ declare interface IPublishData {
|
|
2189
2164
|
eventPayload: IActionData;
|
2190
2165
|
}
|
2191
2166
|
|
2192
|
-
declare interface IPuzzle extends IBaseProject
|
2167
|
+
declare interface IPuzzle extends IBaseProject {
|
2193
2168
|
question: string;
|
2194
2169
|
is_hint_seen: boolean;
|
2195
2170
|
solved: boolean;
|
@@ -2223,7 +2198,7 @@ declare interface IPuzzleCard_2 {
|
|
2223
2198
|
programId: string;
|
2224
2199
|
}
|
2225
2200
|
|
2226
|
-
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps
|
2201
|
+
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
2227
2202
|
question: string;
|
2228
2203
|
askHintPermission?: boolean;
|
2229
2204
|
}
|
@@ -2276,24 +2251,6 @@ declare interface IReferenceSheetProps {
|
|
2276
2251
|
};
|
2277
2252
|
}
|
2278
2253
|
|
2279
|
-
export declare interface IResourceItemData {
|
2280
|
-
boards: string[];
|
2281
|
-
created_on: string;
|
2282
|
-
created_on_ts: number;
|
2283
|
-
grades: string[];
|
2284
|
-
id: string;
|
2285
|
-
is_lesson_v3_enabled: boolean;
|
2286
|
-
is_live: boolean;
|
2287
|
-
learnosity_activity_ref: string;
|
2288
|
-
name: string;
|
2289
|
-
node_id: string;
|
2290
|
-
node_type: string;
|
2291
|
-
stream: TCourseStream;
|
2292
|
-
topics: string[];
|
2293
|
-
updated_on: string;
|
2294
|
-
updated_on_ts: number;
|
2295
|
-
}
|
2296
|
-
|
2297
2254
|
export declare interface IResponseAnalyticsProps extends Omit<IClickableAnalyticsProps, 'label'> {
|
2298
2255
|
}
|
2299
2256
|
|
@@ -2604,16 +2561,56 @@ export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mo
|
|
2604
2561
|
|
2605
2562
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2606
2563
|
|
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
|
+
|
2607
2606
|
declare interface ITabProps {
|
2608
2607
|
label: number | string;
|
2609
2608
|
$selected: boolean;
|
2610
|
-
$width?: number
|
2609
|
+
$width?: number;
|
2611
2610
|
$renderAs?: TTabVariants;
|
2612
2611
|
$size?: TTabSizes;
|
2613
2612
|
$disabled?: boolean;
|
2614
2613
|
onClick: () => void;
|
2615
|
-
shape?: 'curved' | 'square';
|
2616
|
-
minWidth?: number;
|
2617
2614
|
}
|
2618
2615
|
|
2619
2616
|
export declare interface ITabSizeConfig {
|
@@ -2992,8 +2989,8 @@ export declare interface IVibrationPattern {
|
|
2992
2989
|
|
2993
2990
|
export declare interface IWebViewProps extends IframeHTMLAttributes<HTMLIFrameElement> {
|
2994
2991
|
baseUrl: string;
|
2992
|
+
projectDetails: IMultiplayerWebGameProps | IPuzzleWebGameProps | ILessonWebGameProps | ITableWebGameProps;
|
2995
2993
|
parentDomain: string;
|
2996
|
-
projectDetails: IMultiplayerWebGameProps | IPuzzleWebGameProps | ILessonWebGameProps;
|
2997
2994
|
playerDetails: IPlayer;
|
2998
2995
|
onBack?: () => void;
|
2999
2996
|
onGameLoad?: () => void;
|
@@ -3289,9 +3286,9 @@ export declare const LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloa
|
|
3289
3286
|
|
3290
3287
|
export declare const LeftIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
3291
3288
|
|
3292
|
-
export declare interface Lesson extends BaseProject
|
3289
|
+
export declare interface Lesson extends BaseProject {
|
3293
3290
|
sessionId: string;
|
3294
|
-
miniGameIdentifier:
|
3291
|
+
miniGameIdentifier: string;
|
3295
3292
|
targetQuestions: number;
|
3296
3293
|
status: TSkillStatus;
|
3297
3294
|
}
|
@@ -3301,17 +3298,6 @@ declare const LESSON_TAG_TYPE: {
|
|
3301
3298
|
readonly DEFAULT: "DEFAULT";
|
3302
3299
|
};
|
3303
3300
|
|
3304
|
-
export declare enum LessonId {
|
3305
|
-
ANGLES = "angles",
|
3306
|
-
FRACTIONS = "fractions",
|
3307
|
-
TIME = "time",
|
3308
|
-
ADDITION_SUBTRACTION = "addition-subtraction",
|
3309
|
-
MULTIPLICATION_DIVISION = "multiplication-division",
|
3310
|
-
PERCENTAGES = "percentages",
|
3311
|
-
INTEGERS = "integers",
|
3312
|
-
RATIOS = "ratios"
|
3313
|
-
}
|
3314
|
-
|
3315
3301
|
export declare const loadScript: ILoadScript;
|
3316
3302
|
|
3317
3303
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -3321,6 +3307,7 @@ export declare const LockIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3321
3307
|
export declare const LOTTIE: {
|
3322
3308
|
ACCURACY_METER: string;
|
3323
3309
|
ACCURACY_NEEDLE: string;
|
3310
|
+
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
3324
3311
|
BEGINNER1X: string;
|
3325
3312
|
BRONZE_1: string;
|
3326
3313
|
BRONZE_2: string;
|
@@ -3344,6 +3331,8 @@ export declare const LOTTIE: {
|
|
3344
3331
|
GOLD_1: string;
|
3345
3332
|
GOLD_2: string;
|
3346
3333
|
GOLD_3: string;
|
3334
|
+
INFINITE_BUTTON_BG: string;
|
3335
|
+
INFINITE_BUTTON_SYMBOL: string;
|
3347
3336
|
LEVELUP_RINGS: string;
|
3348
3337
|
MEDIUM: string;
|
3349
3338
|
NUDGE_TAP: string;
|
@@ -3361,6 +3350,8 @@ export declare const LOTTIE: {
|
|
3361
3350
|
POINT5: string;
|
3362
3351
|
POINT60: string;
|
3363
3352
|
PROFICIENT1X: string;
|
3353
|
+
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
3354
|
+
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
3364
3355
|
SILVER_1: string;
|
3365
3356
|
SILVER_2: string;
|
3366
3357
|
SILVER_3: string;
|
@@ -3368,6 +3359,7 @@ export declare const LOTTIE: {
|
|
3368
3359
|
SPINNER_WHITE: string;
|
3369
3360
|
SPLASH_SCREEN: string;
|
3370
3361
|
STAY_CONNECTED_LOTTIE: string;
|
3362
|
+
TABLE_MODE_REVEAL: string;
|
3371
3363
|
TEACHER_VALIDATION: string;
|
3372
3364
|
TOTAL_STREAK: string;
|
3373
3365
|
TOTAL_TIME: string;
|
@@ -3396,23 +3388,6 @@ export declare const MilestoneOutcome: React_2.FC<IMilestoneOutcomeContainer>;
|
|
3396
3388
|
|
3397
3389
|
export declare const MilestoneStart: React_2.FC<IMilestoneStartProps>;
|
3398
3390
|
|
3399
|
-
export declare enum MiniGameId {
|
3400
|
-
SNAKE = "snake",
|
3401
|
-
BASKETBALL = "basketball",
|
3402
|
-
REARRANGE = "rearrange",
|
3403
|
-
CAR_RACE = "car-race",
|
3404
|
-
DROP_ME = "drop-me",
|
3405
|
-
WARZONE = "warzone",
|
3406
|
-
SLOT_MACHINE = "slot-machine",
|
3407
|
-
SLING_SHOT = "sling-shot",
|
3408
|
-
CLOCK = "clock",
|
3409
|
-
MINING = "mining",
|
3410
|
-
SHADING_AREA = "shading-area",
|
3411
|
-
MAGIC_HAT = "magic-hat",
|
3412
|
-
PUZZLE = "puzzle",
|
3413
|
-
BALANCE = "balance"
|
3414
|
-
}
|
3415
|
-
|
3416
3391
|
export declare const Minus2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3417
3392
|
|
3418
3393
|
export declare const MinusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -3616,36 +3591,6 @@ export declare const PreviewWorksheet: FC<IPreviewWorksheetProps>;
|
|
3616
3591
|
|
3617
3592
|
export declare const ProgressIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3618
3593
|
|
3619
|
-
export declare const ProjectId: {
|
3620
|
-
readonly ANGLES: LessonId.ANGLES;
|
3621
|
-
readonly FRACTIONS: LessonId.FRACTIONS;
|
3622
|
-
readonly TIME: LessonId.TIME;
|
3623
|
-
readonly ADDITION_SUBTRACTION: LessonId.ADDITION_SUBTRACTION;
|
3624
|
-
readonly MULTIPLICATION_DIVISION: LessonId.MULTIPLICATION_DIVISION;
|
3625
|
-
readonly PERCENTAGES: LessonId.PERCENTAGES;
|
3626
|
-
readonly INTEGERS: LessonId.INTEGERS;
|
3627
|
-
readonly RATIOS: LessonId.RATIOS;
|
3628
|
-
readonly CUT_THE_STRIP: PuzzleId.CUT_THE_STRIP;
|
3629
|
-
readonly ONE_LINE_WONDER: PuzzleId.ONE_LINE_WONDER;
|
3630
|
-
readonly FLIP_IT_UP: PuzzleId.FLIP_IT_UP;
|
3631
|
-
readonly CARS_IN_CHAOS: PuzzleId.CARS_IN_CHAOS;
|
3632
|
-
readonly REFLEKT: PuzzleId.REFLEKT;
|
3633
|
-
readonly MATCHSTICKS: PuzzleId.MATCHSTICKS;
|
3634
|
-
readonly NO_CROSS: PuzzleId.NO_CROSS;
|
3635
|
-
readonly DISSECTION: PuzzleId.DISSECTION;
|
3636
|
-
readonly CHESS_MOVES: GameId.CHESS_MOVES;
|
3637
|
-
readonly NO_ATTACK: GameId.NO_ATTACK;
|
3638
|
-
readonly TROMINOS: GameId.TROMINOS;
|
3639
|
-
readonly NIMS_GAME: GameId.NIMS_GAME;
|
3640
|
-
readonly TRANSFORMATION: GameId.TRANSFORMATION;
|
3641
|
-
readonly LIGHTS_ON_OR_OFF: GameId.LIGHTS_ON_OR_OFF;
|
3642
|
-
readonly LIQUID_WARS: GameId.LIQUID_WARS;
|
3643
|
-
readonly HACKENBUSH: GameId.HACKENBUSH;
|
3644
|
-
readonly SQUARE_IT: GameId.SQUARE_IT;
|
3645
|
-
readonly CLASH_OF_COLOURS: GameId.CLASH_OF_COLOURS;
|
3646
|
-
readonly REACH: GameId.REACH;
|
3647
|
-
};
|
3648
|
-
|
3649
3594
|
export declare enum ProjectOutcome {
|
3650
3595
|
WIN = "win",
|
3651
3596
|
LOSE = "lose",
|
@@ -3660,10 +3605,11 @@ export declare enum ProjectOutcome {
|
|
3660
3605
|
export declare enum ProjectType {
|
3661
3606
|
GAME = "game",
|
3662
3607
|
PUZZLE = "puzzle",
|
3663
|
-
LESSON = "lesson"
|
3608
|
+
LESSON = "lesson",
|
3609
|
+
TABLE = "table"
|
3664
3610
|
}
|
3665
3611
|
|
3666
|
-
export declare interface Puzzle extends BaseProject
|
3612
|
+
export declare interface Puzzle extends BaseProject {
|
3667
3613
|
question: string;
|
3668
3614
|
isHintSeen: boolean;
|
3669
3615
|
solved: boolean;
|
@@ -3684,17 +3630,6 @@ declare const PUZZLE_CARD_STATE: {
|
|
3684
3630
|
|
3685
3631
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
3686
3632
|
|
3687
|
-
export declare enum PuzzleId {
|
3688
|
-
CUT_THE_STRIP = "cut-the-strip",
|
3689
|
-
ONE_LINE_WONDER = "one-line-wonder",
|
3690
|
-
FLIP_IT_UP = "flip-it-up",
|
3691
|
-
CARS_IN_CHAOS = "cars-in-chaos",
|
3692
|
-
REFLEKT = "reflekt",
|
3693
|
-
MATCHSTICKS = "matchsticks",
|
3694
|
-
NO_CROSS = "no-cross",
|
3695
|
-
DISSECTION = "dissection"
|
3696
|
-
}
|
3697
|
-
|
3698
3633
|
export declare const PYTHON_NODE_TYPES: {
|
3699
3634
|
readonly PPT_BASIC: "PPT_BASIC";
|
3700
3635
|
readonly PPT_CONTENT: "PPT_CONTENT";
|
@@ -3784,8 +3719,6 @@ export declare const SHEET_STATE: Record<TSheetStateProps, TSheetStateProps>;
|
|
3784
3719
|
|
3785
3720
|
export declare const SheetError: NamedExoticComponent<ErrorProps>;
|
3786
3721
|
|
3787
|
-
export declare const SheetIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3788
|
-
|
3789
3722
|
export declare const SheetList: FC<ISheetsListProps>;
|
3790
3723
|
|
3791
3724
|
export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
@@ -4265,11 +4198,6 @@ export declare type TInclassMessage = {
|
|
4265
4198
|
eventPayload: {
|
4266
4199
|
milestoneId: string;
|
4267
4200
|
};
|
4268
|
-
} | {
|
4269
|
-
eventName: typeof EVENTS.MILESTONE_TEST_ASSIGNED;
|
4270
|
-
eventPayload: {
|
4271
|
-
milestoneId: string;
|
4272
|
-
};
|
4273
4201
|
} | {
|
4274
4202
|
eventName: typeof EVENTS.MILESTONE_RESOURCE_RESET;
|
4275
4203
|
eventPayload: {
|
@@ -4568,8 +4496,6 @@ declare type TPreference = {
|
|
4568
4496
|
|
4569
4497
|
declare type TPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
|
4570
4498
|
|
4571
|
-
export declare type TProject = GameId | PuzzleId | LessonId;
|
4572
|
-
|
4573
4499
|
declare type TPublish = (data: IPublishData) => boolean | undefined;
|
4574
4500
|
|
4575
4501
|
declare type TPublishMouseMove = (points: IPointerData) => void;
|
@@ -4752,6 +4678,8 @@ declare type TSubscribe = (id: string, cb: (data: IActionData | IActionData[]) =
|
|
4752
4678
|
|
4753
4679
|
declare type TSubscribeMouseMove = (id: string, callback: (data: IPointerData) => void) => void;
|
4754
4680
|
|
4681
|
+
export declare type TTableMode = 'random' | 'sequence' | 'advance' | 'infinite';
|
4682
|
+
|
4755
4683
|
export declare type TTabSizes = 'xsmall' | 'small' | 'regular' | 'medium';
|
4756
4684
|
|
4757
4685
|
export declare type TTabVariants = 'primary';
|