@cuemath/leap 3.2.26 → 3.2.28-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/index.d.ts +3 -0
- package/dist/index.js +249 -247
- package/dist/index.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/package.json +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -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 e } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as C, useCallback as f } from "react";
|
|
3
3
|
import { useUIContext as D } from "../../../../ui/context/context.js";
|
|
4
|
-
import
|
|
4
|
+
import c 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 j, SheetDetailsWrapper as B } 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 { getActiveSATSheet 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: u,
|
|
16
16
|
satScore: A,
|
|
17
17
|
...T
|
|
18
18
|
}) => {
|
|
19
|
-
const { blockId:
|
|
20
|
-
user_block_id:
|
|
19
|
+
const { blockId: o, sheets: s, userType: I, onSATReview: m, onSATUnlock: l, onSATStartOrResume: d } = T, {
|
|
20
|
+
user_block_id: r,
|
|
21
21
|
can_review: h,
|
|
22
22
|
can_start: g,
|
|
23
23
|
can_resume: x,
|
|
24
24
|
order: y
|
|
25
|
-
} = V(
|
|
25
|
+
} = V(s) || {}, { onEvent: p } = D(), a = C(
|
|
26
26
|
() => ({
|
|
27
|
-
user_block_id:
|
|
28
|
-
block_id:
|
|
27
|
+
user_block_id: r,
|
|
28
|
+
block_id: o
|
|
29
29
|
}),
|
|
30
|
-
[
|
|
31
|
-
), w = !!((n === "COMPLETED" || n === "MASTERED") && h &&
|
|
32
|
-
if (typeof
|
|
30
|
+
[o, r]
|
|
31
|
+
), w = !!((n === "COMPLETED" || n === "MASTERED") && h && r), $ = f(() => {
|
|
32
|
+
if (typeof m != "function")
|
|
33
33
|
throw new Error("onSATReview must be a function");
|
|
34
|
-
if (!
|
|
34
|
+
if (!r)
|
|
35
35
|
throw new Error("userBlockId must be a string");
|
|
36
|
-
p("clicked",
|
|
37
|
-
}, [
|
|
38
|
-
if (typeof
|
|
36
|
+
p("clicked", a), m(r);
|
|
37
|
+
}, [a, m, p, r]), E = f(() => {
|
|
38
|
+
if (typeof l != "function")
|
|
39
39
|
throw new Error("onSATUnlock must be a function");
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
40
|
+
const i = M(s);
|
|
41
|
+
if (i.length === 0)
|
|
42
42
|
throw new Error("User node IDs are missing");
|
|
43
|
-
|
|
44
|
-
}, [
|
|
45
|
-
if (typeof
|
|
43
|
+
l(i);
|
|
44
|
+
}, [l, s]), b = f(() => {
|
|
45
|
+
if (typeof d != "function")
|
|
46
46
|
throw new Error("onSATStartOrResume must be a function");
|
|
47
|
-
if (!
|
|
48
|
-
throw new Error("
|
|
49
|
-
|
|
50
|
-
}, [
|
|
47
|
+
if (!o)
|
|
48
|
+
throw new Error("blockId must be a string");
|
|
49
|
+
d(o);
|
|
50
|
+
}, [d, o]);
|
|
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(c, { $width: "70%", $flexGap: 8, $flexDirection: "row", children: [
|
|
60
|
+
/* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(j, {}) }),
|
|
61
61
|
/* @__PURE__ */ t(
|
|
62
|
-
|
|
62
|
+
B,
|
|
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__ */ e(v, { chapterPermissionCode: n }),
|
|
71
|
+
/* @__PURE__ */ t(c, { $justifyContent: "center", $width: "100%", children: [
|
|
72
|
+
/* @__PURE__ */ e(S, { $renderAs: "body1Medium", children: "Assessment • Mock test" }),
|
|
73
|
+
/* @__PURE__ */ e(c, { children: s.map((i) => {
|
|
74
|
+
const { statement: k, color: R } = G(i);
|
|
75
|
+
return /* @__PURE__ */ e(S, { $renderAs: "body2", $color: R, children: k }, i.node_id);
|
|
76
76
|
}) })
|
|
77
77
|
] })
|
|
78
78
|
]
|
|
79
79
|
}
|
|
80
80
|
)
|
|
81
81
|
] }),
|
|
82
|
-
/* @__PURE__ */ t(
|
|
83
|
-
h &&
|
|
82
|
+
/* @__PURE__ */ t(c, { $flexDirection: "row", $alignItems: "center", $justifyContent: "center", $flexGap: 8, children: [
|
|
83
|
+
h && u && /* @__PURE__ */ e(c, { $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ t(_, { $renderAs: "eyebrow2", $align: "center", children: [
|
|
84
84
|
A,
|
|
85
85
|
"/",
|
|
86
|
-
|
|
86
|
+
u
|
|
87
87
|
] }) }),
|
|
88
|
-
I === "STUDENT" ? /* @__PURE__ */
|
|
88
|
+
I === "STUDENT" ? /* @__PURE__ */ e(
|
|
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: a,
|
|
98
98
|
questionOrder: y
|
|
99
99
|
}
|
|
100
|
-
) : /* @__PURE__ */
|
|
100
|
+
) : /* @__PURE__ */ e(
|
|
101
101
|
N,
|
|
102
102
|
{
|
|
103
103
|
handleOnReview: $,
|
|
104
104
|
handleOnUnlock: E,
|
|
105
105
|
isMenuVisible: w,
|
|
106
106
|
blockStatus: n,
|
|
107
|
-
analyticsProps:
|
|
107
|
+
analyticsProps: a
|
|
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 { getActiveSATSheet } 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 } = getActiveSATSheet(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 (!blockId) {\n throw new Error('blockId must be a string');\n }\n\n onSATStartOrResume(blockId);\n }, [onSATStartOrResume, blockId]);\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","getActiveSATSheet","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":";;;;;;;;;;;;AAoBA,MAAMA,KAAuC,CAAC;AAAA,EAC5C,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,MAAM;AACJ,QAAM,EAAE,SAAAC,GAAS,QAAAC,GAAQ,UAAAC,GAAU,aAAAC,GAAa,aAAAC,GAAa,oBAAAC,EAC3D,IAAAN,GACI;AAAA,IACJ,eAAeO;AAAA,IACf,YAAYC;AAAA,IACZ,WAAWC;AAAA,IACX,YAAYC;AAAA,IACZ,OAAOC;AAAA,EAAA,IACLC,EAAkBV,CAAM,KAAK,IAE3B,EAAE,SAASW,EAAW,IAAIC,EAAa,GACvCC,IAAiBC;AAAA,IACrB,OAAO;AAAA,MACL,eAAeT;AAAA,MACf,UAAUN;AAAA,IAAA;AAAA,IAEZ,CAACA,GAASM,CAAW;AAAA,EAAA,GAGjBU,IAAgB,IACnBpB,MAAgB,eAAeA,MAAgB,eAAeW,KAAaD,IAGxEW,IAAiBC,EAAY,MAAM;AACnC,QAAA,OAAOf,KAAgB;AACnB,YAAA,IAAI,MAAM,gCAAgC;AAGlD,QAAI,CAACG;AACG,YAAA,IAAI,MAAM,8BAA8B;AAGhD,IAAAM,EAAW,WAAWE,CAAc,GAEpCX,EAAYG,CAAW;AAAA,KACtB,CAACQ,GAAgBX,GAAaS,GAAYN,CAAW,CAAC,GAEnDa,IAAiBD,EAAY,MAAM;AACnC,QAAA,OAAOd,KAAgB;AACnB,YAAA,IAAI,MAAM,gCAAgC;AAG5C,UAAAgB,IAAcC,EAA0BpB,CAAM;AAEhD,QAAAmB,EAAY,WAAW;AACnB,YAAA,IAAI,MAAM,2BAA2B;AAG7C,IAAAhB,EAAYgB,CAAW;AAAA,EAAA,GACtB,CAAChB,GAAaH,CAAM,CAAC,GAElBqB,IAAwBJ,EAAY,MAAM;AAC1C,QAAA,OAAOb,KAAuB;AAC1B,YAAA,IAAI,MAAM,uCAAuC;AAGzD,QAAI,CAACL;AACG,YAAA,IAAI,MAAM,0BAA0B;AAG5C,IAAAK,EAAmBL,CAAO;AAAA,EAAA,GACzB,CAACK,GAAoBL,CAAO,CAAC;AAG9B,SAAA,gBAAAuB;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,gBAAe;AAAA,MACf,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,WAAW;AAAA,MAEX,UAAA;AAAA,QAAA,gBAAAD,EAACE,KAAS,QAAO,OAAM,UAAU,GAAG,gBAAe,OACjD,UAAA;AAAA,UAAC,gBAAAC,EAAAC,GAAA,EACC,UAAC,gBAAAD,EAAAE,GAAA,CAAgB,CAAA,GACnB;AAAA,UAEA,gBAAAL;AAAA,YAACM;AAAA,YAAA;AAAA,cACC,QAAO;AAAA,cACP,gBAAe;AAAA,cACf,aAAY;AAAA,cACZ,UAAU;AAAA,cACV,eAAe;AAAA,cAEf,UAAA;AAAA,gBAAC,gBAAAH,EAAAI,GAAA,EAAc,uBAAuBlC,EAAa,CAAA;AAAA,gBAElD,gBAAA2B,EAAAE,GAAA,EAAS,iBAAgB,UAAS,QAAO,QACxC,UAAA;AAAA,kBAAC,gBAAAC,EAAAK,GAAA,EAAK,WAAU,eAAc,UAAsB,0BAAA;AAAA,kBAEnD,gBAAAL,EAAAD,GAAA,EACE,UAAOxB,EAAA,IAAI,CAAS+B,MAAA;AACnB,0BAAM,EAAE,WAAAC,GAAW,OAAAC,EAAM,IAAIC,EAA0BH,CAAK;AAG1D,2BAAA,gBAAAN,EAACK,KAAK,WAAU,SAA4B,QAAQG,GACjD,UAAAD,EAAA,GAD0BD,EAAM,OAEnC;AAAA,kBAEH,CAAA,GACH;AAAA,gBAAA,GACF;AAAA,cAAA;AAAA,YAAA;AAAA,UACF;AAAA,QAAA,GACF;AAAA,QAEA,gBAAAT,EAACE,KAAS,gBAAe,OAAM,aAAY,UAAS,iBAAgB,UAAS,UAAU,GACpF,UAAA;AAAA,UAAAlB,KAAaV,KACZ,gBAAA6B,EAACD,GAAS,EAAA,iBAAgB,UAAS,aAAY,UAC7C,UAAA,gBAAAF,EAACa,GAAe,EAAA,WAAU,YAAW,QAAO,UACzC,UAAA;AAAA,YAAAtC;AAAA,YAAS;AAAA,YAAED;AAAA,UAAA,EAAA,CACd,EACF,CAAA;AAAA,UAGDK,MAAa,YACZ,gBAAAwB;AAAA,YAACW;AAAA,YAAA;AAAA,cACC,gBAAApB;AAAA,cACA,eAAAD;AAAA,cACA,aAAApB;AAAA,cACA,WAAW,EAAQa;AAAA,cACnB,UAAU,EAAQD;AAAA,cAClB,uBAAAc;AAAA,cACA,gBAAAR;AAAA,cACA,eAAAJ;AAAA,YAAA;AAAA,UAAA,IAGF,gBAAAgB;AAAA,YAACY;AAAA,YAAA;AAAA,cACC,gBAAArB;AAAA,cACA,gBAAAE;AAAA,cACA,eAAAH;AAAA,cACA,aAAApB;AAAA,cACA,gBAAAkB;AAAA,YAAA;AAAA,UACF;AAAA,QAAA,GAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
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 getActiveSATSheet = (sheets: TLPARSheetData[]) => {\n const activeSheet = sheets.find(sheet => sheet.can_start || sheet.can_resume) ?? sheets[0];\n\n return activeSheet;\n};\n\nexport { getActiveSATSheet };\n"],"names":["getActiveSATSheet","sheets","sheet"],"mappings":"AAEM,MAAAA,IAAoB,CAACC,MACLA,EAAO,KAAK,CAASC,MAAAA,EAAM,aAAaA,EAAM,UAAU,KAAKD,EAAO,CAAC;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -584,6 +584,8 @@ declare enum GENDER {
|
|
|
584
584
|
OTHER = "OTHER"
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
+
export declare const getActiveSATSheet: (sheets: TLPARSheetData[]) => TLPARSheetData | undefined;
|
|
588
|
+
|
|
587
589
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
|
588
590
|
|
|
589
591
|
declare const getButtonConfig: IGetButtonConfig;
|
|
@@ -4129,6 +4131,7 @@ export declare interface IWorksheetAttemptModel {
|
|
|
4129
4131
|
canvas_data?: Array<IChannelMessage>;
|
|
4130
4132
|
image_hue?: THueNames | null;
|
|
4131
4133
|
feedback_comments?: string | null;
|
|
4134
|
+
user_block_id?: string | null;
|
|
4132
4135
|
}
|
|
4133
4136
|
|
|
4134
4137
|
export declare interface IWorksheetBehavior {
|
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 T } 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 Te } 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 So } 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 Sr } 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/notification/notification.js";
|
|
|
113
113
|
import { default as xt } from "./features/ui/accordion/accordion.js";
|
|
114
114
|
import { default as ct } from "./features/ui/accordion-section/accordion-section.js";
|
|
115
115
|
import { default as It } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
|
|
116
|
-
import { default as
|
|
116
|
+
import { default as Tt } from "./features/ui/context-menu/context-menu.js";
|
|
117
117
|
import { default as Ct } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
|
118
118
|
import { default as Pt } from "./features/ui/nudge/nudge.js";
|
|
119
119
|
import { default as ht } from "./features/ui/buttons/button/button.js";
|
|
@@ -140,7 +140,7 @@ import { CircularLoader as ma } from "./features/ui/loader/circular-loader/circu
|
|
|
140
140
|
import { default as xa } from "./features/ui/modals/modal-provider.js";
|
|
141
141
|
import { default as ca } from "./features/ui/modals/use-modal-actions.js";
|
|
142
142
|
import { default as Ia } from "./features/ui/modals/use-modal-params.js";
|
|
143
|
-
import { default as
|
|
143
|
+
import { default as Ta } from "./features/ui/radio-cards/radio-cards.js";
|
|
144
144
|
import { default as Ca } from "./features/ui/section-list/section-list.js";
|
|
145
145
|
import { default as Pa } from "./features/ui/text/text.js";
|
|
146
146
|
import { default as ha } from "./features/ui/tag/tag.js";
|
|
@@ -166,7 +166,7 @@ import { default as uf } from "./features/ui/drawer/drawer.js";
|
|
|
166
166
|
import { default as df } from "./features/ui/dot-lottie-animations/dot-lottie-animation.js";
|
|
167
167
|
import { PLATFORM_EVENTS_STUDENT as nf } from "./features/analytics-events/platform-events-student.js";
|
|
168
168
|
import { PLATFORM_EVENTS_TEACHER as If } from "./features/analytics-events/platform-events-teacher.js";
|
|
169
|
-
import { WHITELIST_EVENTS as
|
|
169
|
+
import { WHITELIST_EVENTS as Tf } from "./features/analytics-events/whitelist-events.js";
|
|
170
170
|
import { default as Cf } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
|
|
171
171
|
import { default as Pf } from "./features/auth/comps/auth-page-layout/auth-page-layout.js";
|
|
172
172
|
import { default as hf } from "./features/auth/comps/overlay-loader/overlay-loader.js";
|
|
@@ -193,7 +193,7 @@ import { default as ms } from "./features/auth/login/social-login-methods/social
|
|
|
193
193
|
import { default as xs } from "./features/auth/login/social-account-not-found/social-account-not-found.js";
|
|
194
194
|
import { default as cs } from "./features/auth/login/username-password-form/username-password-form.js";
|
|
195
195
|
import { default as Is } from "./features/auth/login/identifier-otp-form/identifier-otp-form.js";
|
|
196
|
-
import { default as
|
|
196
|
+
import { default as Ts } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
|
197
197
|
import { default as Cs } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
|
198
198
|
import { default as Ps } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
|
199
199
|
import { AUTH_TABS as hs } from "./features/auth/login/login-constants.js";
|
|
@@ -208,119 +208,120 @@ import { default as ws } from "./features/chapters/lpar-chapter/lpar-chapter.js"
|
|
|
208
208
|
import { default as Ws } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
|
209
209
|
import { default as zs } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
|
210
210
|
import { checkIfPPTNodeType as Js } from "./features/chapters/lpar-chapter/utils/index.js";
|
|
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 {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import { default as Yl } from "./features/cue-canvas/
|
|
237
|
-
import { default as Ql } from "./features/cue-canvas/
|
|
238
|
-
import { default as jl } from "./features/cue-canvas/
|
|
239
|
-
import { default as ql } from "./features/cue-canvas/
|
|
240
|
-
import { default as $l } from "./features/cue-canvas/
|
|
241
|
-
import { default as op } from "./features/
|
|
242
|
-
import { default as tp } from "./features/communication/hooks/use-
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import { default as xp } from "./features/trial-session/
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import { default as Cp } from "./features/
|
|
251
|
-
import { default as Pp } from "./features/
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
259
|
-
import {
|
|
260
|
-
import {
|
|
261
|
-
import {
|
|
262
|
-
import {
|
|
263
|
-
import {
|
|
264
|
-
import { default as Kp } from "./features/
|
|
265
|
-
import { default as Zp } from "./features/milestone/create/
|
|
266
|
-
import { default as Xp } from "./features/milestone/create/comps/confirmation-modals/
|
|
267
|
-
import { default as eu } from "./features/milestone/create/
|
|
268
|
-
import { default as ru } from "./features/milestone/
|
|
269
|
-
import { default as au } from "./features/milestone/
|
|
270
|
-
import { default as su } from "./features/milestone/outcome/
|
|
271
|
-
import { default as pu } from "./features/milestone/outcome/comps/achievement/
|
|
272
|
-
import { default as mu } from "./features/milestone/
|
|
273
|
-
import { default as xu } from "./features/milestone/edit/
|
|
274
|
-
import { default as cu } from "./features/milestone/edit/
|
|
275
|
-
import { default as Iu } from "./features/milestone/
|
|
276
|
-
import { default as
|
|
277
|
-
import { default as Cu } from "./features/milestone/
|
|
278
|
-
import { default as Pu } from "./features/milestone/milestone-
|
|
279
|
-
import { default as hu } from "./features/milestone/milestone-
|
|
280
|
-
import {
|
|
281
|
-
import {
|
|
282
|
-
import {
|
|
283
|
-
import {
|
|
284
|
-
import {
|
|
285
|
-
import {
|
|
286
|
-
import { default as Vu } from "./features/pointer-sync/
|
|
287
|
-
import {
|
|
288
|
-
import {
|
|
289
|
-
import {
|
|
290
|
-
import {
|
|
291
|
-
import {
|
|
292
|
-
import {
|
|
293
|
-
import { default as am } from "./features/sheet-tools/
|
|
294
|
-
import { default as sm } from "./features/
|
|
295
|
-
import { default as pm } from "./features/sheets/
|
|
296
|
-
import {
|
|
297
|
-
import {
|
|
298
|
-
import {
|
|
299
|
-
import { default as Mm } from "./features/
|
|
300
|
-
import {
|
|
301
|
-
import {
|
|
302
|
-
import {
|
|
303
|
-
import { default as Um } from "./features/worksheet/worksheet
|
|
304
|
-
import { default as wm } from "./features/worksheet/worksheet-preview/
|
|
305
|
-
import { default as Wm } from "./features/worksheet/worksheet/worksheet-
|
|
306
|
-
import { default as zm } from "./features/worksheet/worksheet/worksheet-permissions/
|
|
307
|
-
import { default as Jm } from "./features/worksheet/
|
|
308
|
-
import { default as Km } from "./features/worksheet/learnosity-preloader/
|
|
309
|
-
import { default as Zm } from "./features/worksheet/
|
|
310
|
-
import { default as Xm } from "./features/
|
|
311
|
-
import { default as ed } from "./features/puzzles/puzzle-
|
|
312
|
-
import { default as rd } from "./features/puzzles/
|
|
313
|
-
import {
|
|
314
|
-
import {
|
|
211
|
+
import { getActiveSATSheet as Ks } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js";
|
|
212
|
+
import { default as Zs } from "./features/chapters-v2/chapter-details/chapter-details.js";
|
|
213
|
+
import { invalidateGetChapterDetails as Xs } from "./features/chapters-v2/api/chapter.js";
|
|
214
|
+
import { GAME_LAUNCHER_ASSET_PADDING as el } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
|
215
|
+
import { GAME_LAUNCHER_SIZE as rl } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
|
216
|
+
import { useCircleSounds as al } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
|
217
|
+
import { CircleSoundKey as sl } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
|
|
218
|
+
import { useGetLeaderboardDal as pl } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
|
219
|
+
import { ELeaderboardType as ml } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
|
|
220
|
+
import { StreakReductionLocalStorageUtil as xl } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
|
221
|
+
import { Tutorial as cl } from "./features/circle-games/games/tutorial/tutorial.js";
|
|
222
|
+
import { WebView as Il } from "./features/circle-games/games/web-view/web-view.js";
|
|
223
|
+
import { ProjectOutcome as Tl } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
|
224
|
+
import { WebViewEvent as Cl } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
|
225
|
+
import { ProjectType as Pl } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
|
226
|
+
import { PlayerType as hl } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
|
227
|
+
import { IStatsToAwardErrorCode as Ll } from "./features/circle-games/games/web-view/web-view-types.js";
|
|
228
|
+
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as Nl } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
|
229
|
+
import { CIRCLE_ACTION_IDS as Rl } from "./features/circle-games/enum/circle-action-ids.js";
|
|
230
|
+
import { GameLauncher as Hl } from "./features/circle-games/game-launcher/game-launcher.js";
|
|
231
|
+
import { useGetCircleHomeDetailsDal as Gl } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
|
232
|
+
import { Leaderboard as vl } from "./features/circle-games/leaderboard/leaderboard.js";
|
|
233
|
+
import { BackgroundImage as Ul, CircularSteps as bl } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
|
234
|
+
import { SplashScreen as Fl } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
|
235
|
+
import { SignUp as Vl } from "./features/circle-games/sign-up/sign-up.js";
|
|
236
|
+
import { default as Yl } from "./features/cue-canvas/cue-canvas-provider.js";
|
|
237
|
+
import { default as Ql } from "./features/cue-canvas/toolbar/toolbar.js";
|
|
238
|
+
import { default as jl } from "./features/cue-canvas/cue-canvas.js";
|
|
239
|
+
import { default as ql } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
|
|
240
|
+
import { default as $l } from "./features/cue-canvas/sidebar/sidebar.js";
|
|
241
|
+
import { default as op } from "./features/cue-canvas/bottombar/homework-controls.js";
|
|
242
|
+
import { default as tp } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
|
243
|
+
import { default as fp } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
|
|
244
|
+
import { EVENTS as lp } from "./features/communication/pub-sub/constants.js";
|
|
245
|
+
import { useInClassActionDispatcher as up, useInClassActionListener as mp } from "./features/communication/pub-sub/hooks.js";
|
|
246
|
+
import { default as xp } from "./features/trial-session/trial-session.js";
|
|
247
|
+
import { default as cp } from "./features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js";
|
|
248
|
+
import { EClassTimeAlertLevel as Ip } from "./features/trial-session/trial-session-types.js";
|
|
249
|
+
import { useClassTimeAlerts as Tp } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
|
250
|
+
import { default as Cp } from "./features/talk-meter/talk-meter.js";
|
|
251
|
+
import { default as Pp } from "./features/extra-practice/extra-practice.js";
|
|
252
|
+
import { default as hp } from "./features/homework/hw-card-list/hw-card-list.js";
|
|
253
|
+
import { invalidateHomeworks as Lp } from "./features/homework/hw-card-list/api/get-homeworks.js";
|
|
254
|
+
import { useAutoPlayPermission as Np } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
|
255
|
+
import { JOURNEY_ID_STUDENT as Rp } from "./features/journey/journey-id/journey-id-student.js";
|
|
256
|
+
import { JOURNEY_ID_TEACHER as Hp } from "./features/journey/journey-id/journey-id-teacher.js";
|
|
257
|
+
import { useJourney as Gp } from "./features/journey/use-journey/use-journey.js";
|
|
258
|
+
import { useGetEligibleJourneysViaRoute as vp } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
|
259
|
+
import { JourneyProvider as Up } from "./features/journey/use-journey/journey-context-provider.js";
|
|
260
|
+
import { IndicatorType as wp } from "./features/journey/use-journey/constants.js";
|
|
261
|
+
import { Coachmark as Wp } from "./features/journey/comps/coachmark/coachmark.js";
|
|
262
|
+
import { useHomePageJourney as zp } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
|
|
263
|
+
import { useChapterPageJourney as Jp } from "./features/journey/hooks/use-chapter-page-journey/use-chapter-journey.js";
|
|
264
|
+
import { default as Kp } from "./features/maintenance/maintenance.js";
|
|
265
|
+
import { default as Zp } from "./features/milestone/create/submit-modal/submit-modal.js";
|
|
266
|
+
import { default as Xp } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
|
267
|
+
import { default as eu } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
|
268
|
+
import { default as ru } from "./features/milestone/create/milestone-create-container.js";
|
|
269
|
+
import { default as au } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
|
270
|
+
import { default as su } from "./features/milestone/outcome/milestone-outcome-container.js";
|
|
271
|
+
import { default as pu } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
|
|
272
|
+
import { default as mu } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
|
|
273
|
+
import { default as xu } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
|
|
274
|
+
import { default as cu } from "./features/milestone/edit/goal-edit-container.js";
|
|
275
|
+
import { default as Iu } from "./features/milestone/edit/milestone-edit-container.js";
|
|
276
|
+
import { default as Tu } from "./features/milestone/milestone-list-container/milestone-list-container.js";
|
|
277
|
+
import { default as Cu } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
|
278
|
+
import { default as Pu } from "./features/milestone/start/milestone-start.js";
|
|
279
|
+
import { default as hu } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
|
280
|
+
import { default as Lu } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
|
281
|
+
import { ACHIEVEMENT_ACTIONS as Nu, STAGES as Ou } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
|
282
|
+
import { invalidateMilestonesData as Du, useGetAllMilestonesdata as Hu } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
|
283
|
+
import { invalidatePastMilestoneCount as Gu, useGetPastMilestoneCount as yu } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
|
|
284
|
+
import { invalidateTestHelpData as Bu, useGetTestHelpData as Uu } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
|
285
|
+
import { invalidateMilestoneResources as wu, useGetMilestoneResources as Fu } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
|
286
|
+
import { default as Vu } from "./features/pointer-sync/pointer.js";
|
|
287
|
+
import { default as Yu } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
|
288
|
+
import { DigitalMeter as Qu } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
|
289
|
+
import { EPostGameStat as ju } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
|
290
|
+
import { PostGameStats as qu } from "./features/post-game-stats/post-game-stats.js";
|
|
291
|
+
import { default as $u } from "./features/recent-chapters/recent-chapters.js";
|
|
292
|
+
import { SENTRY_DENIED_URLS as om, SENTRY_IGNORED_ERRORS as rm } from "./features/sentry/constants/ignored.js";
|
|
293
|
+
import { default as am } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
|
294
|
+
import { default as sm } from "./features/sheet-tools/tool-header/tool-header.js";
|
|
295
|
+
import { default as pm } from "./features/sheets/sheets-list/sheets-list.js";
|
|
296
|
+
import { default as mm } from "./features/sheets/reference-sheet/reference-sheet.js";
|
|
297
|
+
import { WORKSHEET_V3_NODE_TYPES as xm } from "./features/sheets/utils/is-v3-worksheet.js";
|
|
298
|
+
import { COMPLETED_SHEET_STATE as cm, NODE_LABELS as im, NODE_SUB_GROUP as Im, NODE_TYPE as Sm, PYTHON_NODE_TYPES as Tm, REWARDS_LIST as Em, SHEET_ACTIONS as Cm, SHEET_ATTEMPT_LOCATION as Am, SHEET_ATTEMPT_LOCATION_MAP as Pm, SHEET_ATTEMPT_STATE as _m, SHEET_DATA_TYPE as hm, SHEET_STATE as km } from "./features/sheets/constants/sheet.js";
|
|
299
|
+
import { default as Mm } from "./features/student-details/student-details.js";
|
|
300
|
+
import { default as Om } from "./features/utils/load-script.js";
|
|
301
|
+
import { ACTION_BAR_HEIGHT as Dm, QUESTIONS_GAP as Hm, QUESTION_WIDTH as gm, TOP_NAVIGATION_HEIGHT as Gm } from "./features/worksheet/worksheet/constants.js";
|
|
302
|
+
import { isOkayTypeQuestion as vm } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
|
303
|
+
import { default as Um } from "./features/worksheet/worksheet/worksheet-container.js";
|
|
304
|
+
import { default as wm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
|
305
|
+
import { default as Wm } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
|
|
306
|
+
import { default as zm } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
|
307
|
+
import { default as Jm } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
|
308
|
+
import { default as Km } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
|
309
|
+
import { default as Zm } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
|
310
|
+
import { default as Xm } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
|
311
|
+
import { default as ed } from "./features/puzzles/puzzle-container/puzzle-container.js";
|
|
312
|
+
import { default as rd } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
|
|
313
|
+
import { default as ad } from "./features/puzzles/app/puzzle-app.js";
|
|
314
|
+
import { invalidatePuzzleToAssign as sd, useGetPuzzleToAssign as ld } from "./features/puzzles/api/puzzle-assign.js";
|
|
315
|
+
import { COUNTRY_CODE_MAP as ud } from "./constants/country.js";
|
|
315
316
|
export {
|
|
316
|
-
|
|
317
|
+
Nu as ACHIEVEMENT_ACTIONS,
|
|
317
318
|
hs as AUTH_TABS,
|
|
318
319
|
Rs as AVPreview,
|
|
319
320
|
xt as Accordion,
|
|
320
321
|
ct as AccordionSection,
|
|
321
322
|
ps as AccountSelector,
|
|
322
|
-
|
|
323
|
-
|
|
323
|
+
pu as AchievementNotShareReasonModal,
|
|
324
|
+
mu as AchievementShareInstructionModal,
|
|
324
325
|
Wr as AfternoonIcon,
|
|
325
326
|
c as AlertIcon,
|
|
326
327
|
of as AnimatedArc,
|
|
@@ -335,10 +336,10 @@ export {
|
|
|
335
336
|
ba as Avatar,
|
|
336
337
|
Pr as Back2Icon,
|
|
337
338
|
I as BackIcon,
|
|
338
|
-
|
|
339
|
+
Ul as BackgroundImage,
|
|
339
340
|
Zt as BaseInput,
|
|
340
341
|
C as Bin2Icon,
|
|
341
|
-
|
|
342
|
+
T as BinIcon,
|
|
342
343
|
L as Book2Icon,
|
|
343
344
|
P as BookClosedIcon,
|
|
344
345
|
h as BookIcon,
|
|
@@ -346,17 +347,17 @@ export {
|
|
|
346
347
|
H as Bulb2Icon,
|
|
347
348
|
R as BulbIcon,
|
|
348
349
|
ht as Button,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
Rl as CIRCLE_ACTION_IDS,
|
|
351
|
+
Nl as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
|
352
|
+
cm as COMPLETED_SHEET_STATE,
|
|
353
|
+
ud as COUNTRY_CODE_MAP,
|
|
353
354
|
G as CalendarIcon,
|
|
354
355
|
La as Callout,
|
|
355
356
|
lf as Carousel,
|
|
356
357
|
Xt as CascadingSelectInput,
|
|
357
358
|
vs as Chapter,
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
eu as ChapterClearanceConfirmationModal,
|
|
360
|
+
Zs as ChapterDetails,
|
|
360
361
|
Us as ChaptersList,
|
|
361
362
|
Gr as ChatIcon,
|
|
362
363
|
U as Check2Icon,
|
|
@@ -366,68 +367,68 @@ export {
|
|
|
366
367
|
Nr as ChevronDownIcon,
|
|
367
368
|
Lr as ChevronLeftIcon,
|
|
368
369
|
hr as ChevronRightIcon,
|
|
369
|
-
|
|
370
|
+
sl as CircleSoundKey,
|
|
370
371
|
ma as CircularLoader,
|
|
371
372
|
Xf as CircularStepWrapper,
|
|
372
|
-
|
|
373
|
+
bl as CircularSteps,
|
|
373
374
|
zf as ClaimUserAccount,
|
|
374
375
|
Lt as Clickable,
|
|
375
376
|
w as ClipboardIcon,
|
|
376
377
|
z as Clock2Icon,
|
|
377
378
|
W as ClockIcon,
|
|
378
|
-
|
|
379
|
+
Wp as Coachmark,
|
|
379
380
|
J as CodeIcon,
|
|
380
|
-
|
|
381
|
+
Tt as ContextMenu,
|
|
381
382
|
K as CopyIcon,
|
|
382
383
|
Ct as CountdownTimer,
|
|
383
384
|
Z as CrossIcon,
|
|
384
385
|
Zr as CueBoardFilledIcon,
|
|
385
386
|
Xr as CueBoardIcon,
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
387
|
+
jl as CueCanvas,
|
|
388
|
+
Ql as CueCanvasController,
|
|
389
|
+
op as CueCanvasHomeworkController,
|
|
390
|
+
Yl as CueCanvasProvider,
|
|
391
|
+
$l as CueCanvasSideBar,
|
|
391
392
|
X as CueRocket,
|
|
392
393
|
vr as CuemathLogo,
|
|
393
394
|
Zf as CustomInputField,
|
|
394
395
|
ee as DashArrowIcon,
|
|
395
396
|
Kf as DatePickerInput,
|
|
396
|
-
|
|
397
|
-
|
|
397
|
+
am as DesmosCalculator,
|
|
398
|
+
Qu as DigitalMeter,
|
|
398
399
|
df as DotLottieAnimation,
|
|
399
400
|
re as DownIcon,
|
|
400
401
|
ae as DraftIcon,
|
|
401
402
|
se as DragIcon,
|
|
402
403
|
uf as Drawer,
|
|
403
|
-
|
|
404
|
-
|
|
404
|
+
Wm as DynamicPreviewWorksheet,
|
|
405
|
+
Ip as EClassTimeAlertLevel,
|
|
405
406
|
ya as EDeviceType,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
407
|
+
ml as ELeaderboardType,
|
|
408
|
+
Lu as EPResourceAssign,
|
|
409
|
+
ju as EPostGameStat,
|
|
410
|
+
lp as EVENTS,
|
|
410
411
|
me as Edit2Icon,
|
|
411
412
|
pe as EditIcon,
|
|
412
|
-
|
|
413
|
+
xu as EditMilestoneModal,
|
|
413
414
|
xe as EditStarIcon,
|
|
414
415
|
ce as EraserIcon,
|
|
415
416
|
Gt as Error,
|
|
416
417
|
wr as EveningIcon,
|
|
417
418
|
Ce as ExclamationIcon,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
419
|
+
sm as ExpandableHeader,
|
|
420
|
+
Pp as ExtraPractice,
|
|
421
|
+
Te as Eye2Icon,
|
|
421
422
|
Ie as EyeIcon,
|
|
422
423
|
sa as FlexView,
|
|
423
|
-
|
|
424
|
-
|
|
424
|
+
el as GAME_LAUNCHER_ASSET_PADDING,
|
|
425
|
+
rl as GAME_LAUNCHER_SIZE,
|
|
425
426
|
x as GIF,
|
|
426
427
|
Rr as GameIcon,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
428
|
+
Hl as GameLauncher,
|
|
429
|
+
Xp as GoalCreationConfirmationModal,
|
|
430
|
+
au as GoalDraftEdit,
|
|
431
|
+
cu as GoalEdit,
|
|
431
432
|
Jt as GooglePlacesSearchInput,
|
|
432
433
|
Jf as GradeInput,
|
|
433
434
|
r as GradeSelector,
|
|
@@ -436,38 +437,38 @@ export {
|
|
|
436
437
|
Ne as HighlighterIcon,
|
|
437
438
|
he as HintFillIcon,
|
|
438
439
|
Re as HomeIcon,
|
|
439
|
-
|
|
440
|
+
hp as HomeworkCardList,
|
|
440
441
|
s as ILLUSTRATIONS,
|
|
441
442
|
p as IMAGES,
|
|
442
|
-
|
|
443
|
+
Ll as IStatsToAwardErrorCode,
|
|
443
444
|
Nt as IconButton,
|
|
444
445
|
Is as IdentifierOtpForm,
|
|
445
446
|
$a as Image,
|
|
446
447
|
He as ImageIcon,
|
|
447
|
-
|
|
448
|
+
wp as IndicatorType,
|
|
448
449
|
ve as Info2Icon,
|
|
449
450
|
Ge as InfoIcon,
|
|
450
451
|
Nf as InputStatusIcon,
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
452
|
+
Rp as JOURNEY_ID_STUDENT,
|
|
453
|
+
Hp as JOURNEY_ID_TEACHER,
|
|
454
|
+
Up as JourneyProvider,
|
|
454
455
|
m as LOTTIE,
|
|
455
456
|
ws as LPARChapter,
|
|
456
457
|
Ws as LPARMilestoneChapter,
|
|
457
|
-
|
|
458
|
-
|
|
458
|
+
vl as Leaderboard,
|
|
459
|
+
Km as LearnosityPreloader,
|
|
459
460
|
Ue as LeftIcon,
|
|
460
461
|
vf as LinearProgressBar,
|
|
461
462
|
We as Lock2Icon,
|
|
462
463
|
ze as Lock3Icon,
|
|
463
464
|
we as LockIcon,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
465
|
+
Kp as Maintenance,
|
|
466
|
+
Cu as MilestoneActionWidget,
|
|
467
|
+
ru as MilestoneCreate,
|
|
468
|
+
Iu as MilestoneEdit,
|
|
469
|
+
Tu as MilestoneList,
|
|
470
|
+
su as MilestoneOutcome,
|
|
471
|
+
Pu as MilestoneStart,
|
|
471
472
|
Ke as Minus2Icon,
|
|
472
473
|
Je as MinusIcon,
|
|
473
474
|
Ze as MistakeIcon,
|
|
@@ -476,66 +477,66 @@ export {
|
|
|
476
477
|
eo as MoreVerticalIcon,
|
|
477
478
|
zr as MorningIcon,
|
|
478
479
|
Gs as MultiTabBlocker,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
480
|
+
im as NODE_LABELS,
|
|
481
|
+
Im as NODE_SUB_GROUP,
|
|
482
|
+
Sm as NODE_TYPE,
|
|
482
483
|
Ur as Next2Icon,
|
|
483
484
|
ro as NextIcon,
|
|
484
485
|
mt as Notification,
|
|
485
486
|
Pt as Nudge,
|
|
486
487
|
ea as NumRangeInput,
|
|
487
|
-
|
|
488
|
+
Ts as OTPForm,
|
|
488
489
|
Hf as OTPInput,
|
|
489
490
|
rs as OnboardingGuide,
|
|
490
491
|
hf as OverlayLoader,
|
|
491
492
|
nf as PLATFORM_EVENTS_STUDENT,
|
|
492
493
|
If as PLATFORM_EVENTS_TEACHER,
|
|
493
494
|
Ns as PLA_ANALYTICS_EVENTS,
|
|
494
|
-
|
|
495
|
+
Tm as PYTHON_NODE_TYPES,
|
|
495
496
|
ao as PencilIcon,
|
|
496
497
|
ra as PercentileInput,
|
|
497
498
|
qa as PerfectHits,
|
|
498
499
|
Gf as PillButton,
|
|
499
500
|
mo as Play2Icon,
|
|
500
501
|
po as PlayIcon,
|
|
501
|
-
|
|
502
|
+
hl as PlayerType,
|
|
502
503
|
io as Plus2Icon,
|
|
503
504
|
no as PlusIcon,
|
|
504
505
|
so as PointerIcon,
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
qu as PostGameStats,
|
|
507
|
+
So as PracticeIcon,
|
|
508
|
+
wm as PreviewWorksheet,
|
|
508
509
|
Eo as ProgressIcon,
|
|
509
|
-
|
|
510
|
-
|
|
510
|
+
Tl as ProjectOutcome,
|
|
511
|
+
Pl as ProjectType,
|
|
511
512
|
_o as Puzzle2Icon,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
513
|
+
ad as PuzzleApp,
|
|
514
|
+
ed as PuzzleCard,
|
|
515
|
+
rd as PuzzleFeedbackCelebration,
|
|
515
516
|
Ao as PuzzleIcon,
|
|
516
517
|
ko as QuestionIcon,
|
|
517
518
|
Mo as QuestionLetterIcon,
|
|
518
|
-
|
|
519
|
-
|
|
519
|
+
Em as REWARDS_LIST,
|
|
520
|
+
Ta as RadioCard,
|
|
520
521
|
wt as RadioInput,
|
|
521
|
-
|
|
522
|
+
$u as RecentChapters,
|
|
522
523
|
Oo as RedoIcon,
|
|
523
|
-
|
|
524
|
-
|
|
524
|
+
mm as ReferenceSheet,
|
|
525
|
+
Vu as RemotePeerPointer,
|
|
525
526
|
Rf as ResendOTP,
|
|
526
527
|
Cs as ResetPasswordForm,
|
|
527
528
|
Do as RightIcon,
|
|
528
529
|
go as RulerIcon,
|
|
529
530
|
zs as SATSheetSummary,
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
531
|
+
om as SENTRY_DENIED_URLS,
|
|
532
|
+
rm as SENTRY_IGNORED_ERRORS,
|
|
533
|
+
Cm as SHEET_ACTIONS,
|
|
534
|
+
Am as SHEET_ATTEMPT_LOCATION,
|
|
535
|
+
Pm as SHEET_ATTEMPT_LOCATION_MAP,
|
|
536
|
+
_m as SHEET_ATTEMPT_STATE,
|
|
537
|
+
hm as SHEET_DATA_TYPE,
|
|
538
|
+
km as SHEET_STATE,
|
|
539
|
+
Ou as STAGES,
|
|
539
540
|
Jr as ScreenGrabFilledIcon,
|
|
540
541
|
et as ScreenGrabIcon,
|
|
541
542
|
Er as ScribbleIcon,
|
|
@@ -546,11 +547,11 @@ export {
|
|
|
546
547
|
Uf as SelectableInfoCard,
|
|
547
548
|
aa as SelectionCards,
|
|
548
549
|
Qa as Separator,
|
|
549
|
-
|
|
550
|
+
Jm as SheetError,
|
|
550
551
|
Bo as SheetIcon,
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
552
|
+
pm as SheetList,
|
|
553
|
+
zm as SheetLocked,
|
|
554
|
+
Vl as SignUp,
|
|
554
555
|
as as SignupHeader,
|
|
555
556
|
es as SignupMethods,
|
|
556
557
|
ss as SignupOptions,
|
|
@@ -560,7 +561,7 @@ export {
|
|
|
560
561
|
Vo as SkipIcon,
|
|
561
562
|
xs as SocialAccountNotFound,
|
|
562
563
|
ms as SocialLoginMethods,
|
|
563
|
-
|
|
564
|
+
Fl as SplashScreen,
|
|
564
565
|
Qo as Star2Icon,
|
|
565
566
|
jo as Star3Icon,
|
|
566
567
|
bo as StarIcon,
|
|
@@ -571,86 +572,87 @@ export {
|
|
|
571
572
|
tf as Stickers,
|
|
572
573
|
ff as StickersSelector,
|
|
573
574
|
Ya as StreakIcon,
|
|
574
|
-
|
|
575
|
+
xl as StreakReductionLocalStorageUtil,
|
|
575
576
|
$o as StrikedEyeIcon,
|
|
576
|
-
|
|
577
|
-
|
|
577
|
+
Mm as StudentDetails,
|
|
578
|
+
Zp as SubmitMilestoneModal,
|
|
578
579
|
or as SwitchIcon,
|
|
579
580
|
Va as TabComponent,
|
|
580
581
|
Lf as Tabs,
|
|
581
582
|
ha as Tag,
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
583
|
+
Cp as TalkMeter,
|
|
584
|
+
cp as TeacherProfile,
|
|
585
|
+
hu as TestsCreation,
|
|
585
586
|
Pa as Text,
|
|
586
587
|
Rt as TextButton,
|
|
587
588
|
Kt as TextInput,
|
|
588
589
|
tr as TickIcon,
|
|
589
590
|
Fa as TimeLeftTimeline,
|
|
590
|
-
|
|
591
|
+
xp as TrialSession,
|
|
591
592
|
fr as TrophyIcon,
|
|
592
|
-
|
|
593
|
+
cl as Tutorial,
|
|
593
594
|
Hr as TutoringIcon,
|
|
594
595
|
Na as UIContext,
|
|
595
596
|
lr as UndoIcon,
|
|
596
597
|
dr as Unlock2Icon,
|
|
597
598
|
ur as UnlockIcon,
|
|
598
599
|
nr as UpIcon,
|
|
599
|
-
|
|
600
|
+
Sr as User2Icon,
|
|
600
601
|
ir as UserIcon,
|
|
601
602
|
Ps as UserIdentifierForm,
|
|
602
603
|
Wf as UserTypeSelector,
|
|
603
604
|
cs as UsernamePasswordForm,
|
|
604
605
|
ja as Video,
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
606
|
+
Tf as WHITELIST_EVENTS,
|
|
607
|
+
Dm as WORKSHEET_ACTION_BAR_HEIGHT,
|
|
608
|
+
Hm as WORKSHEET_QUESTIONS_GAP,
|
|
609
|
+
gm as WORKSHEET_QUESTION_WIDTH,
|
|
610
|
+
Gm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
|
611
|
+
xm as WORKSHEET_V3_NODE_TYPES,
|
|
612
|
+
Il as WebView,
|
|
613
|
+
Cl as WebViewEvent,
|
|
614
|
+
Um as Worksheet,
|
|
614
615
|
Js as checkIfPPTNodeType,
|
|
616
|
+
Ks as getActiveSATSheet,
|
|
615
617
|
Ba as getTheme,
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
618
|
+
Xs as invalidateGetChapterDetails,
|
|
619
|
+
Lp as invalidateHomeworks,
|
|
620
|
+
wu as invalidateMilestoneResources,
|
|
621
|
+
Du as invalidateMilestonesData,
|
|
622
|
+
Gu as invalidatePastMilestoneCount,
|
|
623
|
+
sd as invalidatePuzzleToAssign,
|
|
624
|
+
Bu as invalidateTestHelpData,
|
|
625
|
+
vm as isOkayTypeQuestion,
|
|
626
|
+
Om as loadScript,
|
|
627
|
+
Np as useAutoPlayPermission,
|
|
628
|
+
ql as useCanvasSyncBroker,
|
|
629
|
+
Jp as useChapterPageJourney,
|
|
630
|
+
al as useCircleSounds,
|
|
631
|
+
Tp as useClassTimeAlerts,
|
|
630
632
|
ga as useContextMenuClickHandler,
|
|
631
633
|
pt as useForceReload,
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
634
|
+
Hu as useGetAllMilestonesdata,
|
|
635
|
+
Gl as useGetCircleHomeDetailsDal,
|
|
636
|
+
vp as useGetEligibleJourneysViaRoute,
|
|
637
|
+
pl as useGetLeaderboardDal,
|
|
638
|
+
Fu as useGetMilestoneResources,
|
|
639
|
+
yu as useGetPastMilestoneCount,
|
|
640
|
+
ld as useGetPuzzleToAssign,
|
|
641
|
+
Uu as useGetTestHelpData,
|
|
642
|
+
zp as useHomePageJourney,
|
|
643
|
+
up as useInClassActionDispatcher,
|
|
644
|
+
mp as useInClassActionListener,
|
|
645
|
+
tp as useInClassMessageBroker,
|
|
646
|
+
Zm as useIsLearnosityLoaded,
|
|
645
647
|
Hs as useIsTabBlocked,
|
|
646
|
-
|
|
648
|
+
Gp as useJourney,
|
|
647
649
|
ca as useModalActions,
|
|
648
650
|
Ia as useModalParams,
|
|
649
|
-
|
|
651
|
+
Yu as usePointerSync,
|
|
650
652
|
Da as useTrackingContext,
|
|
651
|
-
|
|
653
|
+
fp as useTrialSessionMessageBroker,
|
|
652
654
|
Oa as useUIContext,
|
|
653
|
-
|
|
655
|
+
Xm as useWorksheetLayout,
|
|
654
656
|
st as useZoomDisable
|
|
655
657
|
};
|
|
656
658
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regex.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/regex.js"],"sourcesContent":["export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;"],"names":["REGEX"],"mappings":"AAAA,MAAAA,IAAe;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
const e = new Uint8Array(16);
|
|
1
|
+
var t, e = new Uint8Array(16);
|
|
3
2
|
function o() {
|
|
4
|
-
if (!t && (t = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !t))
|
|
3
|
+
if (!t && (t = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !t))
|
|
5
4
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
6
5
|
return t(e);
|
|
7
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rng.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/rng.js"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\
|
|
1
|
+
{"version":3,"file":"rng.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/rng.js"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}"],"names":["getRandomValues","rnds8","rng"],"mappings":"AAGA,IAAIA,GACAC,IAAQ,IAAI,WAAW,EAAE;AACd,SAASC,IAAM;AAE5B,MAAI,CAACF,MAGHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,KAAK,OAAO,WAAa,OAAe,OAAO,SAAS,mBAAoB,cAAc,SAAS,gBAAgB,KAAK,QAAQ,GAE3O,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAI9H,SAAOA,EAAgBC,CAAK;AAC9B;","x_google_ignoreList":[0]}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import s from "./validate.js";
|
|
2
|
+
var t = [];
|
|
3
|
+
for (var n = 0; n < 256; ++n)
|
|
4
|
+
t.push((n + 256).toString(16).substr(1));
|
|
5
|
+
function f(e) {
|
|
6
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = (t[e[i + 0]] + t[e[i + 1]] + t[e[i + 2]] + t[e[i + 3]] + "-" + t[e[i + 4]] + t[e[i + 5]] + "-" + t[e[i + 6]] + t[e[i + 7]] + "-" + t[e[i + 8]] + t[e[i + 9]] + "-" + t[e[i + 10]] + t[e[i + 11]] + t[e[i + 12]] + t[e[i + 13]] + t[e[i + 14]] + t[e[i + 15]]).toLowerCase();
|
|
7
|
+
if (!s(o))
|
|
8
|
+
throw TypeError("Stringified UUID is invalid");
|
|
9
|
+
return o;
|
|
6
10
|
}
|
|
7
11
|
export {
|
|
8
|
-
|
|
12
|
+
f as default
|
|
9
13
|
};
|
|
10
14
|
//# sourceMappingURL=stringify.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringify.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/stringify.js"],"sourcesContent":["import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\
|
|
1
|
+
{"version":3,"file":"stringify.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/stringify.js"],"sourcesContent":["import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;"],"names":["byteToHex","i","stringify","arr","offset","uuid","validate"],"mappings":";AAMA,IAAIA,IAAY,CAAA;AAEhB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;AAGnD,SAASC,EAAUC,GAAK;AACtB,MAAIC,IAAS,UAAU,SAAS,KAAK,UAAU,CAAC,MAAM,SAAY,UAAU,CAAC,IAAI,GAG7EC,KAAQL,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,GAAG;AAMzf,MAAI,CAACE,EAASD,CAAI;AAChB,UAAM,UAAU,6BAA6B;AAG/C,SAAOA;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
function g(n, m, t) {
|
|
5
|
-
if (e.randomUUID && !m && !n)
|
|
6
|
-
return e.randomUUID();
|
|
1
|
+
import d from "./rng.js";
|
|
2
|
+
import f from "./stringify.js";
|
|
3
|
+
function v(n, m, x) {
|
|
7
4
|
n = n || {};
|
|
8
|
-
|
|
5
|
+
var r = n.random || (n.rng || d)();
|
|
9
6
|
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, m) {
|
|
10
|
-
|
|
11
|
-
for (
|
|
12
|
-
m[
|
|
7
|
+
x = x || 0;
|
|
8
|
+
for (var a = 0; a < 16; ++a)
|
|
9
|
+
m[x + a] = r[a];
|
|
13
10
|
return m;
|
|
14
11
|
}
|
|
15
|
-
return
|
|
12
|
+
return f(r);
|
|
16
13
|
}
|
|
17
14
|
export {
|
|
18
|
-
|
|
15
|
+
v as default
|
|
19
16
|
};
|
|
20
17
|
//# sourceMappingURL=v4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v4.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"v4.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;"],"names":["v4","options","buf","offset","rnds","rng","i","stringify"],"mappings":";;AAGA,SAASA,EAAGC,GAASC,GAAKC,GAAQ;AAChC,EAAAF,IAAUA,KAAW;AACrB,MAAIG,IAAOH,EAAQ,WAAWA,EAAQ,OAAOI;AAK7C,MAHAD,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAEvBF,GAAK;AACP,IAAAC,IAASA,KAAU;AAEnB,aAASG,IAAI,GAAGA,IAAI,IAAI,EAAEA;AACxB,MAAAJ,EAAIC,IAASG,CAAC,IAAIF,EAAKE,CAAC;AAG1B,WAAOJ;AAAA,EACR;AAED,SAAOK,EAAUH,CAAI;AACvB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/validate.js"],"sourcesContent":["import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;"],"names":["validate","uuid","REGEX"],"mappings":";AAEA,SAASA,EAASC,GAAM;AACtB,SAAO,OAAOA,KAAS,YAAYC,EAAM,KAAKD,CAAI;AACpD;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/native.js"],"sourcesContent":["const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};"],"names":["randomUUID","native"],"mappings":"AAAA,MAAMA,IAAa,OAAO,SAAW,OAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM,GACvFC,IAAA;AAAA,EACb,YAAAD;AACF;","x_google_ignoreList":[0]}
|