@cuemath/leap 2.9.9-as3 → 2.9.9-as4

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.
@@ -1,70 +1,67 @@
1
- import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
- import { memo as N, useCallback as v, useEffect as s } from "react";
3
- import { ILLUSTRATIONS as D } from "../../../assets/illustrations/illustrations.js";
4
- import E from "../../../assets/line-icons/icons/back2.js";
5
- import { useJourney as P } from "../../journey/use-journey/use-journey.js";
6
- import T from "../../ui/buttons/button/button.js";
7
- import j from "../../ui/buttons/icon-button/icon-button.js";
8
- import J from "../../ui/layout/flex-view.js";
9
- import H from "../../ui/loader/app-loader/app-loader.js";
10
- import O from "../../ui/text/text.js";
11
- import { useGetChapterDetails as U } from "../api/chapter.js";
12
- import W from "./block-sections/block-sections.js";
13
- import X from "./chapter-banner/chapter-banner.js";
14
- import { ContentWrapper as z, BackButtonContainer as F, BackButtonWrapper as G, LoaderWrapper as V } from "./chapter-details-styled.js";
15
- const q = N((g) => {
1
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
+ import { memo as b, useCallback as w, useEffect as m } from "react";
3
+ import { ILLUSTRATIONS as L } from "../../../assets/illustrations/illustrations.js";
4
+ import N from "../../../assets/line-icons/icons/back2.js";
5
+ import { useJourney as _ } from "../../journey/use-journey/use-journey.js";
6
+ import v from "../../ui/buttons/button/button.js";
7
+ import D from "../../ui/buttons/icon-button/icon-button.js";
8
+ import E from "../../ui/layout/flex-view.js";
9
+ import P from "../../ui/loader/app-loader/app-loader.js";
10
+ import T from "../../ui/text/text.js";
11
+ import { useGetChapterDetails as j } from "../api/chapter.js";
12
+ import J from "./block-sections/block-sections.js";
13
+ import H from "./chapter-banner/chapter-banner.js";
14
+ import { ContentWrapper as O, BackButtonContainer as U, BackButtonWrapper as W, LoaderWrapper as X } from "./chapter-details-styled.js";
15
+ const z = b((f) => {
16
16
  const {
17
- userChapterId: c,
18
- studentId: n,
17
+ userChapterId: n,
18
+ studentId: i,
19
19
  userType: a,
20
- onBlockSkipUnskip: u,
21
- onNodeAttempt: C,
22
- onNodeAttemptLocationChange: k,
23
- onNodeMarkAsDone: y,
24
- onNodeReattempt: A,
25
- onNodeReview: B,
26
- onNodeView: $,
27
- onExit: x,
28
- startChapterPageJourney: i,
29
- chapterPageRef: I,
30
- bannerRef: S,
31
- coreBlocksRef: w,
32
- canStartJourney: m
33
- } = g, {
34
- get: p,
20
+ onBlockSkipUnskip: g,
21
+ onNodeAttempt: u,
22
+ onNodeAttemptLocationChange: C,
23
+ onNodeMarkAsDone: k,
24
+ onNodeReattempt: y,
25
+ onNodeReview: A,
26
+ onNodeView: B,
27
+ onExit: $,
28
+ startChapterPageJourney: s,
29
+ chapterPageRef: x,
30
+ bannerRef: I,
31
+ coreBlocksRef: R,
32
+ canStartJourney: p
33
+ } = f, { isJourneyActive: c } = _(), {
34
+ get: l,
35
35
  data: e,
36
36
  isProcessing: r,
37
- isProcessingFailed: R,
38
- isStale: l
39
- } = U(), o = v(() => {
40
- p(c, void 0, { studentId: n });
41
- }, [p, c, n]);
42
- s(() => {
37
+ isProcessingFailed: S,
38
+ isStale: h
39
+ } = j(), o = w(() => {
40
+ l(n, void 0, { studentId: i });
41
+ }, [l, n, i]);
42
+ return m(() => {
43
43
  o();
44
- }, [o]);
45
- const { isJourneyActive: h } = P();
46
- return s(() => {
47
- if (e) {
48
- const { progress_stat: _ } = e, { classwork: b } = _ || {}, { completed: d, total: L } = b || {};
49
- m && d !== 0 && L === d && !h && i && i({
50
- chapterDetails: e,
51
- studentId: n,
52
- userType: a
53
- });
54
- }
44
+ }, [o]), m(() => {
45
+ e && p && !c && s && s({
46
+ chapterDetails: e,
47
+ userChapterId: n,
48
+ studentId: i,
49
+ userType: a
50
+ });
55
51
  }, [
52
+ p,
56
53
  e,
54
+ c,
55
+ s,
57
56
  i,
58
- h,
59
57
  n,
60
- a,
61
- m
62
- ]), s(() => {
63
- !r && l && o();
64
- }, [o, r, l]), R ? /* @__PURE__ */ f(J, { $flexGapX: 1.5, $height: "100vh", $justifyContent: "center", $alignItems: "center", children: [
65
- /* @__PURE__ */ t(O, { $renderAs: "h6", children: "Oops! Something went wrong. Please try again later." }),
58
+ a
59
+ ]), m(() => {
60
+ !r && h && o();
61
+ }, [o, r, h]), S ? /* @__PURE__ */ d(E, { $flexGapX: 1.5, $height: "100vh", $justifyContent: "center", $alignItems: "center", children: [
62
+ /* @__PURE__ */ t(T, { $renderAs: "h6", children: "Oops! Something went wrong. Please try again later." }),
66
63
  /* @__PURE__ */ t(
67
- T,
64
+ v,
68
65
  {
69
66
  widthX: 14,
70
67
  size: "small",
@@ -74,57 +71,57 @@ const q = N((g) => {
74
71
  onClick: o
75
72
  }
76
73
  )
77
- ] }) : !e && r ? /* @__PURE__ */ t(H, { height: "80vh" }) : /* @__PURE__ */ f(
78
- z,
74
+ ] }) : !e && r ? /* @__PURE__ */ t(P, { height: "80vh" }) : /* @__PURE__ */ d(
75
+ O,
79
76
  {
80
- ref: I,
77
+ ref: x,
81
78
  $widthX: 50,
82
79
  $disablePointerEvents: r,
83
80
  $justifyContent: "center",
84
81
  $alignItems: "center",
85
82
  children: [
86
- a === "TEACHER" && /* @__PURE__ */ t(F, { $height: "100%", children: /* @__PURE__ */ t(G, { children: /* @__PURE__ */ t(
87
- j,
83
+ a === "TEACHER" && /* @__PURE__ */ t(U, { $height: "100%", children: /* @__PURE__ */ t(W, { children: /* @__PURE__ */ t(
84
+ D,
88
85
  {
89
- Icon: E,
86
+ Icon: N,
90
87
  renderAs: "secondary-gray",
91
88
  analyticsLabel: "chapter_page_exit",
92
89
  size: "xsmall",
93
- onClick: x
90
+ onClick: $
94
91
  }
95
92
  ) }) }),
96
- r && /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t("img", { src: D.LOADER_1, alt: "loader" }) }),
93
+ r && /* @__PURE__ */ t(X, { children: /* @__PURE__ */ t("img", { src: L.LOADER_1, alt: "loader" }) }),
97
94
  e && /* @__PURE__ */ t(
98
- X,
95
+ H,
99
96
  {
100
97
  title: e.name,
101
98
  imageHue: e.image_hue,
102
99
  imageUrl: e.image_url,
103
100
  progressStats: e == null ? void 0 : e.progress_stat,
104
- bannerRef: S
101
+ bannerRef: I
105
102
  }
106
103
  ),
107
104
  e && /* @__PURE__ */ t(
108
- W,
105
+ J,
109
106
  {
110
107
  imageHue: e.image_hue,
111
108
  userType: a,
112
109
  blocks: e.blocks,
113
- onBlockSkipUnskip: u,
114
- onNodeAttempt: C,
115
- onNodeAttemptLocationChange: k,
116
- onNodeMarkAsDone: y,
117
- onNodeReattempt: A,
118
- onNodeReview: B,
119
- onNodeView: $,
120
- coreBlocksRef: w
110
+ onBlockSkipUnskip: g,
111
+ onNodeAttempt: u,
112
+ onNodeAttemptLocationChange: C,
113
+ onNodeMarkAsDone: k,
114
+ onNodeReattempt: y,
115
+ onNodeReview: A,
116
+ onNodeView: B,
117
+ coreBlocksRef: R
121
118
  }
122
119
  )
123
120
  ]
124
121
  }
125
122
  );
126
- }), me = q;
123
+ }), ie = z;
127
124
  export {
128
- me as default
125
+ ie as default
129
126
  };
130
127
  //# sourceMappingURL=chapter-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chapter-details.js","sources":["../../../../src/features/chapters-v2/chapter-details/chapter-details.tsx"],"sourcesContent":["import type { IChapterDetails } from './chapter-details-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useEffect } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport Back2Icon from '../../../assets/line-icons/icons/back2';\nimport { useJourney } from '../../journey/use-journey/use-journey';\nimport Button from '../../ui/buttons/button/button';\nimport IconButton from '../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../ui/layout/flex-view';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport Text from '../../ui/text/text';\nimport { useGetChapterDetails } from '../api/chapter';\nimport BlockSections from './block-sections/block-sections';\nimport ChapterBanner from './chapter-banner/chapter-banner';\nimport * as Styled from './chapter-details-styled';\n\nconst ChapterDetails: FC<IChapterDetails> = memo(props => {\n const {\n userChapterId,\n studentId,\n userType,\n onBlockSkipUnskip,\n onNodeAttempt,\n onNodeAttemptLocationChange,\n onNodeMarkAsDone,\n onNodeReattempt,\n onNodeReview,\n onNodeView,\n onExit,\n startChapterPageJourney,\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n canStartJourney,\n } = props;\n\n const {\n get: getChapterDetails,\n data: chapterDetails,\n isProcessing,\n isProcessingFailed,\n isStale,\n } = useGetChapterDetails();\n\n const fetchChapterDetails = useCallback(() => {\n getChapterDetails(userChapterId, undefined, { studentId });\n }, [getChapterDetails, userChapterId, studentId]);\n\n useEffect(() => {\n fetchChapterDetails();\n }, [fetchChapterDetails]);\n const { isJourneyActive } = useJourney();\n\n useEffect(() => {\n if (chapterDetails) {\n const { progress_stat: progressStat } = chapterDetails;\n const { classwork } = progressStat || {};\n const { completed, total } = classwork || {};\n\n if (\n canStartJourney &&\n completed !== 0 &&\n total === completed &&\n !isJourneyActive &&\n startChapterPageJourney\n ) {\n startChapterPageJourney({\n chapterDetails: chapterDetails,\n studentId,\n userType,\n });\n }\n }\n }, [\n chapterDetails,\n startChapterPageJourney,\n isJourneyActive,\n studentId,\n userType,\n canStartJourney,\n ]);\n\n useEffect(() => {\n if (!isProcessing && isStale) {\n fetchChapterDetails();\n }\n }, [fetchChapterDetails, isProcessing, isStale]);\n\n if (isProcessingFailed) {\n return (\n <FlexView $flexGapX={1.5} $height=\"100vh\" $justifyContent=\"center\" $alignItems=\"center\">\n <Text $renderAs=\"h6\">Oops! Something went wrong. Please try again later.</Text>\n <Button\n widthX={14}\n size=\"small\"\n shape=\"square\"\n renderAs=\"primary\"\n label=\"Try again\"\n onClick={fetchChapterDetails}\n />\n </FlexView>\n );\n }\n\n if (!chapterDetails && isProcessing) {\n return <AppLoader height=\"80vh\" />;\n }\n\n return (\n <Styled.ContentWrapper\n ref={chapterPageRef}\n $widthX={50}\n $disablePointerEvents={isProcessing}\n $justifyContent=\"center\"\n $alignItems=\"center\"\n >\n {userType === 'TEACHER' && (\n <Styled.BackButtonContainer $height=\"100%\">\n <Styled.BackButtonWrapper>\n <IconButton\n Icon={Back2Icon}\n renderAs=\"secondary-gray\"\n analyticsLabel=\"chapter_page_exit\"\n size=\"xsmall\"\n onClick={onExit}\n />\n </Styled.BackButtonWrapper>\n </Styled.BackButtonContainer>\n )}\n\n {isProcessing && (\n <Styled.LoaderWrapper>\n <img src={ILLUSTRATIONS.LOADER_1} alt=\"loader\" />\n </Styled.LoaderWrapper>\n )}\n\n {chapterDetails && (\n <ChapterBanner\n title={chapterDetails.name}\n imageHue={chapterDetails.image_hue}\n imageUrl={chapterDetails.image_url}\n progressStats={chapterDetails?.progress_stat}\n bannerRef={bannerRef}\n />\n )}\n\n {chapterDetails && (\n <BlockSections\n imageHue={chapterDetails.image_hue}\n userType={userType}\n blocks={chapterDetails.blocks}\n onBlockSkipUnskip={onBlockSkipUnskip}\n onNodeAttempt={onNodeAttempt}\n onNodeAttemptLocationChange={onNodeAttemptLocationChange}\n onNodeMarkAsDone={onNodeMarkAsDone}\n onNodeReattempt={onNodeReattempt}\n onNodeReview={onNodeReview}\n onNodeView={onNodeView}\n coreBlocksRef={coreBlocksRef}\n />\n )}\n </Styled.ContentWrapper>\n );\n});\n\nexport default ChapterDetails;\n"],"names":["ChapterDetails","memo","props","userChapterId","studentId","userType","onBlockSkipUnskip","onNodeAttempt","onNodeAttemptLocationChange","onNodeMarkAsDone","onNodeReattempt","onNodeReview","onNodeView","onExit","startChapterPageJourney","chapterPageRef","bannerRef","coreBlocksRef","canStartJourney","getChapterDetails","chapterDetails","isProcessing","isProcessingFailed","isStale","useGetChapterDetails","fetchChapterDetails","useCallback","useEffect","isJourneyActive","useJourney","progressStat","classwork","completed","total","jsxs","FlexView","jsx","Text","Button","AppLoader","Styled.ContentWrapper","Styled.BackButtonContainer","Styled.BackButtonWrapper","IconButton","Back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AAA,YACzB,eAAeA,KAAA,gBAAAA,EAAgB;AAAA,YAC/B,WAAAJ;AAAA,UAAA;AAAA,QACF;AAAA,QAGDI,KACC,gBAAAgB;AAAA,UAACY;AAAA,UAAA;AAAA,YACC,UAAU5B,EAAe;AAAA,YACzB,UAAAf;AAAA,YACA,QAAQe,EAAe;AAAA,YACvB,mBAAAd;AAAA,YACA,eAAAC;AAAA,YACA,6BAAAC;AAAA,YACA,kBAAAC;AAAA,YACA,iBAAAC;AAAA,YACA,cAAAC;AAAA,YACA,YAAAC;AAAA,YACA,eAAAK;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,CAAC,GAEDgC,KAAejD;"}
1
+ {"version":3,"file":"chapter-details.js","sources":["../../../../src/features/chapters-v2/chapter-details/chapter-details.tsx"],"sourcesContent":["import type { IChapterDetails } from './chapter-details-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useEffect } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport Back2Icon from '../../../assets/line-icons/icons/back2';\nimport { useJourney } from '../../journey/use-journey/use-journey';\nimport Button from '../../ui/buttons/button/button';\nimport IconButton from '../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../ui/layout/flex-view';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport Text from '../../ui/text/text';\nimport { useGetChapterDetails } from '../api/chapter';\nimport BlockSections from './block-sections/block-sections';\nimport ChapterBanner from './chapter-banner/chapter-banner';\nimport * as Styled from './chapter-details-styled';\n\nconst ChapterDetails: FC<IChapterDetails> = memo(props => {\n const {\n userChapterId,\n studentId,\n userType,\n onBlockSkipUnskip,\n onNodeAttempt,\n onNodeAttemptLocationChange,\n onNodeMarkAsDone,\n onNodeReattempt,\n onNodeReview,\n onNodeView,\n onExit,\n startChapterPageJourney,\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n canStartJourney,\n } = props;\n const { isJourneyActive } = useJourney();\n const {\n get: getChapterDetails,\n data: chapterDetails,\n isProcessing,\n isProcessingFailed,\n isStale,\n } = useGetChapterDetails();\n\n const fetchChapterDetails = useCallback(() => {\n getChapterDetails(userChapterId, undefined, { studentId });\n }, [getChapterDetails, userChapterId, studentId]);\n\n useEffect(() => {\n fetchChapterDetails();\n }, [fetchChapterDetails]);\n\n useEffect(() => {\n if (chapterDetails && canStartJourney && !isJourneyActive && startChapterPageJourney) {\n startChapterPageJourney({\n chapterDetails: chapterDetails,\n userChapterId,\n studentId,\n userType,\n });\n }\n }, [\n canStartJourney,\n chapterDetails,\n isJourneyActive,\n startChapterPageJourney,\n studentId,\n userChapterId,\n userType,\n ]);\n\n useEffect(() => {\n if (!isProcessing && isStale) {\n fetchChapterDetails();\n }\n }, [fetchChapterDetails, isProcessing, isStale]);\n\n if (isProcessingFailed) {\n return (\n <FlexView $flexGapX={1.5} $height=\"100vh\" $justifyContent=\"center\" $alignItems=\"center\">\n <Text $renderAs=\"h6\">Oops! Something went wrong. Please try again later.</Text>\n <Button\n widthX={14}\n size=\"small\"\n shape=\"square\"\n renderAs=\"primary\"\n label=\"Try again\"\n onClick={fetchChapterDetails}\n />\n </FlexView>\n );\n }\n\n if (!chapterDetails && isProcessing) {\n return <AppLoader height=\"80vh\" />;\n }\n\n return (\n <Styled.ContentWrapper\n ref={chapterPageRef}\n $widthX={50}\n $disablePointerEvents={isProcessing}\n $justifyContent=\"center\"\n $alignItems=\"center\"\n >\n {userType === 'TEACHER' && (\n <Styled.BackButtonContainer $height=\"100%\">\n <Styled.BackButtonWrapper>\n <IconButton\n Icon={Back2Icon}\n renderAs=\"secondary-gray\"\n analyticsLabel=\"chapter_page_exit\"\n size=\"xsmall\"\n onClick={onExit}\n />\n </Styled.BackButtonWrapper>\n </Styled.BackButtonContainer>\n )}\n\n {isProcessing && (\n <Styled.LoaderWrapper>\n <img src={ILLUSTRATIONS.LOADER_1} alt=\"loader\" />\n </Styled.LoaderWrapper>\n )}\n\n {chapterDetails && (\n <ChapterBanner\n title={chapterDetails.name}\n imageHue={chapterDetails.image_hue}\n imageUrl={chapterDetails.image_url}\n progressStats={chapterDetails?.progress_stat}\n bannerRef={bannerRef}\n />\n )}\n\n {chapterDetails && (\n <BlockSections\n imageHue={chapterDetails.image_hue}\n userType={userType}\n blocks={chapterDetails.blocks}\n onBlockSkipUnskip={onBlockSkipUnskip}\n onNodeAttempt={onNodeAttempt}\n onNodeAttemptLocationChange={onNodeAttemptLocationChange}\n onNodeMarkAsDone={onNodeMarkAsDone}\n onNodeReattempt={onNodeReattempt}\n onNodeReview={onNodeReview}\n onNodeView={onNodeView}\n coreBlocksRef={coreBlocksRef}\n />\n )}\n </Styled.ContentWrapper>\n );\n});\n\nexport default ChapterDetails;\n"],"names":["ChapterDetails","memo","props","userChapterId","studentId","userType","onBlockSkipUnskip","onNodeAttempt","onNodeAttemptLocationChange","onNodeMarkAsDone","onNodeReattempt","onNodeReview","onNodeView","onExit","startChapterPageJourney","chapterPageRef","bannerRef","coreBlocksRef","canStartJourney","isJourneyActive","useJourney","getChapterDetails","chapterDetails","isProcessing","isProcessingFailed","isStale","useGetChapterDetails","fetchChapterDetails","useCallback","useEffect","jsxs","FlexView","jsx","Text","Button","AppLoader","Styled.ContentWrapper","Styled.BackButtonContainer","Styled.BackButtonWrapper","IconButton","Back2Icon","Styled.LoaderWrapper","ILLUSTRATIONS","ChapterBanner","BlockSections","ChapterDetails$1"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAMA,IAAsCC,EAAK,CAASC,MAAA;AAClD,QAAA;AAAA,IACJ,eAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,6BAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,yBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC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A,IAACM;AAAAA,IAAA;AAAA,MACC,KAAKrB;AAAA,MACL,SAAS;AAAA,MACT,uBAAuBQ;AAAA,MACvB,iBAAgB;AAAA,MAChB,aAAY;AAAA,MAEX,UAAA;AAAA,QAAalB,MAAA,aACX,gBAAA2B,EAAAK,GAAA,EAA2B,SAAQ,QAClC,UAAA,gBAAAL,EAACM,GAAA,EACC,UAAA,gBAAAN;AAAA,UAACO;AAAA,UAAA;AAAA,YACC,MAAMC;AAAA,YACN,UAAS;AAAA,YACT,gBAAe;AAAA,YACf,MAAK;AAAA,YACL,SAAS3B;AAAA,UAAA;AAAA,WAEb,EACF,CAAA;AAAA,QAGDU,KACC,gBAAAS,EAACS,GAAA,EACC,UAAA,gBAAAT,EAAC,OAAI,EAAA,KAAKU,EAAc,UAAU,KAAI,SAAA,CAAS,EACjD,CAAA;AAAA,QAGDpB,KACC,gBAAAU;AAAA,UAACW;AAAA,UAAA;AAAA,YACC,OAAOrB,EAAe;AAAA,YACtB,UAAUA,EAAe;AAAA,YACzB,UAAUA,EAAe;AAAA,YACzB,eAAeA,KAAA,gBAAAA,EAAgB;AAAA,YAC/B,WAAAN;AAAA,UAAA;AAAA,QACF;AAAA,QAGDM,KACC,gBAAAU;AAAA,UAACY;AAAA,UAAA;AAAA,YACC,UAAUtB,EAAe;AAAA,YACzB,UAAAjB;AAAA,YACA,QAAQiB,EAAe;AAAA,YACvB,mBAAAhB;AAAA,YACA,eAAAC;AAAA,YACA,6BAAAC;AAAA,YACA,kBAAAC;AAAA,YACA,iBAAAC;AAAA,YACA,cAAAC;AAAA,YACA,YAAAC;AAAA,YACA,eAAAK;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,CAAC,GAED4B,KAAe7C;"}
@@ -1,36 +1,36 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { useRef as n, useCallback as B, useMemo as L, useEffect as N } from "react";
3
- import y from "../../chapters-v2/chapter-details/chapter-banner/chapter-banner.js";
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { useRef as s, useCallback as C, useMemo as P, useEffect as _ } from "react";
3
+ import X from "../../chapters-v2/chapter-details/block-sections/block-sections.js";
4
+ import x from "../../chapters-v2/chapter-details/chapter-banner/chapter-banner.js";
4
5
  import I from "../../chapters-v2/chapter-details/chapter-details.js";
5
- import c from "../../ui/buttons/button/button.js";
6
- import d from "../../ui/layout/flex-view.js";
7
- import m from "../../ui/text/text.js";
8
- import { JOURNEY_ID_STUDENT as S } from "../journey-id/journey-id-student.js";
9
- import { IndicatorType as p } from "../use-journey/constants.js";
10
- import { useJourney as _ } from "../use-journey/use-journey.js";
11
- const Y = () => {
12
- const o = S.CHAPTER_PAGE_JOURNEY, t = n(null), r = n(null), u = n(null), s = n([]), { nextCoachmark: i, setJourney: h, endJourney: g } = _(), C = B(
13
- ({ chapterDetails: l, studentId: R, userType: E }) => {
14
- const {
15
- progress_stat: f,
16
- name: A,
17
- image_hue: T,
18
- image_url: w
19
- // blocks,
20
- } = l;
21
- if (!(t != null && t.current) || !(r != null && r.current) || !u.current)
6
+ import a from "../../ui/buttons/button/button.js";
7
+ import l from "../../ui/layout/flex-view.js";
8
+ import c from "../../ui/text/text.js";
9
+ import { JOURNEY_ID_STUDENT as K } from "../journey-id/journey-id-student.js";
10
+ import { PROGRESS_STAT_MOCK as y, BLOCK_MOCKS as H } from "../mocks/chapter-page-journey-mock-data.js";
11
+ import { IndicatorType as d } from "../use-journey/constants.js";
12
+ import { useJourney as $ } from "../use-journey/use-journey.js";
13
+ const q = () => {
14
+ const o = K.CHAPTER_PAGE_JOURNEY, t = s(null), r = s(null), m = s(null), h = s([]), { nextCoachmark: g, setJourney: f, endJourney: A } = $(), i = C(() => {
15
+ g(o, !1, 0, !0);
16
+ }, [o, g]), w = C(() => {
17
+ A(o);
18
+ }, [A, o]), T = C(
19
+ ({ chapterDetails: p, userChapterId: B, studentId: L, userType: b }) => {
20
+ const { name: O, image_hue: u, image_url: R } = p;
21
+ if (!(t != null && t.current) || !(r != null && r.current) || !m.current)
22
22
  return;
23
- const k = t.current.getBoundingClientRect(), O = [
23
+ const S = t.current.getBoundingClientRect(), N = [
24
24
  {
25
25
  originalElementToHighlightRef: t,
26
26
  isActive: !1,
27
- type: p.TOOLTIP,
27
+ type: d.TOOLTIP,
28
28
  elementToHighlight: /* @__PURE__ */ e(
29
29
  I,
30
30
  {
31
- userChapterId: l.id,
32
- studentId: R,
33
- userType: E,
31
+ userChapterId: B,
32
+ studentId: L,
33
+ userType: b,
34
34
  onBlockSkipUnskip: () => null,
35
35
  onNodeAttempt: () => null,
36
36
  onNodeAttemptLocationChange: () => null,
@@ -43,22 +43,22 @@ const Y = () => {
43
43
  ),
44
44
  indicator: {
45
45
  position: "left",
46
- tooltipYCoOrdinates: -(k.height / 2) + 178,
46
+ tooltipYCoOrdinates: -(S.height / 2) + 178,
47
47
  backgroundColor: "BLUE_4",
48
48
  borderColor: "BLACK",
49
49
  arrowColor: "BLACK",
50
50
  arrowSize: 12,
51
51
  width: 264,
52
- tooltipItem: /* @__PURE__ */ a(d, { $flexRowGapX: 0.75, children: [
53
- /* @__PURE__ */ e(m, { $renderAs: "ab2-bold", children: "Welcome to the all new chapter experience." }),
52
+ tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
53
+ /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "Welcome to the all new chapter experience." }),
54
54
  /* @__PURE__ */ e(
55
- c,
55
+ a,
56
56
  {
57
57
  label: "Next",
58
58
  size: "xsmall",
59
59
  widthX: 6,
60
60
  renderAs: "secondary",
61
- onClick: () => i(o, !1, 0, !0)
61
+ onClick: i
62
62
  }
63
63
  )
64
64
  ] })
@@ -67,15 +67,15 @@ const Y = () => {
67
67
  {
68
68
  originalElementToHighlightRef: r,
69
69
  elementToHighlight: /* @__PURE__ */ e(
70
- y,
70
+ x,
71
71
  {
72
- title: A,
73
- progressStats: f,
74
- imageUrl: w,
75
- imageHue: T
72
+ title: O,
73
+ progressStats: y,
74
+ imageUrl: R,
75
+ imageHue: u
76
76
  }
77
77
  ),
78
- type: p.TOOLTIP,
78
+ type: d.TOOLTIP,
79
79
  indicator: {
80
80
  position: "bottom",
81
81
  tooltipXCoOrdinates: -45,
@@ -85,16 +85,16 @@ const Y = () => {
85
85
  arrowColor: "BLACK",
86
86
  width: 264,
87
87
  arrowSize: 12,
88
- tooltipItem: /* @__PURE__ */ a(d, { $flexRowGapX: 0.75, children: [
89
- /* @__PURE__ */ e(m, { $renderAs: "ab2-bold", children: "A chapter is divided into *core sheets (compulsory), and supplementary sheets." }),
88
+ tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
89
+ /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "A chapter is divided into *core sheets (compulsory), and supplementary sheets." }),
90
90
  /* @__PURE__ */ e(
91
- c,
91
+ a,
92
92
  {
93
93
  label: "Next",
94
94
  size: "xsmall",
95
95
  widthX: 6,
96
96
  renderAs: "secondary",
97
- onClick: () => i(o, !1, 0, !0)
97
+ onClick: i
98
98
  }
99
99
  )
100
100
  ] })
@@ -104,15 +104,15 @@ const Y = () => {
104
104
  {
105
105
  originalElementToHighlightRef: r,
106
106
  elementToHighlight: /* @__PURE__ */ e(
107
- y,
107
+ x,
108
108
  {
109
- title: A,
110
- progressStats: f,
111
- imageUrl: w,
112
- imageHue: T
109
+ title: O,
110
+ progressStats: y,
111
+ imageUrl: R,
112
+ imageHue: u
113
113
  }
114
114
  ),
115
- type: p.TOOLTIP,
115
+ type: d.TOOLTIP,
116
116
  indicator: {
117
117
  position: "bottom",
118
118
  tooltipXCoOrdinates: -275,
@@ -122,73 +122,73 @@ const Y = () => {
122
122
  arrowColor: "BLACK",
123
123
  arrowSize: 12,
124
124
  width: 264,
125
- tooltipItem: /* @__PURE__ */ a(d, { $flexRowGapX: 0.75, children: [
126
- /* @__PURE__ */ e(m, { $renderAs: "ab2-bold", children: "Easily track the progress of the core sheets." }),
125
+ tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
126
+ /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "Easily track the progress of the core sheets." }),
127
127
  /* @__PURE__ */ e(
128
- c,
128
+ a,
129
+ {
130
+ label: "Next",
131
+ size: "xsmall",
132
+ widthX: 6,
133
+ renderAs: "secondary",
134
+ onClick: i
135
+ }
136
+ )
137
+ ] })
138
+ },
139
+ isActive: !1
140
+ },
141
+ {
142
+ originalElementToHighlightRef: m,
143
+ elementToHighlight: /* @__PURE__ */ e(l, { $widthX: 50, children: /* @__PURE__ */ e(X, { userType: b, blocks: H, imageHue: u }) }),
144
+ type: d.TOOLTIP,
145
+ indicator: {
146
+ position: "top",
147
+ tooltipXCoOrdinates: -150,
148
+ tooltipYCoOrdinates: -260,
149
+ backgroundColor: "PURPLE_4",
150
+ borderColor: "BLACK",
151
+ arrowColor: "BLACK",
152
+ arrowSize: 12,
153
+ width: 264,
154
+ tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
155
+ /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "Easily track the progress of the core sheets." }),
156
+ /* @__PURE__ */ e(
157
+ a,
129
158
  {
130
159
  label: "Got it",
131
160
  size: "xsmall",
132
161
  widthX: 6,
133
162
  renderAs: "secondary",
134
- onClick: () => g(o)
163
+ onClick: w
135
164
  }
136
165
  )
137
166
  ] })
138
167
  },
139
168
  isActive: !1
140
169
  }
141
- // {
142
- // originalElementToHighlightRef: coreBlocksRef,
143
- // elementToHighlight: <BlockSections userType={userType} blocks={blocks} imageHue="BLUE" />,
144
- // type: IndicatorType.TOOLTIP,
145
- // indicator: {
146
- // position: 'top',
147
- // tooltipXCoOrdinates: -35,
148
- // tooltipYCoOrdinates: -7,
149
- // backgroundColor: 'PURPLE_4',
150
- // borderColor: 'BLACK',
151
- // arrowColor: 'BLACK',
152
- // arrowXCoOrdinates: -97,
153
- // arrowSize: 12,
154
- // width: 264,
155
- // tooltipItem: (
156
- // <FlexView $flexRowGapX={0.75}>
157
- // <Text $renderAs="ab2-bold">Easily track the progress of the core sheets.</Text>
158
- // <Button
159
- // label="Next"
160
- // size="xsmall"
161
- // widthX={6}
162
- // renderAs="secondary"
163
- // onClick={() => endJourney(journeyId)}
164
- // />
165
- // </FlexView>
166
- // ),
167
- // } as IArrowTooltipProps,
168
- // isActive: false,
169
- // },
170
170
  ];
171
- h(o, O);
172
- const b = setTimeout(() => {
173
- clearTimeout(b), i(o, !1, 0, !0);
174
- }, 200);
175
- s.current.push(b);
171
+ f(o, N);
172
+ const k = setTimeout(() => {
173
+ clearTimeout(k), i();
174
+ }, 500);
175
+ h.current.push(k);
176
176
  },
177
- [h, o, i, g]
178
- ), x = L(
177
+ [i, w, f, o]
178
+ ), E = P(
179
179
  () => ({
180
180
  chapterPageRef: t,
181
181
  bannerRef: r,
182
- coreBlocksRef: u,
183
- startJourney: C
182
+ coreBlocksRef: m,
183
+ startJourney: T
184
184
  }),
185
- [C]
185
+ [T]
186
186
  );
187
- return N(() => () => {
188
- s.current.forEach((l) => clearTimeout(l)), s.current = [];
189
- }, []), x;
187
+ return _(() => () => {
188
+ h.current.forEach((p) => clearTimeout(p)), h.current = [];
189
+ }, []), E;
190
190
  };
191
191
  export {
192
- Y as useChapterPageJourney
192
+ q as useChapterPageJourney
193
193
  };
194
194
  //# sourceMappingURL=use-chapter-journey.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-chapter-journey.js","sources":["../../../../src/features/journey/hooks/use-chapter-journey.tsx"],"sourcesContent":["import type { IUserChapterData } from '../../chapters-v2/chapter-details/chapter-details-types';\nimport type { IArrowTooltipProps } from '../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { ICoachmarkProps } from '../use-journey/journey-context-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport ChapterBanner from '../../chapters-v2/chapter-details/chapter-banner/chapter-banner';\nimport ChapterDetails from '../../chapters-v2/chapter-details/chapter-details';\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport { JOURNEY_ID_STUDENT } from '../journey-id/journey-id-student';\nimport { IndicatorType } from '../use-journey/constants';\nimport { useJourney } from '../use-journey/use-journey';\n\ninterface IChapterStartJourneyProps {\n chapterDetails: IUserChapterData;\n studentId: string;\n userType: 'STUDENT' | 'TEACHER';\n}\n\nexport const useChapterPageJourney = () => {\n const journeyId = JOURNEY_ID_STUDENT.CHAPTER_PAGE_JOURNEY;\n\n const chapterPageRef = useRef<HTMLDivElement>(null);\n const bannerRef = useRef<HTMLDivElement>(null);\n const coreBlocksRef = useRef<HTMLDivElement>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n\n const startJourney = useCallback(\n ({ chapterDetails, studentId, userType }: IChapterStartJourneyProps) => {\n // const isStudent = userType === 'STUDENT';\n\n const {\n progress_stat: progressStat,\n name,\n image_hue: imageHue,\n image_url: imageUrl,\n // blocks,\n } = chapterDetails;\n\n if (!chapterPageRef?.current || !bannerRef?.current || !coreBlocksRef.current) {\n return;\n }\n\n const chapterPageRect = chapterPageRef.current.getBoundingClientRect();\n\n const chapterPageSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: chapterPageRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <ChapterDetails\n userChapterId={chapterDetails.id}\n studentId={studentId}\n userType={userType}\n onBlockSkipUnskip={() => null}\n onNodeAttempt={() => null}\n onNodeAttemptLocationChange={() => null}\n onNodeMarkAsDone={() => null}\n onNodeReattempt={() => null}\n onNodeReview={() => null}\n onNodeView={() => null}\n onExit={() => null}\n />\n ),\n indicator: {\n position: 'left',\n tooltipYCoOrdinates: -(chapterPageRect.height / 2) + 178,\n backgroundColor: 'BLUE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Welcome to the all new chapter experience.</Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => nextCoachmark(journeyId, false, 0, true)}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={progressStat}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -45,\n tooltipYCoOrdinates: -40,\n backgroundColor: 'ORANGE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n width: 264,\n arrowSize: 12,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">\n A chapter is divided into *core sheets (compulsory), and supplementary sheets.\n </Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => nextCoachmark(journeyId, false, 0, true)}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={progressStat}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -275,\n tooltipYCoOrdinates: -15,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Easily track the progress of the core sheets.</Text>\n <Button\n label=\"Got it\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={() => endJourney(journeyId)}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n // {\n // originalElementToHighlightRef: coreBlocksRef,\n // elementToHighlight: <BlockSections userType={userType} blocks={blocks} imageHue=\"BLUE\" />,\n // type: IndicatorType.TOOLTIP,\n // indicator: {\n // position: 'top',\n // tooltipXCoOrdinates: -35,\n // tooltipYCoOrdinates: -7,\n // backgroundColor: 'PURPLE_4',\n // borderColor: 'BLACK',\n // arrowColor: 'BLACK',\n // arrowXCoOrdinates: -97,\n // arrowSize: 12,\n // width: 264,\n // tooltipItem: (\n // <FlexView $flexRowGapX={0.75}>\n // <Text $renderAs=\"ab2-bold\">Easily track the progress of the core sheets.</Text>\n // <Button\n // label=\"Next\"\n // size=\"xsmall\"\n // widthX={6}\n // renderAs=\"secondary\"\n // onClick={() => endJourney(journeyId)}\n // />\n // </FlexView>\n // ),\n // } as IArrowTooltipProps,\n // isActive: false,\n // },\n ];\n\n setJourney(journeyId, chapterPageSteps);\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n nextCoachmark(journeyId, false, 0, true);\n }, 200);\n\n timerRefs.current.push(delayBeforeStart); // Store to cleanup later\n },\n [setJourney, journeyId, nextCoachmark, endJourney],\n );\n\n const data = useMemo(\n () => ({\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n startJourney,\n }),\n [startJourney],\n );\n\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, []);\n\n return data;\n};\n"],"names":["useChapterPageJourney","journeyId","JOURNEY_ID_STUDENT","chapterPageRef","useRef","bannerRef","coreBlocksRef","timerRefs","nextCoachmark","setJourney","endJourney","useJourney","startJourney","useCallback","chapterDetails","studentId","userType","progressStat","name","imageHue","imageUrl","chapterPageRect","chapterPageSteps","IndicatorType","jsx","ChapterDetails","jsxs","FlexView","Text","Button","ChapterBanner","delayBeforeStart","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;AAqBO,MAAMA,IAAwB,MAAM;AACzC,QAAMC,IAAY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CAAK,CAAC,GACtD5B,EAAU,UAAU;EAAC,GAEtB,CAAE,CAAA,GAEEyB;AACT;"}
1
+ {"version":3,"file":"use-chapter-journey.js","sources":["../../../../src/features/journey/hooks/use-chapter-journey.tsx"],"sourcesContent":["import type { IUserChapterData } from '../../chapters-v2/chapter-details/chapter-details-types';\nimport type { IArrowTooltipProps } from '../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { TUserTypes } from '../../ui/types';\nimport type { ICoachmarkProps } from '../use-journey/journey-context-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport BlockSections from '../../chapters-v2/chapter-details/block-sections/block-sections';\nimport ChapterBanner from '../../chapters-v2/chapter-details/chapter-banner/chapter-banner';\nimport ChapterDetails from '../../chapters-v2/chapter-details/chapter-details';\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport { JOURNEY_ID_STUDENT } from '../journey-id/journey-id-student';\nimport { BLOCK_MOCKS, PROGRESS_STAT_MOCK } from '../mocks/chapter-page-journey-mock-data';\nimport { IndicatorType } from '../use-journey/constants';\nimport { useJourney } from '../use-journey/use-journey';\n\ninterface IChapterStartJourneyProps {\n chapterDetails: IUserChapterData;\n userChapterId: string;\n studentId: string;\n userType: TUserTypes;\n}\n\nexport const useChapterPageJourney = () => {\n const journeyId = JOURNEY_ID_STUDENT.CHAPTER_PAGE_JOURNEY;\n\n const chapterPageRef = useRef<HTMLDivElement>(null);\n const bannerRef = useRef<HTMLDivElement>(null);\n const coreBlocksRef = useRef<HTMLDivElement>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n\n const handleNextCoachmark = useCallback(() => {\n nextCoachmark(journeyId, false, 0, true);\n }, [journeyId, nextCoachmark]);\n\n const handleEndJourney = useCallback(() => {\n endJourney(journeyId);\n }, [endJourney, journeyId]);\n\n const startJourney = useCallback(\n ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => {\n const { name, image_hue: imageHue, image_url: imageUrl } = chapterDetails;\n\n if (!chapterPageRef?.current || !bannerRef?.current || !coreBlocksRef.current) {\n return;\n }\n\n const chapterPageRect = chapterPageRef.current.getBoundingClientRect();\n\n const chapterPageSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: chapterPageRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <ChapterDetails\n userChapterId={userChapterId}\n studentId={studentId}\n userType={userType}\n onBlockSkipUnskip={() => null}\n onNodeAttempt={() => null}\n onNodeAttemptLocationChange={() => null}\n onNodeMarkAsDone={() => null}\n onNodeReattempt={() => null}\n onNodeReview={() => null}\n onNodeView={() => null}\n onExit={() => null}\n />\n ),\n indicator: {\n position: 'left',\n tooltipYCoOrdinates: -(chapterPageRect.height / 2) + 178,\n backgroundColor: 'BLUE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Welcome to the all new chapter experience.</Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleNextCoachmark}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -45,\n tooltipYCoOrdinates: -40,\n backgroundColor: 'ORANGE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n width: 264,\n arrowSize: 12,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">\n A chapter is divided into *core sheets (compulsory), and supplementary sheets.\n </Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleNextCoachmark}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -275,\n tooltipYCoOrdinates: -15,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Easily track the progress of the core sheets.</Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleNextCoachmark}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: coreBlocksRef,\n elementToHighlight: (\n <FlexView $widthX={50}>\n <BlockSections userType={userType} blocks={BLOCK_MOCKS} imageHue={imageHue} />\n </FlexView>\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: -150,\n tooltipYCoOrdinates: -260,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Easily track the progress of the core sheets.</Text>\n <Button\n label=\"Got it\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleEndJourney}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n ];\n\n setJourney(journeyId, chapterPageSteps);\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n handleNextCoachmark();\n }, 500);\n\n timerRefs.current.push(delayBeforeStart);\n },\n [handleNextCoachmark, handleEndJourney, setJourney, journeyId],\n );\n\n const data = useMemo(\n () => ({\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n startJourney,\n }),\n [startJourney],\n );\n\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, []);\n\n return data;\n};\n"],"names":["useChapterPageJourney","journeyId","JOURNEY_ID_STUDENT","chapterPageRef","useRef","bannerRef","coreBlocksRef","timerRefs","nextCoachmark","setJourney","endJourney","useJourney","handleNextCoachmark","useCallback","handleEndJourney","startJourney","chapterDetails","userChapterId","studentId","userType","name","imageHue","imageUrl","chapterPageRect","chapterPageSteps","IndicatorType","jsx","ChapterDetails","jsxs","FlexView","Text","Button","ChapterBanner","PROGRESS_STAT_MOCK","BlockSections","BLOCK_MOCKS","delayBeforeStart","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;;AAyBO,MAAMA,IAAwB,MAAM;AACzC,QAAMC,IAAYC,EAAmB,sBAE/BC,IAAiBC,EAAuB,IAAI,GAC5CC,IAAYD,EAAuB,IAAI,GACvCE,IAAgBF,EAAuB,IAAI,GAC3CG,IAAYH,EAAwC,CAAA,CAAE,GACtD,EAAE,eAAAI,GAAe,YAAAC,GAAY,YAAAC,MAAeC,EAAW,GAEvDC,IAAsBC,EAAY,MAAM;AAC9B,IAAAL,EAAAP,GAAW,IAAO,GAAG,EAAI;AAAA,EAAA,GACtC,CAACA,GAAWO,CAAa,CAAC,GAEvBM,IAAmBD,EAAY,MAAM;AACzC,IAAAH,EAAWT,CAAS;AAAA,EAAA,GACnB,CAACS,GAAYT,CAAS,CAAC,GAEpBc,IAAeF;AAAA,IACnB,CAAC,EAAE,gBAAAG,GAAgB,eAAAC,GAAe,WAAAC,GAAW,UAAAC,QAA0C;AACrF,YAAM,EAAE,MAAAC,GAAM,WAAWC,GAAU,WAAWC,EAAa,IAAAN;AAEvD,UAAA,EAACb,KAA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AK,CAAC,GACtDjC,EAAU,UAAU;EAAC,GAEtB,CAAE,CAAA,GAEE8B;AACT;"}
@@ -0,0 +1,587 @@
1
+ const e = {
2
+ mandatory: {
3
+ completed: 12,
4
+ total: 20
5
+ },
6
+ classwork: {
7
+ completed: 10,
8
+ total: 10
9
+ },
10
+ optional: {
11
+ completed: 2,
12
+ total: 2
13
+ }
14
+ }, a = [
15
+ {
16
+ block_type: "RECAP",
17
+ chapter_code: "USCC.G1.ADDSUB",
18
+ code: "USCC.G1.ADDSUB.V3.B1",
19
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e-block-1",
20
+ is_skipped: !1,
21
+ name: "Add and Subtract Numbers up to 20 on a number line",
22
+ permissions: {
23
+ can_skip: !0,
24
+ can_un_skip: !1
25
+ },
26
+ program_id: "8204eca8-7ede-11e9-baea-0242ac120005",
27
+ section_code: "GOALS",
28
+ sheets: [
29
+ {
30
+ accuracy: 100,
31
+ attempt_location: "ANY",
32
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
33
+ card_header: "RECAP",
34
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
35
+ complete_status: !0,
36
+ desmos_calculator_enabled: !1,
37
+ due_date_ts: 1701754078,
38
+ is_lesson_v3_enabled: !1,
39
+ is_optional: !0,
40
+ is_timed: !1,
41
+ is_worksheet_v3: null,
42
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
43
+ marked_as_completed: !1,
44
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0k-b1-s1",
45
+ node_type: "RECAP",
46
+ sheet_statement: "",
47
+ permissions: {
48
+ can_change_attempt_location: !0,
49
+ can_mark_familiar: !0,
50
+ can_reattempt: !0,
51
+ can_reset: !1,
52
+ can_resume: !1,
53
+ can_review: !0,
54
+ can_start: !1,
55
+ can_teacher_review: !0,
56
+ can_unassign: !0
57
+ },
58
+ sheet_time: 2400,
59
+ state: "COMPLETED",
60
+ title: "Add Numbers",
61
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
62
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
63
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
64
+ image_url: "",
65
+ image_hue: "BLUE",
66
+ total_questions: 0,
67
+ unlocked_on_ts: null,
68
+ user_attempt_id: null,
69
+ subtext: null,
70
+ course_type: "PROGRAM"
71
+ },
72
+ {
73
+ accuracy: 100,
74
+ attempt_location: "ANY",
75
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
76
+ card_header: "RECAP",
77
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
78
+ complete_status: !0,
79
+ desmos_calculator_enabled: !1,
80
+ due_date_ts: 1701754078,
81
+ is_lesson_v3_enabled: !1,
82
+ is_optional: !0,
83
+ is_timed: !1,
84
+ is_worksheet_v3: null,
85
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
86
+ marked_as_completed: !1,
87
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0k",
88
+ node_type: "RECAP",
89
+ sheet_statement: "",
90
+ permissions: {
91
+ can_change_attempt_location: !0,
92
+ can_mark_familiar: !0,
93
+ can_reattempt: !1,
94
+ can_reset: !1,
95
+ can_resume: !0,
96
+ can_review: !1,
97
+ can_start: !1,
98
+ can_teacher_review: !0,
99
+ can_unassign: !0
100
+ },
101
+ sheet_time: 2400,
102
+ state: "IN_PROGRESS",
103
+ title: "RECAP 2 - Add Numbers up to 20 on a Number Line",
104
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
105
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
106
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
107
+ image_url: "",
108
+ image_hue: "BLUE",
109
+ total_questions: 0,
110
+ unlocked_on_ts: null,
111
+ user_attempt_id: null,
112
+ subtext: null,
113
+ course_type: "PROGRAM"
114
+ }
115
+ ],
116
+ user_block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e [can be null]"
117
+ },
118
+ {
119
+ block_type: "GOAL",
120
+ chapter_code: "USCC.G1.ADDSUB",
121
+ code: "USCC.G1.ADDSUB.V3.B1",
122
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e-block-2",
123
+ is_skipped: !1,
124
+ name: "Add and Subtract Numbers up to 20 on a number line",
125
+ permissions: {
126
+ can_skip: !0,
127
+ can_un_skip: !1
128
+ },
129
+ program_id: "8204eca8-7ede-11e9-baea-0242ac120005",
130
+ section_code: "GOALS",
131
+ sheets: [
132
+ {
133
+ accuracy: 100,
134
+ attempt_location: "INCLASS",
135
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
136
+ card_header: "LEARN 1",
137
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
138
+ complete_status: !0,
139
+ desmos_calculator_enabled: !1,
140
+ due_date_ts: 1701754078,
141
+ is_lesson_v3_enabled: !1,
142
+ is_optional: !1,
143
+ is_timed: !1,
144
+ is_worksheet_v3: null,
145
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
146
+ marked_as_completed: !1,
147
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b2-s1",
148
+ node_type: "LEARNING",
149
+ sheet_statement: "Add Numbers up to 20 on a Number Line",
150
+ permissions: {
151
+ can_change_attempt_location: !0,
152
+ can_mark_familiar: !0,
153
+ can_reattempt: !1,
154
+ can_reset: !1,
155
+ can_resume: !1,
156
+ can_review: !0,
157
+ can_start: !1,
158
+ can_teacher_review: !1,
159
+ can_unassign: !0
160
+ },
161
+ sheet_time: 2400,
162
+ state: "COMPLETED",
163
+ title: "Add Numbers up to 20 on a Number Line",
164
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
165
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
166
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
167
+ image_url: "",
168
+ image_hue: "BLUE",
169
+ total_questions: 0,
170
+ unlocked_on_ts: null,
171
+ user_attempt_id: null,
172
+ subtext: null,
173
+ course_type: "PROGRAM"
174
+ },
175
+ {
176
+ accuracy: 100,
177
+ attempt_location: "ANY",
178
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
179
+ card_header: "LEARN 2",
180
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
181
+ complete_status: !0,
182
+ desmos_calculator_enabled: !1,
183
+ due_date_ts: 1701754078,
184
+ is_lesson_v3_enabled: !1,
185
+ is_optional: !1,
186
+ is_timed: !1,
187
+ is_worksheet_v3: null,
188
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
189
+ marked_as_completed: !1,
190
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b2-s2",
191
+ node_type: "LEARNING",
192
+ sheet_statement: "Add Numbers up to 20 on a Number Line",
193
+ permissions: {
194
+ can_change_attempt_location: !0,
195
+ can_mark_familiar: !0,
196
+ can_reattempt: !1,
197
+ can_reset: !1,
198
+ can_resume: !1,
199
+ can_review: !1,
200
+ can_start: !1,
201
+ can_teacher_review: !1,
202
+ can_unassign: !0
203
+ },
204
+ sheet_time: 2400,
205
+ state: "WAIT_FOR_REVIEW",
206
+ title: "Add Numbers up to 20 on a Number Line",
207
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
208
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
209
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
210
+ image_url: "",
211
+ image_hue: "BLUE",
212
+ total_questions: 0,
213
+ unlocked_on_ts: null,
214
+ user_attempt_id: null,
215
+ subtext: null,
216
+ course_type: "PROGRAM"
217
+ },
218
+ {
219
+ accuracy: 100,
220
+ attempt_location: "ANY",
221
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
222
+ card_header: "PRACTICE",
223
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
224
+ complete_status: !0,
225
+ desmos_calculator_enabled: !1,
226
+ due_date_ts: 1701754078,
227
+ is_lesson_v3_enabled: !1,
228
+ is_optional: !1,
229
+ is_timed: !1,
230
+ is_worksheet_v3: null,
231
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
232
+ marked_as_completed: !1,
233
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0practice-b2-s3",
234
+ node_type: "PRACTICE",
235
+ sheet_statement: "Resume",
236
+ permissions: {
237
+ can_change_attempt_location: !0,
238
+ can_mark_familiar: !0,
239
+ can_reattempt: !1,
240
+ can_reset: !1,
241
+ can_resume: !0,
242
+ can_review: !1,
243
+ can_start: !1,
244
+ can_teacher_review: !1,
245
+ can_unassign: !0
246
+ },
247
+ sheet_time: 2400,
248
+ state: "IN_PROGRESS",
249
+ title: "Add Numbers up to 20 on a Number Line",
250
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
251
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
252
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
253
+ image_url: "",
254
+ image_hue: "BLUE",
255
+ total_questions: 0,
256
+ unlocked_on_ts: null,
257
+ user_attempt_id: null,
258
+ subtext: null,
259
+ course_type: "PROGRAM"
260
+ },
261
+ {
262
+ accuracy: 100,
263
+ attempt_location: "ANY",
264
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
265
+ card_header: "TEST",
266
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
267
+ complete_status: !0,
268
+ desmos_calculator_enabled: !1,
269
+ due_date_ts: 1701754078,
270
+ is_lesson_v3_enabled: !1,
271
+ is_optional: !0,
272
+ is_timed: !1,
273
+ is_worksheet_v3: null,
274
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
275
+ marked_as_completed: !1,
276
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5dynamic0c-b2-s4",
277
+ node_type: "DYNAMIC",
278
+ sheet_statement: "",
279
+ permissions: {
280
+ can_change_attempt_location: !0,
281
+ can_mark_familiar: !0,
282
+ can_reattempt: !1,
283
+ can_reset: !1,
284
+ can_resume: !1,
285
+ can_review: !0,
286
+ can_start: !1,
287
+ can_teacher_review: !1,
288
+ can_unassign: !0
289
+ },
290
+ sheet_time: 2400,
291
+ state: "COMPLETED",
292
+ title: "Add Numbers up to 20 on a Number Line",
293
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
294
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
295
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
296
+ image_url: "",
297
+ image_hue: "BLUE",
298
+ total_questions: 0,
299
+ unlocked_on_ts: null,
300
+ user_attempt_id: null,
301
+ subtext: null,
302
+ course_type: "PROGRAM"
303
+ },
304
+ {
305
+ accuracy: 100,
306
+ attempt_location: "ANY",
307
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
308
+ card_header: "PUZZLE",
309
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
310
+ complete_status: !0,
311
+ desmos_calculator_enabled: !1,
312
+ due_date_ts: 1701754078,
313
+ is_lesson_v3_enabled: !1,
314
+ is_optional: !0,
315
+ is_timed: !1,
316
+ is_worksheet_v3: null,
317
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
318
+ marked_as_completed: !1,
319
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5p10c-b2-s5",
320
+ node_type: "PUZZLE_EASY",
321
+ sheet_statement: "Locked",
322
+ permissions: {
323
+ can_change_attempt_location: !1,
324
+ can_mark_familiar: !1,
325
+ can_reattempt: !1,
326
+ can_reset: !1,
327
+ can_resume: !1,
328
+ can_review: !1,
329
+ can_start: !1,
330
+ can_teacher_review: !1,
331
+ can_unassign: !0
332
+ },
333
+ sheet_time: 2400,
334
+ state: "LOCKED",
335
+ title: "Add Numbers up to 20 on a Number Line",
336
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
337
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
338
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
339
+ image_url: "",
340
+ image_hue: "BLUE",
341
+ total_questions: 0,
342
+ unlocked_on_ts: null,
343
+ user_attempt_id: null,
344
+ subtext: null,
345
+ course_type: "PROGRAM"
346
+ }
347
+ ],
348
+ user_block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e [can be null]"
349
+ },
350
+ {
351
+ block_type: "GOAL",
352
+ chapter_code: "USCC.G1.ADDSUB",
353
+ code: "USCC.G1.ADDSUB.V3.B1",
354
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e-block-3",
355
+ is_skipped: !0,
356
+ name: "Add and Subtract Numbers up to 20 on a number line",
357
+ permissions: {
358
+ can_skip: !1,
359
+ can_un_skip: !0
360
+ },
361
+ program_id: "8204eca8-7ede-11e9-baea-0242ac120005",
362
+ section_code: "GOALS",
363
+ sheets: [
364
+ {
365
+ accuracy: 100,
366
+ attempt_location: "INCLASS",
367
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
368
+ card_header: "LEARN 1",
369
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
370
+ complete_status: !0,
371
+ desmos_calculator_enabled: !1,
372
+ due_date_ts: 1701754078,
373
+ is_lesson_v3_enabled: !1,
374
+ is_optional: !1,
375
+ is_timed: !1,
376
+ is_worksheet_v3: null,
377
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
378
+ marked_as_completed: !1,
379
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b3-s1",
380
+ node_type: "LEARNING",
381
+ sheet_statement: "",
382
+ permissions: {
383
+ can_change_attempt_location: !0,
384
+ can_mark_familiar: !0,
385
+ can_reattempt: !1,
386
+ can_reset: !1,
387
+ can_resume: !1,
388
+ can_review: !1,
389
+ can_start: !1,
390
+ can_teacher_review: !1,
391
+ can_unassign: !0
392
+ },
393
+ sheet_time: 2400,
394
+ state: "COMPLETED",
395
+ title: "Add Numbers up to 20 on a Number Line",
396
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
397
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
398
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
399
+ image_url: "",
400
+ image_hue: "BLUE",
401
+ total_questions: 0,
402
+ unlocked_on_ts: null,
403
+ user_attempt_id: null,
404
+ subtext: null,
405
+ course_type: "PROGRAM"
406
+ },
407
+ {
408
+ accuracy: 100,
409
+ attempt_location: "ANY",
410
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
411
+ card_header: "LEARN 2",
412
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
413
+ complete_status: !0,
414
+ desmos_calculator_enabled: !1,
415
+ due_date_ts: 1701754078,
416
+ is_lesson_v3_enabled: !1,
417
+ is_optional: !1,
418
+ is_timed: !1,
419
+ is_worksheet_v3: null,
420
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
421
+ marked_as_completed: !1,
422
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b3-s2",
423
+ node_type: "LEARNING",
424
+ sheet_statement: "",
425
+ permissions: {
426
+ can_change_attempt_location: !0,
427
+ can_mark_familiar: !0,
428
+ can_reattempt: !1,
429
+ can_reset: !1,
430
+ can_resume: !1,
431
+ can_review: !1,
432
+ can_start: !1,
433
+ can_teacher_review: !1,
434
+ can_unassign: !0
435
+ },
436
+ sheet_time: 2400,
437
+ state: "COMPLETED",
438
+ title: "Add Numbers up to 20 on a Number Line",
439
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
440
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
441
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
442
+ image_url: "",
443
+ image_hue: "BLUE",
444
+ total_questions: 0,
445
+ unlocked_on_ts: null,
446
+ user_attempt_id: null,
447
+ subtext: null,
448
+ course_type: "PROGRAM"
449
+ },
450
+ {
451
+ accuracy: 100,
452
+ attempt_location: "ANY",
453
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
454
+ card_header: "PRACTICE",
455
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
456
+ complete_status: !0,
457
+ desmos_calculator_enabled: !1,
458
+ due_date_ts: 1701754078,
459
+ is_lesson_v3_enabled: !1,
460
+ is_optional: !1,
461
+ is_timed: !1,
462
+ is_worksheet_v3: null,
463
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
464
+ marked_as_completed: !1,
465
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5fb0practice-b3-s3",
466
+ node_type: "PRACTICE",
467
+ sheet_statement: "Resume",
468
+ permissions: {
469
+ can_change_attempt_location: !0,
470
+ can_mark_familiar: !0,
471
+ can_reattempt: !1,
472
+ can_reset: !1,
473
+ can_resume: !1,
474
+ can_review: !1,
475
+ can_start: !1,
476
+ can_teacher_review: !1,
477
+ can_unassign: !0
478
+ },
479
+ sheet_time: 2400,
480
+ state: "IN_PROGRESS",
481
+ title: "Add Numbers up to 20 on a Number Line",
482
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
483
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
484
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
485
+ image_url: "",
486
+ image_hue: "BLUE",
487
+ total_questions: 0,
488
+ unlocked_on_ts: null,
489
+ user_attempt_id: null,
490
+ subtext: null,
491
+ course_type: "PROGRAM"
492
+ },
493
+ {
494
+ accuracy: 100,
495
+ attempt_location: "ANY",
496
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
497
+ card_header: "TEST",
498
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
499
+ complete_status: !0,
500
+ desmos_calculator_enabled: !1,
501
+ due_date_ts: 1701754078,
502
+ is_lesson_v3_enabled: !1,
503
+ is_optional: !0,
504
+ is_timed: !1,
505
+ is_worksheet_v3: null,
506
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
507
+ marked_as_completed: !1,
508
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5dynamic0c-b3-s4",
509
+ node_type: "DYNAMIC",
510
+ sheet_statement: "",
511
+ permissions: {
512
+ can_change_attempt_location: !0,
513
+ can_mark_familiar: !0,
514
+ can_reattempt: !1,
515
+ can_reset: !1,
516
+ can_resume: !1,
517
+ can_review: !1,
518
+ can_start: !1,
519
+ can_teacher_review: !1,
520
+ can_unassign: !0
521
+ },
522
+ sheet_time: 2400,
523
+ state: "COMPLETED",
524
+ title: "Add Numbers up to 20 on a Number Line",
525
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
526
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
527
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
528
+ image_url: "",
529
+ image_hue: "BLUE",
530
+ total_questions: 0,
531
+ unlocked_on_ts: null,
532
+ user_attempt_id: null,
533
+ subtext: null,
534
+ course_type: "PROGRAM"
535
+ },
536
+ {
537
+ accuracy: 100,
538
+ attempt_location: "ANY",
539
+ block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e",
540
+ card_header: "PUZZLE",
541
+ chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
542
+ complete_status: !0,
543
+ desmos_calculator_enabled: !1,
544
+ due_date_ts: 1701754078,
545
+ is_lesson_v3_enabled: !1,
546
+ is_optional: !0,
547
+ is_timed: !1,
548
+ is_worksheet_v3: null,
549
+ learnosity_activity_ref: "Add-Subtract-upto-20-NumberLine-SG1.W01",
550
+ marked_as_completed: !1,
551
+ node_id: "382ca35a-b666-4d4e-b7a2-32a00fb5p10c-b3-s5",
552
+ node_type: "PUZZLE_EASY",
553
+ sheet_statement: "Locked",
554
+ permissions: {
555
+ can_change_attempt_location: !0,
556
+ can_mark_familiar: !0,
557
+ can_reattempt: !1,
558
+ can_reset: !1,
559
+ can_resume: !1,
560
+ can_review: !1,
561
+ can_start: !1,
562
+ can_teacher_review: !1,
563
+ can_unassign: !0
564
+ },
565
+ sheet_time: 2400,
566
+ state: "LOCKED",
567
+ title: "Add Numbers up to 20 on a Number Line",
568
+ user_chapter_id: "e43fba28-858f-4a4a-8d26-82cf644a4368",
569
+ user_node_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
570
+ worksheet_id: "000009c8-8dfc-11ea-8fc9-02420a00c291",
571
+ image_url: "",
572
+ image_hue: "BLUE",
573
+ total_questions: 0,
574
+ unlocked_on_ts: null,
575
+ user_attempt_id: null,
576
+ subtext: null,
577
+ course_type: "PROGRAM"
578
+ }
579
+ ],
580
+ user_block_id: "3aba71a4-faa3-11eb-bd5f-fa7908af3c0e [can be null]"
581
+ }
582
+ ];
583
+ export {
584
+ a as BLOCK_MOCKS,
585
+ e as PROGRESS_STAT_MOCK
586
+ };
587
+ //# sourceMappingURL=chapter-page-journey-mock-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chapter-page-journey-mock-data.js","sources":["../../../../src/features/journey/mocks/chapter-page-journey-mock-data.ts"],"sourcesContent":["import type { IChapterBlockData } from '../../chapters-v2/chapter-details/chapter-details-types';\n\nexport const PROGRESS_STAT_MOCK = {\n mandatory: {\n completed: 12,\n total: 20,\n },\n classwork: {\n completed: 10,\n total: 10,\n },\n optional: {\n completed: 2,\n total: 2,\n },\n};\n\nexport const BLOCK_MOCKS = [\n {\n block_type: 'RECAP',\n chapter_code: 'USCC.G1.ADDSUB',\n code: 'USCC.G1.ADDSUB.V3.B1',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e-block-1',\n is_skipped: false,\n name: 'Add and Subtract Numbers up to 20 on a number line',\n permissions: {\n can_skip: true,\n can_un_skip: false,\n },\n program_id: '8204eca8-7ede-11e9-baea-0242ac120005',\n section_code: 'GOALS',\n sheets: [\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'RECAP',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0k-b1-s1',\n node_type: 'RECAP',\n sheet_statement: '',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: true,\n can_reset: false,\n can_resume: false,\n can_review: true,\n can_start: false,\n can_teacher_review: true,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'COMPLETED',\n title: 'Add Numbers',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'RECAP',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0k',\n node_type: 'RECAP',\n sheet_statement: '',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: true,\n can_review: false,\n can_start: false,\n can_teacher_review: true,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'IN_PROGRESS',\n title: 'RECAP 2 - Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n ],\n user_block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e [can be null]',\n },\n {\n block_type: 'GOAL',\n chapter_code: 'USCC.G1.ADDSUB',\n code: 'USCC.G1.ADDSUB.V3.B1',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e-block-2',\n is_skipped: false,\n name: 'Add and Subtract Numbers up to 20 on a number line',\n permissions: {\n can_skip: true,\n can_un_skip: false,\n },\n program_id: '8204eca8-7ede-11e9-baea-0242ac120005',\n section_code: 'GOALS',\n sheets: [\n {\n accuracy: 100,\n attempt_location: 'INCLASS',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'LEARN 1',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b2-s1',\n node_type: 'LEARNING',\n sheet_statement: 'Add Numbers up to 20 on a Number Line',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: true,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'COMPLETED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'LEARN 2',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b2-s2',\n node_type: 'LEARNING',\n sheet_statement: 'Add Numbers up to 20 on a Number Line',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'WAIT_FOR_REVIEW',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'PRACTICE',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0practice-b2-s3',\n node_type: 'PRACTICE',\n sheet_statement: 'Resume',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: true,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'IN_PROGRESS',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'TEST',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5dynamic0c-b2-s4',\n node_type: 'DYNAMIC',\n sheet_statement: '',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: true,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'COMPLETED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'PUZZLE',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5p10c-b2-s5',\n node_type: 'PUZZLE_EASY',\n sheet_statement: 'Locked',\n permissions: {\n can_change_attempt_location: false,\n can_mark_familiar: false,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'LOCKED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n ],\n user_block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e [can be null]',\n },\n {\n block_type: 'GOAL',\n chapter_code: 'USCC.G1.ADDSUB',\n code: 'USCC.G1.ADDSUB.V3.B1',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e-block-3',\n is_skipped: true,\n name: 'Add and Subtract Numbers up to 20 on a number line',\n permissions: {\n can_skip: false,\n can_un_skip: true,\n },\n program_id: '8204eca8-7ede-11e9-baea-0242ac120005',\n section_code: 'GOALS',\n sheets: [\n {\n accuracy: 100,\n attempt_location: 'INCLASS',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'LEARN 1',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b3-s1',\n node_type: 'LEARNING',\n sheet_statement: '',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'COMPLETED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'LEARN 2',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0c-b3-s2',\n node_type: 'LEARNING',\n sheet_statement: '',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'COMPLETED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'PRACTICE',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5fb0practice-b3-s3',\n node_type: 'PRACTICE',\n sheet_statement: 'Resume',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'IN_PROGRESS',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'TEST',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5dynamic0c-b3-s4',\n node_type: 'DYNAMIC',\n sheet_statement: '',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'COMPLETED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n {\n accuracy: 100,\n attempt_location: 'ANY',\n block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e',\n card_header: 'PUZZLE',\n chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n complete_status: true,\n desmos_calculator_enabled: false,\n due_date_ts: 1701754078,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'Add-Subtract-upto-20-NumberLine-SG1.W01',\n marked_as_completed: false,\n node_id: '382ca35a-b666-4d4e-b7a2-32a00fb5p10c-b3-s5',\n node_type: 'PUZZLE_EASY',\n sheet_statement: 'Locked',\n permissions: {\n can_change_attempt_location: true,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: false,\n can_teacher_review: false,\n can_unassign: true,\n },\n sheet_time: 2400,\n state: 'LOCKED',\n title: 'Add Numbers up to 20 on a Number Line',\n user_chapter_id: 'e43fba28-858f-4a4a-8d26-82cf644a4368',\n user_node_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n worksheet_id: '000009c8-8dfc-11ea-8fc9-02420a00c291',\n image_url: '',\n image_hue: 'BLUE',\n total_questions: 0,\n unlocked_on_ts: null,\n user_attempt_id: null,\n subtext: null,\n course_type: 'PROGRAM',\n },\n ],\n user_block_id: '3aba71a4-faa3-11eb-bd5f-fa7908af3c0e [can be null]',\n },\n] as IChapterBlockData[];\n"],"names":["PROGRESS_STAT_MOCK","BLOCK_MOCKS"],"mappings":"AAEO,MAAMA,IAAqB;AAAA,EAChC,WAAW;AAAA,IACT,WAAW;AAAA,IACX,OAAO;AAAA,EACT;AAAA,EACA,WAAW;AAAA,IACT,WAAW;AAAA,IACX,OAAO;AAAA,EACT;AAAA,EACA,UAAU;AAAA,IACR,WAAW;AAAA,IACX,OAAO;AAAA,EACT;AACF,GAEaC,IAAc;AAAA,EACzB;AAAA,IACE,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,MAAM;AAAA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;AAAA,QAChB,iBAAiB;AAAA,QACjB,SAAS;AAAA,QACT,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IACA,eAAe;AAAA,EACjB;AACF;"}
package/dist/index.d.ts CHANGED
@@ -813,7 +813,7 @@ declare interface IChapterDetails extends IBlockSectionsCallbacks {
813
813
  userChapterId: string;
814
814
  studentId: string;
815
815
  onExit?: () => void;
816
- startChapterPageJourney?: ({ chapterDetails, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
816
+ startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
817
817
  chapterPageRef?: React.RefObject<HTMLDivElement>;
818
818
  bannerRef?: React.RefObject<HTMLDivElement>;
819
819
  coreBlocksRef?: React.RefObject<HTMLDivElement>;
@@ -883,8 +883,9 @@ declare interface IChaptersListProps {
883
883
 
884
884
  declare interface IChapterStartJourneyProps {
885
885
  chapterDetails: IUserChapterData;
886
+ userChapterId: string;
886
887
  studentId: string;
887
- userType: 'STUDENT' | 'TEACHER';
888
+ userType: TUserTypes;
888
889
  }
889
890
 
890
891
  declare interface IChapterState {
@@ -1336,6 +1337,7 @@ export declare interface IHomepageStartJourneyProps {
1336
1337
 
1337
1338
  declare interface IHomepageStartJourneyProps_2 {
1338
1339
  chapterDetails: IUserChapterData;
1340
+ userChapterId: string;
1339
1341
  studentId: string;
1340
1342
  userType: TUserTypes;
1341
1343
  }
@@ -5285,7 +5287,7 @@ export declare const useChapterPageJourney: () => {
5285
5287
  chapterPageRef: RefObject<HTMLDivElement>;
5286
5288
  bannerRef: RefObject<HTMLDivElement>;
5287
5289
  coreBlocksRef: RefObject<HTMLDivElement>;
5288
- startJourney: ({ chapterDetails, studentId, userType }: IChapterStartJourneyProps) => void;
5290
+ startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
5289
5291
  };
5290
5292
 
5291
5293
  export declare const useCircleSounds: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "2.9.9-as3",
3
+ "version": "2.9.9-as4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"