@cuemath/leap 3.3.35 → 3.3.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/gif/gif.js +4 -1
- package/dist/assets/gif/gif.js.map +1 -1
- package/dist/assets/illustrations/illustrations.js +1 -1
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-right.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -1
- package/dist/features/auth/comps/otp-input/otp-input.js +35 -29
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js +12 -3
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +43 -34
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +140 -101
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
- package/dist/features/chapters-v2/utils/index.js +20 -16
- package/dist/features/chapters-v2/utils/index.js.map +1 -1
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js +6 -6
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.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 +20 -21
- 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/games/web-view/web-view-types.js.map +1 -1
- package/dist/features/circle-games/sign-up/sign-up.js +6 -6
- package/dist/features/circle-games/sign-up/sign-up.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +17 -17
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js +86 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js +140 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js.map +1 -0
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +400 -0
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -1
- package/dist/features/milestone/constants.js +28 -15
- package/dist/features/milestone/constants.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +2 -2
- package/dist/features/milestone/create/comps/test-type-step/test-type-utils.js +23 -16
- package/dist/features/milestone/create/comps/test-type-step/test-type-utils.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-helpers.js +13 -7
- package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
- package/dist/features/parent-dashboard/api/cancel-subscription.js +9 -0
- package/dist/features/parent-dashboard/api/cancel-subscription.js.map +1 -0
- package/dist/features/parent-dashboard/comps/billing-information/billing-information-styled.js +20 -0
- package/dist/features/parent-dashboard/comps/billing-information/billing-information-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/billing-information/billing-information.js +74 -0
- package/dist/features/parent-dashboard/comps/billing-information/billing-information.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/next-steps/next-steps-constants.js +1 -1
- package/dist/features/parent-dashboard/comps/next-steps/next-steps-constants.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/next-steps/next-steps-styled.js +1 -1
- package/dist/features/parent-dashboard/comps/next-steps/next-steps-styled.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/next-steps/next-steps.js +5 -5
- package/dist/features/parent-dashboard/comps/next-steps/next-steps.js.map +1 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +28 -22
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +1 -1
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-countdown.js +34 -0
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-countdown.js.map +1 -0
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-session-status-config.js +137 -0
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-session-status-config.js.map +1 -0
- package/dist/features/parent-dashboard/comps/session-status/session-status-constants.js +20 -0
- package/dist/features/parent-dashboard/comps/session-status/session-status-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/session-status/session-status-helpers.js +19 -0
- package/dist/features/parent-dashboard/comps/session-status/session-status-helpers.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/session-status/session-status-styled.js +2 -2
- package/dist/features/parent-dashboard/comps/session-status/session-status-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/session-status/session-status.js +124 -0
- package/dist/features/parent-dashboard/comps/session-status/session-status.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/session-summary/session-summary-constants.js +18 -12
- package/dist/features/parent-dashboard/comps/session-summary/session-summary-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/session-summary/session-summary.js +54 -0
- package/dist/features/parent-dashboard/comps/session-summary/session-summary.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/session-summary/summary-card/summary-card-styled.js +1 -1
- package/dist/features/parent-dashboard/comps/session-summary/summary-card/summary-card-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/session-summary/summary-card/summary-card.js +72 -0
- package/dist/features/parent-dashboard/comps/session-summary/summary-card/summary-card.js.map +1 -0
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-constants.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/upcoming-sessions/upcoming-sessions-styled.js +1 -1
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-types.js.map +1 -0
- package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/upcoming-sessions/upcoming-sessions.js +14 -14
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-fetch-parent-home.js +1 -1
- package/dist/features/parent-dashboard/hooks/use-fetch-parent-home.js.map +1 -1
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +48 -46
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription-constants.js +21 -0
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription-constants.js.map +1 -0
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js +85 -0
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js.map +1 -0
- package/dist/features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js +23 -0
- package/dist/features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js.map +1 -0
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-constant.js +55 -0
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-constant.js.map +1 -0
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-styled.js +71 -0
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js +119 -0
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js.map +1 -0
- package/dist/features/parent-dashboard/modals/hooks/use-pla-model-handlers.js +58 -0
- package/dist/features/parent-dashboard/modals/hooks/use-pla-model-handlers.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +16 -17
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +1 -1
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +4 -8
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +1 -1
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +3 -3
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -1
- package/dist/features/parent-dashboard/modals/view-payment-method/view-payment-method.js +76 -0
- package/dist/features/parent-dashboard/modals/view-payment-method/view-payment-method.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-constants.js +45 -4
- package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-types.js +3 -3
- package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-view.js +197 -174
- package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
- package/dist/features/student-details/class-details/class-details-utils.js +6 -6
- package/dist/features/trial-session/api/teacher-availability.js +9 -0
- package/dist/features/trial-session/api/teacher-availability.js.map +1 -0
- package/dist/features/trial-session/comps/class-preference/class-preference.js +74 -58
- package/dist/features/trial-session/comps/class-preference/class-preference.js.map +1 -1
- package/dist/features/trial-session/comps/class-preference/helpers.js +28 -0
- package/dist/features/trial-session/comps/class-preference/helpers.js.map +1 -0
- package/dist/features/trial-session/comps/learning-plan/index.js +47 -45
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/trial-session/comps/navigation-bar/index.js +41 -40
- package/dist/features/trial-session/comps/navigation-bar/index.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals.js +59 -57
- package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/session-report.js +15 -15
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js +41 -40
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js +5 -0
- package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js +96 -51
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile.js +70 -63
- package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +43 -44
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
- package/dist/features/trial-session/comps/test-prep/test-prep.js +41 -40
- package/dist/features/trial-session/comps/test-prep/test-prep.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js +60 -61
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js.map +1 -1
- package/dist/features/trial-session/helper.js +76 -61
- package/dist/features/trial-session/helper.js.map +1 -1
- package/dist/features/trial-session/hooks/use-slide-config-update.js +49 -0
- package/dist/features/trial-session/hooks/use-slide-config-update.js.map +1 -0
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js +174 -144
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/trial-session/trial-session-view.js +99 -110
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +13 -13
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +1 -1
- package/dist/features/utils/utils.js +1 -1
- package/dist/features/utils/utils.js.map +1 -1
- package/dist/index.d.ts +79 -78
- package/dist/index.js +316 -317
- package/dist/index.js.map +1 -1
- package/dist/static/learning-session-grid-bg-mobile.8d2b7258.gif +0 -0
- package/dist/static/way-forward-grid-bg-mobile.374043d7.gif +0 -0
- package/dist/static/your-goals-grid-bg-mobile.62557024.gif +0 -0
- package/package.json +1 -1
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +0 -12
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js +0 -29
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js +0 -132
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +0 -11
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +0 -19
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status.js +0 -127
- package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +0 -53
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +0 -56
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +0 -10
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +0 -9
- package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInSeconds.js +0 -11
- package/dist/node_modules/date-fns/differenceInSeconds.js.map +0 -1
- package/dist/static/trophy.a8ea85ef.json +0 -6813
- /package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/upcoming-sessions/upcoming-sessions-constants.js +0 -0
- /package/dist/features/{trial-session/comps/pla → parent-dashboard/comps}/upcoming-sessions/upcoming-sessions-types.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -233,6 +233,12 @@ export declare const CalendarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
233
233
|
|
|
234
234
|
export declare const Callout: React.FC<ICalloutProps>;
|
|
235
235
|
|
|
236
|
+
export declare const CancellationConfirmationModal: MemoExoticComponent<() => JSX.Element>;
|
|
237
|
+
|
|
238
|
+
export declare const CancellationReasonModal: MemoExoticComponent<() => JSX.Element>;
|
|
239
|
+
|
|
240
|
+
export declare const CancelSubscriptionModal: MemoExoticComponent<() => JSX.Element>;
|
|
241
|
+
|
|
236
242
|
export declare const Carousel: React_2.FC<CarouselProps>;
|
|
237
243
|
|
|
238
244
|
declare interface CarouselProps {
|
|
@@ -478,11 +484,6 @@ export declare const Drawer: FC<IDrawerProps>;
|
|
|
478
484
|
|
|
479
485
|
export declare const DynamicPreviewWorksheet: FC<IDynamicWorksheetPreview>;
|
|
480
486
|
|
|
481
|
-
declare enum EClassStatus {
|
|
482
|
-
S_NO_SHOW = "S_NO_SHOW",
|
|
483
|
-
T_NO_SHOW = "T_NO_SHOW"
|
|
484
|
-
}
|
|
485
|
-
|
|
486
487
|
export declare enum EClassTimeAlertLevel {
|
|
487
488
|
FIVE_MIN = "5min",
|
|
488
489
|
FIFTEEN_MIN = "15min"
|
|
@@ -526,6 +527,21 @@ declare const ENROLLMENT_TYPES: {
|
|
|
526
527
|
readonly CUECENTER: "CUECENTER";
|
|
527
528
|
};
|
|
528
529
|
|
|
530
|
+
export declare enum EPLAState {
|
|
531
|
+
NO_CARD_ON_FILE = "no_card_on_file",
|
|
532
|
+
CARD_ADDED_SEARCHING_TUTOR = "card_added_searching_tutor",
|
|
533
|
+
CARD_ADDED_TUTOR_ASSIGNED = "card_added_tutor_assigned",
|
|
534
|
+
TRIAL_TUTOR_NO_SHOW = "trial_tutor_no_show",
|
|
535
|
+
TRIAL_STUDENT_NO_SHOW = "trial_student_no_show",
|
|
536
|
+
TRIAL_COMPLETED_PAYMENT_PENDING = "trial_completed_payment_pending",
|
|
537
|
+
TRIAL_COMPLETED_CARD_DECLINED = "trial_completed_card_declined",
|
|
538
|
+
TRIAL_COMPLETED_PAYMENT_SUCCESSFUL = "trial_completed_payment_successful",
|
|
539
|
+
REGULAR_CLASS_COMPLETED = "regular_class_completed",
|
|
540
|
+
SUBSCRIPTION_CANCELLED_BEFORE_TRIAL = "cancelled_before_trial",
|
|
541
|
+
SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT = "cancelled_after_trial_before_payment",
|
|
542
|
+
SUBSCRIPTION_CANCELLED_AFTER_PAYMENT = "cancelled_after_payment"
|
|
543
|
+
}
|
|
544
|
+
|
|
529
545
|
export declare enum EPostGameStat {
|
|
530
546
|
STREAK = "streak",
|
|
531
547
|
SCORE = "score",
|
|
@@ -713,6 +729,7 @@ export declare const GIF: {
|
|
|
713
729
|
JIGII_WAVE: string;
|
|
714
730
|
LEARNING_SESSION: string;
|
|
715
731
|
LEARNING_SESSION_GRID_BG: string;
|
|
732
|
+
LEARNING_SESSION_GRID_BG_MOBILE: string;
|
|
716
733
|
MAX_WAVE: string;
|
|
717
734
|
PERSONALIZED_SESSION: string;
|
|
718
735
|
PUZZLES: string;
|
|
@@ -730,8 +747,10 @@ export declare const GIF: {
|
|
|
730
747
|
VINNIE_WAVE: string;
|
|
731
748
|
WAY_FORWARD: string;
|
|
732
749
|
WAY_FORWARD_GRID_BG: string;
|
|
750
|
+
WAY_FORWARD_GRID_BG_MOBILE: string;
|
|
733
751
|
YOUR_GOALS: string;
|
|
734
752
|
YOUR_GOALS_GRID_BG: string;
|
|
753
|
+
YOUR_GOALS_GRID_BG_MOBILE: string;
|
|
735
754
|
};
|
|
736
755
|
|
|
737
756
|
declare const GOAL_CATEGORY: {
|
|
@@ -1006,6 +1025,13 @@ declare interface IBaseWorksheetProps {
|
|
|
1006
1025
|
actionBarRightElement?: ReactElement;
|
|
1007
1026
|
}
|
|
1008
1027
|
|
|
1028
|
+
declare interface IBillingDetails {
|
|
1029
|
+
amount: number;
|
|
1030
|
+
cycle_frequency: string;
|
|
1031
|
+
next_due_date: string;
|
|
1032
|
+
payment_method_details: IPaymentMethodDetails;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1009
1035
|
declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
|
1010
1036
|
onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
|
|
1011
1037
|
onBlockReset?: (blockData: IChapterBlockData) => void;
|
|
@@ -1174,6 +1200,8 @@ declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
|
|
1174
1200
|
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
|
1175
1201
|
canStartJourney?: boolean;
|
|
1176
1202
|
canStartChallengeArenaJourney?: boolean;
|
|
1203
|
+
canStartDownloadNodeJourney?: boolean;
|
|
1204
|
+
canStartDownloadBlockJourney?: boolean;
|
|
1177
1205
|
}
|
|
1178
1206
|
|
|
1179
1207
|
declare interface IChapterModel {
|
|
@@ -1713,7 +1741,6 @@ declare interface IGetCheckboxConfig {
|
|
|
1713
1741
|
declare interface IGetCircleHomePayloadModel {
|
|
1714
1742
|
user_id: string;
|
|
1715
1743
|
grade: string;
|
|
1716
|
-
country_code: string;
|
|
1717
1744
|
}
|
|
1718
1745
|
|
|
1719
1746
|
declare interface IGetCircleHomeResponseModel {
|
|
@@ -2373,9 +2400,9 @@ export declare const ILLUSTRATIONS: {
|
|
|
2373
2400
|
PUZZLE_PATTERN_PURPLE: string;
|
|
2374
2401
|
PUZZLE_PATTERN_YELLOW: string;
|
|
2375
2402
|
PUZZLE_STUDENT: string;
|
|
2376
|
-
RARE: string;
|
|
2377
2403
|
RADIAL_GRADIENT_BG: string;
|
|
2378
2404
|
RADIAL_GRADIENT_BG_2: string;
|
|
2405
|
+
RARE: string;
|
|
2379
2406
|
REFUND_POLICY: string;
|
|
2380
2407
|
REFUND_POLICY_WITH_HEADPHONE: string;
|
|
2381
2408
|
REPORT_404: string;
|
|
@@ -3021,11 +3048,17 @@ declare interface IParentDashboardProps {
|
|
|
3021
3048
|
onGetStartedAgain?: () => void;
|
|
3022
3049
|
onViewSummary?: (key: ESummaryType, summaryData: IOnViewSummaryParams) => void;
|
|
3023
3050
|
onSwitchUser?: () => void;
|
|
3024
|
-
canChangeTutor: boolean;
|
|
3025
|
-
isSubscriptionCancelled: boolean;
|
|
3026
3051
|
HeaderAvatar: ReactElement;
|
|
3027
3052
|
}
|
|
3028
3053
|
|
|
3054
|
+
declare interface IPaymentMethodDetails {
|
|
3055
|
+
brand: string;
|
|
3056
|
+
last_4_digits: string;
|
|
3057
|
+
type: string;
|
|
3058
|
+
exp_month: number;
|
|
3059
|
+
exp_year: number;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3029
3062
|
declare interface IPercentileProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, Omit<IBaseInputProps, 'inputElement'> {
|
|
3030
3063
|
}
|
|
3031
3064
|
|
|
@@ -3058,7 +3091,6 @@ export declare interface IPlayer {
|
|
|
3058
3091
|
grade?: string;
|
|
3059
3092
|
avatar?: IAvatarLayer[] | null;
|
|
3060
3093
|
playerType: TUserTypes;
|
|
3061
|
-
countryCode: string;
|
|
3062
3094
|
isAdmin?: boolean;
|
|
3063
3095
|
}
|
|
3064
3096
|
|
|
@@ -3133,6 +3165,7 @@ declare interface IPreferencesCurriculumMap {
|
|
|
3133
3165
|
preference_name: string;
|
|
3134
3166
|
text_input_needed?: boolean;
|
|
3135
3167
|
preference_description?: string;
|
|
3168
|
+
lottie_key?: string;
|
|
3136
3169
|
}
|
|
3137
3170
|
|
|
3138
3171
|
export declare interface IPreviewWorksheetModel {
|
|
@@ -3523,7 +3556,6 @@ declare interface ISessionDetails {
|
|
|
3523
3556
|
next_session_end: number;
|
|
3524
3557
|
student_demo_id: string;
|
|
3525
3558
|
upcoming_sessions: TSession[];
|
|
3526
|
-
demo_class_status: EClassStatus | null;
|
|
3527
3559
|
user_attempt_id?: string;
|
|
3528
3560
|
}
|
|
3529
3561
|
|
|
@@ -3532,22 +3564,6 @@ declare interface ISessionInsightsQuery {
|
|
|
3532
3564
|
student_name: string;
|
|
3533
3565
|
}
|
|
3534
3566
|
|
|
3535
|
-
declare interface ISessionStatusProps {
|
|
3536
|
-
completedSessions: number;
|
|
3537
|
-
nextSessionStartTime: number;
|
|
3538
|
-
status?: EClassStatus | null;
|
|
3539
|
-
studentName: string;
|
|
3540
|
-
teacherName?: string;
|
|
3541
|
-
nextSessionEndTime: number;
|
|
3542
|
-
onRescheduleClick?: () => void;
|
|
3543
|
-
}
|
|
3544
|
-
|
|
3545
|
-
declare interface ISessionSummaryProps {
|
|
3546
|
-
isDemoDone: boolean;
|
|
3547
|
-
studentName: string;
|
|
3548
|
-
onViewSummary?: (key: ESummaryType) => void;
|
|
3549
|
-
}
|
|
3550
|
-
|
|
3551
3567
|
declare interface IShareInstructionModalProps {
|
|
3552
3568
|
milestoneAchievementId: string;
|
|
3553
3569
|
studentName: string;
|
|
@@ -3983,23 +3999,6 @@ declare interface ITeacherDetails {
|
|
|
3983
3999
|
header_image: string;
|
|
3984
4000
|
}
|
|
3985
4001
|
|
|
3986
|
-
declare interface ITeacherProfileDetails {
|
|
3987
|
-
lower_grade: string;
|
|
3988
|
-
higher_grade: string;
|
|
3989
|
-
header_image: string;
|
|
3990
|
-
years_of_experience: number;
|
|
3991
|
-
number_of_students_taught: number;
|
|
3992
|
-
countries: string[];
|
|
3993
|
-
degree: TDegreeInformation;
|
|
3994
|
-
first_name: string;
|
|
3995
|
-
last_name: string;
|
|
3996
|
-
teacher_profile_url?: string;
|
|
3997
|
-
}
|
|
3998
|
-
|
|
3999
|
-
declare interface ITeacherProfileProps {
|
|
4000
|
-
teacherProfile?: ITeacherProfileDetails;
|
|
4001
|
-
}
|
|
4002
|
-
|
|
4003
4002
|
declare interface ITeacherReview {
|
|
4004
4003
|
reviewComment?: string;
|
|
4005
4004
|
images?: string[];
|
|
@@ -4156,6 +4155,7 @@ export declare interface ITrialSessionFormFields {
|
|
|
4156
4155
|
personalizedFocus?: string[];
|
|
4157
4156
|
personalizedBehaviors?: string[];
|
|
4158
4157
|
personalizedObjectives?: string[];
|
|
4158
|
+
personalizedPosition?: string[];
|
|
4159
4159
|
isCircleGamePlayed?: boolean;
|
|
4160
4160
|
isCirclePuzzleSolved?: boolean;
|
|
4161
4161
|
isCircleSkillCompleted?: boolean;
|
|
@@ -4173,7 +4173,6 @@ declare interface ITrialSessionMetadata {
|
|
|
4173
4173
|
}
|
|
4174
4174
|
|
|
4175
4175
|
declare interface ITrialSessionProps {
|
|
4176
|
-
countryCode?: string;
|
|
4177
4176
|
classStartedOn?: Date;
|
|
4178
4177
|
height?: string | number;
|
|
4179
4178
|
userType: TUserTypes;
|
|
@@ -4204,10 +4203,6 @@ export declare interface ITutorialProps {
|
|
|
4204
4203
|
isJourneyActive?: boolean;
|
|
4205
4204
|
}
|
|
4206
4205
|
|
|
4207
|
-
declare interface IUpcomingSessionsProps {
|
|
4208
|
-
sessions?: TSession[];
|
|
4209
|
-
}
|
|
4210
|
-
|
|
4211
4206
|
declare interface IUpdateImages {
|
|
4212
4207
|
filteredImages: string[];
|
|
4213
4208
|
newImages: IFile[];
|
|
@@ -4298,22 +4293,29 @@ declare interface IUseModalParams {
|
|
|
4298
4293
|
}
|
|
4299
4294
|
|
|
4300
4295
|
declare interface IUseParentHomeDataReturn {
|
|
4296
|
+
plaState: EPLAState | null;
|
|
4301
4297
|
sessionDetails: ISessionDetails | null;
|
|
4302
4298
|
teacherDetails: ITeacherDetails | null;
|
|
4299
|
+
billingDetails: IBillingDetails | null;
|
|
4303
4300
|
completedSessions: number;
|
|
4304
4301
|
nextSessionEnd: number;
|
|
4305
4302
|
nextSessionStart: number;
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4303
|
+
teacherName: string;
|
|
4304
|
+
upcomingSessions: TSession[];
|
|
4305
|
+
isTrialDone: boolean;
|
|
4306
|
+
isOnlyTrialDone: boolean;
|
|
4307
|
+
isRegularClassDone: boolean;
|
|
4308
|
+
isCardDeclined: boolean;
|
|
4309
|
+
isSubscriptionCancelled: boolean;
|
|
4310
|
+
cardOnFileNotAvailable: boolean;
|
|
4311
|
+
isTutorNoShow: boolean;
|
|
4312
|
+
isStudentNoShow: boolean;
|
|
4313
|
+
showLoading: boolean;
|
|
4314
|
+
demoId: string | null;
|
|
4315
|
+
userAttemptId: string | null;
|
|
4316
|
+
isProcessingFailed: boolean;
|
|
4317
|
+
canChangeTutor: boolean;
|
|
4318
|
+
showPLAIntroduction?: boolean;
|
|
4317
4319
|
}
|
|
4318
4320
|
|
|
4319
4321
|
declare interface IusePointerSyncMethods {
|
|
@@ -4773,6 +4775,8 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
|
4773
4775
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
|
4774
4776
|
PUZZLE_ATTEMPT_JOURNEY = "PUZZLE_ATTEMPT_JOURNEY",
|
|
4775
4777
|
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
|
4778
|
+
DOWNLOAD_NODE_JOURNEY = "DOWNLOAD_NODE_JOURNEY",
|
|
4779
|
+
DOWNLOAD_BLOCK_JOURNEY = "DOWNLOAD_BLOCK_JOURNEY",
|
|
4776
4780
|
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
|
4777
4781
|
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
|
4778
4782
|
}
|
|
@@ -4781,6 +4785,8 @@ export declare enum JOURNEY_ID_TEACHER {
|
|
|
4781
4785
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
|
4782
4786
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
|
4783
4787
|
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
|
4788
|
+
DOWNLOAD_NODE_JOURNEY = "DOWNLOAD_NODE_JOURNEY",
|
|
4789
|
+
DOWNLOAD_BLOCK_JOURNEY = "DOWNLOAD_BLOCK_JOURNEY",
|
|
4784
4790
|
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
|
4785
4791
|
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
|
4786
4792
|
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
|
@@ -5005,8 +5011,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
5005
5011
|
|
|
5006
5012
|
export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5007
5013
|
|
|
5008
|
-
export declare const NextSteps: NamedExoticComponent<{}>;
|
|
5009
|
-
|
|
5010
5014
|
declare enum NODE_CARD_COURSE_TYPES {
|
|
5011
5015
|
PROGRAM = "PROGRAM",
|
|
5012
5016
|
REMEDIAL = "REMEDIAL",
|
|
@@ -5221,7 +5225,16 @@ export declare enum PLA_ANALYTICS_EVENTS {
|
|
|
5221
5225
|
SLOTS_SHOWN = "slots_shown",
|
|
5222
5226
|
SLOT_DATE_SELECTED = "slot_date_selected",
|
|
5223
5227
|
SLOT_TIME_SELECTED = "slot_time_selected",
|
|
5224
|
-
TUTOR_CHANGE_REASON_SELECTED = "tutor_change_reason_selected"
|
|
5228
|
+
TUTOR_CHANGE_REASON_SELECTED = "tutor_change_reason_selected",
|
|
5229
|
+
SUBSCRIPTION_CANCELLATION_FAILED = "subscription_cancellation_failed",
|
|
5230
|
+
SUBSCRIPTION_CANCELLATION_SUCCESSFUL = "subscription_cancellation_successful",
|
|
5231
|
+
SUBSCRIPTION_INTENT_FAILED = "subscription_intent_failed",
|
|
5232
|
+
SUBSCRIPTION_INTENT_CREATED = "subscription_intent_created",
|
|
5233
|
+
STRIPE_PAYMENT_ELEMENT_READY = "stripe_payment_element_ready",
|
|
5234
|
+
STRIPE_PAYMENT_FAILED = "stripe_payment_failed",
|
|
5235
|
+
STRIPE_PAYMENT_SUCCESS = "stripe_payment_success",
|
|
5236
|
+
PAYMENT_PLAN_SELECTED = "payment_plan_selected",
|
|
5237
|
+
STRIPE_PAYMENT_ELEMENT_MOUNT_FAILED = "stripe_payment_element_mount_failed"
|
|
5225
5238
|
}
|
|
5226
5239
|
|
|
5227
5240
|
export declare const PlaFirstSessionIntroduction: NamedExoticComponent<IFirstSessionIntroductionProps>;
|
|
@@ -5451,10 +5464,6 @@ export declare const SENTRY_IGNORED_ERRORS: Array<string | RegExp>;
|
|
|
5451
5464
|
|
|
5452
5465
|
export declare const Separator: React_2.FC<ISeparatorProps>;
|
|
5453
5466
|
|
|
5454
|
-
export declare const SessionStatus: MemoExoticComponent<({ completedSessions, nextSessionStartTime, status, teacherName, studentName, onRescheduleClick, }: ISessionStatusProps) => JSX.Element>;
|
|
5455
|
-
|
|
5456
|
-
export declare const SessionSummary: MemoExoticComponent<({ isDemoDone, studentName, onViewSummary }: ISessionSummaryProps) => JSX.Element>;
|
|
5457
|
-
|
|
5458
5467
|
declare type SharedProps = {
|
|
5459
5468
|
width?: string | number;
|
|
5460
5469
|
height?: string | number;
|
|
@@ -5887,16 +5896,8 @@ declare type TData = {
|
|
|
5887
5896
|
|
|
5888
5897
|
declare type TDefaultSection = Record<string, unknown>;
|
|
5889
5898
|
|
|
5890
|
-
declare type TDegreeInformation = {
|
|
5891
|
-
degree_name?: string;
|
|
5892
|
-
field_of_study?: string;
|
|
5893
|
-
degree_code?: string;
|
|
5894
|
-
};
|
|
5895
|
-
|
|
5896
5899
|
declare type TDrawingData = ITile | IStroke | undefined;
|
|
5897
5900
|
|
|
5898
|
-
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
|
5899
|
-
|
|
5900
5901
|
declare type TEnglishSectionSummary = {
|
|
5901
5902
|
section_code: 'READING & WRITING';
|
|
5902
5903
|
} & TSectionSummary;
|
|
@@ -6901,8 +6902,6 @@ export declare const Unlock2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
6901
6902
|
|
|
6902
6903
|
export declare const UnlockIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
6903
6904
|
|
|
6904
|
-
export declare const UpcomingSessions: React_2.NamedExoticComponent<IUpcomingSessionsProps>;
|
|
6905
|
-
|
|
6906
6905
|
export declare const UpIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
6907
6906
|
|
|
6908
6907
|
export declare const useAutoPlayPermission: () => IAutoPlayPermissionContextType;
|
|
@@ -6986,7 +6985,7 @@ declare const useGetCircleHomeAPI: (initialId?: string, initialQuery?: IGetCircl
|
|
|
6986
6985
|
} & Record<string, unknown>) | undefined;
|
|
6987
6986
|
};
|
|
6988
6987
|
|
|
6989
|
-
export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string
|
|
6988
|
+
export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string) => Omit<ReturnType<typeof useGetCircleHomeAPI>, "data" | "get"> & {
|
|
6990
6989
|
data: ICircleHomeDetails | null;
|
|
6991
6990
|
getCircleHomeDetails: () => void;
|
|
6992
6991
|
invalidateCircleHomeDetails: () => void;
|
|
@@ -7195,6 +7194,8 @@ export declare const useZoomDisable: () => void;
|
|
|
7195
7194
|
|
|
7196
7195
|
export declare const Video: React_2.FC<ICustomVideoProps>;
|
|
7197
7196
|
|
|
7197
|
+
export declare const ViewPaymentMethodModal: MemoExoticComponent<() => JSX.Element>;
|
|
7198
|
+
|
|
7198
7199
|
declare const VISIBILITY_TYPES: {
|
|
7199
7200
|
GROUPED: string;
|
|
7200
7201
|
SEPARATE: string;
|