@cuemath/leap 2.9.6-as4 → 2.9.6-as6

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 (40) hide show
  1. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +1 -1
  2. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
  3. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +44 -43
  4. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  5. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +31 -30
  6. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -1
  7. package/dist/features/chapters-v2/chapter-details/chapter-details.js +82 -55
  8. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
  9. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +14 -13
  10. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -1
  11. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +2 -2
  12. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -1
  13. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +24 -24
  14. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
  15. package/dist/features/chapters-v2/utils/index.js +9 -11
  16. package/dist/features/chapters-v2/utils/index.js.map +1 -1
  17. package/dist/features/chapters-v2/utils/node-card-utils.js +8 -9
  18. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
  19. package/dist/features/homework/hw-card-list/hw-card-list.js +38 -39
  20. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
  21. package/dist/features/journey/hooks/use-chapter-journey.js +194 -0
  22. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -0
  23. package/dist/features/journey/journey-id/journey-id-student.js +2 -3
  24. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  25. package/dist/features/journey/journey-id/journey-id-teacher.js +5 -0
  26. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -0
  27. package/dist/features/journey/use-journey/journey-context-provider.js +48 -48
  28. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  29. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +12 -11
  30. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  31. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +75 -81
  32. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  33. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +1 -1
  34. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -1
  35. package/dist/features/sheet-v2/resource-list/resource-list.js +1 -1
  36. package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -1
  37. package/dist/index.d.ts +29 -5
  38. package/dist/index.js +140 -137
  39. package/dist/index.js.map +1 -1
  40. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -813,6 +813,11 @@ declare interface IChapterDetails extends IBlockSectionsCallbacks {
813
813
  userChapterId: string;
814
814
  studentId: string;
815
815
  onExit?: () => void;
816
+ startChapterPageJourney?: ({ chapterDetails, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
817
+ chapterPageRef?: React.RefObject<HTMLDivElement>;
818
+ bannerRef?: React.RefObject<HTMLDivElement>;
819
+ coreBlocksRef?: React.RefObject<HTMLDivElement>;
820
+ canStartJourney?: boolean;
816
821
  }
817
822
 
818
823
  declare interface IChapterModel {
@@ -876,6 +881,12 @@ declare interface IChaptersListProps {
876
881
  isGoalCreation: boolean;
877
882
  }
878
883
 
884
+ declare interface IChapterStartJourneyProps {
885
+ chapterDetails: IUserChapterData;
886
+ studentId: string;
887
+ userType: 'STUDENT' | 'TEACHER';
888
+ }
889
+
879
890
  declare interface IChapterState {
880
891
  added?: boolean;
881
892
  expanded?: boolean;
@@ -1323,6 +1334,12 @@ export declare interface IHomepageStartJourneyProps {
1323
1334
  userType: TUserTypes;
1324
1335
  }
1325
1336
 
1337
+ declare interface IHomepageStartJourneyProps_2 {
1338
+ chapterDetails: IUserChapterData;
1339
+ studentId: string;
1340
+ userType: TUserTypes;
1341
+ }
1342
+
1326
1343
  export declare interface IHomeworkData extends INodeDataProps {
1327
1344
  homework_id: string;
1328
1345
  chapter_name: string;
@@ -1397,9 +1414,8 @@ export declare interface IJourneyContext {
1397
1414
  * Sets a journey with a list of coachmarks.
1398
1415
  * @param id - The journey identifier.
1399
1416
  * @param coachmark - The array of coachmarks to be used in this journey.
1400
- * @param shouldBlueInitialJourney - If `true`, It will blur the 1st step overlay.
1401
1417
  */
1402
- setJourney: (id: TJourneyId, coachmark: ICoachmarkProps[], shouldBlueInitialJourney?: boolean) => void;
1418
+ setJourney: (id: TJourneyId, coachmark: ICoachmarkProps[]) => void;
1403
1419
  /**
1404
1420
  * Clears the current journey, removing all coachmarks.
1405
1421
  * Should be called inside useEffect to ensure cleanup.
@@ -3628,11 +3644,13 @@ export declare enum JOURNEY_ID_STUDENT {
3628
3644
  CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
3629
3645
  CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
3630
3646
  CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
3631
- HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY"
3647
+ HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
3648
+ CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
3632
3649
  }
3633
3650
 
3634
3651
  export declare enum JOURNEY_ID_TEACHER {
3635
- HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY"
3652
+ HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
3653
+ CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
3636
3654
  }
3637
3655
 
3638
3656
  export declare const JourneyProvider: FC<IJourneyProviderProps>;
@@ -4612,7 +4630,6 @@ export declare type TInclassMessage = {
4612
4630
  eventName: typeof EVENTS.SHEET_STARTED;
4613
4631
  eventPayload: {
4614
4632
  sheetIds: string[];
4615
- milestoneId?: string;
4616
4633
  };
4617
4634
  } | {
4618
4635
  eventName: typeof EVENTS.MILESTONE_NAME_UPDATED;
@@ -5266,6 +5283,13 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
5266
5283
  registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
5267
5284
  };
5268
5285
 
5286
+ export declare const useChapterPageJourney: () => {
5287
+ chapterPageRef: RefObject<HTMLDivElement>;
5288
+ bannerRef: RefObject<HTMLDivElement>;
5289
+ coreBlocksRef: RefObject<HTMLDivElement>;
5290
+ startJourney: ({ chapterDetails, studentId, userType }: IChapterStartJourneyProps) => void;
5291
+ };
5292
+
5269
5293
  export declare const useCircleSounds: () => {
5270
5294
  playSwipSound: () => void;
5271
5295
  play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import { default as B } from "./assets/line-icons/icons/check.js";
19
19
  import { default as U } from "./assets/line-icons/icons/check2.js";
20
20
  import { default as W } from "./assets/line-icons/icons/clipboard.js";
21
21
  import { default as w } from "./assets/line-icons/icons/clock.js";
22
- import { default as Q } from "./assets/line-icons/icons/clock2.js";
22
+ import { default as J } from "./assets/line-icons/icons/clock2.js";
23
23
  import { default as K } from "./assets/line-icons/icons/code.js";
24
24
  import { default as j } from "./assets/line-icons/icons/copy.js";
25
25
  import { default as Z } from "./assets/line-icons/icons/cross.js";
@@ -46,7 +46,7 @@ import { default as Be } from "./assets/line-icons/icons/info2.js";
46
46
  import { default as Ue } from "./assets/line-icons/icons/left.js";
47
47
  import { default as We } from "./assets/line-icons/icons/lock.js";
48
48
  import { default as we } from "./assets/line-icons/icons/lock2.js";
49
- import { default as Qe } from "./assets/line-icons/icons/minus.js";
49
+ import { default as Je } from "./assets/line-icons/icons/minus.js";
50
50
  import { default as Ke } from "./assets/line-icons/icons/minus2.js";
51
51
  import { default as je } from "./assets/line-icons/icons/mistake.js";
52
52
  import { default as Ze } from "./assets/line-icons/icons/mobile.js";
@@ -73,7 +73,7 @@ import { default as bo } from "./assets/line-icons/icons/star.js";
73
73
  import { default as vo } from "./assets/line-icons/icons/skip-colored.js";
74
74
  import { default as Vo } from "./assets/line-icons/icons/skip.js";
75
75
  import { default as Yo } from "./assets/line-icons/icons/skip2.js";
76
- import { default as Jo } from "./assets/line-icons/icons/star2.js";
76
+ import { default as Qo } from "./assets/line-icons/icons/star2.js";
77
77
  import { default as Fo } from "./assets/line-icons/icons/status.js";
78
78
  import { default as zo } from "./assets/line-icons/icons/striked-eye.js";
79
79
  import { default as qo } from "./assets/line-icons/icons/switch-icon.js";
@@ -99,7 +99,7 @@ import { AutoPlayPermissionProvider as Br } from "./features/hooks/use-auto-play
99
99
  import { default as Ur } from "./features/hooks/use-zoom-disable.js";
100
100
  import { default as Wr } from "./features/hooks/use-force-reload.js";
101
101
  import { default as wr } from "./features/ui/accordion-section/accordion-section.js";
102
- import { default as Qr } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
102
+ import { default as Jr } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
103
103
  import { default as Kr } from "./features/ui/context-menu/context-menu.js";
104
104
  import { default as jr } from "./features/ui/timers/countdown-timer/countdown-timer.js";
105
105
  import { default as Zr } from "./features/ui/nudge/nudge.js";
@@ -126,7 +126,7 @@ import { CircularLoader as Bt } from "./features/ui/loader/circular-loader/circu
126
126
  import { default as Ut } from "./features/ui/radio-cards/radio-cards.js";
127
127
  import { default as Wt } from "./features/ui/section-list/section-list.js";
128
128
  import { default as wt } from "./features/ui/text/text.js";
129
- import { default as Qt } from "./features/ui/tag/tag.js";
129
+ import { default as Jt } from "./features/ui/tag/tag.js";
130
130
  import { default as Kt } from "./features/ui/callout/callout.js";
131
131
  import { default as jt, useUIContext as zt } from "./features/ui/context/context.js";
132
132
  import { default as qt } from "./features/ui/context/use-tracking-context.js";
@@ -153,7 +153,7 @@ import { checkIfPPTNodeType as ba } from "./features/chapters/lpar-chapter/utils
153
153
  import { default as va } from "./features/chapters-v2/chapter-details/chapter-details.js";
154
154
  import { invalidateGetChapterDetails as Va } from "./features/chapters-v2/api/chapter.js";
155
155
  import { GAME_LAUNCHER_ASSET_PADDING as Ya } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
156
- import { GAME_LAUNCHER_SIZE as Ja } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
156
+ import { GAME_LAUNCHER_SIZE as Qa } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
157
157
  import { useCircleSounds as Fa } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
158
158
  import { CircleSoundKey as za } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
159
159
  import { useGetLeaderboardDal as qa } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
@@ -179,7 +179,7 @@ import { default as bf } from "./features/cue-canvas/toolbar/toolbar.js";
179
179
  import { default as vf } from "./features/cue-canvas/cue-canvas.js";
180
180
  import { default as Vf } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
181
181
  import { default as Yf } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
182
- import { default as Jf } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
182
+ import { default as Qf } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
183
183
  import { EVENTS as Ff } from "./features/communication/pub-sub/constants.js";
184
184
  import { useInClassActionDispatcher as zf, useInClassActionListener as Zf } from "./features/communication/pub-sub/hooks.js";
185
185
  import { default as Xf } from "./features/trial-session/trial-session.js";
@@ -190,68 +190,70 @@ import { default as ss } from "./features/extra-practice/extra-practice.js";
190
190
  import { default as ps } from "./features/homework/hw-card-list/hw-card-list.js";
191
191
  import { invalidateHomeworks as us } from "./features/homework/hw-card-list/api/get-homeworks.js";
192
192
  import { useAutoPlayPermission as ds } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
193
- import { JOURNEY_ID_STUDENT as cs, JOURNEY_ID_TEACHER as Is } from "./features/journey/journey-id/journey-id-student.js";
194
- import { useJourney as Ts } from "./features/journey/use-journey/use-journey.js";
195
- import { useGetEligibleJourneysViaRoute as Ss } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
196
- import { JourneyProvider as As } from "./features/journey/use-journey/journey-context-provider.js";
197
- import { IndicatorType as Ps } from "./features/journey/use-journey/constants.js";
198
- import { Coachmark as hs } from "./features/journey/comps/coachmark/coachmark.js";
199
- import { useHomePageJourney as Ns } from "./features/journey/hooks/use-home-page-journey.js";
200
- import { default as Ms } from "./features/maintenance/maintenance.js";
201
- import { default as Hs } from "./features/milestone/create/submit-modal/submit-modal.js";
202
- import { default as Gs } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
203
- import { default as gs } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
204
- import { default as bs } from "./features/milestone/create/milestone-create-container.js";
205
- import { default as vs } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
206
- import { default as Vs } from "./features/milestone/outcome/milestone-outcome-container.js";
207
- import { default as Ys } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
208
- import { default as Js } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
209
- import { default as Fs } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
210
- import { default as zs } from "./features/milestone/edit/goal-edit-container.js";
211
- import { default as qs } from "./features/milestone/edit/milestone-edit-container.js";
212
- import { default as $s } from "./features/milestone/milestone-list-container/milestone-list-container.js";
213
- import { default as ol } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
214
- import { default as tl } from "./features/milestone/start/milestone-start.js";
215
- import { default as fl } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
216
- import { default as ll } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
217
- import { ACHIEVEMENT_ACTIONS as ml, STAGES as ul } from "./features/milestone/outcome/milestone-outcome-constants.js";
218
- import { invalidateMilestonesData as dl, useGetAllMilestonesdata as nl } from "./features/milestone/milestone-list-container/api/get-milestones.js";
219
- import { invalidateTestHelpData as Il, useGetTestHelpData as il } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
220
- import { invalidateMilestoneResources as El, useGetMilestoneResources as Sl } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
221
- import { default as Al } from "./features/pointer-sync/pointer.js";
222
- import { default as Pl } from "./features/pointer-sync/hooks/use-pointer-sync.js";
223
- import { DigitalMeter as hl } from "./features/post-game-stats/digital-meter/digital-meter.js";
224
- import { EPostGameStat as Nl } from "./features/post-game-stats/enums/post-game-stats-enum.js";
225
- import { PostGameStats as Ml } from "./features/post-game-stats/post-game-stats.js";
226
- import { default as Hl } from "./features/recent-chapters/recent-chapters.js";
227
- import { SENTRY_DENIED_URLS as Gl, SENTRY_IGNORED_ERRORS as yl } from "./features/sentry/constants/ignored.js";
228
- import { default as Bl } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
229
- import { default as Ul } from "./features/sheet-tools/tool-header/tool-header.js";
230
- import { default as Wl } from "./features/sheets/sheets-list/sheets-list.js";
231
- import { default as wl } from "./features/sheets/reference-sheet/reference-sheet.js";
232
- import { WORKSHEET_V3_NODE_TYPES as Ql } from "./features/sheets/utils/is-v3-worksheet.js";
233
- import { COMPLETED_SHEET_STATE as Kl, NODE_LABELS as Fl, NODE_SUB_GROUP as jl, NODE_TYPE as zl, PYTHON_NODE_TYPES as Zl, REWARDS_LIST as ql, SHEET_ACTIONS as Xl, SHEET_ATTEMPT_LOCATION as $l, SHEET_ATTEMPT_LOCATION_MAP as ep, SHEET_ATTEMPT_STATE as op, SHEET_DATA_TYPE as rp, SHEET_STATE as tp } from "./features/sheets/constants/sheet.js";
234
- import { default as fp } from "./features/student-details/student-details.js";
235
- import { default as lp } from "./features/utils/load-script.js";
236
- import { ACTION_BAR_HEIGHT as mp, QUESTIONS_GAP as up, QUESTION_WIDTH as xp, TOP_NAVIGATION_HEIGHT as dp } from "./features/worksheet/worksheet/constants.js";
237
- import { isOkayTypeQuestion as cp } from "./features/worksheet/worksheet/worksheet-helpers.js";
238
- import { default as ip } from "./features/worksheet/worksheet/worksheet-container.js";
239
- import { default as Ep } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
240
- import { default as Cp } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
241
- import { default as _p } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
242
- import { default as Rp } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
243
- import { default as Lp } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
244
- import { default as kp } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
193
+ import { JOURNEY_ID_STUDENT as cs } from "./features/journey/journey-id/journey-id-student.js";
194
+ import { JOURNEY_ID_TEACHER as is } from "./features/journey/journey-id/journey-id-teacher.js";
195
+ import { useJourney as Es } from "./features/journey/use-journey/use-journey.js";
196
+ import { useGetEligibleJourneysViaRoute as Cs } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
197
+ import { JourneyProvider as _s } from "./features/journey/use-journey/journey-context-provider.js";
198
+ import { IndicatorType as Rs } from "./features/journey/use-journey/constants.js";
199
+ import { Coachmark as Ls } from "./features/journey/comps/coachmark/coachmark.js";
200
+ import { useHomePageJourney as ks } from "./features/journey/hooks/use-home-page-journey.js";
201
+ import { useChapterPageJourney as Os } from "./features/journey/hooks/use-chapter-journey.js";
202
+ import { default as Ds } from "./features/maintenance/maintenance.js";
203
+ import { default as ys } from "./features/milestone/create/submit-modal/submit-modal.js";
204
+ import { default as Bs } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
205
+ import { default as Us } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
206
+ import { default as Ws } from "./features/milestone/create/milestone-create-container.js";
207
+ import { default as ws } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
208
+ import { default as Js } from "./features/milestone/outcome/milestone-outcome-container.js";
209
+ import { default as Ks } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
210
+ import { default as js } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
211
+ import { default as Zs } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
212
+ import { default as Xs } from "./features/milestone/edit/goal-edit-container.js";
213
+ import { default as el } from "./features/milestone/edit/milestone-edit-container.js";
214
+ import { default as rl } from "./features/milestone/milestone-list-container/milestone-list-container.js";
215
+ import { default as al } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
216
+ import { default as sl } from "./features/milestone/start/milestone-start.js";
217
+ import { default as pl } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
218
+ import { default as ul } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
219
+ import { ACHIEVEMENT_ACTIONS as dl, STAGES as nl } from "./features/milestone/outcome/milestone-outcome-constants.js";
220
+ import { invalidateMilestonesData as Il, useGetAllMilestonesdata as il } from "./features/milestone/milestone-list-container/api/get-milestones.js";
221
+ import { invalidateTestHelpData as El, useGetTestHelpData as Sl } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
222
+ import { invalidateMilestoneResources as Al, useGetMilestoneResources as _l } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
223
+ import { default as Rl } from "./features/pointer-sync/pointer.js";
224
+ import { default as Ll } from "./features/pointer-sync/hooks/use-pointer-sync.js";
225
+ import { DigitalMeter as kl } from "./features/post-game-stats/digital-meter/digital-meter.js";
226
+ import { EPostGameStat as Ol } from "./features/post-game-stats/enums/post-game-stats-enum.js";
227
+ import { PostGameStats as Dl } from "./features/post-game-stats/post-game-stats.js";
228
+ import { default as yl } from "./features/recent-chapters/recent-chapters.js";
229
+ import { SENTRY_DENIED_URLS as Bl, SENTRY_IGNORED_ERRORS as bl } from "./features/sentry/constants/ignored.js";
230
+ import { default as vl } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
231
+ import { default as Vl } from "./features/sheet-tools/tool-header/tool-header.js";
232
+ import { default as Yl } from "./features/sheets/sheets-list/sheets-list.js";
233
+ import { default as Ql } from "./features/sheets/reference-sheet/reference-sheet.js";
234
+ import { WORKSHEET_V3_NODE_TYPES as Fl } from "./features/sheets/utils/is-v3-worksheet.js";
235
+ import { COMPLETED_SHEET_STATE as zl, NODE_LABELS as Zl, NODE_SUB_GROUP as ql, NODE_TYPE as Xl, PYTHON_NODE_TYPES as $l, REWARDS_LIST as ep, SHEET_ACTIONS as op, SHEET_ATTEMPT_LOCATION as rp, SHEET_ATTEMPT_LOCATION_MAP as tp, SHEET_ATTEMPT_STATE as ap, SHEET_DATA_TYPE as fp, SHEET_STATE as sp } from "./features/sheets/constants/sheet.js";
236
+ import { default as pp } from "./features/student-details/student-details.js";
237
+ import { default as up } from "./features/utils/load-script.js";
238
+ import { ACTION_BAR_HEIGHT as dp, QUESTIONS_GAP as np, QUESTION_WIDTH as cp, TOP_NAVIGATION_HEIGHT as Ip } from "./features/worksheet/worksheet/constants.js";
239
+ import { isOkayTypeQuestion as Tp } from "./features/worksheet/worksheet/worksheet-helpers.js";
240
+ import { default as Sp } from "./features/worksheet/worksheet/worksheet-container.js";
241
+ import { default as Ap } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
242
+ import { default as Pp } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
243
+ import { default as hp } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
244
+ import { default as Np } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
245
+ import { default as Mp } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
246
+ import { default as Hp } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
245
247
  export {
246
- ml as ACHIEVEMENT_ACTIONS,
248
+ dl as ACHIEVEMENT_ACTIONS,
247
249
  wr as AccordionSection,
248
- Ys as AchievementNotShareReasonModal,
249
- Js as AchievementShareInstructionModal,
250
+ Ks as AchievementNotShareReasonModal,
251
+ js as AchievementShareInstructionModal,
250
252
  d as AlarmIcon,
251
253
  c as AlertIcon,
252
254
  yt as AppLoader,
253
255
  st as ArcButton,
254
- Qr as ArrowTooltip,
256
+ Jr as ArrowTooltip,
255
257
  Br as AutoPlayPermissionProvider,
256
258
  ta as Avatar,
257
259
  Er as Back2Icon,
@@ -268,12 +270,12 @@ export {
268
270
  Xr as Button,
269
271
  Cf as CIRCLE_ACTION_IDS,
270
272
  Ef as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
271
- Kl as COMPLETED_SHEET_STATE,
273
+ zl as COMPLETED_SHEET_STATE,
272
274
  y as CalendarIcon,
273
275
  Kt as Callout,
274
276
  Rt as CascadingSelectInput,
275
277
  Na as Chapter,
276
- gs as ChapterClearanceConfirmationModal,
278
+ Us as ChapterClearanceConfirmationModal,
277
279
  va as ChapterDetails,
278
280
  Ma as ChaptersList,
279
281
  Or as ChatIcon,
@@ -289,9 +291,9 @@ export {
289
291
  Mf as CircularSteps,
290
292
  et as Clickable,
291
293
  W as ClipboardIcon,
292
- Q as Clock2Icon,
294
+ J as Clock2Icon,
293
295
  w as ClockIcon,
294
- hs as Coachmark,
296
+ Ls as Coachmark,
295
297
  K as CodeIcon,
296
298
  Kr as ContextMenu,
297
299
  j as CopyIcon,
@@ -304,35 +306,35 @@ export {
304
306
  Dr as CuemathLogo,
305
307
  ee as DartIcon,
306
308
  re as DashArrowIcon,
307
- Bl as DesmosCalculator,
308
- hl as DigitalMeter,
309
+ vl as DesmosCalculator,
310
+ kl as DigitalMeter,
309
311
  ae as DownIcon,
310
312
  se as DraftIcon,
311
313
  pe as DragIcon,
312
314
  es as EClassTimeAlertLevel,
313
315
  $a as ELeaderboardType,
314
- ll as EPResourceAssign,
315
- Nl as EPostGameStat,
316
+ ul as EPResourceAssign,
317
+ Ol as EPostGameStat,
316
318
  Ff as EVENTS,
317
319
  de as Edit2Icon,
318
320
  ue as EditIcon,
319
- Fs as EditMilestoneModal,
321
+ Zs as EditMilestoneModal,
320
322
  ce as EditStarIcon,
321
323
  ie as EraserIcon,
322
324
  pt as Error,
323
325
  _e as ExclamationIcon,
324
- Ul as ExpandableHeader,
326
+ Vl as ExpandableHeader,
325
327
  ss as ExtraPractice,
326
328
  Ce as Eye2Icon,
327
329
  Ee as EyeIcon,
328
330
  Dt as FlexView,
329
331
  Ya as GAME_LAUNCHER_ASSET_PADDING,
330
- Ja as GAME_LAUNCHER_SIZE,
332
+ Qa as GAME_LAUNCHER_SIZE,
331
333
  Lr as GameIcon,
332
334
  _f as GameLauncher,
333
- Gs as GoalCreationConfirmationModal,
334
- vs as GoalDraftEdit,
335
- zs as GoalEdit,
335
+ Bs as GoalCreationConfirmationModal,
336
+ ws as GoalDraftEdit,
337
+ Xs as GoalEdit,
336
338
  Ct as GooglePlacesSearchInput,
337
339
  r as GradeSelector,
338
340
  Re as HandIcon,
@@ -345,43 +347,43 @@ export {
345
347
  If as IStatsToAwardErrorCode,
346
348
  rt as IconButton,
347
349
  De as ImageIcon,
348
- Ps as IndicatorType,
350
+ Rs as IndicatorType,
349
351
  Be as Info2Icon,
350
352
  ye as InfoIcon,
351
353
  cs as JOURNEY_ID_STUDENT,
352
- Is as JOURNEY_ID_TEACHER,
353
- As as JourneyProvider,
354
+ is as JOURNEY_ID_TEACHER,
355
+ _s as JourneyProvider,
354
356
  u as LOTTIE,
355
357
  Ha as LPARChapter,
356
358
  Ga as LPARMilestoneChapter,
357
359
  Lf as Leaderboard,
358
- Rp as LearnosityPreloader,
360
+ Np as LearnosityPreloader,
359
361
  Ue as LeftIcon,
360
362
  we as Lock2Icon,
361
363
  We as LockIcon,
362
- Ms as Maintenance,
363
- ol as MilestoneActionWidget,
364
- bs as MilestoneCreate,
365
- qs as MilestoneEdit,
366
- $s as MilestoneList,
367
- Vs as MilestoneOutcome,
368
- tl as MilestoneStart,
364
+ Ds as Maintenance,
365
+ al as MilestoneActionWidget,
366
+ Ws as MilestoneCreate,
367
+ el as MilestoneEdit,
368
+ rl as MilestoneList,
369
+ Js as MilestoneOutcome,
370
+ sl as MilestoneStart,
369
371
  Ke as Minus2Icon,
370
- Qe as MinusIcon,
372
+ Je as MinusIcon,
371
373
  je as MistakeIcon,
372
374
  Ze as Mobile,
373
375
  Xe as MoreVerticalIcon,
374
376
  ha as MultiTabBlocker,
375
- Fl as NODE_LABELS,
376
- jl as NODE_SUB_GROUP,
377
- zl as NODE_TYPE,
377
+ Zl as NODE_LABELS,
378
+ ql as NODE_SUB_GROUP,
379
+ Xl as NODE_TYPE,
378
380
  yr as Next2Icon,
379
381
  eo as NextIcon,
380
382
  Zr as Nudge,
381
383
  Lt as NumRangeInput,
382
384
  Ta as PLATFORM_EVENTS_STUDENT,
383
385
  Sa as PLATFORM_EVENTS_TEACHER,
384
- Zl as PYTHON_NODE_TYPES,
386
+ $l as PYTHON_NODE_TYPES,
385
387
  ro as PencilIcon,
386
388
  kt as PercentileInput,
387
389
  Ia as PerfectHits,
@@ -391,35 +393,35 @@ export {
391
393
  no as Plus2Icon,
392
394
  uo as PlusIcon,
393
395
  ao as PointerIcon,
394
- Ml as PostGameStats,
396
+ Dl as PostGameStats,
395
397
  Io as PracticeIcon,
396
- Ep as PreviewWorksheet,
398
+ Ap as PreviewWorksheet,
397
399
  To as ProgressIcon,
398
400
  lf as ProjectOutcome,
399
401
  xf as ProjectType,
400
402
  So as PuzzleIcon,
401
403
  Ao as QuestionIcon,
402
404
  Po as QuestionLetterIcon,
403
- ql as REWARDS_LIST,
405
+ ep as REWARDS_LIST,
404
406
  Ut as RadioCard,
405
407
  ct as RadioInput,
406
408
  ho as RecapIcon,
407
- Hl as RecentChapters,
409
+ yl as RecentChapters,
408
410
  No as RedoIcon,
409
- wl as ReferenceSheet,
410
- Al as RemotePeerPointer,
411
+ Ql as ReferenceSheet,
412
+ Rl as RemotePeerPointer,
411
413
  Mo as RightIcon,
412
414
  Ho as RulerIcon,
413
415
  ga as SATSheetSummary,
414
- Gl as SENTRY_DENIED_URLS,
415
- yl as SENTRY_IGNORED_ERRORS,
416
- Xl as SHEET_ACTIONS,
417
- $l as SHEET_ATTEMPT_LOCATION,
418
- ep as SHEET_ATTEMPT_LOCATION_MAP,
419
- op as SHEET_ATTEMPT_STATE,
420
- rp as SHEET_DATA_TYPE,
421
- tp as SHEET_STATE,
422
- ul as STAGES,
416
+ Bl as SENTRY_DENIED_URLS,
417
+ bl as SENTRY_IGNORED_ERRORS,
418
+ op as SHEET_ACTIONS,
419
+ rp as SHEET_ATTEMPT_LOCATION,
420
+ tp as SHEET_ATTEMPT_LOCATION_MAP,
421
+ ap as SHEET_ATTEMPT_STATE,
422
+ fp as SHEET_DATA_TYPE,
423
+ sp as SHEET_STATE,
424
+ nl as STAGES,
423
425
  Ir as ScribbleIcon,
424
426
  Go as SearchIcon,
425
427
  Et as SearchableSelectInput,
@@ -427,31 +429,31 @@ export {
427
429
  it as SelectInput,
428
430
  Ot as SelectionCards,
429
431
  xa as Separator,
430
- _p as SheetError,
432
+ hp as SheetError,
431
433
  go as SheetIcon,
432
- Wl as SheetList,
433
- Cp as SheetLocked,
434
+ Yl as SheetList,
435
+ Pp as SheetLocked,
434
436
  Gf as SignUp,
435
437
  ir as SketchIcon,
436
438
  Yo as Skip2Icon,
437
439
  vo as SkipColoredIcon,
438
440
  Vo as SkipIcon,
439
441
  Hf as SplashScreen,
440
- Jo as Star2Icon,
442
+ Qo as Star2Icon,
441
443
  bo as StarIcon,
442
444
  Fo as StatusIcon,
443
445
  a as Stepper,
444
446
  ma as StreakIcon,
445
447
  of as StreakReductionLocalStorageUtil,
446
448
  zo as StrikedEyeIcon,
447
- fp as StudentDetails,
448
- Hs as SubmitMilestoneModal,
449
+ pp as StudentDetails,
450
+ ys as SubmitMilestoneModal,
449
451
  qo as SwitchIcon,
450
452
  la as TabComponent,
451
- Qt as Tag,
453
+ Jt as Tag,
452
454
  as as TalkMeter,
453
455
  $o as TestTubeIcon,
454
- fl as TestsCreation,
456
+ pl as TestsCreation,
455
457
  wt as Text,
456
458
  at as TextButton,
457
459
  _t as TextInput,
@@ -469,47 +471,48 @@ export {
469
471
  xr as UserIcon,
470
472
  na as Video,
471
473
  Aa as WHITELIST_EVENTS,
472
- mp as WORKSHEET_ACTION_BAR_HEIGHT,
473
- up as WORKSHEET_QUESTIONS_GAP,
474
- xp as WORKSHEET_QUESTION_WIDTH,
475
- dp as WORKSHEET_TOP_NAVIGATION_HEIGHT,
476
- Ql as WORKSHEET_V3_NODE_TYPES,
474
+ dp as WORKSHEET_ACTION_BAR_HEIGHT,
475
+ np as WORKSHEET_QUESTIONS_GAP,
476
+ cp as WORKSHEET_QUESTION_WIDTH,
477
+ Ip as WORKSHEET_TOP_NAVIGATION_HEIGHT,
478
+ Fl as WORKSHEET_V3_NODE_TYPES,
477
479
  ff as WebView,
478
480
  mf as WebViewEvent,
479
- ip as Worksheet,
481
+ Sp as Worksheet,
480
482
  ba as checkIfPPTNodeType,
481
483
  oa as getTheme,
482
484
  Va as invalidateGetChapterDetails,
483
485
  us as invalidateHomeworks,
484
- El as invalidateMilestoneResources,
485
- dl as invalidateMilestonesData,
486
- Il as invalidateTestHelpData,
487
- cp as isOkayTypeQuestion,
488
- lp as loadScript,
486
+ Al as invalidateMilestoneResources,
487
+ Il as invalidateMilestonesData,
488
+ El as invalidateTestHelpData,
489
+ Tp as isOkayTypeQuestion,
490
+ up as loadScript,
489
491
  ds as useAutoPlayPermission,
490
492
  Vf as useCanvasSyncBroker,
493
+ Os as useChapterPageJourney,
491
494
  Fa as useCircleSounds,
492
495
  rs as useClassTimeAlerts,
493
496
  $t as useContextMenuClickHandler,
494
497
  Wr as useForceReload,
495
- nl as useGetAllMilestonesdata,
498
+ il as useGetAllMilestonesdata,
496
499
  Rf as useGetCircleHomeDetailsDal,
497
- Ss as useGetEligibleJourneysViaRoute,
500
+ Cs as useGetEligibleJourneysViaRoute,
498
501
  qa as useGetLeaderboardDal,
499
- Sl as useGetMilestoneResources,
500
- il as useGetTestHelpData,
501
- Ns as useHomePageJourney,
502
+ _l as useGetMilestoneResources,
503
+ Sl as useGetTestHelpData,
504
+ ks as useHomePageJourney,
502
505
  zf as useInClassActionDispatcher,
503
506
  Zf as useInClassActionListener,
504
507
  Yf as useInClassMessageBroker,
505
- Lp as useIsLearnosityLoaded,
508
+ Mp as useIsLearnosityLoaded,
506
509
  Pa as useIsTabBlocked,
507
- Ts as useJourney,
508
- Pl as usePointerSync,
510
+ Es as useJourney,
511
+ Ll as usePointerSync,
509
512
  qt as useTrackingContext,
510
- Jf as useTrialSessionMessageBroker,
513
+ Qf as useTrialSessionMessageBroker,
511
514
  zt as useUIContext,
512
- kp as useWorksheetLayout,
515
+ Hp as useWorksheetLayout,
513
516
  Ur as useZoomDisable
514
517
  };
515
518
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "2.9.6-as4",
3
+ "version": "2.9.6-as6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"