@cuemath/leap 2.8.62-aa0 → 2.8.62-rj-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.
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js +18 -18
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js +10 -10
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js +51 -49
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +87 -90
- 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 +83 -82
- 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 +59 -57
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view-types.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view.js +53 -47
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-provider.js +8 -9
- package/dist/features/cue-canvas/cue-canvas-provider.js.map +1 -1
- package/dist/features/journey/hooks/use-get-eligible-journeys-via-route.js +7 -4
- package/dist/features/journey/hooks/use-get-eligible-journeys-via-route.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +71 -67
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js +41 -41
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/resource-item.js +20 -20
- package/dist/features/sheets/resources-list/resource-item/resource-item.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js +33 -33
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js +30 -30
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js +14 -9
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/ui/section-list/section-list.js +12 -12
- package/dist/features/ui/section-list/section-list.js.map +1 -1
- package/dist/index.d.ts +3 -6
- package/dist/index.js +43 -44
- package/package.json +2 -4
- package/dist/library/polypad.js +0 -24965
- package/dist/library/polypad.js.map +0 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import { jsx as t, Fragment as p, jsxs as
|
2
|
-
import { memo as
|
3
|
-
import
|
4
|
-
const
|
5
|
-
const { data:
|
6
|
-
return /* @__PURE__ */ t(p, { children:
|
7
|
-
n
|
8
|
-
/* @__PURE__ */ t(
|
9
|
-
const l =
|
10
|
-
return /* @__PURE__ */ t(
|
1
|
+
import { jsx as t, Fragment as p, jsxs as $ } from "react/jsx-runtime";
|
2
|
+
import { memo as f, Fragment as c } from "react";
|
3
|
+
import h from "../layout/flex-view.js";
|
4
|
+
const u = (m) => {
|
5
|
+
const { data: i, renderSectionHeader: n, renderItem: s, keyExtractor: o } = m;
|
6
|
+
return /* @__PURE__ */ t(p, { children: i.map((r, d) => /* @__PURE__ */ $(h, { children: [
|
7
|
+
n && n(r),
|
8
|
+
/* @__PURE__ */ t(c, { children: r.data.map((e, a) => {
|
9
|
+
const l = o ? o(e, a) : `${e}_${a}`;
|
10
|
+
return /* @__PURE__ */ t(c, { children: s(e) }, l);
|
11
11
|
}) })
|
12
|
-
] }, `${
|
13
|
-
},
|
12
|
+
] }, `${r.title}_${d}`)) });
|
13
|
+
}, x = f(u), L = x;
|
14
14
|
export {
|
15
15
|
L as default
|
16
16
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"section-list.js","sources":["../../../../src/features/ui/section-list/section-list.tsx"],"sourcesContent":["import type { ISectionList, TDefaultSection } from './section-list-types';\n\nimport { Fragment, memo } from 'react';\n\nimport FlexView from '../layout/flex-view';\n\nconst SectionListComponent = <Section extends string | number | TDefaultSection>(\n props: ISectionList<Section>,\n): JSX.Element => {\n const { data, renderSectionHeader, renderItem, keyExtractor } = props;\n\n return (\n <>\n {data.map((section, idx) => {\n return (\n <FlexView key={`${section.title}_${idx}`}>\n {
|
1
|
+
{"version":3,"file":"section-list.js","sources":["../../../../src/features/ui/section-list/section-list.tsx"],"sourcesContent":["import type { ISectionList, TDefaultSection } from './section-list-types';\n\nimport { Fragment, memo } from 'react';\n\nimport FlexView from '../layout/flex-view';\n\nconst SectionListComponent = <Section extends string | number | TDefaultSection>(\n props: ISectionList<Section>,\n): JSX.Element => {\n const { data, renderSectionHeader, renderItem, keyExtractor } = props;\n\n return (\n <>\n {data.map((section, idx) => {\n return (\n <FlexView key={`${section.title}_${idx}`}>\n {renderSectionHeader && renderSectionHeader(section)}\n\n <Fragment>\n {section.data.map((item, itemIdx) => {\n const key = keyExtractor ? keyExtractor(item, itemIdx) : `${item}_${itemIdx}`;\n\n return <Fragment key={key}>{renderItem(item)}</Fragment>;\n })}\n </Fragment>\n </FlexView>\n );\n })}\n </>\n );\n};\n\nconst SelectionList = memo(SectionListComponent) as <\n Section extends string | number | TDefaultSection,\n>(\n props: ISectionList<Section>,\n) => JSX.Element;\n\nexport default SelectionList;\n"],"names":["SectionListComponent","props","data","renderSectionHeader","renderItem","keyExtractor","jsx","Fragment","section","idx","FlexView","item","itemIdx","key","SelectionList","memo","SectionList"],"mappings":";;;AAMA,MAAMA,IAAuB,CAC3BC,MACgB;AAChB,QAAM,EAAE,MAAAC,GAAM,qBAAAC,GAAqB,YAAAC,GAAY,cAAAC,MAAiBJ;AAEhE,SAEK,gBAAAK,EAAAC,GAAA,EAAA,UAAAL,EAAK,IAAI,CAACM,GAASC,wBAEfC,GACE,EAAA,UAAA;AAAA,IAAAP,KAAuBA,EAAoBK,CAAO;AAAA,IAEnD,gBAAAF,EAACC,GAAA,EACE,UAAAC,EAAQ,KAAK,IAAI,CAACG,GAAMC,MAAY;AAC7B,YAAAC,IAAMR,IAAeA,EAAaM,GAAMC,CAAO,IAAI,GAAGD,CAAI,IAAIC,CAAO;AAE3E,+BAAQL,GAAA,EAAoB,UAAWH,EAAAO,CAAI,KAArBE,CAAuB;AAAA,IAC9C,CAAA,GACH;AAAA,EAAA,EAAA,GATa,GAAGL,EAAQ,KAAK,IAAIC,CAAG,EAUtC,CAEH,EACH,CAAA;AAEJ,GAEMK,IAAgBC,EAAKf,CAAoB,GAM/CgB,IAAeF;"}
|
package/dist/index.d.ts
CHANGED
@@ -1107,11 +1107,11 @@ declare interface IGame extends IBaseProject {
|
|
1107
1107
|
declare interface IGameLauncherProps {
|
1108
1108
|
onSegmentClick: (projectDetail: Game | Puzzle | Lesson | ITableDetails, projectType: ProjectType) => void;
|
1109
1109
|
isLoading?: boolean;
|
1110
|
+
isError?: boolean;
|
1110
1111
|
data: IProjectData | null;
|
1111
1112
|
defaultIndex?: number;
|
1112
1113
|
journeyId?: TJourneyId;
|
1113
1114
|
isTutorialOnboardingDone?: boolean;
|
1114
|
-
onJourneyComplete: (journeyId: TJourneyId) => void;
|
1115
1115
|
}
|
1116
1116
|
|
1117
1117
|
declare interface IGetArrowTooltipConfig {
|
@@ -1328,7 +1328,7 @@ export declare interface IJourneyContext {
|
|
1328
1328
|
* This data is set only the component is mounted.
|
1329
1329
|
* And thereafter it is updated when the user completes a journey, through the `endJourney` method.
|
1330
1330
|
*/
|
1331
|
-
userCompletedJourneyIds: TJourneyId[]
|
1331
|
+
userCompletedJourneyIds: TJourneyId[];
|
1332
1332
|
}
|
1333
1333
|
|
1334
1334
|
declare interface IJourneyProviderProps {
|
@@ -2121,7 +2121,6 @@ export declare interface IPlayer {
|
|
2121
2121
|
avatar?: IAvatarLayer[] | null;
|
2122
2122
|
playerType: TUserTypes;
|
2123
2123
|
countryCode: string;
|
2124
|
-
isAdmin?: boolean;
|
2125
2124
|
}
|
2126
2125
|
|
2127
2126
|
export declare interface IPlayerStats {
|
@@ -2675,7 +2674,7 @@ declare interface ISubmitModalProps_2 {
|
|
2675
2674
|
courseStream: TCourseStream;
|
2676
2675
|
}
|
2677
2676
|
|
2678
|
-
export declare const isV3Worksheet: (
|
2677
|
+
export declare const isV3Worksheet: (sheet: ISheetDataProps | TLPARSheetData, mode?: "resume" | "review") => boolean;
|
2679
2678
|
|
2680
2679
|
export declare const isV3WorksheetAttempt: (attempt: IWorksheetAttemptModel) => boolean;
|
2681
2680
|
|
@@ -5158,8 +5157,6 @@ export declare const WORKSHEET_QUESTIONS_GAP = 16;
|
|
5158
5157
|
|
5159
5158
|
export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
5160
5159
|
|
5161
|
-
export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
5162
|
-
|
5163
5160
|
declare const ZINDEX: {
|
5164
5161
|
readonly CHAPTER_CROWN_ICON: 4;
|
5165
5162
|
readonly CHAPTER_PLUS_ICON: 2;
|
package/dist/index.js
CHANGED
@@ -213,20 +213,20 @@ import { default as rl } from "./features/sheet-tools/desmos-calculator/desmos-c
|
|
213
213
|
import { default as al } from "./features/sheet-tools/tool-header/tool-header.js";
|
214
214
|
import { default as sl } from "./features/sheets/sheets-list/sheets-list.js";
|
215
215
|
import { default as pl } from "./features/sheets/reference-sheet/reference-sheet.js";
|
216
|
-
import {
|
217
|
-
import { COMPLETED_SHEET_STATE as
|
218
|
-
import { default as
|
219
|
-
import { default as
|
220
|
-
import { ACTION_BAR_HEIGHT as
|
221
|
-
import { isOkayTypeQuestion as
|
222
|
-
import { default as
|
223
|
-
import { default as
|
224
|
-
import { default as
|
225
|
-
import { default as
|
226
|
-
import { default as
|
227
|
-
import { default as
|
228
|
-
import { default as
|
229
|
-
import { default as
|
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 Rl, QUESTIONS_GAP as Hl, 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 bl } 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";
|
230
230
|
export {
|
231
231
|
ys as ACHIEVEMENT_ACTIONS,
|
232
232
|
kr as AccordionSection,
|
@@ -252,7 +252,7 @@ export {
|
|
252
252
|
Br as Button,
|
253
253
|
$a as CIRCLE_ACTION_IDS,
|
254
254
|
za as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
255
|
-
|
255
|
+
nl as COMPLETED_SHEET_STATE,
|
256
256
|
D as CalendarIcon,
|
257
257
|
Rt as Callout,
|
258
258
|
pt as CascadingSelectInput,
|
@@ -334,11 +334,11 @@ export {
|
|
334
334
|
Ia as LPARChapter,
|
335
335
|
Ta as LPARMilestoneChapter,
|
336
336
|
ff as Leaderboard,
|
337
|
-
|
337
|
+
Kl as LearnosityPreloader,
|
338
338
|
De as LeftIcon,
|
339
339
|
Be as Lock2Icon,
|
340
340
|
ye as LockIcon,
|
341
|
-
|
341
|
+
zl as Maintenance,
|
342
342
|
ks as MilestoneActionWidget,
|
343
343
|
ps as MilestoneCreate,
|
344
344
|
_s as MilestoneEdit,
|
@@ -351,16 +351,16 @@ export {
|
|
351
351
|
Ye as Mobile,
|
352
352
|
Fe as MoreVerticalIcon,
|
353
353
|
ma as MultiTabBlocker,
|
354
|
-
|
355
|
-
|
356
|
-
|
354
|
+
cl as NODE_LABELS,
|
355
|
+
Il as NODE_SUB_GROUP,
|
356
|
+
il as NODE_TYPE,
|
357
357
|
Er as Next2Icon,
|
358
358
|
je as NextIcon,
|
359
359
|
yr as Nudge,
|
360
360
|
ut as NumRangeInput,
|
361
361
|
oa as PLATFORM_EVENTS_STUDENT,
|
362
362
|
ta as PLATFORM_EVENTS_TEACHER,
|
363
|
-
|
363
|
+
Tl as PYTHON_NODE_TYPES,
|
364
364
|
qe as PencilIcon,
|
365
365
|
dt as PercentileInput,
|
366
366
|
$t as PerfectHits,
|
@@ -372,13 +372,13 @@ export {
|
|
372
372
|
Xe as PointerIcon,
|
373
373
|
el as PostGameStats,
|
374
374
|
po as PracticeIcon,
|
375
|
-
|
375
|
+
vl as PreviewWorksheet,
|
376
376
|
uo as ProgressIcon,
|
377
377
|
Va as ProjectOutcome,
|
378
378
|
Ka as ProjectType,
|
379
379
|
no as QuestionIcon,
|
380
380
|
Io as QuestionLetterIcon,
|
381
|
-
|
381
|
+
El as REWARDS_LIST,
|
382
382
|
_t as RadioCard,
|
383
383
|
Xr as RadioInput,
|
384
384
|
To as RedoIcon,
|
@@ -387,12 +387,12 @@ export {
|
|
387
387
|
So as RightIcon,
|
388
388
|
Ao as RulerIcon,
|
389
389
|
Sa as SATSheetSummary,
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
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
396
|
gs as STAGES,
|
397
397
|
$o as ScribbleIcon,
|
398
398
|
Po as SearchIcon,
|
@@ -401,10 +401,10 @@ export {
|
|
401
401
|
et as SelectInput,
|
402
402
|
ct as SelectionCards,
|
403
403
|
Zt as Separator,
|
404
|
-
|
404
|
+
Ql as SheetError,
|
405
405
|
Lo as SheetIcon,
|
406
406
|
sl as SheetList,
|
407
|
-
|
407
|
+
Vl as SheetLocked,
|
408
408
|
df as SignUp,
|
409
409
|
er as SketchIcon,
|
410
410
|
Ho as Skip2Icon,
|
@@ -416,7 +416,7 @@ export {
|
|
416
416
|
Jt as StreakIcon,
|
417
417
|
ga as StreakReductionLocalStorageUtil,
|
418
418
|
go as StrikedEyeIcon,
|
419
|
-
|
419
|
+
kl as StudentDetails,
|
420
420
|
rs as SubmitMilestoneModal,
|
421
421
|
bo as SwitchIcon,
|
422
422
|
Kt as TabComponent,
|
@@ -440,23 +440,22 @@ export {
|
|
440
440
|
Zo as UserIcon,
|
441
441
|
zt as Video,
|
442
442
|
fa as WHITELIST_EVENTS,
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
ul as WORKSHEET_V3_NODE_TYPES,
|
443
|
+
Rl as WORKSHEET_ACTION_BAR_HEIGHT,
|
444
|
+
Hl 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
|
+
bl as Worksheet,
|
451
450
|
Aa as checkIfPPTNodeType,
|
452
451
|
vt as getTheme,
|
453
452
|
Qs as invalidateMilestoneResources,
|
454
453
|
bs as invalidateMilestonesData,
|
455
454
|
Ws as invalidateTestHelpData,
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
455
|
+
gl as isOkayTypeQuestion,
|
456
|
+
ul as isV3Worksheet,
|
457
|
+
xl as isV3WorksheetAttempt,
|
458
|
+
Nl as loadScript,
|
460
459
|
wf as useAutoPlayPermission,
|
461
460
|
Af as useCanvasSyncBroker,
|
462
461
|
Ma as useCircleSounds,
|
@@ -472,14 +471,14 @@ export {
|
|
472
471
|
Of as useInClassActionDispatcher,
|
473
472
|
Rf as useInClassActionListener,
|
474
473
|
Pf as useInClassMessageBroker,
|
475
|
-
|
474
|
+
Jl as useIsLearnosityLoaded,
|
476
475
|
la as useIsTabBlocked,
|
477
476
|
Ff as useJourney,
|
478
477
|
js as usePointerSync,
|
479
478
|
gt as useTrackingContext,
|
480
479
|
Lf as useTrialSessionMessageBroker,
|
481
480
|
Gt as useUIContext,
|
482
|
-
|
481
|
+
Zl as useWorksheetLayout,
|
483
482
|
_r as useZoomDisable
|
484
483
|
};
|
485
484
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cuemath/leap",
|
3
|
-
"version": "2.8.62-
|
3
|
+
"version": "2.8.62-rj-0",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -28,9 +28,7 @@
|
|
28
28
|
"lodash.throttle": "^4.1.1",
|
29
29
|
"query-string": "^8.1.0"
|
30
30
|
},
|
31
|
-
"sideEffects":
|
32
|
-
"./src/library/polypad.ts"
|
33
|
-
],
|
31
|
+
"sideEffects": false,
|
34
32
|
"devDependencies": {
|
35
33
|
"@100mslive/hms-video-store": "0.10.8",
|
36
34
|
"@cuemath/av": "1.7.5",
|