@cuemath/leap 3.1.14-beta-0.1 → 3.1.14-beta-0.2
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/worksheet/worksheet-preview/api/get-dynamic-sheet.js +9 -0
- package/dist/features/worksheet/worksheet-preview/api/get-dynamic-sheet.js.map +1 -0
- package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js +56 -0
- package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +56 -54
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,9 @@
|
|
1
|
+
import { createGetAPI as t } from "@cuemath/rest-api";
|
2
|
+
import { BASE_URL_V2 as o } from "../../../../constants/api.js";
|
3
|
+
const { useGet: s } = t({
|
4
|
+
getURL: (e) => `${o}/student-nodes/${e}/`
|
5
|
+
});
|
6
|
+
export {
|
7
|
+
s as useGetDynamicSheetData
|
8
|
+
};
|
9
|
+
//# sourceMappingURL=get-dynamic-sheet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-dynamic-sheet.js","sources":["../../../../../src/features/worksheet/worksheet-preview/api/get-dynamic-sheet.ts"],"sourcesContent":["import type { INodeDataProps } from '../../../chapters-v2/comps/node-card/node-card-types';\n\nimport { createGetAPI } from '@cuemath/rest-api';\n\nimport { BASE_URL_V2 } from '../../../../constants/api';\n\nconst { useGet: useGetDynamicSheetData } = createGetAPI<INodeDataProps, void>({\n getURL: userNodeId => `${BASE_URL_V2}/student-nodes/${userNodeId}/`,\n});\n\nexport { useGetDynamicSheetData };\n"],"names":["useGetDynamicSheetData","createGetAPI","userNodeId","BASE_URL_V2"],"mappings":";;AAMA,MAAM,EAAE,QAAQA,EAAuB,IAAIC,EAAmC;AAAA,EAC5E,QAAQ,CAAAC,MAAc,GAAGC,CAAW,kBAAkBD,CAAU;AAClE,CAAC;"}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { jsx as e, jsxs as y } from "react/jsx-runtime";
|
2
|
+
import { memo as o, useCallback as g, useEffect as w } from "react";
|
3
|
+
import D from "../../../ui/buttons/button/button.js";
|
4
|
+
import k from "../../../ui/layout/flex-view.js";
|
5
|
+
import b from "../../../ui/loader/app-loader/app-loader.js";
|
6
|
+
import v from "../../../ui/text/text.js";
|
7
|
+
import { useGetDynamicSheetData as x } from "../api/get-dynamic-sheet.js";
|
8
|
+
import A from "../worksheet-preview.js";
|
9
|
+
const C = o((a) => {
|
10
|
+
const { studentId: t, userNodeId: i, onBackIconClick: m } = a, {
|
11
|
+
get: s,
|
12
|
+
data: c,
|
13
|
+
isProcessing: l,
|
14
|
+
isProcessingFailed: d
|
15
|
+
} = x(), {
|
16
|
+
items: f = [],
|
17
|
+
title: h,
|
18
|
+
node_type: p = "DYNAMIC"
|
19
|
+
} = c || {}, n = f.map(({ ref: u }) => u), r = g(() => {
|
20
|
+
t && i && s(i);
|
21
|
+
}, [s, t, i]);
|
22
|
+
return w(() => {
|
23
|
+
r();
|
24
|
+
}, [r]), l ? /* @__PURE__ */ e(b, { height: "100%" }) : d ? /* @__PURE__ */ y(k, { $flexGapX: 1.5, $height: "100vh", $justifyContent: "center", $alignItems: "center", children: [
|
25
|
+
/* @__PURE__ */ e(v, { $renderAs: "h6", children: "Oops! Something went wrong. Please try again later." }),
|
26
|
+
/* @__PURE__ */ e(
|
27
|
+
D,
|
28
|
+
{
|
29
|
+
widthX: 14,
|
30
|
+
size: "small",
|
31
|
+
shape: "square",
|
32
|
+
renderAs: "primary",
|
33
|
+
label: "Try again",
|
34
|
+
onClick: r
|
35
|
+
}
|
36
|
+
)
|
37
|
+
] }) : n ? /* @__PURE__ */ e(
|
38
|
+
A,
|
39
|
+
{
|
40
|
+
activityReference: "test",
|
41
|
+
action: "review",
|
42
|
+
nodeType: p,
|
43
|
+
userType: "TEACHER",
|
44
|
+
studentId: t ?? "student-id",
|
45
|
+
isLessonV3Enabled: !1,
|
46
|
+
worksheetName: h,
|
47
|
+
scribblingEnabled: !1,
|
48
|
+
items: n,
|
49
|
+
onBackIconClick: m
|
50
|
+
}
|
51
|
+
) : null;
|
52
|
+
}), N = o(C);
|
53
|
+
export {
|
54
|
+
N as default
|
55
|
+
};
|
56
|
+
//# sourceMappingURL=dynamic-worksheet-preview.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dynamic-worksheet-preview.js","sources":["../../../../../src/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.tsx"],"sourcesContent":["import type { TNodeTypes } from '../../../../types/models/worksheet';\nimport type { IDynamicWorksheetPreview } from './dynamic-worksheet-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useEffect } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport Text from '../../../ui/text/text';\nimport { useGetDynamicSheetData } from '../api/get-dynamic-sheet';\nimport PreviewWorksheet from '../worksheet-preview';\n\nconst DynamicWorksheetPreview: FC<IDynamicWorksheetPreview> = memo(props => {\n const { studentId, userNodeId, onBackIconClick } = props;\n\n const {\n get: getDynamicSheetData,\n data: dynamicSheetData,\n isProcessing,\n isProcessingFailed,\n } = useGetDynamicSheetData();\n\n const {\n items: itemsToBeAssigned = [],\n title,\n node_type: nodeType = 'DYNAMIC',\n } = dynamicSheetData || {};\n const itemRefs = itemsToBeAssigned.map(({ ref }) => ref);\n\n const fetchDynamicSheetData = useCallback(() => {\n if (studentId && userNodeId) {\n getDynamicSheetData(userNodeId);\n }\n }, [getDynamicSheetData, studentId, userNodeId]);\n\n useEffect(() => {\n fetchDynamicSheetData();\n }, [fetchDynamicSheetData]);\n\n if (isProcessing) {\n return <AppLoader height=\"100%\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flexGapX={1.5} $height=\"100vh\" $justifyContent=\"center\" $alignItems=\"center\">\n <Text $renderAs=\"h6\">Oops! Something went wrong. Please try again later.</Text>\n <Button\n widthX={14}\n size=\"small\"\n shape=\"square\"\n renderAs=\"primary\"\n label=\"Try again\"\n onClick={fetchDynamicSheetData}\n />\n </FlexView>\n );\n }\n\n if (!itemRefs) {\n return null;\n }\n\n return (\n <PreviewWorksheet\n activityReference=\"test\"\n action=\"review\"\n nodeType={nodeType as TNodeTypes}\n userType=\"TEACHER\"\n studentId={studentId ?? 'student-id'}\n isLessonV3Enabled={false}\n worksheetName={title}\n scribblingEnabled={false}\n items={itemRefs}\n onBackIconClick={onBackIconClick}\n />\n );\n});\n\nexport default memo(DynamicWorksheetPreview);\n"],"names":["DynamicWorksheetPreview","memo","props","studentId","userNodeId","onBackIconClick","getDynamicSheetData","dynamicSheetData","isProcessing","isProcessingFailed","useGetDynamicSheetData","itemsToBeAssigned","title","nodeType","itemRefs","ref","fetchDynamicSheetData","useCallback","useEffect","jsx","AppLoader","jsxs","FlexView","Text","Button","PreviewWorksheet","dynamicWorksheetPreview"],"mappings":";;;;;;;;AAaA,MAAMA,IAAwDC,EAAK,CAASC,MAAA;AAC1E,QAAM,EAAE,WAAAC,GAAW,YAAAC,GAAY,iBAAAC,EAAA,IAAoBH,GAE7C;AAAA,IACJ,KAAKI;AAAA,IACL,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,oBAAAC;AAAA,MACEC,EAAuB,GAErB;AAAA,IACJ,OAAOC,IAAoB,CAAC;AAAA,IAC5B,OAAAC;AAAA,IACA,WAAWC,IAAW;AAAA,EAAA,IACpBN,KAAoB,CAAA,GAClBO,IAAWH,EAAkB,IAAI,CAAC,EAAE,KAAAI,EAAA,MAAUA,CAAG,GAEjDC,IAAwBC,EAAY,MAAM;AAC9C,IAAId,KAAaC,KACfE,EAAoBF,CAAU;AAAA,EAE/B,GAAA,CAACE,GAAqBH,GAAWC,CAAU,CAAC;AAM/C,SAJAc,EAAU,MAAM;AACQ,IAAAF;EAAA,GACrB,CAACA,CAAqB,CAAC,GAEtBR,IACK,gBAAAW,EAACC,GAAU,EAAA,QAAO,OAAO,CAAA,IAG9BX,IAEA,gBAAAY,EAACC,KAAS,WAAW,KAAK,SAAQ,SAAQ,iBAAgB,UAAS,aAAY,UAC7E,UAAA;AAAA,IAAC,gBAAAH,EAAAI,GAAA,EAAK,WAAU,MAAK,UAAmD,uDAAA;AAAA,IACxE,gBAAAJ;AAAA,MAACK;AAAA,MAAA;AAAA,QACC,QAAQ;AAAA,QACR,MAAK;AAAA,QACL,OAAM;AAAA,QACN,UAAS;AAAA,QACT,OAAM;AAAA,QACN,SAASR;AAAA,MAAA;AAAA,IACX;AAAA,EACF,EAAA,CAAA,IAICF,IAKH,gBAAAK;AAAA,IAACM;AAAA,IAAA;AAAA,MACC,mBAAkB;AAAA,MAClB,QAAO;AAAA,MACP,UAAAZ;AAAA,MACA,UAAS;AAAA,MACT,WAAWV,KAAa;AAAA,MACxB,mBAAmB;AAAA,MACnB,eAAeS;AAAA,MACf,mBAAmB;AAAA,MACnB,OAAOE;AAAA,MACP,iBAAAT;AAAA,IAAA;AAAA,EAAA,IAdK;AAiBX,CAAC,GAEcqB,IAAAzB,EAAKD,CAAuB;"}
|
package/dist/index.d.ts
CHANGED
@@ -334,6 +334,8 @@ export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
334
334
|
|
335
335
|
export declare const DragIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
336
336
|
|
337
|
+
export declare const DynamicPreviewWorksheet: NamedExoticComponent<IDynamicWorksheetPreview>;
|
338
|
+
|
337
339
|
export declare enum EClassTimeAlertLevel {
|
338
340
|
FIVE_MIN = "5min",
|
339
341
|
FIFTEEN_MIN = "15min"
|
@@ -1296,6 +1298,12 @@ declare interface IDigitalMeterProps {
|
|
1296
1298
|
actAsTimer?: boolean;
|
1297
1299
|
}
|
1298
1300
|
|
1301
|
+
declare interface IDynamicWorksheetPreview {
|
1302
|
+
studentId: string;
|
1303
|
+
userNodeId: string;
|
1304
|
+
onBackIconClick: () => void;
|
1305
|
+
}
|
1306
|
+
|
1299
1307
|
declare interface IEditMilestoneModalProps extends IMilestoneEditProps {
|
1300
1308
|
studentId: string;
|
1301
1309
|
isUsingAlternateCurriculum: boolean;
|
package/dist/index.js
CHANGED
@@ -14,9 +14,9 @@ import { default as L } from "./assets/line-icons/icons/bookmark.js";
|
|
14
14
|
import { default as k } from "./assets/line-icons/icons/bulb.js";
|
15
15
|
import { default as O } from "./assets/line-icons/icons/bulb2.js";
|
16
16
|
import { default as D } from "./assets/line-icons/icons/calendar.js";
|
17
|
-
import { default as
|
17
|
+
import { default as y } from "./assets/line-icons/icons/check.js";
|
18
18
|
import { default as U } 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 V } from "./assets/line-icons/icons/clock2.js";
|
22
22
|
import { default as Y } from "./assets/line-icons/icons/code.js";
|
@@ -41,9 +41,9 @@ import { default as Le } from "./assets/line-icons/icons/home.js";
|
|
41
41
|
import { default as ke } from "./assets/line-icons/icons/image.js";
|
42
42
|
import { default as Oe } from "./assets/line-icons/icons/info.js";
|
43
43
|
import { default as De } from "./assets/line-icons/icons/info2.js";
|
44
|
-
import { default as
|
44
|
+
import { default as ye } from "./assets/line-icons/icons/left.js";
|
45
45
|
import { default as Ue } from "./assets/line-icons/icons/lock.js";
|
46
|
-
import { default as
|
46
|
+
import { default as Be } from "./assets/line-icons/icons/lock2.js";
|
47
47
|
import { default as we } from "./assets/line-icons/icons/lock3.js";
|
48
48
|
import { default as Ve } from "./assets/line-icons/icons/minus.js";
|
49
49
|
import { default as Ye } from "./assets/line-icons/icons/minus2.js";
|
@@ -68,8 +68,8 @@ import { default as Mo } from "./assets/line-icons/icons/search.js";
|
|
68
68
|
import { default as No } from "./assets/line-icons/icons/sheet.js";
|
69
69
|
import { default as Ho } from "./assets/line-icons/icons/star.js";
|
70
70
|
import { default as Go } from "./assets/line-icons/icons/skip-colored.js";
|
71
|
-
import { default as
|
72
|
-
import { default as
|
71
|
+
import { default as go } from "./assets/line-icons/icons/skip.js";
|
72
|
+
import { default as vo } from "./assets/line-icons/icons/skip2.js";
|
73
73
|
import { default as bo } from "./assets/line-icons/icons/star2.js";
|
74
74
|
import { default as Wo } from "./assets/line-icons/icons/status.js";
|
75
75
|
import { default as Fo } from "./assets/line-icons/icons/striked-eye.js";
|
@@ -94,9 +94,9 @@ import { default as Lr } from "./assets/line-icons/icons/cuemath-logo.js";
|
|
94
94
|
import { default as kr } from "./assets/line-icons/icons/next2.js";
|
95
95
|
import { AutoPlayPermissionProvider as Or } from "./features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js";
|
96
96
|
import { default as Dr } from "./features/hooks/use-zoom-disable.js";
|
97
|
-
import { default as
|
97
|
+
import { default as yr } from "./features/hooks/use-force-reload.js";
|
98
98
|
import { default as Ur } from "./features/ui/accordion-section/accordion-section.js";
|
99
|
-
import { default as
|
99
|
+
import { default as Br } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
|
100
100
|
import { default as wr } from "./features/ui/context-menu/context-menu.js";
|
101
101
|
import { default as Vr } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
102
102
|
import { default as Yr } from "./features/ui/nudge/nudge.js";
|
@@ -121,9 +121,9 @@ import { default as Lt } from "./features/ui/layout/flex-view.js";
|
|
121
121
|
import { default as kt } from "./features/ui/loader/app-loader/app-loader.js";
|
122
122
|
import { CircularLoader as Ot } from "./features/ui/loader/circular-loader/circular-loader.js";
|
123
123
|
import { default as Dt } from "./features/ui/modals/modal-provider.js";
|
124
|
-
import { default as
|
124
|
+
import { default as yt } from "./features/ui/modals/use-modal-actions.js";
|
125
125
|
import { default as Ut } from "./features/ui/modals/use-modal-params.js";
|
126
|
-
import { default as
|
126
|
+
import { default as Bt } 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 Vt } from "./features/ui/text/text.js";
|
129
129
|
import { default as Yt } from "./features/ui/tag/tag.js";
|
@@ -148,8 +148,8 @@ import { default as Ma } from "./features/auth/comps/tabs/tabs.js";
|
|
148
148
|
import { default as Na } from "./features/auth/comps/input-status-icon/input-status-icon.js";
|
149
149
|
import { default as Ha } from "./features/auth/comps/resend-otp/resend-otp.js";
|
150
150
|
import { default as Ga } from "./features/auth/signup/user-type-selector/user-type-selector.js";
|
151
|
-
import { default as
|
152
|
-
import { default as
|
151
|
+
import { default as ga } from "./features/auth/signup/claim-user-account/claim-user-account.js";
|
152
|
+
import { default as va } from "./features/auth/signup/custom-input-field/grade-input/grade-input.js";
|
153
153
|
import { default as ba } from "./features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js";
|
154
154
|
import { default as Wa } from "./features/auth/signup/custom-input-field/custom-input-field.js";
|
155
155
|
import { default as Fa } from "./features/auth/signup/circular-step-wrapper/circular-step-wrapper.js";
|
@@ -174,9 +174,9 @@ import { default as Lf } from "./features/chapters/chapters-list/chapters-list.j
|
|
174
174
|
import { default as kf } from "./features/chapters/lpar-chapter/lpar-chapter.js";
|
175
175
|
import { default as Of } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
176
176
|
import { default as Df } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
177
|
-
import { checkIfPPTNodeType as
|
177
|
+
import { checkIfPPTNodeType as yf } from "./features/chapters/lpar-chapter/utils/index.js";
|
178
178
|
import { default as Uf } from "./features/chapters-v2/chapter-details/chapter-details.js";
|
179
|
-
import { invalidateGetChapterDetails as
|
179
|
+
import { invalidateGetChapterDetails as Bf } from "./features/chapters-v2/api/chapter.js";
|
180
180
|
import { GAME_LAUNCHER_ASSET_PADDING as wf } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
181
181
|
import { GAME_LAUNCHER_SIZE as Vf } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
182
182
|
import { useCircleSounds as Yf } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
@@ -201,8 +201,8 @@ import { SplashScreen as Ms } from "./features/circle-games/sign-up/comp/splash-
|
|
201
201
|
import { SignUp as Ns } from "./features/circle-games/sign-up/sign-up.js";
|
202
202
|
import { default as Hs } from "./features/cue-canvas/cue-canvas-provider.js";
|
203
203
|
import { default as Gs } from "./features/cue-canvas/toolbar/toolbar.js";
|
204
|
-
import { default as
|
205
|
-
import { default as
|
204
|
+
import { default as gs } from "./features/cue-canvas/cue-canvas.js";
|
205
|
+
import { default as vs } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
|
206
206
|
import { default as bs } from "./features/cue-canvas/sidebar/sidebar.js";
|
207
207
|
import { default as Ws } from "./features/cue-canvas/bottombar/homework-controls.js";
|
208
208
|
import { default as Fs } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
@@ -227,9 +227,9 @@ import { Coachmark as Ll } from "./features/journey/comps/coachmark/coachmark.js
|
|
227
227
|
import { useHomePageJourney as kl } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
|
228
228
|
import { useChapterPageJourney as Ol } from "./features/journey/hooks/use-chapter-journey.js";
|
229
229
|
import { default as Dl } from "./features/maintenance/maintenance.js";
|
230
|
-
import { default as
|
230
|
+
import { default as yl } from "./features/milestone/create/submit-modal/submit-modal.js";
|
231
231
|
import { default as Ul } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
232
|
-
import { default as
|
232
|
+
import { default as Bl } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
233
233
|
import { default as wl } from "./features/milestone/create/milestone-create-container.js";
|
234
234
|
import { default as Vl } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
235
235
|
import { default as Yl } from "./features/milestone/outcome/milestone-outcome-container.js";
|
@@ -252,8 +252,8 @@ import { default as Mp } from "./features/pointer-sync/pointer.js";
|
|
252
252
|
import { default as Np } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
253
253
|
import { DigitalMeter as Hp } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
254
254
|
import { EPostGameStat as Gp } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
255
|
-
import { PostGameStats as
|
256
|
-
import { default as
|
255
|
+
import { PostGameStats as gp } from "./features/post-game-stats/post-game-stats.js";
|
256
|
+
import { default as vp } from "./features/recent-chapters/recent-chapters.js";
|
257
257
|
import { SENTRY_DENIED_URLS as bp, SENTRY_IGNORED_ERRORS as wp } from "./features/sentry/constants/ignored.js";
|
258
258
|
import { default as Vp } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
259
259
|
import { default as Yp } from "./features/sheet-tools/tool-header/tool-header.js";
|
@@ -268,13 +268,14 @@ import { ACTION_BAR_HEIGHT as Tm, QUESTIONS_GAP as Sm, QUESTION_WIDTH as Em, TOP
|
|
268
268
|
import { isOkayTypeQuestion as Pm } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
269
269
|
import { default as hm } from "./features/worksheet/worksheet/worksheet-container.js";
|
270
270
|
import { default as Lm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
271
|
-
import { default as km } from "./features/worksheet/worksheet/worksheet-
|
272
|
-
import { default as Om } from "./features/worksheet/worksheet/worksheet-permissions/
|
273
|
-
import { default as Dm } from "./features/worksheet/
|
274
|
-
import { default as
|
275
|
-
import { default as Um } from "./features/worksheet/
|
276
|
-
import { default as
|
277
|
-
import {
|
271
|
+
import { default as km } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
|
272
|
+
import { default as Om } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
273
|
+
import { default as Dm } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
274
|
+
import { default as ym } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
275
|
+
import { default as Um } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
276
|
+
import { default as Bm } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
277
|
+
import { default as wm } from "./features/hooks/use-viewport/use-viewport.js";
|
278
|
+
import { COUNTRY_CODE_MAP as Vm } from "./constants/country.js";
|
278
279
|
export {
|
279
280
|
xp as ACHIEVEMENT_ACTIONS,
|
280
281
|
mf as AUTH_TABS,
|
@@ -286,7 +287,7 @@ export {
|
|
286
287
|
Ea as AnimatedArc,
|
287
288
|
kt as AppLoader,
|
288
289
|
et as ArcButton,
|
289
|
-
|
290
|
+
Br as ArrowTooltip,
|
290
291
|
df as AuthApiErrorCode,
|
291
292
|
_a as AuthPageLayout,
|
292
293
|
Aa as AuthStaticPanel,
|
@@ -307,17 +308,17 @@ export {
|
|
307
308
|
Is as CIRCLE_ACTION_IDS,
|
308
309
|
cs as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
309
310
|
Xp as COMPLETED_SHEET_STATE,
|
310
|
-
|
311
|
+
Vm as COUNTRY_CODE_MAP,
|
311
312
|
D as CalendarIcon,
|
312
313
|
Qt as Callout,
|
313
314
|
St as CascadingSelectInput,
|
314
315
|
hf as Chapter,
|
315
|
-
|
316
|
+
Bl as ChapterClearanceConfirmationModal,
|
316
317
|
Uf as ChapterDetails,
|
317
318
|
Lf as ChaptersList,
|
318
319
|
hr as ChatIcon,
|
319
320
|
U as Check2Icon,
|
320
|
-
|
321
|
+
y as CheckIcon,
|
321
322
|
at as CheckboxInput,
|
322
323
|
st as CheckboxInputList,
|
323
324
|
Sr as ChevronDownIcon,
|
@@ -327,9 +328,9 @@ export {
|
|
327
328
|
Ot as CircularLoader,
|
328
329
|
Fa as CircularStepWrapper,
|
329
330
|
Rs as CircularSteps,
|
330
|
-
|
331
|
+
ga as ClaimUserAccount,
|
331
332
|
jr as Clickable,
|
332
|
-
|
333
|
+
B as ClipboardIcon,
|
333
334
|
V as Clock2Icon,
|
334
335
|
w as ClockIcon,
|
335
336
|
Ll as Coachmark,
|
@@ -338,7 +339,7 @@ export {
|
|
338
339
|
Q as CopyIcon,
|
339
340
|
Vr as CountdownTimer,
|
340
341
|
j as CrossIcon,
|
341
|
-
|
342
|
+
gs as CueCanvas,
|
342
343
|
Gs as CueCanvasController,
|
343
344
|
Ws as CueCanvasHomeworkController,
|
344
345
|
Hs as CueCanvasProvider,
|
@@ -353,6 +354,7 @@ export {
|
|
353
354
|
ee as DownIcon,
|
354
355
|
re as DraftIcon,
|
355
356
|
ae as DragIcon,
|
357
|
+
km as DynamicPreviewWorksheet,
|
356
358
|
el as EClassTimeAlertLevel,
|
357
359
|
qf as ELeaderboardType,
|
358
360
|
up as EPResourceAssign,
|
@@ -378,7 +380,7 @@ export {
|
|
378
380
|
Vl as GoalDraftEdit,
|
379
381
|
Xl as GoalEdit,
|
380
382
|
ct as GooglePlacesSearchInput,
|
381
|
-
|
383
|
+
va as GradeInput,
|
382
384
|
r as GradeSelector,
|
383
385
|
Ce as HandIcon,
|
384
386
|
Pe as HelpIcon,
|
@@ -403,9 +405,9 @@ export {
|
|
403
405
|
kf as LPARChapter,
|
404
406
|
Of as LPARMilestoneChapter,
|
405
407
|
Ps as Leaderboard,
|
406
|
-
|
407
|
-
|
408
|
-
|
408
|
+
ym as LearnosityPreloader,
|
409
|
+
ye as LeftIcon,
|
410
|
+
Be as Lock2Icon,
|
409
411
|
we as Lock3Icon,
|
410
412
|
Ue as LockIcon,
|
411
413
|
Dl as Maintenance,
|
@@ -443,7 +445,7 @@ export {
|
|
443
445
|
uo as Plus2Icon,
|
444
446
|
po as PlusIcon,
|
445
447
|
ro as PointerIcon,
|
446
|
-
|
448
|
+
gp as PostGameStats,
|
447
449
|
no as PracticeIcon,
|
448
450
|
Lm as PreviewWorksheet,
|
449
451
|
io as ProgressIcon,
|
@@ -452,9 +454,9 @@ export {
|
|
452
454
|
To as QuestionIcon,
|
453
455
|
Eo as QuestionLetterIcon,
|
454
456
|
tm as REWARDS_LIST,
|
455
|
-
|
457
|
+
Bt as RadioCard,
|
456
458
|
pt as RadioInput,
|
457
|
-
|
459
|
+
vp as RecentChapters,
|
458
460
|
Ao as RedoIcon,
|
459
461
|
jp as ReferenceSheet,
|
460
462
|
Mp as RemotePeerPointer,
|
@@ -479,16 +481,16 @@ export {
|
|
479
481
|
ut as SelectInput,
|
480
482
|
ht as SelectionCards,
|
481
483
|
da as Separator,
|
482
|
-
|
484
|
+
Dm as SheetError,
|
483
485
|
No as SheetIcon,
|
484
486
|
Qp as SheetList,
|
485
|
-
|
487
|
+
Om as SheetLocked,
|
486
488
|
Ns as SignUp,
|
487
489
|
Ja as SignupMethods,
|
488
490
|
ur as SketchIcon,
|
489
|
-
|
491
|
+
vo as Skip2Icon,
|
490
492
|
Go as SkipColoredIcon,
|
491
|
-
|
493
|
+
go as SkipIcon,
|
492
494
|
za as SocialAccountNotFound,
|
493
495
|
Za as SocialLoginMethods,
|
494
496
|
Ms as SplashScreen,
|
@@ -500,7 +502,7 @@ export {
|
|
500
502
|
Xf as StreakReductionLocalStorageUtil,
|
501
503
|
Fo as StrikedEyeIcon,
|
502
504
|
dm as StudentDetails,
|
503
|
-
|
505
|
+
yl as SubmitMilestoneModal,
|
504
506
|
Jo as SwitchIcon,
|
505
507
|
la as TabComponent,
|
506
508
|
Ma as Tabs,
|
@@ -536,9 +538,9 @@ export {
|
|
536
538
|
rs as WebView,
|
537
539
|
ss as WebViewEvent,
|
538
540
|
hm as Worksheet,
|
539
|
-
|
541
|
+
yf as checkIfPPTNodeType,
|
540
542
|
oa as getTheme,
|
541
|
-
|
543
|
+
Bf as invalidateGetChapterDetails,
|
542
544
|
ul as invalidateHomeworks,
|
543
545
|
hp as invalidateMilestoneResources,
|
544
546
|
ip as invalidateMilestonesData,
|
@@ -548,12 +550,12 @@ export {
|
|
548
550
|
nm as loadScript,
|
549
551
|
im as media,
|
550
552
|
xl as useAutoPlayPermission,
|
551
|
-
|
553
|
+
vs as useCanvasSyncBroker,
|
552
554
|
Ol as useChapterPageJourney,
|
553
555
|
Yf as useCircleSounds,
|
554
556
|
rl as useClassTimeAlerts,
|
555
557
|
$t as useContextMenuClickHandler,
|
556
|
-
|
558
|
+
yr as useForceReload,
|
557
559
|
Ip as useGetAllMilestonesdata,
|
558
560
|
Cs as useGetCircleHomeDetailsDal,
|
559
561
|
Cl as useGetEligibleJourneysViaRoute,
|
@@ -565,17 +567,17 @@ export {
|
|
565
567
|
Zs as useInClassActionDispatcher,
|
566
568
|
qs as useInClassActionListener,
|
567
569
|
Fs as useInClassMessageBroker,
|
568
|
-
|
570
|
+
Um as useIsLearnosityLoaded,
|
569
571
|
Cf as useIsTabBlocked,
|
570
572
|
Sl as useJourney,
|
571
|
-
|
573
|
+
yt as useModalActions,
|
572
574
|
Ut as useModalParams,
|
573
575
|
Np as usePointerSync,
|
574
576
|
zt as useTrackingContext,
|
575
577
|
Js as useTrialSessionMessageBroker,
|
576
578
|
Zt as useUIContext,
|
577
|
-
|
578
|
-
|
579
|
+
wm as useViewport,
|
580
|
+
Bm as useWorksheetLayout,
|
579
581
|
Dr as useZoomDisable
|
580
582
|
};
|
581
583
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|