@cuemath/leap 3.3.12-j2 → 3.3.12-pawar.0

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.
Files changed (74) hide show
  1. package/dist/features/auth/comps/pill-button/pill-button.js +19 -19
  2. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
  3. package/dist/features/auth/pla-signup/pla-analytics-events.js +4 -5
  4. package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
  5. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +42 -45
  6. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
  7. package/dist/features/parent-dashboard/parent-dashboard-types.js +2 -3
  8. package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
  9. package/dist/features/parent-dashboard/parent-dashboard-view.js +127 -139
  10. package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
  11. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +7 -8
  12. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -1
  13. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +26 -27
  14. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -1
  15. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +13 -15
  16. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -1
  17. package/dist/features/trial-session/comps/session-report/report-information/report-information.js +1 -1
  18. package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -1
  19. package/dist/features/trial-session/comps/worksheet/worksheet.js +22 -22
  20. package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
  21. package/dist/features/trial-session/trial-session-types.js.map +1 -1
  22. package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js +18 -17
  23. package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js.map +1 -1
  24. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
  25. package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js +31 -30
  26. package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js.map +1 -1
  27. package/dist/index.d.ts +18 -54
  28. package/dist/index.js +218 -232
  29. package/dist/index.js.map +1 -1
  30. package/dist/node_modules/query-string/base.js +1 -1
  31. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -0
  32. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  33. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  34. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  35. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  36. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  37. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  38. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
  39. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  40. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  41. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  42. package/package.json +2 -3
  43. package/dist/features/parent-dashboard/api/get-student-profile-summary.js +0 -9
  44. package/dist/features/parent-dashboard/api/get-student-profile-summary.js.map +0 -1
  45. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js +0 -9
  46. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js.map +0 -1
  47. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +0 -42
  48. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +0 -1
  49. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js +0 -20
  50. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js.map +0 -1
  51. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js +0 -40
  52. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js.map +0 -1
  53. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js +0 -44
  54. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js.map +0 -1
  55. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js +0 -32
  56. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js.map +0 -1
  57. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +0 -13
  58. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +0 -1
  59. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +0 -44
  60. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +0 -1
  61. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +0 -14
  62. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +0 -1
  63. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +0 -28
  64. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +0 -1
  65. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js +0 -43
  66. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js.map +0 -1
  67. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +0 -59
  68. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +0 -1
  69. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +0 -86
  70. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +0 -1
  71. package/dist/node_modules/decode-uri-component/index.js.map +0 -1
  72. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  73. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  74. /package/dist/node_modules/{decode-uri-component → query-string/node_modules/decode-uri-component}/index.js +0 -0
package/dist/index.d.ts CHANGED
@@ -494,12 +494,6 @@ export declare enum ESessionStatus {
494
494
  IN_FUTURE = "IN FUTURE"
495
495
  }
496
496
 
497
- export declare enum ESummaryType {
498
- STUDENT_PROFILE = "studentProfile",
499
- INSIGHTS = "insights",
500
- LEARNING_PLAN = "learningPlan"
501
- }
502
-
503
497
  export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
504
498
 
