@cuemath/leap 3.2.23-as1 → 3.2.23-j1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +0 -6
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/images/images.js +0 -10
- package/dist/assets/images/images.js.map +1 -1
- package/dist/assets/lottie/lottie.js +2 -7
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +2 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +8 -8
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +82 -60
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +3 -5
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/base-select-input.js +67 -77
- package/dist/features/ui/inputs/base-select-input/base-select-input.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +27 -24
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/index.d.ts +4 -245
- package/dist/index.js +603 -619
- package/dist/index.js.map +1 -1
- package/dist/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/static/animated-avatar.95f31960.json +1 -0
- package/dist/static/animated-avatar.c3a0fa98.json +1 -0
- package/package.json +1 -2
- package/dist/assets/line-icons/icons/cue-coin.js +0 -182
- package/dist/assets/line-icons/icons/cue-coin.js.map +0 -1
- package/dist/assets/line-icons/icons/wins-common-icon.js +0 -26
- package/dist/assets/line-icons/icons/wins-common-icon.js.map +0 -1
- package/dist/assets/line-icons/icons/wins-epic-icon.js +0 -25
- package/dist/assets/line-icons/icons/wins-epic-icon.js.map +0 -1
- package/dist/assets/line-icons/icons/wins-legendary-icon.js +0 -25
- package/dist/assets/line-icons/icons/wins-legendary-icon.js.map +0 -1
- package/dist/assets/line-icons/icons/wins-mystery-icon.js +0 -105
- package/dist/assets/line-icons/icons/wins-mystery-icon.js.map +0 -1
- package/dist/assets/line-icons/icons/wins-mythic-icon.js +0 -28
- package/dist/assets/line-icons/icons/wins-mythic-icon.js.map +0 -1
- package/dist/assets/line-icons/icons/wins-rare-icon.js +0 -28
- package/dist/assets/line-icons/icons/wins-rare-icon.js.map +0 -1
- package/dist/features/notification/notification.js +0 -129
- package/dist/features/notification/notification.js.map +0 -1
- package/dist/features/ui/carousal/carousal-styles.js +0 -45
- package/dist/features/ui/carousal/carousal-styles.js.map +0 -1
- package/dist/features/ui/carousal/carousal.js +0 -76
- package/dist/features/ui/carousal/carousal.js.map +0 -1
- package/dist/features/ui/dot-lottie-animations/dot-lottie-animation-styled.js +0 -9
- package/dist/features/ui/dot-lottie-animations/dot-lottie-animation-styled.js.map +0 -1
- package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js +0 -80
- package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js.map +0 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js +0 -108
- package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js.map +0 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/belts.js +0 -94
- package/dist/features/wins-dashboard/belts-elements-stickers/belts.js.map +0 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/elements.js +0 -182
- package/dist/features/wins-dashboard/belts-elements-stickers/elements.js.map +0 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js +0 -35
- package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js.map +0 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js +0 -82
- package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js.map +0 -1
- package/dist/features/wins-dashboard/constants.js +0 -161
- package/dist/features/wins-dashboard/constants.js.map +0 -1
- package/dist/features/wins-dashboard/header/wins-header.js +0 -95
- package/dist/features/wins-dashboard/header/wins-header.js.map +0 -1
- package/dist/features/wins-dashboard/student-badges/animated-tabbar.js +0 -65
- package/dist/features/wins-dashboard/student-badges/animated-tabbar.js.map +0 -1
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-hook.js +0 -107
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-hook.js.map +0 -1
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js +0 -135
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js.map +0 -1
- package/dist/features/wins-dashboard/student-badges/student-badge.js +0 -161
- package/dist/features/wins-dashboard/student-badges/student-badge.js.map +0 -1
- package/dist/features/wins-dashboard/student-badges/student-badges-lists.js +0 -136
- package/dist/features/wins-dashboard/student-badges/student-badges-lists.js.map +0 -1
- package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +0 -1881
- package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js.map +0 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
- package/dist/static/awesome.4239f583.json +0 -1
- package/dist/static/black-belt.81b3ebf9.png +0 -0
- package/dist/static/blue-belt.508a1b4b.png +0 -0
- package/dist/static/brown-belt.09bb7e93.png +0 -0
- package/dist/static/clapping-hands.17e7ecf0.json +0 -1
- package/dist/static/common.9e8ceef1.svg +0 -1
- package/dist/static/cool.cd6921bb.json +0 -1
- package/dist/static/epic.37a0265a.svg +0 -1
- package/dist/static/green-belt.5501296f.png +0 -0
- package/dist/static/legendary.f15d09ca.svg +0 -1
- package/dist/static/like-button.281a2618.json +0 -1
- package/dist/static/mastered-badge.91d25e92.png +0 -0
- package/dist/static/mystery.81ada5fb.svg +0 -1
- package/dist/static/mythic.58ba0ae0.svg +0 -1
- package/dist/static/orange-belt.1fefcc8c.png +0 -0
- package/dist/static/purple-belt.e15611b4.png +0 -0
- package/dist/static/rare.1ffaa311.svg +0 -1
- package/dist/static/red-belt.11f841d9.png +0 -0
- package/dist/static/star-strike-emoji.c0b31028.json +0 -1
- package/dist/static/trophy.5ef1853a.json +0 -1
- package/dist/static/white-belt.ea93103e.png +0 -0
- package/dist/static/yellow-belt.0c47b8cc.png +0 -0
- /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
package/dist/index.d.ts
CHANGED
@@ -2,13 +2,10 @@ import type { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import type { Channel } from '@cuemath/cue-message-broker';
|
3
3
|
import { ChannelStatus } from '@cuemath/cue-message-broker';
|
4
4
|
import { ComponentType } from 'react';
|
5
|
-
import type { Config } from '@lottiefiles/dotlottie-web';
|
6
5
|
import { Context } from 'react';
|
7
6
|
import type { DefaultTheme } from 'styled-components';
|
8
7
|
import { DetailedHTMLProps } from 'react';
|
9
8
|
import type { Dispatch } from 'react';
|
10
|
-
import type { EventListener as EventListener_2 } from '@lottiefiles/dotlottie-web';
|
11
|
-
import type { EventType } from '@lottiefiles/dotlottie-web';
|
12
9
|
import { FC } from 'react';
|
13
10
|
import type { FormEvent } from 'react';
|
14
11
|
import { ForwardRefExoticComponent } from 'react';
|
@@ -77,8 +74,6 @@ export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
|
77
74
|
|
78
75
|
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
79
76
|
|
80
|
-
declare type AnimationSegment = [number, number];
|
81
|
-
|
82
77
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
83
78
|
|
84
79
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
@@ -119,29 +114,6 @@ export declare const BackgroundImage: ({ img }: {
|
|
119
114
|
|
120
115
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
121
116
|
|
122
|
-
declare interface Badge {
|
123
|
-
category: keyof typeof STUDENT_BADGE_TYPE;
|
124
|
-
acknowledged_on: number | null;
|
125
|
-
animation_url: string;
|
126
|
-
assigned_on: number | null;
|
127
|
-
audio_url: string | null;
|
128
|
-
badge_id: string;
|
129
|
-
code: string;
|
130
|
-
current_count: number;
|
131
|
-
description: string;
|
132
|
-
id: string;
|
133
|
-
image_url: string;
|
134
|
-
is_global: boolean;
|
135
|
-
is_live: boolean;
|
136
|
-
is_recent: boolean;
|
137
|
-
name: string;
|
138
|
-
position: number;
|
139
|
-
program_id: null;
|
140
|
-
state: string;
|
141
|
-
total_count: number;
|
142
|
-
user_id: string;
|
143
|
-
}
|
144
|
-
|
145
117
|
export declare const BaseInput: React_2.FC<IBaseInputProps>;
|
146
118
|
|
147
119
|
declare interface BaseProject {
|
@@ -152,16 +124,6 @@ declare interface BaseProject {
|
|
152
124
|
variant: string;
|
153
125
|
}
|
154
126
|
|
155
|
-
export declare const BeltsElementsStickers: React_2.FC<BeltsElementsStickersProps>;
|
156
|
-
|
157
|
-
declare interface BeltsElementsStickersProps {
|
158
|
-
curriculumHomeData?: CurriculumHomeData;
|
159
|
-
rewardHomeData?: RewardHomeData;
|
160
|
-
programStream?: string;
|
161
|
-
currentScreenWidth: number;
|
162
|
-
renderOnTeacher?: boolean;
|
163
|
-
}
|
164
|
-
|
165
127
|
export declare const Bin2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
166
128
|
|
167
129
|
export declare const BinIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -225,36 +187,6 @@ export declare const CalendarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
225
187
|
|
226
188
|
export declare const Callout: React.FC<ICalloutProps>;
|
227
189
|
|
228
|
-
export declare const Carousel: React_2.FC<CarouselProps>;
|
229
|
-
|
230
|
-
declare interface CarouselProps {
|
231
|
-
children: React_2.ReactNode[] | React_2.ReactNode;
|
232
|
-
initialPosition?: number;
|
233
|
-
infinite?: boolean;
|
234
|
-
slideDuration?: number;
|
235
|
-
dotColor?: string;
|
236
|
-
changeColor?: (position: number) => void;
|
237
|
-
slideAlign?: string | null;
|
238
|
-
inactiveDotColor?: string;
|
239
|
-
activeIndicatorSize?: string;
|
240
|
-
flexCenterIndicators?: boolean;
|
241
|
-
isTestimonial?: boolean;
|
242
|
-
setColor?: (position: number) => void;
|
243
|
-
setPosition?: (position: number) => void;
|
244
|
-
carouselSlotPadding?: string;
|
245
|
-
wrapperMargin?: string;
|
246
|
-
hideIndicators?: boolean;
|
247
|
-
autoScroll?: boolean;
|
248
|
-
nodeRef?: {
|
249
|
-
current?: {
|
250
|
-
next?: () => void;
|
251
|
-
prev?: () => void;
|
252
|
-
position?: number;
|
253
|
-
};
|
254
|
-
} | null;
|
255
|
-
onChange?: () => void;
|
256
|
-
}
|
257
|
-
|
258
190
|
export declare const CascadingSelectInput: React_2.FC<ICascadingSelectInputProps>;
|
259
191
|
|
260
192
|
export declare const Chapter: FC<IChapterProps>;
|
@@ -417,33 +349,10 @@ export declare const CueCanvasProvider: FC<PropsWithChildren<{
|
|
417
349
|
|
418
350
|
export declare const CueCanvasSideBar: NamedExoticComponent<ISidebar>;
|
419
351
|
|
420
|
-
export declare const CueCoinIcon: React_2.FC<CueCoinIconProps>;
|
421
|
-
|
422
|
-
declare interface CueCoinIconProps extends React_2.SVGProps<SVGSVGElement> {
|
423
|
-
variant?: 'gold' | 'silver';
|
424
|
-
}
|
425
|
-
|
426
352
|
export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
427
353
|
|
428
354
|
export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
|
429
355
|
|
430
|
-
declare interface CurriculumHomeData {
|
431
|
-
data?: {
|
432
|
-
curriculum_map?: CurriculumMap;
|
433
|
-
};
|
434
|
-
}
|
435
|
-
|
436
|
-
declare interface CurriculumMap {
|
437
|
-
belts?: {
|
438
|
-
current_belt_type?: string;
|
439
|
-
goals_required?: number;
|
440
|
-
};
|
441
|
-
goals?: {
|
442
|
-
completed_goals: number;
|
443
|
-
total_goals: number;
|
444
|
-
};
|
445
|
-
}
|
446
|
-
|
447
356
|
export declare const CustomInputField: NamedExoticComponent<ICustomInputFieldProps>;
|
448
357
|
|
449
358
|
export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -454,8 +363,6 @@ export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
|
454
363
|
|
455
364
|
export declare const DigitalMeter: FC<IDigitalMeterProps>;
|
456
365
|
|
457
|
-
export declare const DotLottieAnimation: NamedExoticComponent<ILottieAnimationProps & RefAttributes<ILottieAnimationRef>>;
|
458
|
-
|
459
366
|
export declare const DownIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
460
367
|
|
461
368
|
export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -790,15 +697,17 @@ declare interface IAnimatedAvatarMessageProps {
|
|
790
697
|
message: string;
|
791
698
|
onShowContent: (show: boolean) => void;
|
792
699
|
confirmationFrames: [number, number];
|
700
|
+
completionFrames?: [number, number];
|
793
701
|
confirmationMessage?: string;
|
794
702
|
isConfirmationVisible?: boolean;
|
795
703
|
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
796
704
|
height?: string | number;
|
705
|
+
idleFrames?: [number, number];
|
797
706
|
}
|
798
707
|
|
799
708
|
export declare type IAnimatedAvatarMessageRef = {
|
800
|
-
|
801
|
-
playConfirmationFrames: () => Promise<void>;
|
709
|
+
fadeOutMessageAndPlayCompletion: (shouldPlayAnimation?: boolean) => Promise<void>;
|
710
|
+
playConfirmationFrames: (shouldPlayAnimation?: boolean) => Promise<void>;
|
802
711
|
};
|
803
712
|
|
804
713
|
declare interface IAppLoaderProps {
|
@@ -931,7 +840,6 @@ declare interface IBaseSelectInputProps<IDType extends string | number> extends
|
|
931
840
|
controlled?: boolean;
|
932
841
|
size?: TInputSizes;
|
933
842
|
theme?: 'light' | 'dark';
|
934
|
-
inputLabelOverrides?: (section: ISectionOption<ISelectOption<IDType>>, option: ISelectOption<IDType> | undefined) => string;
|
935
843
|
}
|
936
844
|
|
937
845
|
declare interface IBaseWebGameProps {
|
@@ -2193,7 +2101,6 @@ export declare const ILLUSTRATIONS: {
|
|
2193
2101
|
CIRCLE_CUEMATH_LOGO_WHITE: string;
|
2194
2102
|
CIRCLE_OUTERCIRCLE_BG: string;
|
2195
2103
|
CLOCK_ORANGE: string;
|
2196
|
-
COMMON: string;
|
2197
2104
|
COMMUNITY_BULB: string;
|
2198
2105
|
CROSSHAIR_CIRCLE: string;
|
2199
2106
|
CROWN: string;
|
@@ -2207,7 +2114,6 @@ export declare const ILLUSTRATIONS: {
|
|
2207
2114
|
DURATION_90MIN_GRAY: string;
|
2208
2115
|
EARTH_GREEN: string;
|
2209
2116
|
ELLIPSE_CLIP: string;
|
2210
|
-
EPIC: string;
|
2211
2117
|
FEMALE_AVATAR: string;
|
2212
2118
|
GAME_PLAY: string;
|
2213
2119
|
GLOBE_WITH_BLUE_FILL: string;
|
@@ -2221,7 +2127,6 @@ export declare const ILLUSTRATIONS: {
|
|
2221
2127
|
LEARNED_SHIELD_GRAY: string;
|
2222
2128
|
LEARNED_SHIELD_GREEN: string;
|
2223
2129
|
LEARNT: string;
|
2224
|
-
LEGENDARY: string;
|
2225
2130
|
LIKE: string;
|
2226
2131
|
LIVE_SESSION: string;
|
2227
2132
|
LOADER: string;
|
@@ -2238,8 +2143,6 @@ export declare const ILLUSTRATIONS: {
|
|
2238
2143
|
MILESTONE_INTRO_3: string;
|
2239
2144
|
MISTAKE: string;
|
2240
2145
|
MONEY: string;
|
2241
|
-
MYSTERY: string;
|
2242
|
-
MYTHIC: string;
|
2243
2146
|
NODE_ACTIVITY_BG: string;
|
2244
2147
|
NODE_CUSTOM_TEST_BG: string;
|
2245
2148
|
NODE_DOWNLOAD_BG: string;
|
@@ -2273,7 +2176,6 @@ export declare const ILLUSTRATIONS: {
|
|
2273
2176
|
PUZZLE_PATTERN_PURPLE: string;
|
2274
2177
|
PUZZLE_PATTERN_YELLOW: string;
|
2275
2178
|
PUZZLE_STUDENT: string;
|
2276
|
-
RARE: string;
|
2277
2179
|
REFUND_POLICY: string;
|
2278
2180
|
REFUND_POLICY_WITH_HEADPHONE: string;
|
2279
2181
|
REPORT_404: string;
|
@@ -2316,23 +2218,6 @@ declare interface ILogger {
|
|
2316
2218
|
(eventName: string, data?: Record<string, unknown>): void;
|
2317
2219
|
}
|
2318
2220
|
|
2319
|
-
declare interface ILottieAnimationProps {
|
2320
|
-
src: string;
|
2321
|
-
width?: string | number;
|
2322
|
-
height?: string | number;
|
2323
|
-
settings?: Partial<LottieSettings>;
|
2324
|
-
eventListeners?: {
|
2325
|
-
name: EventType;
|
2326
|
-
callback: EventListener_2<EventType>;
|
2327
|
-
}[];
|
2328
|
-
onRender?: () => void;
|
2329
|
-
onError?: () => void;
|
2330
|
-
}
|
2331
|
-
|
2332
|
-
declare interface ILottieAnimationRef {
|
2333
|
-
playSegments: (segments: AnimationSegment, forceFlag?: boolean) => void;
|
2334
|
-
}
|
2335
|
-
|
2336
2221
|
declare interface ILPARChapterProps extends ILPARSheetCallbacks {
|
2337
2222
|
userType: TUserTypes;
|
2338
2223
|
chapterData: TLPARChapterData;
|
@@ -2382,9 +2267,6 @@ export declare const IMAGES: {
|
|
2382
2267
|
AWESOME: string;
|
2383
2268
|
BADGE_SUCCESS: string;
|
2384
2269
|
BG_EMPTY_RESOURCES: string;
|
2385
|
-
BLACK_BELT: string;
|
2386
|
-
BLUE_BELT: string;
|
2387
|
-
BROWN_BELT: string;
|
2388
2270
|
CHATVA: string;
|
2389
2271
|
CONGRATS: string;
|
2390
2272
|
COOL: string;
|
@@ -2395,27 +2277,20 @@ export declare const IMAGES: {
|
|
2395
2277
|
EKA: string;
|
2396
2278
|
EMPTY_MIX_TESTS: string;
|
2397
2279
|
GREAT: string;
|
2398
|
-
GREEN_BELT: string;
|
2399
2280
|
HEXO: string;
|
2400
2281
|
KUDOS: string;
|
2401
2282
|
LEARNING_PLAN: string;
|
2402
2283
|
LESSON_OVERVIEW_BANNER: string;
|
2403
|
-
MASTERED_BADGE: string;
|
2404
2284
|
NO_INFO: string;
|
2405
2285
|
OCTO: string;
|
2406
|
-
ORANGE_BELT: string;
|
2407
|
-
PURPLE_BELT: string;
|
2408
2286
|
PUZZLE_CARD_EASY: string;
|
2409
2287
|
PUZZLE_CARD_HARD: string;
|
2410
2288
|
PUZZLE_CARD_MEDIUM: string;
|
2411
|
-
RED_BELT: string;
|
2412
2289
|
SHARED: string;
|
2413
2290
|
SHEET_REFERENCE: string;
|
2414
2291
|
SPIRAL_PATTERN: string;
|
2415
2292
|
TETRA: string;
|
2416
|
-
WHITE_BELT: string;
|
2417
2293
|
WOW: string;
|
2418
|
-
YELLOW_BELT: string;
|
2419
2294
|
ZODASA: string;
|
2420
2295
|
};
|
2421
2296
|
|
@@ -3038,29 +2913,6 @@ declare interface IPreviewWorksheetProps {
|
|
3038
2913
|
onUnassign?: () => void;
|
3039
2914
|
}
|
3040
2915
|
|
3041
|
-
declare interface IProgramOption {
|
3042
|
-
badges_enabled: boolean;
|
3043
|
-
board: string;
|
3044
|
-
board_id: string;
|
3045
|
-
code: string;
|
3046
|
-
cue_program_type: string;
|
3047
|
-
description: string;
|
3048
|
-
grade: string;
|
3049
|
-
grades: string[];
|
3050
|
-
id: string;
|
3051
|
-
is_active: boolean;
|
3052
|
-
is_current: boolean;
|
3053
|
-
is_current_stream_program: boolean;
|
3054
|
-
is_demo: boolean;
|
3055
|
-
is_live: boolean;
|
3056
|
-
name: string;
|
3057
|
-
program_type: string;
|
3058
|
-
rewards_enabled: boolean;
|
3059
|
-
stream: string;
|
3060
|
-
sub_stream: string | null;
|
3061
|
-
[key: string]: unknown;
|
3062
|
-
}
|
3063
|
-
|
3064
2916
|
export declare interface IProject<T> {
|
3065
2917
|
type: ProjectType;
|
3066
2918
|
data: T[];
|
@@ -4192,11 +4044,6 @@ export declare interface IWebViewProps extends IframeHTMLAttributes<HTMLIFrameEl
|
|
4192
4044
|
handleInfoMessage?: (infoMessage: IInfoMessage) => void;
|
4193
4045
|
}
|
4194
4046
|
|
4195
|
-
declare interface IWinsCommonIcon {
|
4196
|
-
selected?: boolean;
|
4197
|
-
className?: string;
|
4198
|
-
}
|
4199
|
-
|
4200
4047
|
declare interface IWinsPreviewProps {
|
4201
4048
|
onWinsClick: () => void;
|
4202
4049
|
rewardsHome: TRewardHomeData;
|
@@ -4547,7 +4394,6 @@ export declare const LOTTIE: {
|
|
4547
4394
|
ALL_DONE: string;
|
4548
4395
|
ANIMATED_AVATAR: string;
|
4549
4396
|
AVATAR_SELECTED: string;
|
4550
|
-
AWESOME: string;
|
4551
4397
|
BEGINNER1X: string;
|
4552
4398
|
BRONZE_1: string;
|
4553
4399
|
BRONZE_2: string;
|
@@ -4556,7 +4402,6 @@ export declare const LOTTIE: {
|
|
4556
4402
|
CHAPTER_COMPLETED: string;
|
4557
4403
|
CIRCULAR_LOADER: string;
|
4558
4404
|
CLAP: string;
|
4559
|
-
CLAPPING_HANDS: string;
|
4560
4405
|
CLOCK_30MIN: string;
|
4561
4406
|
CLOCK_45MIN: string;
|
4562
4407
|
CLOCK_60MIN: string;
|
@@ -4565,7 +4410,6 @@ export declare const LOTTIE: {
|
|
4565
4410
|
COLOR_2: string;
|
4566
4411
|
COLOR_3: string;
|
4567
4412
|
COMPETITIVE_ARENA: string;
|
4568
|
-
COOL: string;
|
4569
4413
|
DART: string;
|
4570
4414
|
DIAMOND: string;
|
4571
4415
|
DICE: string;
|
@@ -4599,7 +4443,6 @@ export declare const LOTTIE: {
|
|
4599
4443
|
LEVEL_1_ALLSTAR: string;
|
4600
4444
|
LIGHTNING: string;
|
4601
4445
|
LIGHT_BULB: string;
|
4602
|
-
LIKE_BUTTON: string;
|
4603
4446
|
MAGICWAND: string;
|
4604
4447
|
MAIL: string;
|
4605
4448
|
MECHANICAL_ARM: string;
|
@@ -4648,7 +4491,6 @@ export declare const LOTTIE: {
|
|
4648
4491
|
SPINNER_WHITE: string;
|
4649
4492
|
SPLASH_SCREEN: string;
|
4650
4493
|
STAR: string;
|
4651
|
-
STAR_STRIKE_EMOJI: string;
|
4652
4494
|
STUDENT_AVATAR: string;
|
4653
4495
|
SUBJECTIVE: string;
|
4654
4496
|
SUPER: string;
|
@@ -4668,8 +4510,6 @@ export declare const LOTTIE: {
|
|
4668
4510
|
VIDEO: string;
|
4669
4511
|
};
|
4670
4512
|
|
4671
|
-
declare type LottieSettings = Omit<Config, 'src' | 'canvas'>;
|
4672
|
-
|
4673
4513
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
4674
4514
|
|
4675
4515
|
export declare const LPARMilestoneChapter: FC<ILPARMilestoneChapter>;
|
@@ -4840,28 +4680,6 @@ export declare enum NODE_TYPES {
|
|
4840
4680
|
'PUZZLE_CARD' = "PUZZLE_CARD"
|
4841
4681
|
}
|
4842
4682
|
|
4843
|
-
declare const Notification_2: React.FC<NotificationProps>;
|
4844
|
-
export { Notification_2 as Notification }
|
4845
|
-
|
4846
|
-
declare interface NotificationProps {
|
4847
|
-
avatarUrl?: string | null;
|
4848
|
-
Component?: React.ComponentType<Record<string, unknown>> | null;
|
4849
|
-
componentProps?: Record<string, unknown>;
|
4850
|
-
duration?: number | null;
|
4851
|
-
gap?: number;
|
4852
|
-
gutter?: number;
|
4853
|
-
hideNotification?: () => void;
|
4854
|
-
horizontalDist?: number;
|
4855
|
-
notificationTheme?: NotificationTheme;
|
4856
|
-
position?: Position;
|
4857
|
-
showCloseIcon?: boolean;
|
4858
|
-
text?: string | null;
|
4859
|
-
verticalDist?: number;
|
4860
|
-
visible?: boolean;
|
4861
|
-
}
|
4862
|
-
|
4863
|
-
declare type NotificationTheme = 'white' | 'black';
|
4864
|
-
|
4865
4683
|
export declare const Nudge: React_2.NamedExoticComponent<INudgeProps>;
|
4866
4684
|
|
4867
4685
|
export declare const NumRangeInput: React.FC<NumRangeInputProps>;
|
@@ -4946,8 +4764,6 @@ export declare const PlusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4946
4764
|
|
4947
4765
|
export declare const PointerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4948
4766
|
|
4949
|
-
declare type Position = 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
|
4950
|
-
|
4951
4767
|
export declare const PostGameStats: NamedExoticComponent<IPostGameStatsProps & RefAttributes<IPostGameStatsRef>>;
|
4952
4768
|
|
4953
4769
|
export declare const PracticeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -5051,20 +4867,6 @@ export declare const ResendOTP: NamedExoticComponent<IOTPResendProps>;
|
|
5051
4867
|
|
5052
4868
|
export declare const ResetPasswordForm: MemoExoticComponent<({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) => JSX.Element>;
|
5053
4869
|
|
5054
|
-
declare interface RewardElement {
|
5055
|
-
aggregate_for?: {
|
5056
|
-
name?: string;
|
5057
|
-
};
|
5058
|
-
aggregates?: number;
|
5059
|
-
}
|
5060
|
-
|
5061
|
-
declare interface RewardHomeData {
|
5062
|
-
data?: {
|
5063
|
-
user_rewards?: RewardElement[];
|
5064
|
-
user_stickers?: StickerElement[];
|
5065
|
-
};
|
5066
|
-
}
|
5067
|
-
|
5068
4870
|
export declare const REWARDS_LIST: string[];
|
5069
4871
|
|
5070
4872
|
export declare const RightIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -5224,11 +5026,6 @@ declare const STICKER_BADGE: {
|
|
5224
5026
|
|
5225
5027
|
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
5226
5028
|
|
5227
|
-
declare interface StickerElement {
|
5228
|
-
badge_id?: string;
|
5229
|
-
name?: string;
|
5230
|
-
}
|
5231
|
-
|
5232
5029
|
export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5233
5030
|
|
5234
5031
|
export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -5259,27 +5056,6 @@ export declare class StreakReductionLocalStorageUtil {
|
|
5259
5056
|
|
5260
5057
|
export declare const StrikedEyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5261
5058
|
|
5262
|
-
declare const STUDENT_BADGE_TYPE: {
|
5263
|
-
COMMON: string;
|
5264
|
-
RARE: string;
|
5265
|
-
EPIC: string;
|
5266
|
-
LEGENDARY: string;
|
5267
|
-
MYTHIC: string;
|
5268
|
-
MYSTERY: string;
|
5269
|
-
};
|
5270
|
-
|
5271
|
-
export declare const StudentBadgeList: ({ invalidateRewardsHome, openModal, topOffset, userBadges, currentScreenWidth, handleScrollTo, scrollPosition, }: StudentBadgeListProps) => JSX.Element;
|
5272
|
-
|
5273
|
-
declare interface StudentBadgeListProps {
|
5274
|
-
invalidateRewardsHome: () => void;
|
5275
|
-
openModal: (modal: string, props?: unknown) => void;
|
5276
|
-
topOffset?: number;
|
5277
|
-
userBadges: Record<string, Badge[]>;
|
5278
|
-
currentScreenWidth: number;
|
5279
|
-
handleScrollTo: (position: number) => void;
|
5280
|
-
scrollPosition: number;
|
5281
|
-
}
|
5282
|
-
|
5283
5059
|
export declare const StudentDetails: FC<IStudentDetailsProps>;
|
5284
5060
|
|
5285
5061
|
export declare const SubmitMilestoneModal: React.FC<ISubmitModalProps>;
|
@@ -6690,22 +6466,6 @@ export declare enum WebViewEvent {
|
|
6690
6466
|
*/
|
6691
6467
|
export declare const WHITELIST_EVENTS: Record<string, PLUGIN_NAME[]>;
|
6692
6468
|
|
6693
|
-
export declare const WinsCommonIcon: React_2.FC<IWinsCommonIcon>;
|
6694
|
-
|
6695
|
-
export declare const WinsHeader: React_2.FC<WinsTabHeaderProps>;
|
6696
|
-
|
6697
|
-
declare interface WinsTabHeaderProps {
|
6698
|
-
currentSelectedProgram?: IProgramOption;
|
6699
|
-
goldCoins?: number;
|
6700
|
-
onBackClick?: () => void;
|
6701
|
-
onProgramChange?: (p: IProgramOption) => void;
|
6702
|
-
programOptions?: IProgramOption[];
|
6703
|
-
silverCoins?: number;
|
6704
|
-
showLeftBorder?: boolean;
|
6705
|
-
topOffset?: number;
|
6706
|
-
widthOffset?: number;
|
6707
|
-
}
|
6708
|
-
|
6709
6469
|
export declare const Worksheet: NamedExoticComponent<IWorksheetContainerProps & RefAttributes<IWorksheetRef>>;
|
6710
6470
|
|
6711
6471
|
export declare const WORKSHEET_ACTION_BAR_HEIGHT = 56;
|
@@ -6733,7 +6493,6 @@ declare const ZINDEX: {
|
|
6733
6493
|
readonly GOAL_CHAPTER_SHEETS_MENU: 4;
|
6734
6494
|
readonly JOURNEY_OVERLAY: 1000;
|
6735
6495
|
readonly CHAPTER_COMPLETED_LOTTIE: 5;
|
6736
|
-
readonly HEADER: 11;
|
6737
6496
|
};
|
6738
6497
|
|
6739
6498
|
export { }
|