@cuemath/leap 3.2.21-beta-0.1 → 3.2.21-tp-beta-0.1
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/sat-sheet-item/sat-sheet-item.js +43 -43
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js +68 -53
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +247 -249
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,53 +1,53 @@
|
|
1
|
-
import { jsxs as t, jsx as
|
2
|
-
import { useMemo as C, useCallback as
|
1
|
+
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
2
|
+
import { useMemo as C, useCallback as d } from "react";
|
3
3
|
import { useUIContext as D } from "../../../../ui/context/context.js";
|
4
|
-
import
|
4
|
+
import i from "../../../../ui/layout/flex-view.js";
|
5
5
|
import S from "../../../../ui/text/text.js";
|
6
6
|
import { RewardAccuracy as _ } from "../sheet-item/rewards-n-actions/reward-n-actions-styled.js";
|
7
7
|
import v from "../sheet-item/sheet-item-icon.js";
|
8
|
-
import { SheetItemContainer as O, VerticalLineWrapper as U, TopVerticalLine as
|
8
|
+
import { SheetItemContainer as O, VerticalLineWrapper as U, TopVerticalLine as B, SheetDetailsWrapper as j } from "../sheet-item/sheet-item-styled.js";
|
9
9
|
import { getUserNodeIdsToUnlockSAT as M, getSATSheetStatementStats as G } from "./sat-sheet-item-utils.js";
|
10
|
-
import {
|
10
|
+
import { getActiveSheet as V } from "./sat-sheet-utils.js";
|
11
11
|
import L from "./student-actions/student-actions.js";
|
12
12
|
import N from "./teacher-actions/teacher-actions.js";
|
13
13
|
const ee = ({
|
14
14
|
blockStatus: n,
|
15
|
-
satMaxScore:
|
15
|
+
satMaxScore: f,
|
16
16
|
satScore: A,
|
17
17
|
...T
|
18
18
|
}) => {
|
19
|
-
const { blockId:
|
20
|
-
user_block_id:
|
19
|
+
const { blockId: u, sheets: c, userType: I, onSATReview: a, onSATUnlock: m, onSATStartOrResume: l } = T, {
|
20
|
+
user_block_id: e,
|
21
21
|
can_review: h,
|
22
22
|
can_start: g,
|
23
23
|
can_resume: x,
|
24
24
|
order: y
|
25
|
-
} = V(
|
25
|
+
} = V(c) || {}, { onEvent: p } = D(), s = C(
|
26
26
|
() => ({
|
27
|
-
user_block_id:
|
28
|
-
block_id:
|
27
|
+
user_block_id: e,
|
28
|
+
block_id: u
|
29
29
|
}),
|
30
|
-
[
|
31
|
-
), w = !!((n === "COMPLETED" || n === "MASTERED") && h &&
|
32
|
-
if (typeof
|
30
|
+
[u, e]
|
31
|
+
), w = !!((n === "COMPLETED" || n === "MASTERED") && h && e), $ = d(() => {
|
32
|
+
if (typeof a != "function")
|
33
33
|
throw new Error("onSATReview must be a function");
|
34
|
-
if (!
|
34
|
+
if (!e)
|
35
35
|
throw new Error("userBlockId must be a string");
|
36
|
-
p("clicked",
|
37
|
-
}, [
|
38
|
-
if (typeof
|
36
|
+
p("clicked", s), a(e);
|
37
|
+
}, [s, a, p, e]), E = d(() => {
|
38
|
+
if (typeof m != "function")
|
39
39
|
throw new Error("onSATUnlock must be a function");
|
40
|
-
const
|
41
|
-
if (
|
40
|
+
const o = M(c);
|
41
|
+
if (o.length === 0)
|
42
42
|
throw new Error("User node IDs are missing");
|
43
|
-
|
44
|
-
}, [
|
45
|
-
if (typeof
|
43
|
+
m(o);
|
44
|
+
}, [m, c]), b = d(() => {
|
45
|
+
if (typeof l != "function")
|
46
46
|
throw new Error("onSATStartOrResume must be a function");
|
47
|
-
if (!
|
48
|
-
throw new Error("
|
49
|
-
|
50
|
-
}, [
|
47
|
+
if (!e)
|
48
|
+
throw new Error("userBlockId must be a string");
|
49
|
+
l(e);
|
50
|
+
}, [l, e]);
|
51
51
|
return /* @__PURE__ */ t(
|
52
52
|
O,
|
53
53
|
{
|
@@ -56,10 +56,10 @@ const ee = ({
|
|
56
56
|
$alignItems: "center",
|
57
57
|
$flexGapX: 1,
|
58
58
|
children: [
|
59
|
-
/* @__PURE__ */ t(
|
60
|
-
/* @__PURE__ */
|
59
|
+
/* @__PURE__ */ t(i, { $width: "70%", $flexGap: 8, $flexDirection: "row", children: [
|
60
|
+
/* @__PURE__ */ r(U, { children: /* @__PURE__ */ r(B, {}) }),
|
61
61
|
/* @__PURE__ */ t(
|
62
|
-
|
62
|
+
j,
|
63
63
|
{
|
64
64
|
$width: "100%",
|
65
65
|
$flexDirection: "row",
|
@@ -67,25 +67,25 @@ const ee = ({
|
|
67
67
|
$flexGap: 8,
|
68
68
|
$marginBottom: 12,
|
69
69
|
children: [
|
70
|
-
/* @__PURE__ */
|
71
|
-
/* @__PURE__ */ t(
|
72
|
-
/* @__PURE__ */
|
73
|
-
/* @__PURE__ */
|
74
|
-
const { statement: k, color: R } = G(
|
75
|
-
return /* @__PURE__ */
|
70
|
+
/* @__PURE__ */ r(v, { chapterPermissionCode: n }),
|
71
|
+
/* @__PURE__ */ t(i, { $justifyContent: "center", $width: "100%", children: [
|
72
|
+
/* @__PURE__ */ r(S, { $renderAs: "body1Medium", children: "Assessment • Mock test" }),
|
73
|
+
/* @__PURE__ */ r(i, { children: c.map((o) => {
|
74
|
+
const { statement: k, color: R } = G(o);
|
75
|
+
return /* @__PURE__ */ r(S, { $renderAs: "body2", $color: R, children: k }, o.node_id);
|
76
76
|
}) })
|
77
77
|
] })
|
78
78
|
]
|
79
79
|
}
|
80
80
|
)
|
81
81
|
] }),
|
82
|
-
/* @__PURE__ */ t(
|
83
|
-
h &&
|
82
|
+
/* @__PURE__ */ t(i, { $flexDirection: "row", $alignItems: "center", $justifyContent: "center", $flexGap: 8, children: [
|
83
|
+
h && f && /* @__PURE__ */ r(i, { $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ t(_, { $renderAs: "eyebrow2", $align: "center", children: [
|
84
84
|
A,
|
85
85
|
"/",
|
86
|
-
|
86
|
+
f
|
87
87
|
] }) }),
|
88
|
-
I === "STUDENT" ? /* @__PURE__ */
|
88
|
+
I === "STUDENT" ? /* @__PURE__ */ r(
|
89
89
|
L,
|
90
90
|
{
|
91
91
|
handleOnReview: $,
|
@@ -94,17 +94,17 @@ const ee = ({
|
|
94
94
|
canResume: !!x,
|
95
95
|
canStart: !!g,
|
96
96
|
handleOnStartOrResume: b,
|
97
|
-
analyticsProps:
|
97
|
+
analyticsProps: s,
|
98
98
|
questionOrder: y
|
99
99
|
}
|
100
|
-
) : /* @__PURE__ */
|
100
|
+
) : /* @__PURE__ */ r(
|
101
101
|
N,
|
102
102
|
{
|
103
103
|
handleOnReview: $,
|
104
104
|
handleOnUnlock: E,
|
105
105
|
isMenuVisible: w,
|
106
106
|
blockStatus: n,
|
107
|
-
analyticsProps:
|
107
|
+
analyticsProps: s
|
108
108
|
}
|
109
109
|
)
|
110
110
|
] })
|
package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sat-sheet-item.js","sources":["../../../../../../src/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.tsx"],"sourcesContent":["import type { ISATSheetItemProps } from './sat-sheet-item-types';\n\nimport { useCallback, type FC, useMemo } from 'react';\n\nimport { useUIContext } from '../../../../ui/context/context';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { RewardAccuracy } from '../sheet-item/rewards-n-actions/reward-n-actions-styled';\nimport SheetItemIcon from '../sheet-item/sheet-item-icon';\nimport {\n SheetDetailsWrapper,\n SheetItemContainer,\n TopVerticalLine,\n VerticalLineWrapper,\n} from '../sheet-item/sheet-item-styled';\nimport { getSATSheetStatementStats, getUserNodeIdsToUnlockSAT } from './sat-sheet-item-utils';\nimport {
|
1
|
+
{"version":3,"file":"sat-sheet-item.js","sources":["../../../../../../src/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.tsx"],"sourcesContent":["import type { ISATSheetItemProps } from './sat-sheet-item-types';\n\nimport { useCallback, type FC, useMemo } from 'react';\n\nimport { useUIContext } from '../../../../ui/context/context';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { RewardAccuracy } from '../sheet-item/rewards-n-actions/reward-n-actions-styled';\nimport SheetItemIcon from '../sheet-item/sheet-item-icon';\nimport {\n SheetDetailsWrapper,\n SheetItemContainer,\n TopVerticalLine,\n VerticalLineWrapper,\n} from '../sheet-item/sheet-item-styled';\nimport { getSATSheetStatementStats, getUserNodeIdsToUnlockSAT } from './sat-sheet-item-utils';\nimport { getActiveSheet } from './sat-sheet-utils';\nimport StudentActions from './student-actions/student-actions';\nimport TeacherActions from './teacher-actions/teacher-actions';\n\nconst SATSheetItem: FC<ISATSheetItemProps> = ({\n blockStatus,\n satMaxScore,\n satScore,\n ...restSATSheetItemProps\n}) => {\n const { blockId, sheets, userType, onSATReview, onSATUnlock, onSATStartOrResume } =\n restSATSheetItemProps;\n const {\n user_block_id: userBlockId,\n can_review: canReview,\n can_start: canStart,\n can_resume: canResume,\n order: questionOrder,\n } = getActiveSheet(sheets) || {};\n\n const { onEvent: trackEvent } = useUIContext();\n const analyticsProps = useMemo(\n () => ({\n user_block_id: userBlockId,\n block_id: blockId,\n }),\n [blockId, userBlockId],\n );\n\n const isMenuVisible = Boolean(\n (blockStatus === 'COMPLETED' || blockStatus === 'MASTERED') && canReview && userBlockId,\n );\n\n const handleOnReview = useCallback(() => {\n if (typeof onSATReview !== 'function') {\n throw new Error('onSATReview must be a function');\n }\n\n if (!userBlockId) {\n throw new Error('userBlockId must be a string');\n }\n\n trackEvent('clicked', analyticsProps);\n\n onSATReview(userBlockId);\n }, [analyticsProps, onSATReview, trackEvent, userBlockId]);\n\n const handleOnUnlock = useCallback(() => {\n if (typeof onSATUnlock !== 'function') {\n throw new Error('onSATUnlock must be a function');\n }\n\n const userNodeIds = getUserNodeIdsToUnlockSAT(sheets);\n\n if (userNodeIds.length === 0) {\n throw new Error('User node IDs are missing');\n }\n\n onSATUnlock(userNodeIds);\n }, [onSATUnlock, sheets]);\n\n const handleOnStartOrResume = useCallback(() => {\n if (typeof onSATStartOrResume !== 'function') {\n throw new Error('onSATStartOrResume must be a function');\n }\n\n if (!userBlockId) {\n throw new Error('userBlockId must be a string');\n }\n\n onSATStartOrResume(userBlockId);\n }, [onSATStartOrResume, userBlockId]);\n\n return (\n <SheetItemContainer\n $flexDirection=\"row\"\n $justifyContent=\"space-between\"\n $alignItems=\"center\"\n $flexGapX={1}\n >\n <FlexView $width=\"70%\" $flexGap={8} $flexDirection=\"row\">\n <VerticalLineWrapper>\n <TopVerticalLine />\n </VerticalLineWrapper>\n\n <SheetDetailsWrapper\n $width=\"100%\"\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $flexGap={8}\n $marginBottom={12}\n >\n <SheetItemIcon chapterPermissionCode={blockStatus} />\n\n <FlexView $justifyContent=\"center\" $width=\"100%\">\n <Text $renderAs=\"body1Medium\">Assessment • Mock test</Text>\n\n <FlexView>\n {sheets.map(sheet => {\n const { statement, color } = getSATSheetStatementStats(sheet);\n\n return (\n <Text $renderAs=\"body2\" key={sheet.node_id} $color={color}>\n {statement}\n </Text>\n );\n })}\n </FlexView>\n </FlexView>\n </SheetDetailsWrapper>\n </FlexView>\n\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $justifyContent=\"center\" $flexGap={8}>\n {canReview && satMaxScore && (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\">\n <RewardAccuracy $renderAs=\"eyebrow2\" $align=\"center\">\n {satScore}/{satMaxScore}\n </RewardAccuracy>\n </FlexView>\n )}\n\n {userType === 'STUDENT' ? (\n <StudentActions\n handleOnReview={handleOnReview}\n isMenuVisible={isMenuVisible}\n blockStatus={blockStatus}\n canResume={Boolean(canResume)}\n canStart={Boolean(canStart)}\n handleOnStartOrResume={handleOnStartOrResume}\n analyticsProps={analyticsProps}\n questionOrder={questionOrder}\n />\n ) : (\n <TeacherActions\n handleOnReview={handleOnReview}\n handleOnUnlock={handleOnUnlock}\n isMenuVisible={isMenuVisible}\n blockStatus={blockStatus}\n analyticsProps={analyticsProps}\n />\n )}\n </FlexView>\n </SheetItemContainer>\n );\n};\n\nexport default SATSheetItem;\n"],"names":["SATSheetItem","blockStatus","satMaxScore","satScore","restSATSheetItemProps","blockId","sheets","userType","onSATReview","onSATUnlock","onSATStartOrResume","userBlockId","canReview","canStart","canResume","questionOrder","getActiveSheet","trackEvent","useUIContext","analyticsProps","useMemo","isMenuVisible","handleOnReview","useCallback","handleOnUnlock","userNodeIds","getUserNodeIdsToUnlockSAT","handleOnStartOrResume","jsxs","SheetItemContainer","FlexView","jsx","VerticalLineWrapper","TopVerticalLine","SheetDetailsWrapper","SheetItemIcon","Text","sheet","statement","color","getSATSheetStatementStats","RewardAccuracy","StudentActions","TeacherActions"],"mappings":"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"}
|
package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sat-sheet-utils.js","sources":["../../../../../../src/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.ts"],"sourcesContent":["import type { TLPARSheetData } from '../sheet-item/sheet-item-type';\n\nconst
|
1
|
+
{"version":3,"file":"sat-sheet-utils.js","sources":["../../../../../../src/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.ts"],"sourcesContent":["import type { TLPARSheetData } from '../sheet-item/sheet-item-type';\n\nconst getActiveSheet = (sheets: TLPARSheetData[]) => {\n const activeSheet = sheets.find(sheet => sheet.can_start || sheet.can_resume) ?? sheets[0];\n\n return activeSheet;\n};\n\nexport { getActiveSheet };\n"],"names":["getActiveSheet","sheets","sheet"],"mappings":"AAEM,MAAAA,IAAiB,CAACC,MACFA,EAAO,KAAK,CAASC,MAAAA,EAAM,aAAaA,EAAM,UAAU,KAAKD,EAAO,CAAC;"}
|
@@ -1,73 +1,88 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { memo as
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import {
|
10
|
-
|
11
|
-
|
1
|
+
import { jsx as r, jsxs as f, Fragment as _ } from "react/jsx-runtime";
|
2
|
+
import { memo as b, useContext as k, useCallback as w } from "react";
|
3
|
+
import C from "../../../../../ui/layout/flex-view.js";
|
4
|
+
import F from "../../../../../ui/loader/app-loader/app-loader.js";
|
5
|
+
import N from "../../../../../ui/separator/separator.js";
|
6
|
+
import m from "../../../../../ui/text/text.js";
|
7
|
+
import R from "../../../milestone-create-context.js";
|
8
|
+
import x from "../../chapter-item/chapter-item.js";
|
9
|
+
import { computeRecommendedNCustomChapters as B } from "../utils.js";
|
10
|
+
import { ChaptersListWrapper as T } from "./chapter-selection-step-styled.js";
|
11
|
+
const A = (p, u, i, a) => !p || u ? !0 : (i === "EDIT" || i === "DRAFT_EDIT") && a.recommended === !0 && !a.added, v = b((p) => {
|
12
|
+
const { formData: u, isProcessing: i, onFormDataChange: a, isGoalCreation: n } = p, { testType: D, primaryChaptersList: o, chapterGoalCategory: G } = u, { primaryGoalCategory: I } = G || {}, d = D === "no-test", { flow: c } = k(R), { recommendedChaptersList: g, customChaptersList: s } = B(
|
12
13
|
o,
|
13
|
-
|
14
|
-
|
15
|
-
), h =
|
16
|
-
(
|
17
|
-
if (
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
14
|
+
I,
|
15
|
+
n
|
16
|
+
), h = w(
|
17
|
+
(t) => {
|
18
|
+
if (n && !d) {
|
19
|
+
const e = o == null ? void 0 : o.find((X) => X.id === t), $ = (c === "EDIT" || c === "DRAFT_EDIT") && (e == null ? void 0 : e.recommended) === !0;
|
20
|
+
if (!$ || e != null && e.added && $) return null;
|
21
|
+
}
|
22
|
+
const l = o == null ? void 0 : o.map((e) => e.id === t ? {
|
23
|
+
...e,
|
24
|
+
added: !e.added
|
25
|
+
} : e);
|
26
|
+
a({
|
27
|
+
primaryChaptersList: l
|
24
28
|
});
|
25
29
|
},
|
26
|
-
[o,
|
30
|
+
[o, d, n, a, c]
|
27
31
|
);
|
28
|
-
return
|
29
|
-
|
32
|
+
return i ? /* @__PURE__ */ r(
|
33
|
+
T,
|
30
34
|
{
|
31
35
|
$gapX: 1.5,
|
32
36
|
$gutterX: 1.5,
|
33
37
|
$flexGapX: 1.25,
|
34
38
|
$justifyContent: "center",
|
35
39
|
$alignItems: "center",
|
36
|
-
children: /* @__PURE__ */
|
40
|
+
children: /* @__PURE__ */ r(F, {})
|
37
41
|
}
|
38
|
-
) : /* @__PURE__ */
|
39
|
-
/* @__PURE__ */
|
40
|
-
/* @__PURE__ */
|
41
|
-
|
42
|
+
) : /* @__PURE__ */ f(T, { $gapX: 1.5, $gutterX: 1.5, $flexGapX: 1.25, children: [
|
43
|
+
/* @__PURE__ */ f(C, { $flexDirection: "row", $flexGap: 4, $alignItems: "center", children: [
|
44
|
+
/* @__PURE__ */ r(m, { $renderAs: "ac4-black", $color: "BLACK_T_60", children: "Recommended Chapters" }),
|
45
|
+
d && /* @__PURE__ */ r(m, { $renderAs: "ub2", $color: "BLACK_T_60", children: "(Click on any chapter to exclude it)" })
|
42
46
|
] }),
|
43
|
-
/* @__PURE__ */
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
chapterNo: n + 1,
|
48
|
-
canAddChapter: !t || a,
|
49
|
-
onChapterItemClick: h
|
50
|
-
},
|
51
|
-
r.id
|
52
|
-
)) : /* @__PURE__ */ e(l, { $renderAs: "ub1", children: "No recommended chapters available" }) }),
|
53
|
-
!!(c != null && c.length) && /* @__PURE__ */ p(G, { children: [
|
54
|
-
/* @__PURE__ */ e(D, { height: 8, background: "TRANSPARENT" }),
|
55
|
-
/* @__PURE__ */ e(l, { $renderAs: "ac4-black", $color: "BLACK_T_60", children: "Custom chapters" }),
|
56
|
-
/* @__PURE__ */ e(d, { $flexDirection: "row", $flexWrap: !0, $flexGapX: 1.25, children: c.map((r, n) => /* @__PURE__ */ e(
|
57
|
-
C,
|
47
|
+
/* @__PURE__ */ r(C, { $flexDirection: "row", $flexWrap: !0, $flexGapX: 1.25, children: g.length > 0 ? g.map((t, l) => {
|
48
|
+
const e = A(n, d, c, t);
|
49
|
+
return /* @__PURE__ */ r(
|
50
|
+
x,
|
58
51
|
{
|
59
|
-
chapterData:
|
60
|
-
|
61
|
-
|
62
|
-
onChapterItemClick: h
|
63
|
-
showChapterTags: !0
|
52
|
+
chapterData: t,
|
53
|
+
chapterNo: l + 1,
|
54
|
+
canAddChapter: e,
|
55
|
+
onChapterItemClick: h
|
64
56
|
},
|
65
|
-
|
66
|
-
)
|
57
|
+
t.id
|
58
|
+
);
|
59
|
+
}) : /* @__PURE__ */ r(m, { $renderAs: "ub1", children: "No recommended chapters available" }) }),
|
60
|
+
!!(s != null && s.length) && /* @__PURE__ */ f(_, { children: [
|
61
|
+
/* @__PURE__ */ r(N, { height: 8, background: "TRANSPARENT" }),
|
62
|
+
/* @__PURE__ */ r(m, { $renderAs: "ac4-black", $color: "BLACK_T_60", children: "Custom chapters" }),
|
63
|
+
/* @__PURE__ */ r(C, { $flexDirection: "row", $flexWrap: !0, $flexGapX: 1.25, children: s.map((t, l) => {
|
64
|
+
const e = A(
|
65
|
+
n,
|
66
|
+
d,
|
67
|
+
c,
|
68
|
+
t
|
69
|
+
);
|
70
|
+
return /* @__PURE__ */ r(
|
71
|
+
x,
|
72
|
+
{
|
73
|
+
chapterData: t,
|
74
|
+
canAddChapter: e,
|
75
|
+
chapterNo: l + 1,
|
76
|
+
onChapterItemClick: h,
|
77
|
+
showChapterTags: !0
|
78
|
+
},
|
79
|
+
t.id
|
80
|
+
);
|
81
|
+
}) })
|
67
82
|
] })
|
68
83
|
] });
|
69
84
|
});
|
70
85
|
export {
|
71
|
-
|
86
|
+
v as default
|
72
87
|
};
|
73
88
|
//# sourceMappingURL=chapters-list.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chapters-list.js","sources":["../../../../../../../src/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.tsx"],"sourcesContent":["import type { IChaptersListProps } from './chapter-selection-step-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback } from 'react';\n\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport AppLoader from '../../../../../ui/loader/app-loader/app-loader';\nimport Seperator from '../../../../../ui/separator/separator';\nimport Text from '../../../../../ui/text/text';\nimport ChapterItemV2 from '../../chapter-item/chapter-item';\nimport { computeRecommendedNCustomChapters } from '../utils';\nimport * as Styled from './chapter-selection-step-styled';\n\nconst ChaptersList: FC<IChaptersListProps> = memo(props => {\n const { formData, isProcessing, onFormDataChange, isGoalCreation } = props;\n const { testType, primaryChaptersList, chapterGoalCategory } = formData;\n const { primaryGoalCategory } = chapterGoalCategory || {};\n const isSchoolSuccess = testType === 'no-test';\n\n const { recommendedChaptersList, customChaptersList } = computeRecommendedNCustomChapters(\n primaryChaptersList,\n primaryGoalCategory,\n isGoalCreation,\n );\n\n const handleChapterToggled = useCallback(\n (chapterId: string) => {\n //* If category is Test prep or Enrichment, Then one can not deselect the chapters.\n if (isGoalCreation && !isSchoolSuccess) return null;\n\n const updatedChaptersList = primaryChaptersList?.map(chapter => {\n if (chapter.id === chapterId) {\n return {\n ...chapter,\n added: !chapter.added,\n };\n }\n\n return chapter;\n });\n\n onFormDataChange({\n primaryChaptersList: updatedChaptersList,\n });\n },\n [primaryChaptersList, isSchoolSuccess, isGoalCreation, onFormDataChange],\n );\n\n if (isProcessing) {\n return (\n <Styled.ChaptersListWrapper\n $gapX={1.5}\n $gutterX={1.5}\n $flexGapX={1.25}\n $justifyContent=\"center\"\n $alignItems=\"center\"\n >\n <AppLoader />\n </Styled.ChaptersListWrapper>\n );\n }\n\n return (\n <Styled.ChaptersListWrapper $gapX={1.5} $gutterX={1.5} $flexGapX={1.25}>\n <FlexView $flexDirection=\"row\" $flexGap={4} $alignItems=\"center\">\n <Text $renderAs=\"ac4-black\" $color=\"BLACK_T_60\">\n Recommended Chapters\n </Text>\n\n {isSchoolSuccess && (\n <Text $renderAs=\"ub2\" $color=\"BLACK_T_60\">\n (Click on any chapter to exclude it)\n </Text>\n )}\n </FlexView>\n\n <FlexView $flexDirection=\"row\" $flexWrap $flexGapX={1.25}>\n {recommendedChaptersList.length > 0 ? (\n recommendedChaptersList.map((chapter, idx) => {\n return (\n <ChapterItemV2\n key={chapter.id}\n chapterData={chapter}\n chapterNo={idx + 1}\n canAddChapter={
|
1
|
+
{"version":3,"file":"chapters-list.js","sources":["../../../../../../../src/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.tsx"],"sourcesContent":["import type { TMilestoneFormFlow } from '../../../milestone-create-types';\nimport type { IChapter } from '../../chapter-item/chapter-item-types';\nimport type { IChaptersListProps } from './chapter-selection-step-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useContext } from 'react';\n\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport AppLoader from '../../../../../ui/loader/app-loader/app-loader';\nimport Seperator from '../../../../../ui/separator/separator';\nimport Text from '../../../../../ui/text/text';\nimport MilestoneCreateContext from '../../../milestone-create-context';\nimport ChapterItemV2 from '../../chapter-item/chapter-item';\nimport { computeRecommendedNCustomChapters } from '../utils';\nimport * as Styled from './chapter-selection-step-styled';\n\nconst getCanAddChapter = (\n isGoalCreation: boolean | undefined,\n isSchoolSuccess: boolean,\n flow: TMilestoneFormFlow | null,\n chapter: IChapter,\n): boolean => {\n // For school success, chapters can always be toggled\n if (!isGoalCreation || isSchoolSuccess) {\n return true;\n }\n\n // For non-school success test types\n const canToggleBasedOnFlow =\n (flow === 'EDIT' || flow === 'DRAFT_EDIT') && chapter.recommended === true;\n\n // If flow allows toggling but chapter is already added, prevent removal\n\n return canToggleBasedOnFlow && !chapter.added;\n};\n\nconst ChaptersList: FC<IChaptersListProps> = memo(props => {\n const { formData, isProcessing, onFormDataChange, isGoalCreation } = props;\n const { testType, primaryChaptersList, chapterGoalCategory } = formData;\n const { primaryGoalCategory } = chapterGoalCategory || {};\n const isSchoolSuccess = testType === 'no-test';\n\n const { flow } = useContext(MilestoneCreateContext);\n\n const { recommendedChaptersList, customChaptersList } = computeRecommendedNCustomChapters(\n primaryChaptersList,\n primaryGoalCategory,\n isGoalCreation,\n );\n\n const handleChapterToggled = useCallback(\n (chapterId: string) => {\n //* If category is Test prep or Enrichment, Then one can not deselect the chapters.\n //* Unless the flow is EDIT or DRAFT_EDIT and chapter has recommended info true.\n if (isGoalCreation && !isSchoolSuccess) {\n const chapter = primaryChaptersList?.find(ch => ch.id === chapterId);\n const canToggle =\n (flow === 'EDIT' || flow === 'DRAFT_EDIT') && chapter?.recommended === true;\n\n if (!canToggle) return null;\n\n //* If chapter is already added, it cannot be removed for these flows\n if (chapter?.added && canToggle) return null;\n }\n\n const updatedChaptersList = primaryChaptersList?.map(chapter => {\n if (chapter.id === chapterId) {\n return {\n ...chapter,\n added: !chapter.added,\n };\n }\n\n return chapter;\n });\n\n onFormDataChange({\n primaryChaptersList: updatedChaptersList,\n });\n },\n [primaryChaptersList, isSchoolSuccess, isGoalCreation, onFormDataChange, flow],\n );\n\n if (isProcessing) {\n return (\n <Styled.ChaptersListWrapper\n $gapX={1.5}\n $gutterX={1.5}\n $flexGapX={1.25}\n $justifyContent=\"center\"\n $alignItems=\"center\"\n >\n <AppLoader />\n </Styled.ChaptersListWrapper>\n );\n }\n\n return (\n <Styled.ChaptersListWrapper $gapX={1.5} $gutterX={1.5} $flexGapX={1.25}>\n <FlexView $flexDirection=\"row\" $flexGap={4} $alignItems=\"center\">\n <Text $renderAs=\"ac4-black\" $color=\"BLACK_T_60\">\n Recommended Chapters\n </Text>\n\n {isSchoolSuccess && (\n <Text $renderAs=\"ub2\" $color=\"BLACK_T_60\">\n (Click on any chapter to exclude it)\n </Text>\n )}\n </FlexView>\n\n <FlexView $flexDirection=\"row\" $flexWrap $flexGapX={1.25}>\n {recommendedChaptersList.length > 0 ? (\n recommendedChaptersList.map((chapter, idx) => {\n const canAddChapter = getCanAddChapter(isGoalCreation, isSchoolSuccess, flow, chapter);\n\n return (\n <ChapterItemV2\n key={chapter.id}\n chapterData={chapter}\n chapterNo={idx + 1}\n canAddChapter={canAddChapter}\n onChapterItemClick={handleChapterToggled}\n />\n );\n })\n ) : (\n <Text $renderAs=\"ub1\">No recommended chapters available</Text>\n )}\n </FlexView>\n\n {!!customChaptersList?.length && (\n <>\n <Seperator height={8} background=\"TRANSPARENT\" />\n\n <Text $renderAs=\"ac4-black\" $color=\"BLACK_T_60\">\n Custom chapters\n </Text>\n\n <FlexView $flexDirection=\"row\" $flexWrap $flexGapX={1.25}>\n {customChaptersList.map((chapter, idx) => {\n const canAddChapter = getCanAddChapter(\n isGoalCreation,\n isSchoolSuccess,\n flow,\n chapter,\n );\n\n return (\n <ChapterItemV2\n key={chapter.id}\n chapterData={chapter}\n canAddChapter={canAddChapter}\n chapterNo={idx + 1}\n onChapterItemClick={handleChapterToggled}\n showChapterTags\n />\n );\n })}\n </FlexView>\n </>\n )}\n </Styled.ChaptersListWrapper>\n );\n});\n\nexport default ChaptersList;\n"],"names":["getCanAddChapter","isGoalCreation","isSchoolSuccess","flow","chapter","ChaptersList","memo","props","formData","isProcessing","onFormDataChange","testType","primaryChaptersList","chapterGoalCategory","primaryGoalCategory","useContext","MilestoneCreateContext","recommendedChaptersList","customChaptersList","computeRecommendedNCustomChapters","handleChapterToggled","useCallback","chapterId","ch","canToggle","updatedChaptersList","jsx","Styled.ChaptersListWrapper","AppLoader","jsxs","FlexView","Text","idx","canAddChapter","ChapterItemV2","Fragment","Seperator"],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
@@ -547,8 +547,6 @@ declare enum GENDER {
|
|
547
547
|
OTHER = "OTHER"
|
548
548
|
}
|
549
549
|
|
550
|
-
export declare const getActiveSATSheet: (sheets: TLPARSheetData[]) => TLPARSheetData | undefined;
|
551
|
-
|
552
550
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
553
551
|
|
554
552
|
declare const getButtonConfig: IGetButtonConfig;
|
package/dist/index.js
CHANGED
@@ -6,7 +6,7 @@ import { LOTTIE as m } from "./assets/lottie/lottie.js";
|
|
6
6
|
import { GIF as x } from "./assets/gif/gif.js";
|
7
7
|
import { default as c } from "./assets/line-icons/icons/alert.js";
|
8
8
|
import { default as I } from "./assets/line-icons/icons/back.js";
|
9
|
-
import { default as
|
9
|
+
import { default as S } from "./assets/line-icons/icons/bin.js";
|
10
10
|
import { default as C } from "./assets/line-icons/icons/bin2.js";
|
11
11
|
import { default as P } from "./assets/line-icons/icons/book-closed.js";
|
12
12
|
import { default as h } from "./assets/line-icons/icons/book.js";
|
@@ -33,7 +33,7 @@ import { default as me } from "./assets/line-icons/icons/edit2.js";
|
|
33
33
|
import { default as xe } from "./assets/line-icons/icons/edit-star.js";
|
34
34
|
import { default as ce } from "./assets/line-icons/icons/eraser.js";
|
35
35
|
import { default as Ie } from "./assets/line-icons/icons/eye.js";
|
36
|
-
import { default as
|
36
|
+
import { default as Se } from "./assets/line-icons/icons/eye2.js";
|
37
37
|
import { default as Ce } from "./assets/line-icons/icons/exclamation.js";
|
38
38
|
import { default as Pe } from "./assets/line-icons/icons/hand.js";
|
39
39
|
import { default as he } from "./assets/line-icons/icons/hint-fill.js";
|
@@ -59,7 +59,7 @@ import { default as po } from "./assets/line-icons/icons/play.js";
|
|
59
59
|
import { default as mo } from "./assets/line-icons/icons/play2.js";
|
60
60
|
import { default as no } from "./assets/line-icons/icons/plus.js";
|
61
61
|
import { default as io } from "./assets/line-icons/icons/plus2.js";
|
62
|
-
import { default as
|
62
|
+
import { default as To } from "./assets/line-icons/icons/practice.js";
|
63
63
|
import { default as Eo } from "./assets/line-icons/icons/progress.js";
|
64
64
|
import { default as Ao } from "./assets/line-icons/icons/puzzle-icon.js";
|
65
65
|
import { default as _o } from "./assets/line-icons/icons/puzzle2.js";
|
@@ -86,7 +86,7 @@ import { default as ur } from "./assets/line-icons/icons/unlock.js";
|
|
86
86
|
import { default as dr } from "./assets/line-icons/icons/unlock2.js";
|
87
87
|
import { default as nr } from "./assets/line-icons/icons/up.js";
|
88
88
|
import { default as ir } from "./assets/line-icons/icons/user.js";
|
89
|
-
import { default as
|
89
|
+
import { default as Tr } from "./assets/line-icons/icons/user2.js";
|
90
90
|
import { default as Er, default as Cr } from "./assets/line-icons/icons/sketch.js";
|
91
91
|
import { default as Pr } from "./assets/line-icons/icons/back2.js";
|
92
92
|
import { default as hr } from "./assets/line-icons/icons/chevron-right.js";
|
@@ -113,7 +113,7 @@ import { default as mt } from "./features/ui/accordion/accordion.js";
|
|
113
113
|
import { default as xt } from "./features/ui/accordion-section/accordion-section.js";
|
114
114
|
import { default as ct } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
|
115
115
|
import { default as It } from "./features/ui/context-menu/context-menu.js";
|
116
|
-
import { default as
|
116
|
+
import { default as St } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
117
117
|
import { default as Ct } from "./features/ui/nudge/nudge.js";
|
118
118
|
import { default as Pt } from "./features/ui/buttons/button/button.js";
|
119
119
|
import { default as ht } from "./features/ui/buttons/clickable/clickable.js";
|
@@ -140,7 +140,7 @@ import { default as ma } from "./features/ui/modals/modal-provider.js";
|
|
140
140
|
import { default as xa } from "./features/ui/modals/use-modal-actions.js";
|
141
141
|
import { default as ca } from "./features/ui/modals/use-modal-params.js";
|
142
142
|
import { default as Ia } from "./features/ui/radio-cards/radio-cards.js";
|
143
|
-
import { default as
|
143
|
+
import { default as Sa } from "./features/ui/section-list/section-list.js";
|
144
144
|
import { default as Ca } from "./features/ui/text/text.js";
|
145
145
|
import { default as Pa } from "./features/ui/tag/tag.js";
|
146
146
|
import { default as ha } from "./features/ui/callout/callout.js";
|
@@ -166,7 +166,7 @@ import { PLATFORM_EVENTS_TEACHER as uf } from "./features/analytics-events/platf
|
|
166
166
|
import { WHITELIST_EVENTS as df } from "./features/analytics-events/whitelist-events.js";
|
167
167
|
import { default as nf } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
|
168
168
|
import { default as If } from "./features/auth/comps/auth-page-layout/auth-page-layout.js";
|
169
|
-
import { default as
|
169
|
+
import { default as Sf } from "./features/auth/comps/overlay-loader/overlay-loader.js";
|
170
170
|
import { default as Cf } from "./features/auth/comps/tabs/tabs.js";
|
171
171
|
import { default as Pf } from "./features/auth/comps/input-status-icon/input-status-icon.js";
|
172
172
|
import { default as hf } from "./features/auth/comps/resend-otp/resend-otp.js";
|
@@ -193,7 +193,7 @@ import { default as ms } from "./features/auth/login/identifier-otp-form/identif
|
|
193
193
|
import { default as xs } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
194
194
|
import { default as cs } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
195
195
|
import { default as Is } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
196
|
-
import { AUTH_TABS as
|
196
|
+
import { AUTH_TABS as Ss } from "./features/auth/login/login-constants.js";
|
197
197
|
import { AuthApiErrorCode as Cs } from "./features/auth/auth-constants.js";
|
198
198
|
import { default as Ps } from "./features/av/av-preview/av-preview.js";
|
199
199
|
import { default as hs } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
|
@@ -204,120 +204,119 @@ import { default as Ds } from "./features/chapters/lpar-chapter/lpar-chapter.js"
|
|
204
204
|
import { default as Gs } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
205
205
|
import { default as vs } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
206
206
|
import { checkIfPPTNodeType as Us } from "./features/chapters/lpar-chapter/utils/index.js";
|
207
|
-
import {
|
208
|
-
import {
|
209
|
-
import {
|
210
|
-
import {
|
211
|
-
import {
|
212
|
-
import {
|
213
|
-
import {
|
214
|
-
import {
|
215
|
-
import {
|
216
|
-
import {
|
217
|
-
import {
|
218
|
-
import {
|
219
|
-
import {
|
220
|
-
import {
|
221
|
-
import {
|
222
|
-
import {
|
223
|
-
import {
|
224
|
-
import {
|
225
|
-
import {
|
226
|
-
import {
|
227
|
-
import {
|
228
|
-
import {
|
229
|
-
import {
|
230
|
-
import {
|
231
|
-
import {
|
232
|
-
import { default as Bl } from "./features/cue-canvas/
|
233
|
-
import { default as bl } from "./features/cue-canvas/
|
234
|
-
import { default as Fl } from "./features/cue-canvas/
|
235
|
-
import { default as Vl } from "./features/cue-canvas/
|
236
|
-
import { default as Yl } from "./features/cue-canvas/
|
237
|
-
import { default as Ql } from "./features/
|
238
|
-
import { default as jl } from "./features/communication/hooks/use-
|
239
|
-
import {
|
240
|
-
import {
|
241
|
-
import {
|
242
|
-
import { default as ap } from "./features/trial-session/
|
243
|
-
import {
|
244
|
-
import {
|
245
|
-
import {
|
246
|
-
import { default as xp } from "./features/
|
247
|
-
import { default as cp } from "./features/
|
248
|
-
import {
|
249
|
-
import {
|
250
|
-
import {
|
251
|
-
import {
|
252
|
-
import {
|
253
|
-
import {
|
254
|
-
import {
|
255
|
-
import {
|
256
|
-
import {
|
257
|
-
import {
|
258
|
-
import {
|
259
|
-
import {
|
260
|
-
import { default as wp } from "./features/
|
261
|
-
import { default as Wp } from "./features/milestone/create/
|
262
|
-
import { default as zp } from "./features/milestone/create/comps/confirmation-modals/
|
263
|
-
import { default as Jp } from "./features/milestone/create/
|
264
|
-
import { default as Kp } from "./features/milestone/
|
265
|
-
import { default as Zp } from "./features/milestone/
|
266
|
-
import { default as Xp } from "./features/milestone/outcome/
|
267
|
-
import { default as eu } from "./features/milestone/outcome/comps/achievement/
|
268
|
-
import { default as ru } from "./features/milestone/
|
269
|
-
import { default as au } from "./features/milestone/edit/
|
270
|
-
import { default as su } from "./features/milestone/edit/
|
271
|
-
import { default as pu } from "./features/milestone/
|
272
|
-
import { default as mu } from "./features/milestone/milestone-
|
273
|
-
import { default as xu } from "./features/milestone/
|
274
|
-
import { default as cu } from "./features/milestone/
|
275
|
-
import { default as Iu } from "./features/milestone/milestone-
|
276
|
-
import {
|
277
|
-
import {
|
278
|
-
import {
|
279
|
-
import {
|
280
|
-
import {
|
281
|
-
import {
|
282
|
-
import { default as yu } from "./features/pointer-sync/pointer.js";
|
283
|
-
import {
|
284
|
-
import {
|
285
|
-
import {
|
286
|
-
import {
|
287
|
-
import {
|
288
|
-
import {
|
289
|
-
import { default as Zu } from "./features/sheet-tools/
|
290
|
-
import { default as Xu } from "./features/
|
291
|
-
import { default as em } from "./features/sheets/
|
292
|
-
import {
|
293
|
-
import {
|
294
|
-
import {
|
295
|
-
import { default as Em } from "./features/
|
296
|
-
import {
|
297
|
-
import {
|
298
|
-
import {
|
299
|
-
import { default as Nm } from "./features/worksheet/worksheet/worksheet-
|
300
|
-
import { default as Dm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
301
|
-
import { default as Gm } from "./features/worksheet/worksheet
|
302
|
-
import { default as vm } from "./features/worksheet/worksheet/worksheet-permissions/
|
303
|
-
import { default as Um } from "./features/worksheet/
|
304
|
-
import { default as wm } from "./features/worksheet/learnosity-preloader/learnosity-
|
305
|
-
import { default as Wm } from "./features/worksheet/
|
306
|
-
import { default as zm } from "./features/
|
307
|
-
import { default as Jm } from "./features/puzzles/puzzle-
|
308
|
-
import { default as Km } from "./features/puzzles/
|
309
|
-
import {
|
310
|
-
import {
|
311
|
-
import { COUNTRY_CODE_MAP as od } from "./constants/country.js";
|
207
|
+
import { default as ws } from "./features/chapters-v2/chapter-details/chapter-details.js";
|
208
|
+
import { invalidateGetChapterDetails as Ws } from "./features/chapters-v2/api/chapter.js";
|
209
|
+
import { GAME_LAUNCHER_ASSET_PADDING as zs } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
210
|
+
import { GAME_LAUNCHER_SIZE as Js } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
211
|
+
import { useCircleSounds as Ks } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
212
|
+
import { CircleSoundKey as Zs } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
|
213
|
+
import { useGetLeaderboardDal as Xs } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
214
|
+
import { ELeaderboardType as el } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
|
215
|
+
import { StreakReductionLocalStorageUtil as rl } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
216
|
+
import { Tutorial as al } from "./features/circle-games/games/tutorial/tutorial.js";
|
217
|
+
import { WebView as sl } from "./features/circle-games/games/web-view/web-view.js";
|
218
|
+
import { ProjectOutcome as pl } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
219
|
+
import { WebViewEvent as ml } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
220
|
+
import { ProjectType as xl } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
221
|
+
import { PlayerType as cl } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
222
|
+
import { IStatsToAwardErrorCode as Il } from "./features/circle-games/games/web-view/web-view-types.js";
|
223
|
+
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as Sl } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
224
|
+
import { CIRCLE_ACTION_IDS as Cl } from "./features/circle-games/enum/circle-action-ids.js";
|
225
|
+
import { GameLauncher as Pl } from "./features/circle-games/game-launcher/game-launcher.js";
|
226
|
+
import { useGetCircleHomeDetailsDal as hl } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
227
|
+
import { Leaderboard as Ml } from "./features/circle-games/leaderboard/leaderboard.js";
|
228
|
+
import { BackgroundImage as Ol, CircularSteps as Rl } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
229
|
+
import { SplashScreen as Hl } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
230
|
+
import { SignUp as gl } from "./features/circle-games/sign-up/sign-up.js";
|
231
|
+
import { default as yl } from "./features/cue-canvas/cue-canvas-provider.js";
|
232
|
+
import { default as Bl } from "./features/cue-canvas/toolbar/toolbar.js";
|
233
|
+
import { default as bl } from "./features/cue-canvas/cue-canvas.js";
|
234
|
+
import { default as Fl } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
|
235
|
+
import { default as Vl } from "./features/cue-canvas/sidebar/sidebar.js";
|
236
|
+
import { default as Yl } from "./features/cue-canvas/bottombar/homework-controls.js";
|
237
|
+
import { default as Ql } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
238
|
+
import { default as jl } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
|
239
|
+
import { EVENTS as ql } from "./features/communication/pub-sub/constants.js";
|
240
|
+
import { useInClassActionDispatcher as $l, useInClassActionListener as ep } from "./features/communication/pub-sub/hooks.js";
|
241
|
+
import { default as rp } from "./features/trial-session/trial-session.js";
|
242
|
+
import { default as ap } from "./features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js";
|
243
|
+
import { EClassTimeAlertLevel as sp } from "./features/trial-session/trial-session-types.js";
|
244
|
+
import { useClassTimeAlerts as pp } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
245
|
+
import { default as mp } from "./features/talk-meter/talk-meter.js";
|
246
|
+
import { default as xp } from "./features/extra-practice/extra-practice.js";
|
247
|
+
import { default as cp } from "./features/homework/hw-card-list/hw-card-list.js";
|
248
|
+
import { invalidateHomeworks as Ip } from "./features/homework/hw-card-list/api/get-homeworks.js";
|
249
|
+
import { useAutoPlayPermission as Sp } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
250
|
+
import { JOURNEY_ID_STUDENT as Cp } from "./features/journey/journey-id/journey-id-student.js";
|
251
|
+
import { JOURNEY_ID_TEACHER as Pp } from "./features/journey/journey-id/journey-id-teacher.js";
|
252
|
+
import { useJourney as hp } from "./features/journey/use-journey/use-journey.js";
|
253
|
+
import { useGetEligibleJourneysViaRoute as Mp } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
254
|
+
import { JourneyProvider as Op } from "./features/journey/use-journey/journey-context-provider.js";
|
255
|
+
import { IndicatorType as Np } from "./features/journey/use-journey/constants.js";
|
256
|
+
import { Coachmark as Dp } from "./features/journey/comps/coachmark/coachmark.js";
|
257
|
+
import { useHomePageJourney as Gp } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
|
258
|
+
import { useChapterPageJourney as vp } from "./features/journey/hooks/use-chapter-page-journey/use-chapter-journey.js";
|
259
|
+
import { default as Up } from "./features/maintenance/maintenance.js";
|
260
|
+
import { default as wp } from "./features/milestone/create/submit-modal/submit-modal.js";
|
261
|
+
import { default as Wp } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
262
|
+
import { default as zp } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
263
|
+
import { default as Jp } from "./features/milestone/create/milestone-create-container.js";
|
264
|
+
import { default as Kp } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
265
|
+
import { default as Zp } from "./features/milestone/outcome/milestone-outcome-container.js";
|
266
|
+
import { default as Xp } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
|
267
|
+
import { default as eu } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
|
268
|
+
import { default as ru } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
|
269
|
+
import { default as au } from "./features/milestone/edit/goal-edit-container.js";
|
270
|
+
import { default as su } from "./features/milestone/edit/milestone-edit-container.js";
|
271
|
+
import { default as pu } from "./features/milestone/milestone-list-container/milestone-list-container.js";
|
272
|
+
import { default as mu } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
273
|
+
import { default as xu } from "./features/milestone/start/milestone-start.js";
|
274
|
+
import { default as cu } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
275
|
+
import { default as Iu } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
276
|
+
import { ACHIEVEMENT_ACTIONS as Su, STAGES as Eu } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
277
|
+
import { invalidateMilestonesData as Au, useGetAllMilestonesdata as Pu } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
278
|
+
import { invalidatePastMilestoneCount as hu, useGetPastMilestoneCount as ku } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
|
279
|
+
import { invalidateTestHelpData as Lu, useGetTestHelpData as Ou } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
280
|
+
import { invalidateMilestoneResources as Nu, useGetMilestoneResources as Hu } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
281
|
+
import { default as gu } from "./features/pointer-sync/pointer.js";
|
282
|
+
import { default as yu } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
283
|
+
import { DigitalMeter as Bu } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
284
|
+
import { EPostGameStat as bu } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
285
|
+
import { PostGameStats as Fu } from "./features/post-game-stats/post-game-stats.js";
|
286
|
+
import { default as Vu } from "./features/recent-chapters/recent-chapters.js";
|
287
|
+
import { SENTRY_DENIED_URLS as Yu, SENTRY_IGNORED_ERRORS as Ju } from "./features/sentry/constants/ignored.js";
|
288
|
+
import { default as Ku } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
289
|
+
import { default as Zu } from "./features/sheet-tools/tool-header/tool-header.js";
|
290
|
+
import { default as Xu } from "./features/sheets/sheets-list/sheets-list.js";
|
291
|
+
import { default as em } from "./features/sheets/reference-sheet/reference-sheet.js";
|
292
|
+
import { WORKSHEET_V3_NODE_TYPES as rm } from "./features/sheets/utils/is-v3-worksheet.js";
|
293
|
+
import { COMPLETED_SHEET_STATE as am, NODE_LABELS as fm, NODE_SUB_GROUP as sm, NODE_TYPE as lm, PYTHON_NODE_TYPES as pm, REWARDS_LIST as um, SHEET_ACTIONS as mm, SHEET_ATTEMPT_LOCATION as dm, SHEET_ATTEMPT_LOCATION_MAP as xm, SHEET_ATTEMPT_STATE as nm, SHEET_DATA_TYPE as cm, SHEET_STATE as im } from "./features/sheets/constants/sheet.js";
|
294
|
+
import { default as Tm } from "./features/student-details/student-details.js";
|
295
|
+
import { default as Em } from "./features/utils/load-script.js";
|
296
|
+
import { ACTION_BAR_HEIGHT as Am, QUESTIONS_GAP as Pm, QUESTION_WIDTH as _m, TOP_NAVIGATION_HEIGHT as hm } from "./features/worksheet/worksheet/constants.js";
|
297
|
+
import { isOkayTypeQuestion as Mm } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
298
|
+
import { default as Om } from "./features/worksheet/worksheet/worksheet-container.js";
|
299
|
+
import { default as Nm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
300
|
+
import { default as Dm } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
|
301
|
+
import { default as Gm } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
302
|
+
import { default as vm } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
303
|
+
import { default as Um } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
304
|
+
import { default as wm } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
305
|
+
import { default as Wm } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
306
|
+
import { default as zm } from "./features/puzzles/puzzle-container/puzzle-container.js";
|
307
|
+
import { default as Jm } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
|
308
|
+
import { default as Km } from "./features/puzzles/app/puzzle-app.js";
|
309
|
+
import { invalidatePuzzleToAssign as Zm, useGetPuzzleToAssign as qm } from "./features/puzzles/api/puzzle-assign.js";
|
310
|
+
import { COUNTRY_CODE_MAP as $m } from "./constants/country.js";
|
312
311
|
export {
|
313
|
-
|
314
|
-
|
312
|
+
Su as ACHIEVEMENT_ACTIONS,
|
313
|
+
Ss as AUTH_TABS,
|
315
314
|
Ps as AVPreview,
|
316
315
|
mt as Accordion,
|
317
316
|
xt as AccordionSection,
|
318
317
|
rs as AccountSelector,
|
319
|
-
|
320
|
-
|
318
|
+
Xp as AchievementNotShareReasonModal,
|
319
|
+
eu as AchievementShareInstructionModal,
|
321
320
|
Wr as AfternoonIcon,
|
322
321
|
c as AlertIcon,
|
323
322
|
$a as AnimatedArc,
|
@@ -332,10 +331,10 @@ export {
|
|
332
331
|
Ba as Avatar,
|
333
332
|
Pr as Back2Icon,
|
334
333
|
I as BackIcon,
|
335
|
-
|
334
|
+
Ol as BackgroundImage,
|
336
335
|
Kt as BaseInput,
|
337
336
|
C as Bin2Icon,
|
338
|
-
|
337
|
+
S as BinIcon,
|
339
338
|
M as Book2Icon,
|
340
339
|
P as BookClosedIcon,
|
341
340
|
h as BookIcon,
|
@@ -343,16 +342,16 @@ export {
|
|
343
342
|
D as Bulb2Icon,
|
344
343
|
N as BulbIcon,
|
345
344
|
Pt as Button,
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
345
|
+
Cl as CIRCLE_ACTION_IDS,
|
346
|
+
Sl as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
347
|
+
am as COMPLETED_SHEET_STATE,
|
348
|
+
$m as COUNTRY_CODE_MAP,
|
350
349
|
G as CalendarIcon,
|
351
350
|
ha as Callout,
|
352
351
|
Zt as CascadingSelectInput,
|
353
352
|
Os as Chapter,
|
354
|
-
|
355
|
-
|
353
|
+
zp as ChapterClearanceConfirmationModal,
|
354
|
+
ws as ChapterDetails,
|
356
355
|
Ns as ChaptersList,
|
357
356
|
Gr as ChatIcon,
|
358
357
|
U as Check2Icon,
|
@@ -362,67 +361,67 @@ export {
|
|
362
361
|
Or as ChevronDownIcon,
|
363
362
|
Mr as ChevronLeftIcon,
|
364
363
|
hr as ChevronRightIcon,
|
365
|
-
|
364
|
+
Zs as CircleSoundKey,
|
366
365
|
pa as CircularLoader,
|
367
366
|
Jf as CircularStepWrapper,
|
368
|
-
|
367
|
+
Rl as CircularSteps,
|
369
368
|
Uf as ClaimUserAccount,
|
370
369
|
ht as Clickable,
|
371
370
|
w as ClipboardIcon,
|
372
371
|
z as Clock2Icon,
|
373
372
|
W as ClockIcon,
|
374
|
-
|
373
|
+
Dp as Coachmark,
|
375
374
|
J as CodeIcon,
|
376
375
|
It as ContextMenu,
|
377
376
|
K as CopyIcon,
|
378
|
-
|
377
|
+
St as CountdownTimer,
|
379
378
|
Z as CrossIcon,
|
380
379
|
Zr as CueBoardFilledIcon,
|
381
380
|
Xr as CueBoardIcon,
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
381
|
+
bl as CueCanvas,
|
382
|
+
Bl as CueCanvasController,
|
383
|
+
Yl as CueCanvasHomeworkController,
|
384
|
+
yl as CueCanvasProvider,
|
385
|
+
Vl as CueCanvasSideBar,
|
387
386
|
X as CueRocket,
|
388
387
|
vr as CuemathLogo,
|
389
388
|
zf as CustomInputField,
|
390
389
|
ee as DashArrowIcon,
|
391
390
|
Wf as DatePickerInput,
|
392
|
-
|
393
|
-
|
391
|
+
Ku as DesmosCalculator,
|
392
|
+
Bu as DigitalMeter,
|
394
393
|
re as DownIcon,
|
395
394
|
ae as DraftIcon,
|
396
395
|
se as DragIcon,
|
397
396
|
ff as Drawer,
|
398
|
-
|
399
|
-
|
397
|
+
Dm as DynamicPreviewWorksheet,
|
398
|
+
sp as EClassTimeAlertLevel,
|
400
399
|
ga as EDeviceType,
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
400
|
+
el as ELeaderboardType,
|
401
|
+
Iu as EPResourceAssign,
|
402
|
+
bu as EPostGameStat,
|
403
|
+
ql as EVENTS,
|
405
404
|
me as Edit2Icon,
|
406
405
|
pe as EditIcon,
|
407
|
-
|
406
|
+
ru as EditMilestoneModal,
|
408
407
|
xe as EditStarIcon,
|
409
408
|
ce as EraserIcon,
|
410
409
|
Dt as Error,
|
411
410
|
wr as EveningIcon,
|
412
411
|
Ce as ExclamationIcon,
|
413
|
-
|
414
|
-
|
415
|
-
|
412
|
+
Zu as ExpandableHeader,
|
413
|
+
xp as ExtraPractice,
|
414
|
+
Se as Eye2Icon,
|
416
415
|
Ie as EyeIcon,
|
417
416
|
aa as FlexView,
|
418
|
-
|
419
|
-
|
417
|
+
zs as GAME_LAUNCHER_ASSET_PADDING,
|
418
|
+
Js as GAME_LAUNCHER_SIZE,
|
420
419
|
x as GIF,
|
421
420
|
Nr as GameIcon,
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
421
|
+
Pl as GameLauncher,
|
422
|
+
Wp as GoalCreationConfirmationModal,
|
423
|
+
Kp as GoalDraftEdit,
|
424
|
+
au as GoalEdit,
|
426
425
|
zt as GooglePlacesSearchInput,
|
427
426
|
wf as GradeInput,
|
428
427
|
r as GradeSelector,
|
@@ -431,38 +430,38 @@ export {
|
|
431
430
|
Oe as HighlighterIcon,
|
432
431
|
he as HintFillIcon,
|
433
432
|
Ne as HomeIcon,
|
434
|
-
|
433
|
+
cp as HomeworkCardList,
|
435
434
|
s as ILLUSTRATIONS,
|
436
435
|
p as IMAGES,
|
437
|
-
|
436
|
+
Il as IStatsToAwardErrorCode,
|
438
437
|
Mt as IconButton,
|
439
438
|
ms as IdentifierOtpForm,
|
440
439
|
qa as Image,
|
441
440
|
De as ImageIcon,
|
442
|
-
|
441
|
+
Np as IndicatorType,
|
443
442
|
ve as Info2Icon,
|
444
443
|
Ge as InfoIcon,
|
445
444
|
Pf as InputStatusIcon,
|
446
|
-
|
447
|
-
|
448
|
-
|
445
|
+
Cp as JOURNEY_ID_STUDENT,
|
446
|
+
Pp as JOURNEY_ID_TEACHER,
|
447
|
+
Op as JourneyProvider,
|
449
448
|
m as LOTTIE,
|
450
449
|
Ds as LPARChapter,
|
451
450
|
Gs as LPARMilestoneChapter,
|
452
|
-
|
453
|
-
|
451
|
+
Ml as Leaderboard,
|
452
|
+
Um as LearnosityPreloader,
|
454
453
|
Ue as LeftIcon,
|
455
454
|
Nf as LinearProgressBar,
|
456
455
|
We as Lock2Icon,
|
457
456
|
ze as Lock3Icon,
|
458
457
|
we as LockIcon,
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
458
|
+
Up as Maintenance,
|
459
|
+
mu as MilestoneActionWidget,
|
460
|
+
Jp as MilestoneCreate,
|
461
|
+
su as MilestoneEdit,
|
462
|
+
pu as MilestoneList,
|
463
|
+
Zp as MilestoneOutcome,
|
464
|
+
xu as MilestoneStart,
|
466
465
|
Ke as Minus2Icon,
|
467
466
|
Je as MinusIcon,
|
468
467
|
Ze as MistakeIcon,
|
@@ -471,9 +470,9 @@ export {
|
|
471
470
|
eo as MoreVerticalIcon,
|
472
471
|
zr as MorningIcon,
|
473
472
|
Ms as MultiTabBlocker,
|
474
|
-
|
475
|
-
|
476
|
-
|
473
|
+
fm as NODE_LABELS,
|
474
|
+
sm as NODE_SUB_GROUP,
|
475
|
+
lm as NODE_TYPE,
|
477
476
|
Ur as Next2Icon,
|
478
477
|
ro as NextIcon,
|
479
478
|
Ct as Nudge,
|
@@ -481,69 +480,69 @@ export {
|
|
481
480
|
xs as OTPForm,
|
482
481
|
Mf as OTPInput,
|
483
482
|
Zf as OnboardingGuide,
|
484
|
-
|
483
|
+
Sf as OverlayLoader,
|
485
484
|
lf as PLATFORM_EVENTS_STUDENT,
|
486
485
|
uf as PLATFORM_EVENTS_TEACHER,
|
487
|
-
|
486
|
+
pm as PYTHON_NODE_TYPES,
|
488
487
|
ao as PencilIcon,
|
489
488
|
ea as PercentileInput,
|
490
489
|
ja as PerfectHits,
|
491
490
|
Of as PillButton,
|
492
491
|
mo as Play2Icon,
|
493
492
|
po as PlayIcon,
|
494
|
-
|
493
|
+
cl as PlayerType,
|
495
494
|
io as Plus2Icon,
|
496
495
|
no as PlusIcon,
|
497
496
|
so as PointerIcon,
|
498
|
-
|
499
|
-
|
500
|
-
|
497
|
+
Fu as PostGameStats,
|
498
|
+
To as PracticeIcon,
|
499
|
+
Nm as PreviewWorksheet,
|
501
500
|
Eo as ProgressIcon,
|
502
|
-
|
503
|
-
|
501
|
+
pl as ProjectOutcome,
|
502
|
+
xl as ProjectType,
|
504
503
|
_o as Puzzle2Icon,
|
505
|
-
|
506
|
-
|
507
|
-
|
504
|
+
Km as PuzzleApp,
|
505
|
+
zm as PuzzleCard,
|
506
|
+
Jm as PuzzleFeedbackCelebration,
|
508
507
|
Ao as PuzzleIcon,
|
509
508
|
ko as QuestionIcon,
|
510
509
|
Lo as QuestionLetterIcon,
|
511
|
-
|
510
|
+
um as REWARDS_LIST,
|
512
511
|
Ia as RadioCard,
|
513
512
|
Ut as RadioInput,
|
514
|
-
|
513
|
+
Vu as RecentChapters,
|
515
514
|
Ro as RedoIcon,
|
516
|
-
|
517
|
-
|
515
|
+
em as ReferenceSheet,
|
516
|
+
gu as RemotePeerPointer,
|
518
517
|
hf as ResendOTP,
|
519
518
|
cs as ResetPasswordForm,
|
520
519
|
Ho as RightIcon,
|
521
520
|
go as RulerIcon,
|
522
521
|
vs as SATSheetSummary,
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
522
|
+
Yu as SENTRY_DENIED_URLS,
|
523
|
+
Ju as SENTRY_IGNORED_ERRORS,
|
524
|
+
mm as SHEET_ACTIONS,
|
525
|
+
dm as SHEET_ATTEMPT_LOCATION,
|
526
|
+
xm as SHEET_ATTEMPT_LOCATION_MAP,
|
527
|
+
nm as SHEET_ATTEMPT_STATE,
|
528
|
+
cm as SHEET_DATA_TYPE,
|
529
|
+
im as SHEET_STATE,
|
530
|
+
Eu as STAGES,
|
532
531
|
Jr as ScreenGrabFilledIcon,
|
533
532
|
et as ScreenGrabIcon,
|
534
533
|
Er as ScribbleIcon,
|
535
534
|
yo as SearchIcon,
|
536
535
|
Wt as SearchableSelectInput,
|
537
|
-
|
536
|
+
Sa as SectionList,
|
538
537
|
wt as SelectInput,
|
539
538
|
Df as SelectableInfoCard,
|
540
539
|
ra as SelectionCards,
|
541
540
|
Ya as Separator,
|
542
|
-
|
541
|
+
vm as SheetError,
|
543
542
|
Bo as SheetIcon,
|
544
|
-
|
545
|
-
|
546
|
-
|
543
|
+
Xu as SheetList,
|
544
|
+
Gm as SheetLocked,
|
545
|
+
gl as SignUp,
|
547
546
|
Xf as SignupHeader,
|
548
547
|
Kf as SignupMethods,
|
549
548
|
es as SignupOptions,
|
@@ -553,7 +552,7 @@ export {
|
|
553
552
|
Vo as SkipIcon,
|
554
553
|
ss as SocialAccountNotFound,
|
555
554
|
as as SocialLoginMethods,
|
556
|
-
|
555
|
+
Hl as SplashScreen,
|
557
556
|
Qo as Star2Icon,
|
558
557
|
jo as Star3Icon,
|
559
558
|
bo as StarIcon,
|
@@ -564,87 +563,86 @@ export {
|
|
564
563
|
of as Stickers,
|
565
564
|
tf as StickersSelector,
|
566
565
|
Va as StreakIcon,
|
567
|
-
|
566
|
+
rl as StreakReductionLocalStorageUtil,
|
568
567
|
$o as StrikedEyeIcon,
|
569
|
-
|
570
|
-
|
568
|
+
Tm as StudentDetails,
|
569
|
+
wp as SubmitMilestoneModal,
|
571
570
|
or as SwitchIcon,
|
572
571
|
Fa as TabComponent,
|
573
572
|
Cf as Tabs,
|
574
573
|
Pa as Tag,
|
575
|
-
|
576
|
-
|
577
|
-
|
574
|
+
mp as TalkMeter,
|
575
|
+
ap as TeacherProfile,
|
576
|
+
cu as TestsCreation,
|
578
577
|
Ca as Text,
|
579
578
|
Ot as TextButton,
|
580
579
|
Jt as TextInput,
|
581
580
|
tr as TickIcon,
|
582
581
|
ba as TimeLeftTimeline,
|
583
|
-
|
582
|
+
rp as TrialSession,
|
584
583
|
fr as TrophyIcon,
|
585
|
-
|
584
|
+
al as Tutorial,
|
586
585
|
Dr as TutoringIcon,
|
587
586
|
Ma as UIContext,
|
588
587
|
lr as UndoIcon,
|
589
588
|
dr as Unlock2Icon,
|
590
589
|
ur as UnlockIcon,
|
591
590
|
nr as UpIcon,
|
592
|
-
|
591
|
+
Tr as User2Icon,
|
593
592
|
ir as UserIcon,
|
594
593
|
Is as UserIdentifierForm,
|
595
594
|
vf as UserTypeSelector,
|
596
595
|
ps as UsernamePasswordForm,
|
597
596
|
Qa as Video,
|
598
597
|
df as WHITELIST_EVENTS,
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
598
|
+
Am as WORKSHEET_ACTION_BAR_HEIGHT,
|
599
|
+
Pm as WORKSHEET_QUESTIONS_GAP,
|
600
|
+
_m as WORKSHEET_QUESTION_WIDTH,
|
601
|
+
hm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
602
|
+
rm as WORKSHEET_V3_NODE_TYPES,
|
603
|
+
sl as WebView,
|
604
|
+
ml as WebViewEvent,
|
605
|
+
Om as Worksheet,
|
607
606
|
Us as checkIfPPTNodeType,
|
608
|
-
ws as getActiveSATSheet,
|
609
607
|
ya as getTheme,
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
608
|
+
Ws as invalidateGetChapterDetails,
|
609
|
+
Ip as invalidateHomeworks,
|
610
|
+
Nu as invalidateMilestoneResources,
|
611
|
+
Au as invalidateMilestonesData,
|
612
|
+
hu as invalidatePastMilestoneCount,
|
613
|
+
Zm as invalidatePuzzleToAssign,
|
614
|
+
Lu as invalidateTestHelpData,
|
615
|
+
Mm as isOkayTypeQuestion,
|
616
|
+
Em as loadScript,
|
617
|
+
Sp as useAutoPlayPermission,
|
618
|
+
Fl as useCanvasSyncBroker,
|
619
|
+
vp as useChapterPageJourney,
|
620
|
+
Ks as useCircleSounds,
|
621
|
+
pp as useClassTimeAlerts,
|
624
622
|
Ha as useContextMenuClickHandler,
|
625
623
|
pt as useForceReload,
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
624
|
+
Pu as useGetAllMilestonesdata,
|
625
|
+
hl as useGetCircleHomeDetailsDal,
|
626
|
+
Mp as useGetEligibleJourneysViaRoute,
|
627
|
+
Xs as useGetLeaderboardDal,
|
628
|
+
Hu as useGetMilestoneResources,
|
629
|
+
ku as useGetPastMilestoneCount,
|
630
|
+
qm as useGetPuzzleToAssign,
|
631
|
+
Ou as useGetTestHelpData,
|
632
|
+
Gp as useHomePageJourney,
|
633
|
+
$l as useInClassActionDispatcher,
|
634
|
+
ep as useInClassActionListener,
|
635
|
+
Ql as useInClassMessageBroker,
|
636
|
+
wm as useIsLearnosityLoaded,
|
639
637
|
hs as useIsTabBlocked,
|
640
|
-
|
638
|
+
hp as useJourney,
|
641
639
|
xa as useModalActions,
|
642
640
|
ca as useModalParams,
|
643
|
-
|
641
|
+
yu as usePointerSync,
|
644
642
|
Ra as useTrackingContext,
|
645
|
-
|
643
|
+
jl as useTrialSessionMessageBroker,
|
646
644
|
La as useUIContext,
|
647
|
-
|
645
|
+
Wm as useWorksheetLayout,
|
648
646
|
st as useZoomDisable
|
649
647
|
};
|
650
648
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|