@cuemath/leap 2.8.57 → 2.8.58
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/constants/api.js +5 -6
- package/dist/constants/api.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +11 -6
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +76 -66
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +19 -18
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +23 -22
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +40 -76
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/index.d.ts +15 -12
- package/dist/index.js +145 -147
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/journey/journey-progress-api/journey-progress-api.js +0 -12
- package/dist/features/journey/journey-progress-api/journey-progress-api.js.map +0 -1
- package/dist/features/journey/use-get-eligible-journeys.js +0 -11
- package/dist/features/journey/use-get-eligible-journeys.js.map +0 -1
package/dist/index.js
CHANGED
@@ -16,11 +16,11 @@ import { default as H } from "./assets/line-icons/icons/bulb2.js";
|
|
16
16
|
import { default as D } from "./assets/line-icons/icons/calendar.js";
|
17
17
|
import { default as y } from "./assets/line-icons/icons/check.js";
|
18
18
|
import { default as B } from "./assets/line-icons/icons/check2.js";
|
19
|
-
import { default as
|
19
|
+
import { default as b } from "./assets/line-icons/icons/clipboard.js";
|
20
20
|
import { default as W } from "./assets/line-icons/icons/clock.js";
|
21
21
|
import { default as w } from "./assets/line-icons/icons/clock2.js";
|
22
22
|
import { default as Y } from "./assets/line-icons/icons/code.js";
|
23
|
-
import { default as
|
23
|
+
import { default as F } from "./assets/line-icons/icons/copy.js";
|
24
24
|
import { default as j } from "./assets/line-icons/icons/cross.js";
|
25
25
|
import { default as q } from "./assets/line-icons/icons/cue-rocket.js";
|
26
26
|
import { default as X } from "./assets/line-icons/icons/dash-arrow.js";
|
@@ -43,11 +43,11 @@ import { default as He } from "./assets/line-icons/icons/info2.js";
|
|
43
43
|
import { default as De } from "./assets/line-icons/icons/left.js";
|
44
44
|
import { default as ye } from "./assets/line-icons/icons/lock.js";
|
45
45
|
import { default as Be } from "./assets/line-icons/icons/lock2.js";
|
46
|
-
import { default as
|
46
|
+
import { default as be } from "./assets/line-icons/icons/minus.js";
|
47
47
|
import { default as We } from "./assets/line-icons/icons/minus2.js";
|
48
48
|
import { default as we } from "./assets/line-icons/icons/mistake.js";
|
49
49
|
import { default as Ye } from "./assets/line-icons/icons/mobile.js";
|
50
|
-
import { default as
|
50
|
+
import { default as Fe } from "./assets/line-icons/icons/more-vertical.js";
|
51
51
|
import { default as je } from "./assets/line-icons/icons/next.js";
|
52
52
|
import { default as qe } from "./assets/line-icons/icons/pencil.js";
|
53
53
|
import { default as Xe } from "./assets/line-icons/icons/pointer.js";
|
@@ -69,12 +69,12 @@ import { default as Oo } from "./assets/line-icons/icons/skip.js";
|
|
69
69
|
import { default as Ro } from "./assets/line-icons/icons/skip2.js";
|
70
70
|
import { default as Go } from "./assets/line-icons/icons/star2.js";
|
71
71
|
import { default as go } from "./assets/line-icons/icons/striked-eye.js";
|
72
|
-
import { default as
|
72
|
+
import { default as Uo } from "./assets/line-icons/icons/switch-icon.js";
|
73
73
|
import { default as vo } from "./assets/line-icons/icons/tick.js";
|
74
74
|
import { default as Vo } from "./assets/line-icons/icons/trophy.js";
|
75
75
|
import { default as Qo } from "./assets/line-icons/icons/undo.js";
|
76
|
-
import { default as
|
77
|
-
import { default as
|
76
|
+
import { default as Ko } from "./assets/line-icons/icons/unlock.js";
|
77
|
+
import { default as Jo } from "./assets/line-icons/icons/up.js";
|
78
78
|
import { default as Zo } from "./assets/line-icons/icons/user.js";
|
79
79
|
import { default as zo } from "./assets/line-icons/icons/user2.js";
|
80
80
|
import { default as $o, default as er } from "./assets/line-icons/icons/sketch.js";
|
@@ -96,11 +96,11 @@ import { default as Hr } from "./features/ui/context-menu/context-menu.js";
|
|
96
96
|
import { default as Dr } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
97
97
|
import { default as yr } from "./features/ui/nudge/nudge.js";
|
98
98
|
import { default as Br } from "./features/ui/buttons/button/button.js";
|
99
|
-
import { default as
|
99
|
+
import { default as br } from "./features/ui/buttons/clickable/clickable.js";
|
100
100
|
import { default as Wr } from "./features/ui/buttons/icon-button/icon-button.js";
|
101
101
|
import { default as wr } from "./features/ui/buttons/text-button/text-button.js";
|
102
102
|
import { ArcButton as Yr } from "./features/ui/arc-button/arc-button.js";
|
103
|
-
import { default as
|
103
|
+
import { default as Fr } from "./features/ui/error/error.js";
|
104
104
|
import { default as jr } from "./features/ui/inputs/checkbox-input/checkbox-input.js";
|
105
105
|
import { default as qr } from "./features/ui/inputs/checkbox-input-list/checkbox-input-list.js";
|
106
106
|
import { default as Xr } from "./features/ui/inputs/radio-input/radio-input.js";
|
@@ -122,12 +122,12 @@ import { default as Nt } from "./features/ui/tag/tag.js";
|
|
122
122
|
import { default as Ht } from "./features/ui/callout/callout.js";
|
123
123
|
import { default as Dt, useUIContext as Gt } from "./features/ui/context/context.js";
|
124
124
|
import { default as gt } from "./features/ui/context/use-tracking-context.js";
|
125
|
-
import { default as
|
125
|
+
import { default as Ut } from "./features/ui/hooks/use-context-menu-click-handler.js";
|
126
126
|
import { getTheme as vt } from "./features/ui/theme/get-theme.js";
|
127
127
|
import { default as Vt } from "./features/ui/avatar/avatar.js";
|
128
128
|
import { default as Qt } from "./features/ui/time-left-timeline/time-left-timeline.js";
|
129
|
-
import { default as
|
130
|
-
import { default as
|
129
|
+
import { default as Kt } from "./features/ui/tab/tab.js";
|
130
|
+
import { default as Jt } from "./features/ui/streak-icon/streak-icon.js";
|
131
131
|
import { default as Zt } from "./features/ui/separator/separator.js";
|
132
132
|
import { default as zt } from "./features/ui/video/index.js";
|
133
133
|
import { default as $t } from "./features/ui/perfect-hits/perfect-hits.js";
|
@@ -149,12 +149,12 @@ import { CircleSoundKey as Oa } from "./features/circle-games/hooks/use-circle-s
|
|
149
149
|
import { useGetLeaderboardDal as Ra } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
150
150
|
import { ELeaderboardType as Ga } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
|
151
151
|
import { StreakReductionLocalStorageUtil as ga } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
152
|
-
import { Tutorial as
|
152
|
+
import { Tutorial as Ua } from "./features/circle-games/games/tutorial/tutorial.js";
|
153
153
|
import { WebView as va } from "./features/circle-games/games/web-view/web-view.js";
|
154
154
|
import { ProjectOutcome as Va } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
155
155
|
import { WebViewEvent as Qa } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
156
|
-
import { ProjectType as
|
157
|
-
import { PlayerType as
|
156
|
+
import { ProjectType as Ka } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
157
|
+
import { PlayerType as Ja } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
158
158
|
import { IStatsToAwardErrorCode as Za } from "./features/circle-games/games/web-view/web-view-types.js";
|
159
159
|
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as za } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
160
160
|
import { CIRCLE_ACTION_IDS as $a } from "./features/circle-games/enum/circle-action-ids.js";
|
@@ -175,64 +175,63 @@ import { EVENTS as Of } from "./features/communication/pub-sub/constants.js";
|
|
175
175
|
import { useInClassActionDispatcher as Rf, useInClassActionListener as Df } from "./features/communication/pub-sub/hooks.js";
|
176
176
|
import { default as yf } from "./features/trial-session/trial-session.js";
|
177
177
|
import { EClassTimeAlertLevel as Bf } from "./features/trial-session/trial-session-types.js";
|
178
|
-
import { useClassTimeAlerts as
|
178
|
+
import { useClassTimeAlerts as bf } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
179
179
|
import { default as Wf } from "./features/talk-meter/talk-meter.js";
|
180
180
|
import { default as wf } from "./features/extra-practice/extra-practice.js";
|
181
181
|
import { useAutoPlayPermission as Yf } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
182
|
-
import { JOURNEY_ID_STUDENT as
|
182
|
+
import { JOURNEY_ID_STUDENT as Ff } from "./features/journey/journey-id/journey-id-student.js";
|
183
183
|
import { useJourney as jf } from "./features/journey/use-journey/use-journey.js";
|
184
|
-
import {
|
185
|
-
import {
|
186
|
-
import {
|
187
|
-
import {
|
188
|
-
import { default as as } from "./features/milestone/create/
|
189
|
-
import { default as ss } from "./features/milestone/create/comps/confirmation-modals/
|
190
|
-
import { default as ps } from "./features/milestone/create/
|
191
|
-
import { default as us } from "./features/milestone/
|
192
|
-
import { default as ds } from "./features/milestone/
|
193
|
-
import { default as cs } from "./features/milestone/outcome/
|
194
|
-
import { default as is } from "./features/milestone/outcome/comps/achievement/
|
195
|
-
import { default as Es } from "./features/milestone/
|
196
|
-
import { default as Cs } from "./features/milestone/edit/
|
197
|
-
import { default as _s } from "./features/milestone/edit/
|
198
|
-
import { default as hs } from "./features/milestone/
|
199
|
-
import { default as ks } from "./features/milestone/milestone-
|
200
|
-
import { default as Ns } from "./features/milestone/
|
201
|
-
import { default as Hs } from "./features/milestone/
|
202
|
-
import { default as Ds } from "./features/milestone/milestone-
|
203
|
-
import {
|
204
|
-
import {
|
205
|
-
import {
|
206
|
-
import {
|
207
|
-
import {
|
208
|
-
import { default as js } from "./features/pointer-sync/pointer.js";
|
209
|
-
import {
|
210
|
-
import {
|
211
|
-
import {
|
212
|
-
import {
|
213
|
-
import { default as al } from "./features/sheet-tools/
|
214
|
-
import { default as sl } from "./features/
|
215
|
-
import { default as pl } from "./features/sheets/
|
216
|
-
import {
|
217
|
-
import {
|
218
|
-
import {
|
219
|
-
import { default as Nl } from "./features/
|
220
|
-
import {
|
221
|
-
import {
|
222
|
-
import {
|
223
|
-
import { default as vl } from "./features/worksheet/worksheet/worksheet-
|
224
|
-
import { default as Vl } from "./features/worksheet/worksheet
|
225
|
-
import { default as Ql } from "./features/worksheet/worksheet/worksheet-permissions/
|
226
|
-
import { default as
|
227
|
-
import { default as
|
228
|
-
import { default as Zl } from "./features/worksheet/
|
229
|
-
import { default as zl } from "./features/
|
230
|
-
import { default as $l } from "./features/maintenance/maintenance.js";
|
184
|
+
import { JourneyProvider as qf } from "./features/journey/use-journey/journey-context-provider.js";
|
185
|
+
import { IndicatorType as Xf } from "./features/journey/use-journey/constants.js";
|
186
|
+
import { Coachmark as es } from "./features/journey/comps/coachmark/coachmark.js";
|
187
|
+
import { default as rs } from "./features/milestone/create/submit-modal/submit-modal.js";
|
188
|
+
import { default as as } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
189
|
+
import { default as ss } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
190
|
+
import { default as ps } from "./features/milestone/create/milestone-create-container.js";
|
191
|
+
import { default as us } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
192
|
+
import { default as ds } from "./features/milestone/outcome/milestone-outcome-container.js";
|
193
|
+
import { default as cs } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
|
194
|
+
import { default as is } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
|
195
|
+
import { default as Es } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
|
196
|
+
import { default as Cs } from "./features/milestone/edit/goal-edit-container.js";
|
197
|
+
import { default as _s } from "./features/milestone/edit/milestone-edit-container.js";
|
198
|
+
import { default as hs } from "./features/milestone/milestone-list-container/milestone-list-container.js";
|
199
|
+
import { default as ks } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
200
|
+
import { default as Ns } from "./features/milestone/start/milestone-start.js";
|
201
|
+
import { default as Hs } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
202
|
+
import { default as Ds } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
203
|
+
import { ACHIEVEMENT_ACTIONS as ys, STAGES as gs } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
204
|
+
import { invalidateMilestonesData as Us, useGetAllMilestonesdata as bs } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
205
|
+
import { invalidateTestHelpData as Ws, useGetTestHelpData as Vs } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
206
|
+
import { invalidateMilestoneResources as Qs, useGetMilestoneResources as Ys } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
207
|
+
import { default as Fs } from "./features/pointer-sync/pointer.js";
|
208
|
+
import { default as js } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
209
|
+
import { DigitalMeter as qs } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
210
|
+
import { EPostGameStat as Xs } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
211
|
+
import { PostGameStats as el } from "./features/post-game-stats/post-game-stats.js";
|
212
|
+
import { default as rl } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
213
|
+
import { default as al } from "./features/sheet-tools/tool-header/tool-header.js";
|
214
|
+
import { default as sl } from "./features/sheets/sheets-list/sheets-list.js";
|
215
|
+
import { default as pl } from "./features/sheets/reference-sheet/reference-sheet.js";
|
216
|
+
import { isV3Worksheet as ul, isV3WorksheetAttempt as xl } from "./features/sheets/utils/is-v3-worksheet.js";
|
217
|
+
import { COMPLETED_SHEET_STATE as nl, NODE_LABELS as cl, NODE_SUB_GROUP as Il, NODE_TYPE as il, PYTHON_NODE_TYPES as Tl, REWARDS_LIST as El, SHEET_ACTIONS as Sl, SHEET_ATTEMPT_LOCATION as Cl, SHEET_ATTEMPT_LOCATION_MAP as Al, SHEET_ATTEMPT_STATE as _l, SHEET_DATA_TYPE as Pl, SHEET_STATE as hl } from "./features/sheets/constants/sheet.js";
|
218
|
+
import { default as kl } from "./features/student-details/student-details.js";
|
219
|
+
import { default as Nl } from "./features/utils/load-script.js";
|
220
|
+
import { ACTION_BAR_HEIGHT as Hl, QUESTIONS_GAP as Rl, QUESTION_WIDTH as Dl, TOP_NAVIGATION_HEIGHT as Gl } from "./features/worksheet/worksheet/constants.js";
|
221
|
+
import { isOkayTypeQuestion as gl } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
222
|
+
import { default as Ul } from "./features/worksheet/worksheet/worksheet-container.js";
|
223
|
+
import { default as vl } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
224
|
+
import { default as Vl } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
225
|
+
import { default as Ql } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
226
|
+
import { default as Kl } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
227
|
+
import { default as Jl } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
228
|
+
import { default as Zl } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
229
|
+
import { default as zl } from "./features/maintenance/maintenance.js";
|
231
230
|
export {
|
232
|
-
|
231
|
+
ys as ACHIEVEMENT_ACTIONS,
|
233
232
|
kr as AccordionSection,
|
234
|
-
|
235
|
-
|
233
|
+
cs as AchievementNotShareReasonModal,
|
234
|
+
is as AchievementShareInstructionModal,
|
236
235
|
d as AlertIcon,
|
237
236
|
Et as AppLoader,
|
238
237
|
Yr as ArcButton,
|
@@ -253,12 +252,12 @@ export {
|
|
253
252
|
Br as Button,
|
254
253
|
$a as CIRCLE_ACTION_IDS,
|
255
254
|
za as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
256
|
-
|
255
|
+
nl as COMPLETED_SHEET_STATE,
|
257
256
|
D as CalendarIcon,
|
258
257
|
Ht as Callout,
|
259
258
|
pt as CascadingSelectInput,
|
260
259
|
xa as Chapter,
|
261
|
-
|
260
|
+
ss as ChapterClearanceConfirmationModal,
|
262
261
|
na as ChaptersList,
|
263
262
|
cr as ChatIcon,
|
264
263
|
B as Check2Icon,
|
@@ -271,14 +270,14 @@ export {
|
|
271
270
|
Oa as CircleSoundKey,
|
272
271
|
Ct as CircularLoader,
|
273
272
|
uf as CircularSteps,
|
274
|
-
|
275
|
-
|
273
|
+
br as Clickable,
|
274
|
+
b as ClipboardIcon,
|
276
275
|
w as Clock2Icon,
|
277
276
|
W as ClockIcon,
|
278
|
-
|
277
|
+
es as Coachmark,
|
279
278
|
Y as CodeIcon,
|
280
279
|
Hr as ContextMenu,
|
281
|
-
|
280
|
+
F as CopyIcon,
|
282
281
|
Dr as CountdownTimer,
|
283
282
|
j as CrossIcon,
|
284
283
|
Af as CueCanvas,
|
@@ -287,23 +286,23 @@ export {
|
|
287
286
|
q as CueRocket,
|
288
287
|
ir as CuemathLogo,
|
289
288
|
X as DashArrowIcon,
|
290
|
-
|
291
|
-
|
289
|
+
rl as DesmosCalculator,
|
290
|
+
qs as DigitalMeter,
|
292
291
|
ee as DownIcon,
|
293
292
|
re as DraftIcon,
|
294
293
|
ae as DragIcon,
|
295
294
|
Bf as EClassTimeAlertLevel,
|
296
295
|
Ga as ELeaderboardType,
|
297
|
-
|
298
|
-
|
296
|
+
Ds as EPResourceAssign,
|
297
|
+
Xs as EPostGameStat,
|
299
298
|
Of as EVENTS,
|
300
299
|
pe as Edit2Icon,
|
301
300
|
se as EditIcon,
|
302
|
-
|
301
|
+
Es as EditMilestoneModal,
|
303
302
|
ue as EditStarIcon,
|
304
303
|
de as EraserIcon,
|
305
|
-
|
306
|
-
|
304
|
+
Fr as Error,
|
305
|
+
al as ExpandableHeader,
|
307
306
|
wf as ExtraPractice,
|
308
307
|
ie as Eye2Icon,
|
309
308
|
ce as EyeIcon,
|
@@ -312,9 +311,9 @@ export {
|
|
312
311
|
La as GAME_LAUNCHER_SIZE,
|
313
312
|
ur as GameIcon,
|
314
313
|
of as GameLauncher,
|
315
|
-
|
316
|
-
|
317
|
-
|
314
|
+
as as GoalCreationConfirmationModal,
|
315
|
+
us as GoalDraftEdit,
|
316
|
+
Cs as GoalEdit,
|
318
317
|
at as GooglePlacesSearchInput,
|
319
318
|
r as GradeSelector,
|
320
319
|
Ee as HandIcon,
|
@@ -326,75 +325,75 @@ export {
|
|
326
325
|
Za as IStatsToAwardErrorCode,
|
327
326
|
Wr as IconButton,
|
328
327
|
ke as ImageIcon,
|
329
|
-
|
328
|
+
Xf as IndicatorType,
|
330
329
|
He as Info2Icon,
|
331
330
|
Ne as InfoIcon,
|
332
|
-
|
333
|
-
|
331
|
+
Ff as JOURNEY_ID_STUDENT,
|
332
|
+
qf as JourneyProvider,
|
334
333
|
u as LOTTIE,
|
335
334
|
Ia as LPARChapter,
|
336
335
|
Ta as LPARMilestoneChapter,
|
337
336
|
lf as Leaderboard,
|
338
|
-
|
337
|
+
Kl as LearnosityPreloader,
|
339
338
|
De as LeftIcon,
|
340
339
|
Be as Lock2Icon,
|
341
340
|
ye as LockIcon,
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
341
|
+
zl as Maintenance,
|
342
|
+
ks as MilestoneActionWidget,
|
343
|
+
ps as MilestoneCreate,
|
344
|
+
_s as MilestoneEdit,
|
345
|
+
hs as MilestoneList,
|
346
|
+
ds as MilestoneOutcome,
|
347
|
+
Ns as MilestoneStart,
|
349
348
|
We as Minus2Icon,
|
350
|
-
|
349
|
+
be as MinusIcon,
|
351
350
|
we as MistakeIcon,
|
352
351
|
Ye as Mobile,
|
353
|
-
|
352
|
+
Fe as MoreVerticalIcon,
|
354
353
|
ma as MultiTabBlocker,
|
355
|
-
|
356
|
-
|
357
|
-
|
354
|
+
cl as NODE_LABELS,
|
355
|
+
Il as NODE_SUB_GROUP,
|
356
|
+
il as NODE_TYPE,
|
358
357
|
Er as Next2Icon,
|
359
358
|
je as NextIcon,
|
360
359
|
yr as Nudge,
|
361
360
|
ut as NumRangeInput,
|
362
361
|
oa as PLATFORM_EVENTS_STUDENT,
|
363
362
|
ta as PLATFORM_EVENTS_TEACHER,
|
364
|
-
|
363
|
+
Tl as PYTHON_NODE_TYPES,
|
365
364
|
qe as PencilIcon,
|
366
365
|
dt as PercentileInput,
|
367
366
|
$t as PerfectHits,
|
368
367
|
ro as Play2Icon,
|
369
368
|
eo as PlayIcon,
|
370
|
-
|
369
|
+
Ja as PlayerType,
|
371
370
|
so as Plus2Icon,
|
372
371
|
ao as PlusIcon,
|
373
372
|
Xe as PointerIcon,
|
374
|
-
|
373
|
+
el as PostGameStats,
|
375
374
|
po as PracticeIcon,
|
376
|
-
|
375
|
+
vl as PreviewWorksheet,
|
377
376
|
uo as ProgressIcon,
|
378
377
|
Va as ProjectOutcome,
|
379
|
-
|
378
|
+
Ka as ProjectType,
|
380
379
|
no as QuestionIcon,
|
381
380
|
Io as QuestionLetterIcon,
|
382
|
-
|
381
|
+
El as REWARDS_LIST,
|
383
382
|
_t as RadioCard,
|
384
383
|
Xr as RadioInput,
|
385
384
|
To as RedoIcon,
|
386
|
-
|
387
|
-
|
385
|
+
pl as ReferenceSheet,
|
386
|
+
Fs as RemotePeerPointer,
|
388
387
|
So as RightIcon,
|
389
388
|
Ao as RulerIcon,
|
390
389
|
Sa as SATSheetSummary,
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
390
|
+
Sl as SHEET_ACTIONS,
|
391
|
+
Cl as SHEET_ATTEMPT_LOCATION,
|
392
|
+
Al as SHEET_ATTEMPT_LOCATION_MAP,
|
393
|
+
_l as SHEET_ATTEMPT_STATE,
|
394
|
+
Pl as SHEET_DATA_TYPE,
|
395
|
+
hl as SHEET_STATE,
|
396
|
+
gs as STAGES,
|
398
397
|
$o as ScribbleIcon,
|
399
398
|
Po as SearchIcon,
|
400
399
|
rt as SearchableSelectInput,
|
@@ -402,10 +401,10 @@ export {
|
|
402
401
|
et as SelectInput,
|
403
402
|
ct as SelectionCards,
|
404
403
|
Zt as Separator,
|
405
|
-
|
404
|
+
Ql as SheetError,
|
406
405
|
Lo as SheetIcon,
|
407
|
-
|
408
|
-
|
406
|
+
sl as SheetList,
|
407
|
+
Vl as SheetLocked,
|
409
408
|
cf as SignUp,
|
410
409
|
er as SketchIcon,
|
411
410
|
Ro as Skip2Icon,
|
@@ -414,16 +413,16 @@ export {
|
|
414
413
|
Go as Star2Icon,
|
415
414
|
Mo as StarIcon,
|
416
415
|
a as Stepper,
|
417
|
-
|
416
|
+
Jt as StreakIcon,
|
418
417
|
ga as StreakReductionLocalStorageUtil,
|
419
418
|
go as StrikedEyeIcon,
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
419
|
+
kl as StudentDetails,
|
420
|
+
rs as SubmitMilestoneModal,
|
421
|
+
Uo as SwitchIcon,
|
422
|
+
Kt as TabComponent,
|
424
423
|
Nt as Tag,
|
425
424
|
Wf as TalkMeter,
|
426
|
-
|
425
|
+
Hs as TestsCreation,
|
427
426
|
kt as Text,
|
428
427
|
wr as TextButton,
|
429
428
|
st as TextInput,
|
@@ -431,56 +430,55 @@ export {
|
|
431
430
|
Qt as TimeLeftTimeline,
|
432
431
|
yf as TrialSession,
|
433
432
|
Vo as TrophyIcon,
|
434
|
-
|
433
|
+
Ua as Tutorial,
|
435
434
|
dr as TutoringIcon,
|
436
435
|
Dt as UIContext,
|
437
436
|
Qo as UndoIcon,
|
438
|
-
|
439
|
-
|
437
|
+
Ko as UnlockIcon,
|
438
|
+
Jo as UpIcon,
|
440
439
|
zo as User2Icon,
|
441
440
|
Zo as UserIcon,
|
442
441
|
zt as Video,
|
443
442
|
fa as WHITELIST_EVENTS,
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
443
|
+
Hl as WORKSHEET_ACTION_BAR_HEIGHT,
|
444
|
+
Rl as WORKSHEET_QUESTIONS_GAP,
|
445
|
+
Dl as WORKSHEET_QUESTION_WIDTH,
|
446
|
+
Gl as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
448
447
|
va as WebView,
|
449
448
|
Qa as WebViewEvent,
|
450
|
-
|
449
|
+
Ul as Worksheet,
|
451
450
|
Aa as checkIfPPTNodeType,
|
452
451
|
vt as getTheme,
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
452
|
+
Qs as invalidateMilestoneResources,
|
453
|
+
Us as invalidateMilestonesData,
|
454
|
+
Ws as invalidateTestHelpData,
|
455
|
+
gl as isOkayTypeQuestion,
|
456
|
+
ul as isV3Worksheet,
|
457
|
+
xl as isV3WorksheetAttempt,
|
458
|
+
Nl as loadScript,
|
460
459
|
Yf as useAutoPlayPermission,
|
461
460
|
Pf as useCanvasSyncBroker,
|
462
461
|
Ma as useCircleSounds,
|
463
|
-
|
464
|
-
|
462
|
+
bf as useClassTimeAlerts,
|
463
|
+
Ut as useContextMenuClickHandler,
|
465
464
|
hr as useForceReload,
|
466
|
-
|
465
|
+
bs as useGetAllMilestonesdata,
|
467
466
|
tf as useGetCircleHomeDetailsDal,
|
468
|
-
qf as useGetEligibleJourneys,
|
469
467
|
Ra as useGetLeaderboardDal,
|
470
|
-
|
471
|
-
|
468
|
+
Ys as useGetMilestoneResources,
|
469
|
+
Vs as useGetTestHelpData,
|
472
470
|
Rf as useInClassActionDispatcher,
|
473
471
|
Df as useInClassActionListener,
|
474
472
|
Lf as useInClassMessageBroker,
|
475
|
-
|
473
|
+
Jl as useIsLearnosityLoaded,
|
476
474
|
la as useIsTabBlocked,
|
477
475
|
jf as useJourney,
|
478
|
-
|
476
|
+
js as usePointerSync,
|
479
477
|
ff as usePostUpdateCircleJourneyDal,
|
480
478
|
gt as useTrackingContext,
|
481
479
|
Mf as useTrialSessionMessageBroker,
|
482
480
|
Gt as useUIContext,
|
483
|
-
|
481
|
+
Zl as useWorksheetLayout,
|
484
482
|
_r as useZoomDisable
|
485
483
|
};
|
486
484
|
//# 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,12 +0,0 @@
|
|
1
|
-
import { createGetAPI as o, createPostAPI as u } from "@cuemath/rest-api";
|
2
|
-
import { BASE_URL as e } from "../../../constants/api.js";
|
3
|
-
const { useGet: p } = o({
|
4
|
-
getURL: (n, { app_id: s, journey_status: r, user_id: t }) => `${e}/task/user-journey/?app_id=${s}&journey_status=${r}&user_id=${t}`
|
5
|
-
}), { usePost: y } = u({
|
6
|
-
getURL: () => `${e}/task/user-journey/`
|
7
|
-
});
|
8
|
-
export {
|
9
|
-
p as useGetJourneyProgress,
|
10
|
-
y as usePostJourneyProgress
|
11
|
-
};
|
12
|
-
//# sourceMappingURL=journey-progress-api.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"journey-progress-api.js","sources":["../../../../src/features/journey/journey-progress-api/journey-progress-api.ts"],"sourcesContent":["import type {\n TGetJourneyProgressPayloadModel,\n TGetJourneyProgressResponseModel,\n TPostJourneyProgressPayloadModel,\n TPostJourneyProgressResponseModel,\n} from './journey-progress-api-types';\n\nimport { createGetAPI, createPostAPI } from '@cuemath/rest-api';\n\nimport { BASE_URL } from '../../../constants/api';\n\nconst { useGet: useGetJourneyProgress } = createGetAPI<\n TGetJourneyProgressResponseModel,\n TGetJourneyProgressPayloadModel\n>({\n getURL: (_, { app_id, journey_status, user_id }) =>\n `${BASE_URL}/task/user-journey/?app_id=${app_id}&journey_status=${journey_status}&user_id=${user_id}`,\n});\n\nconst { usePost: usePostJourneyProgress } = createPostAPI<\n TPostJourneyProgressResponseModel,\n TPostJourneyProgressPayloadModel\n>({\n getURL: () => `${BASE_URL}/task/user-journey/`,\n});\n\nexport { useGetJourneyProgress, usePostJourneyProgress };\n"],"names":["useGetJourneyProgress","createGetAPI","_","app_id","journey_status","user_id","BASE_URL","usePostJourneyProgress","createPostAPI"],"mappings":";;AAWA,MAAM,EAAE,QAAQA,EAAsB,IAAIC,EAGxC;AAAA,EACA,QAAQ,CAACC,GAAG,EAAE,QAAAC,GAAQ,gBAAAC,GAAgB,SAAAC,EAAA,MACpC,GAAGC,CAAQ,8BAA8BH,CAAM,mBAAmBC,CAAc,YAAYC,CAAO;AACvG,CAAC,GAEK,EAAE,SAASE,EAAuB,IAAIC,EAG1C;AAAA,EACA,QAAQ,MAAM,GAAGF,CAAQ;AAC3B,CAAC;"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { useJourney as t } from "./use-journey/use-journey.js";
|
2
|
-
const u = (n) => {
|
3
|
-
const { completedJourneys: r } = t(), e = n.filter(
|
4
|
-
(o) => !r.includes(o)
|
5
|
-
);
|
6
|
-
return e.length > 0 ? e[0] : null;
|
7
|
-
};
|
8
|
-
export {
|
9
|
-
u as useGetEligibleJourneys
|
10
|
-
};
|
11
|
-
//# sourceMappingURL=use-get-eligible-journeys.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use-get-eligible-journeys.js","sources":["../../../src/features/journey/use-get-eligible-journeys.tsx"],"sourcesContent":["import type { TJourneyId } from './journey-id/journey-id-types';\n\nimport { useJourney } from './use-journey/use-journey';\n\nexport const useGetEligibleJourneys = (allJourneyIds: TJourneyId[]) => {\n const { completedJourneys } = useJourney();\n const eligibleJourneys = allJourneyIds.filter(\n journeyId => !completedJourneys.includes(journeyId),\n );\n\n if (eligibleJourneys.length > 0) {\n return eligibleJourneys[0];\n }\n\n return null;\n};\n"],"names":["useGetEligibleJourneys","allJourneyIds","completedJourneys","useJourney","eligibleJourneys","journeyId"],"mappings":";AAIa,MAAAA,IAAyB,CAACC,MAAgC;AAC/D,QAAA,EAAE,mBAAAC,MAAsBC,KACxBC,IAAmBH,EAAc;AAAA,IACrC,CAAaI,MAAA,CAACH,EAAkB,SAASG,CAAS;AAAA,EAAA;AAGhD,SAAAD,EAAiB,SAAS,IACrBA,EAAiB,CAAC,IAGpB;AACT;"}
|