505
499
  export declare const EVENTS: {
@@ -1578,11 +1572,6 @@ declare interface IFile {
1578
1572
  url: string;
1579
1573
  }
1580
1574
 
1581
- declare interface IFirstSessionIntroductionProps {
1582
- onRunSystemCheck: () => void;
1583
- studentId: string;
1584
- }
1585
-
1586
1575
  declare interface IGame extends IBaseProject {
1587
1576
  played: boolean;
1588
1577
  }
@@ -2448,7 +2437,7 @@ declare interface IMilestoneCardPermissions {
2448
2437
  visible_tabs: string[];
2449
2438
  }
2450
2439
 
2451
- export declare interface IMilestoneConfig {
2440
+ declare interface IMilestoneConfig {
2452
2441
  action_plan: Record<'green' | 'red' | 'yellow', {
2453
2442
  share_message_template: string;
2454
2443
  }>;
@@ -2839,8 +2828,6 @@ export declare const invalidateMilestoneResources: (id: string, query?: void | u
2839
2828
 
2840
2829
  export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
2841
2830
 
2842
- export declare const invalidateParentHome: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2843
-
2844
2831
  export declare const invalidatePastMilestoneCount: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2845
2832
 
2846
2833
  export declare const invalidatePuzzleToAssign: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
@@ -2856,10 +2843,6 @@ declare interface IOnChapterExitWarningProps {
2856
2843
  onSuccess?: () => void;
2857
2844
  }
2858
2845
 
2859
- declare interface IOnViewSummaryParams extends IStudentProfileSummary {
2860
- userAttemptId?: string;
2861
- }
2862
-
2863
2846
  declare interface IOpenImageReviewModalProps {
2864
2847
  isReviewed?: boolean;
2865
2848
  disableScoreForm?: boolean;
@@ -2919,11 +2902,11 @@ export declare interface IOutcomeStageData {
2919
2902
 
2920
2903
  declare interface IParentDashboardProps {
2921
2904
  studentName: string;
2922
- studentId: string;
2905
+ studentServiceId: string;
2923
2906
  onRescheduleDemo: (demoId?: string) => void;
2924
2907
  onChangeTutor: (demoId: string) => void;
2925
2908
  onGetStartedAgain?: () => void;
2926
- onViewSummary?: (key: ESummaryType, summaryData: IOnViewSummaryParams) => void;
2909
+ onViewSummary?: (key: string) => void;
2927
2910
  onSwitchUser?: () => void;
2928
2911
  canChangeTutor: boolean;
2929
2912
  isSubscriptionCancelled: boolean;
@@ -3031,7 +3014,7 @@ export declare interface IPostGameStatsRef {
3031
3014
  declare interface IPreferencesCurriculumMap {
3032
3015
  course_stream: TCourseStream;
3033
3016
  is_live: boolean;
3034
- preference_category: TLearningPreferenceCategory;
3017
+ preference_category: TPreferenceCategory;
3035
3018
  preference_code: string;
3036
3019
  preference_grades: string[];
3037
3020
  preference_name: string;
@@ -3063,6 +3046,7 @@ declare interface IPreviewWorksheetProps {
3063
3046
  canStartUnassignJourney?: boolean;
3064
3047
  actionBarRightElement?: ReactElement;
3065
3048
  canShowActionBar?: boolean;
3049
+ topOffset?: number;
3066
3050
  }
3067
3051
 
3068
3052
  export declare interface IProject<T> {
@@ -3415,7 +3399,7 @@ declare interface ISessionStatusProps {
3415
3399
  declare interface ISessionSummaryProps {
3416
3400
  isDemoDone: boolean;
3417
3401
  studentName: string;
3418
- onViewSummary?: (key: ESummaryType) => void;
3402
+ onViewSummary?: (key: string) => void;
3419
3403
  }
3420
3404
 
3421
3405
  declare interface IShareInstructionModalProps {
@@ -3628,13 +3612,6 @@ declare interface IStudentProfileHighlightsProps {
3628
3612
  profileHighlights: TProfileHighlight[];
3629
3613
  }
3630
3614
 
3631
- declare interface IStudentProfileSummary {
3632
- studentLevel: string;
3633
- studentObjectives: string[] | string;
3634
- learningPlan: string[] | string;
3635
- levelPreference?: string;
3636
- }
3637
-
3638
3615
  declare interface IStudentSchool {
3639
3616
  place_id: string;
3640
3617
  country_code: string;
@@ -4597,6 +4574,15 @@ export declare const JourneyProvider: FC<IJourneyProviderProps>;
4597
4574
 
4598
4575
  export declare const Leaderboard: ({ leaderboardData, type, userId, onClose, isLoading, streakInfo, }: ILeaderboardProps) => JSX.Element;
4599
4576
 
4577
+ export declare const LEARNING_PREFERENCE_CATEGORY: {
4578
+ readonly LEVEL: "Level";
4579
+ readonly FOCUS: "Focus";
4580
+ readonly BEHAVIOR: "Behaviors";
4581
+ readonly OBJECTIVES: "Objectives";
4582
+ readonly POSITION: "Position";
4583
+ readonly COURSE: "Course";
4584
+ };
4585
+
4600
4586
  export declare const LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloaderProps>>;
4601
4587
 
4602
4588
  export declare const LeftIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -5019,14 +5005,9 @@ export declare enum PLA_ANALYTICS_EVENTS {
5019
5005
  SIGNUP_OTP_FAILED = "signup_otp_failed",
5020
5006
  SLOTS_SHOWN = "slots_shown",
5021
5007
  SLOT_DATE_SELECTED = "slot_date_selected",
5022
- SLOT_TIME_SELECTED = "slot_time_selected",
5023
- TUTOR_CHANGE_REASON_SELECTED = "tutor_change_reason_selected"
5008
+ SLOT_TIME_SELECTED = "slot_time_selected"
5024
5009
  }
5025
5010
 
5026
- export declare const PlaFirstSessionIntroduction: NamedExoticComponent<IFirstSessionIntroductionProps>;
5027
-
5028
- export declare const PLAHelpAndSupportModal: MemoExoticComponent<({}: {}) => JSX.Element>;
5029
-
5030
5011
  /**
5031
5012
  ** Global/Platform specific events that needs to be tracked goes here
5032
5013
  ** Naming convention needs to be snake_case
@@ -5079,15 +5060,6 @@ export declare const PostGameStats: NamedExoticComponent<IPostGameStatsProps & R
5079
5060
 
5080
5061
  export declare const PracticeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5081
5062
 
5082
- declare const PREFERENCE_CATEGORY: {
5083
- readonly LEVEL: "Level";
5084
- readonly FOCUS: "Focus";
5085
- readonly BEHAVIOR: "Behaviors";
5086
- readonly OBJECTIVES: "Objectives";
5087
- readonly POSITION: "Position";
5088
- readonly COURSE: "Course";
5089
- };
5090
-
5091
5063
  export declare const PreviewWorksheet: FC<IPreviewWorksheetProps>;
5092
5064
 
5093
5065
  export declare const ProgressIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -5380,14 +5352,8 @@ export declare const StrikedEyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5380
5352
 
5381
5353
  export declare const StudentDetails: FC<IStudentDetailsProps>;
5382
5354
 
5383
- export declare const StudentLoginInfoModal: MemoExoticComponent<() => JSX.Element>;
5384
-
5385
5355
  export declare const StudentProfileHighlights: FC<IStudentProfileHighlightsProps>;
5386
5356
 
5387
- export declare const StudentProfileSummaryModal: () => JSX.Element;
5388
-
5389
- export declare const StudentTrialReportModal: () => JSX.Element;
5390
-
5391
5357
  export declare const SubmitMilestoneModal: React.FC<ISubmitModalProps>;
5392
5358
 
5393
5359
  export declare const SwitchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -5972,8 +5938,6 @@ export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
5972
5938
 
5973
5939
  declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
5974
5940
 
5975
- export declare type TLearningPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
5976
-
5977
5941
  declare type TLearnosityPreloaderContextValue = {
5978
5942
  scriptStatus: Omit<TScriptStatus, 'loaded'>;
5979
5943
  defaultAPIURL: string;
@@ -6259,6 +6223,8 @@ declare type TPreference = {
6259
6223
  selectedTime: string;
6260
6224
  };
6261
6225
 
6226
+ declare type TPreferenceCategory = (typeof LEARNING_PREFERENCE_CATEGORY)[keyof typeof LEARNING_PREFERENCE_CATEGORY];
6227
+
6262
6228
  declare type TProfileHighlight = {
6263
6229
  illustration: string;
6264
6230
  background: TColorNames;
@@ -6567,8 +6533,6 @@ declare type TUserProgram = {
6567
6533
 
6568
6534
  export declare type TUserTypes = 'TEACHER' | 'STUDENT';
6569
6535
 
6570
- export declare const TutorChangeModal: () => JSX.Element;
6571
-
6572
6536
  export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialPlayedOnce, isJourneyActive, }: ITutorialProps) => JSX.Element;
6573
6537
 
6574
6538
  export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;