@cuemath/leap 3.5.24-as1 → 3.5.24-as2

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,13 +1,13 @@
1
- import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
- import { useCallback as p, useEffect as f } from "react";
3
- import { useMonthlyReportGet as l } from "./api/use-monthly-report-get.js";
4
- import c from "../../ui/loader/app-loader/app-loader.js";
5
- import u from "../../ui/error/error.js";
6
- import { MonthlyReportContainer as d } from "./monthly-report.styled.js";
7
- import h from "./comps/goals/goals.js";
8
- import g from "./comps/activities/activities.js";
9
- import x from "../../ui/layout/flex-view.js";
10
- const y = ({
1
+ import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
+ import { memo as p, useCallback as f, useEffect as l } from "react";
3
+ import { useMonthlyReportGet as c } from "./api/use-monthly-report-get.js";
4
+ import u from "../../ui/loader/app-loader/app-loader.js";
5
+ import d from "../../ui/error/error.js";
6
+ import { MonthlyReportContainer as h } from "./monthly-report.styled.js";
7
+ import g from "./comps/goals/goals.js";
8
+ import x from "./comps/activities/activities.js";
9
+ import y from "../../ui/layout/flex-view.js";
10
+ const R = ({
11
11
  reportId: o,
12
12
  onPuzzleClick: s
13
13
  // onDateClick,
@@ -15,20 +15,20 @@ const y = ({
15
15
  }) => {
16
16
  const {
17
17
  get: i,
18
- data: r,
18
+ data: e,
19
19
  isProcessing: n,
20
- isProcessingFailed: a
21
- } = l(), e = p(() => {
20
+ isProcessingFailed: m
21
+ } = c(), r = f(() => {
22
22
  i(o);
23
23
  }, [i, o]);
24
- return f(() => {
25
- e();
26
- }, [e]), n || !r ? /* @__PURE__ */ t(c, { height: "100dvh" }) : a ? /* @__PURE__ */ t(x, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ t(u, { onTryAgain: e }) }) : r ? /* @__PURE__ */ m(d, { children: [
27
- /* @__PURE__ */ t(h, { milestones: r.progress_data.user_milestones, isExpended: !0 }),
28
- /* @__PURE__ */ t(g, { activities: r.progress_data.activities, onPuzzleClick: s })
24
+ return l(() => {
25
+ r();
26
+ }, [r]), n || !e ? /* @__PURE__ */ t(u, { height: "100dvh" }) : m ? /* @__PURE__ */ t(y, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ t(d, { onTryAgain: r }) }) : e ? /* @__PURE__ */ a(h, { children: [
27
+ /* @__PURE__ */ t(g, { milestones: e.progress_data.user_milestones, isExpended: !0 }),
28
+ /* @__PURE__ */ t(x, { activities: e.progress_data.activities, onPuzzleClick: s })
29
29
  ] }) : null;
30
- }, D = y;
30
+ }, F = p(R);
31
31
  export {
32
- D as default
32
+ F as default
33
33
  };
34
34
  //# sourceMappingURL=monthly-report.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monthly-report.js","sources":["../../../../src/features/timeline/monthly-report/monthly-report.tsx"],"sourcesContent":["import { type FC, useCallback, useEffect } from 'react';\n\nimport { type IMonthlyReportProps } from './monthly-report.types';\nimport { useMonthlyReportGet } from './api/use-monthly-report-get';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport Error from '../../ui/error/error';\nimport * as Styled from './monthly-report.styled';\nimport Goals from './comps/goals/goals';\nimport Activities from './comps/activities/activities';\nimport FlexView from '../../ui/layout/flex-view';\n// import Achievements from './comps/achievements/achievements';\n\nconst MonthlyReport: FC<IMonthlyReportProps> = ({\n reportId,\n onPuzzleClick,\n // onDateClick,\n // scrollAreaHeight,\n}) => {\n const {\n get: getReport,\n data: reportData,\n isProcessing,\n isProcessingFailed,\n } = useMonthlyReportGet();\n\n const fetchData = useCallback(() => {\n getReport(reportId);\n }, [getReport, reportId]);\n\n // Fetch data on mount\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessing || !reportData) {\n return <AppLoader height=\"100dvh\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Error onTryAgain={fetchData} />\n </FlexView>\n );\n }\n\n if (!reportData) {\n return null;\n }\n\n return (\n <Styled.MonthlyReportContainer>\n <Goals milestones={reportData.progress_data.user_milestones} isExpended={true} />\n <Activities activities={reportData.progress_data.activities} onPuzzleClick={onPuzzleClick} />\n {/* <Achievements achievements={reportData.achievements} /> */}\n {/* Attendance section would be added here when attendance data is available */}\n {/* <Attendance attendanceData={attendanceData} onDateClick={onDateClick} /> */}\n </Styled.MonthlyReportContainer>\n );\n};\n\nexport default MonthlyReport;\n"],"names":["MonthlyReport","reportId","onPuzzleClick","getReport","reportData","isProcessing","isProcessingFailed","useMonthlyReportGet","fetchData","useCallback","useEffect","jsx","AppLoader","FlexView","Error","jsxs","Styled.MonthlyReportContainer","Goals","Activities","MonthlyReport$1"],"mappings":";;;;;;;;;AAYA,MAAMA,IAAyC,CAAC;AAAA,EAC9C,UAAAC;AAAA,EACA,eAAAC;AAAA;AAAA;AAGF,MAAM;AACE,QAAA;AAAA,IACJ,KAAKC;AAAA,IACL,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,oBAAAC;AAAA,MACEC,EAAoB,GAElBC,IAAYC,EAAY,MAAM;AAClC,IAAAN,EAAUF,CAAQ;AAAA,EAAA,GACjB,CAACE,GAAWF,CAAQ,CAAC;AAOpB,SAJJS,EAAU,MAAM;AACJ,IAAAF;EAAA,GACT,CAACA,CAAS,CAAC,GAEVH,KAAgB,CAACD,IACZ,gBAAAO,EAACC,GAAU,EAAA,QAAO,SAAS,CAAA,IAGhCN,IAEC,gBAAAK,EAAAE,GAAA,EAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAC,gBAAAF,EAAAG,GAAA,EAAM,YAAYN,EAAA,CAAW,EAChC,CAAA,IAICJ,IAKH,gBAAAW,EAACC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAL,EAACM,KAAM,YAAYb,EAAW,cAAc,iBAAiB,YAAY,IAAM;AAAA,sBAC9Ec,GAAW,EAAA,YAAYd,EAAW,cAAc,YAAY,eAAAF,GAA8B;AAAA,EAI7F,EAAA,CAAA,IAVO;AAYX,GAEAiB,IAAenB;"}
1
+ {"version":3,"file":"monthly-report.js","sources":["../../../../src/features/timeline/monthly-report/monthly-report.tsx"],"sourcesContent":["import { type FC, memo, useCallback, useEffect } from 'react';\n\nimport { type IMonthlyReportProps } from './monthly-report.types';\nimport { useMonthlyReportGet } from './api/use-monthly-report-get';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport Error from '../../ui/error/error';\nimport * as Styled from './monthly-report.styled';\nimport Goals from './comps/goals/goals';\nimport Activities from './comps/activities/activities';\nimport FlexView from '../../ui/layout/flex-view';\n// import Achievements from './comps/achievements/achievements';\n\nconst MonthlyReport: FC<IMonthlyReportProps> = ({\n reportId,\n onPuzzleClick,\n // onDateClick,\n // scrollAreaHeight,\n}) => {\n const {\n get: getReport,\n data: reportData,\n isProcessing,\n isProcessingFailed,\n } = useMonthlyReportGet();\n\n const fetchData = useCallback(() => {\n getReport(reportId);\n }, [getReport, reportId]);\n\n // Fetch data on mount\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessing || !reportData) {\n return <AppLoader height=\"100dvh\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Error onTryAgain={fetchData} />\n </FlexView>\n );\n }\n\n if (!reportData) {\n return null;\n }\n\n return (\n <Styled.MonthlyReportContainer>\n <Goals milestones={reportData.progress_data.user_milestones} isExpended={true} />\n <Activities activities={reportData.progress_data.activities} onPuzzleClick={onPuzzleClick} />\n {/* <Achievements achievements={reportData.achievements} /> */}\n {/* Attendance section would be added here when attendance data is available */}\n {/* <Attendance attendanceData={attendanceData} onDateClick={onDateClick} /> */}\n </Styled.MonthlyReportContainer>\n );\n};\n\nexport default memo(MonthlyReport);\n"],"names":["MonthlyReport","reportId","onPuzzleClick","getReport","reportData","isProcessing","isProcessingFailed","useMonthlyReportGet","fetchData","useCallback","useEffect","jsx","AppLoader","FlexView","Error","jsxs","Styled.MonthlyReportContainer","Goals","Activities","monthlyReport","memo"],"mappings":";;;;;;;;;AAYA,MAAMA,IAAyC,CAAC;AAAA,EAC9C,UAAAC;AAAA,EACA,eAAAC;AAAA;AAAA;AAGF,MAAM;AACE,QAAA;AAAA,IACJ,KAAKC;AAAA,IACL,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,oBAAAC;AAAA,MACEC,EAAoB,GAElBC,IAAYC,EAAY,MAAM;AAClC,IAAAN,EAAUF,CAAQ;AAAA,EAAA,GACjB,CAACE,GAAWF,CAAQ,CAAC;AAOpB,SAJJS,EAAU,MAAM;AACJ,IAAAF;EAAA,GACT,CAACA,CAAS,CAAC,GAEVH,KAAgB,CAACD,IACZ,gBAAAO,EAACC,GAAU,EAAA,QAAO,SAAS,CAAA,IAGhCN,IAEC,gBAAAK,EAAAE,GAAA,EAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAC,gBAAAF,EAAAG,GAAA,EAAM,YAAYN,EAAA,CAAW,EAChC,CAAA,IAICJ,IAKH,gBAAAW,EAACC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAL,EAACM,KAAM,YAAYb,EAAW,cAAc,iBAAiB,YAAY,IAAM;AAAA,sBAC9Ec,GAAW,EAAA,YAAYd,EAAW,cAAc,YAAY,eAAAF,GAA8B;AAAA,EAI7F,EAAA,CAAA,IAVO;AAYX,GAEeiB,IAAAC,EAAKpB,CAAa;"}
@@ -1,64 +1,74 @@
1
- import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
- import { GoalsSection as u } from "./monthly-card.styled.js";
3
- import _ from "../../../monthly-report/comps/goals/goals-card/goals-card.js";
4
- import c from "../../../../ui/layout/flex-view.js";
1
+ import { jsx as i, jsxs as n } from "react/jsx-runtime";
2
+ import { memo as _ } from "react";
3
+ import { GoalsSection as b } from "./monthly-card.styled.js";
4
+ import u from "../../../monthly-report/comps/goals/goals-card/goals-card.js";
5
+ import a from "../../../../ui/layout/flex-view.js";
5
6
  import C from "../../../../ui/buttons/clickable/clickable.js";
6
- import R from "../../../../../assets/line-icons/icons/carat-right.js";
7
- import $ from "../../../../ui/text/text.js";
8
- import x from "../../../../ui/image/image.js";
9
- import { REPORT_CONFIG as t } from "../../constants.js";
10
- const j = ({
11
- report: i,
12
- year: f,
13
- month: r,
14
- onReportClick: s,
7
+ import $ from "../../../../../assets/line-icons/icons/carat-right.js";
8
+ import M from "../../../../ui/text/text.js";
9
+ import P from "../../../../ui/image/image.js";
10
+ import { monthNames as x, REPORT_CONFIG as c } from "../../constants.js";
11
+ import { REPORT_TYPE as w } from "../../monthly-timeline.types.js";
12
+ const I = ({
13
+ report: o,
14
+ year: d,
15
+ month: f,
16
+ onReportClick: r,
15
17
  reportType: e,
16
18
  courseStream: h
17
19
  }) => {
18
- var m;
19
- const g = () => {
20
- s && (i != null && i.id) && s(i == null ? void 0 : i.id, e, f, r);
20
+ var s;
21
+ const R = () => {
22
+ r && r((o == null ? void 0 : o.id) || "", e, d, x[f - 1] || "");
21
23
  };
22
- let o = { label: "", icon: "" };
24
+ let l = { label: "", icon: "" };
23
25
  if (e === "PTM")
24
- o = t.PTM ?? { label: "Report", icon: "full" };
26
+ l = c.PTM ?? { label: "Report", icon: "full" };
25
27
  else if (e === "MPR_V1")
26
- o = t.MPR_V1 ?? { label: "Report", icon: "full" };
28
+ l = c.MPR_V1 ?? { label: "Report", icon: "full" };
27
29
  else if (e === "MPR_V2") {
28
- const n = (h || "").toLowerCase();
29
- o = t["MPR_V2_" + n] ?? { label: "Report", icon: "full" };
30
+ const t = (h || "").toLowerCase();
31
+ l = c["MPR_V2_" + t] ?? { label: "Report", icon: "full" };
30
32
  }
31
- const d = e === "PTM" ? [] : ((m = i == null ? void 0 : i.progress_data) == null ? void 0 : m.user_milestones) || [];
32
- return /* @__PURE__ */ l(C, { onClick: g, disabled: !(i != null && i.id), label: "Report Card click", children: /* @__PURE__ */ a(c, { children: [
33
- /* @__PURE__ */ l(u, { $borderColor: "BLACK_1", $marginBottom: 1, children: !!d.length && d.map((n, b) => /* @__PURE__ */ l(
34
- _,
35
- {
36
- category: n.goal_category,
37
- milestone: n,
38
- isExpended: !1
39
- },
40
- n.user_milestone_id || b
41
- )) }),
42
- /* @__PURE__ */ a(
43
- c,
44
- {
45
- $flexDirection: "row",
46
- $alignItems: "center",
47
- $justifyContent: "space-between",
48
- $background: "BLACK_1",
49
- $gutterX: 0.75,
50
- children: [
51
- /* @__PURE__ */ a(c, { $flexDirection: "row", $alignItems: "center", $flexGapX: 0.5, children: [
52
- /* @__PURE__ */ l(x, { src: o.icon, alt: "report icon", withLoader: !0, width: 40, height: 40 }),
53
- /* @__PURE__ */ l($, { $renderAs: "ub2-bold", $color: "WHITE", children: o.label })
54
- ] }),
55
- /* @__PURE__ */ l(R, { width: 24, height: 24, color: "WHITE" })
56
- ]
57
- }
58
- )
59
- ] }) });
60
- };
33
+ const m = e === "PTM" ? [] : ((s = o == null ? void 0 : o.progress_data) == null ? void 0 : s.user_milestones) || [];
34
+ return /* @__PURE__ */ i(
35
+ C,
36
+ {
37
+ onClick: R,
38
+ disabled: !(o != null && o.id) && e !== w.MPR_V1,
39
+ label: "Report Card click",
40
+ children: /* @__PURE__ */ n(a, { children: [
41
+ /* @__PURE__ */ i(b, { $borderColor: "BLACK_1", $marginBottom: 1, children: !!m.length && m.map((t, g) => /* @__PURE__ */ i(
42
+ u,
43
+ {
44
+ category: t.goal_category,
45
+ milestone: t,
46
+ isExpended: !1
47
+ },
48
+ t.user_milestone_id || g
49
+ )) }),
50
+ /* @__PURE__ */ n(
51
+ a,
52
+ {
53
+ $flexDirection: "row",
54
+ $alignItems: "center",
55
+ $justifyContent: "space-between",
56
+ $background: "BLACK_1",
57
+ $gutterX: 0.75,
58
+ children: [
59
+ /* @__PURE__ */ n(a, { $flexDirection: "row", $alignItems: "center", $flexGapX: 0.5, children: [
60
+ /* @__PURE__ */ i(P, { src: l.icon, alt: "report icon", withLoader: !0, width: 40, height: 40 }),
61
+ /* @__PURE__ */ i(M, { $renderAs: "ub2-bold", $color: "WHITE", children: l.label })
62
+ ] }),
63
+ /* @__PURE__ */ i($, { width: 24, height: 24, color: "WHITE" })
64
+ ]
65
+ }
66
+ )
67
+ ] })
68
+ }
69
+ );
70
+ }, D = _(I);
61
71
  export {
62
- j as default
72
+ D as default
63
73
  };
64
74
  //# sourceMappingURL=monthly-card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monthly-card.js","sources":["../../../../../../src/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.tsx"],"sourcesContent":["import { type FC } from 'react';\n\nimport { type IMonthlyReportCardProps } from './monthly-card-types';\nimport * as Styled from './monthly-card.styled';\nimport GoalsCard from '../../../monthly-report/comps/goals/goals-card/goals-card';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Clickable from '../../../../ui/buttons/clickable/clickable';\nimport CaratRightIcon from '../../../../../assets/line-icons/icons/carat-right';\nimport Text from '../../../../ui/text/text';\nimport Image from '../../../../ui/image/image';\nimport { REPORT_CONFIG } from '../../constants';\n\nconst MonthlyReportCard: FC<IMonthlyReportCardProps> = ({\n report,\n year,\n month,\n onReportClick,\n reportType,\n courseStream,\n}) => {\n const handleReportClick = () => {\n if (onReportClick && report?.id) {\n onReportClick(report?.id, reportType, year, month);\n }\n };\n\n let config = { label: '', icon: '' };\n\n if (reportType === 'PTM') {\n config = REPORT_CONFIG.PTM ?? { label: 'Report', icon: 'full' };\n } else if (reportType === 'MPR_V1') {\n config = REPORT_CONFIG.MPR_V1 ?? { label: 'Report', icon: 'full' };\n } else if (reportType === 'MPR_V2') {\n const courseKey = (courseStream || '').toLowerCase();\n\n config = REPORT_CONFIG['MPR_V2_' + courseKey] ?? { label: 'Report', icon: 'full' };\n }\n\n const reportMilestones = reportType === 'PTM' ? [] : report?.progress_data?.user_milestones || [];\n\n return (\n <Clickable onClick={handleReportClick} disabled={!report?.id} label=\"Report Card click\">\n <FlexView>\n <Styled.GoalsSection $borderColor=\"BLACK_1\" $marginBottom={1}>\n {!!reportMilestones.length &&\n reportMilestones.map((milestone, milestoneIndex) => (\n <GoalsCard\n key={milestone.user_milestone_id || milestoneIndex}\n category={milestone.goal_category}\n milestone={milestone}\n isExpended={false}\n />\n ))}\n </Styled.GoalsSection>\n <FlexView\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"space-between\"\n $background=\"BLACK_1\"\n $gutterX={0.75}\n >\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $flexGapX={0.5}>\n <Image src={config.icon} alt=\"report icon\" withLoader width={40} height={40} />\n <Text $renderAs=\"ub2-bold\" $color=\"WHITE\">\n {config.label}\n </Text>\n </FlexView>\n <CaratRightIcon width={24} height={24} color=\"WHITE\" />\n </FlexView>\n </FlexView>\n </Clickable>\n );\n};\n\nexport default MonthlyReportCard;\n"],"names":["MonthlyReportCard","report","year","month","onReportClick","reportType","courseStream","handleReportClick","config","REPORT_CONFIG","courseKey","reportMilestones","_a","jsx","Clickable","jsxs","FlexView","Styled.GoalsSection","milestone","milestoneIndex","GoalsCard","Image","Text","CaratRightIcon"],"mappings":";;;;;;;;;AAYA,MAAMA,IAAiD,CAAC;AAAA,EACtD,QAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC;AAAA,EACA,YAAAC;AAAA,EACA,cAAAC;AACF,MAAM;;AACJ,QAAMC,IAAoB,MAAM;AAC1B,IAAAH,MAAiBH,KAAA,QAAAA,EAAQ,OAC3BG,EAAcH,KAAA,gBAAAA,EAAQ,IAAII,GAAYH,GAAMC,CAAK;AAAA,EACnD;AAGF,MAAIK,IAAS,EAAE,OAAO,IAAI,MAAM,GAAG;AAEnC,MAAIH,MAAe;AACjB,IAAAG,IAASC,EAAc,OAAO,EAAE,OAAO,UAAU,MAAM;WAC9CJ,MAAe;AACxB,IAAAG,IAASC,EAAc,UAAU,EAAE,OAAO,UAAU,MAAM;WACjDJ,MAAe,UAAU;AAC5B,UAAAK,KAAaJ,KAAgB,IAAI,YAAY;AAE1C,IAAAE,IAAAC,EAAc,YAAYC,CAAS,KAAK,EAAE,OAAO,UAAU,MAAM;EAC5E;AAEM,QAAAC,IAAmBN,MAAe,QAAQ,CAAA,MAAKO,IAAAX,KAAA,gBAAAA,EAAQ,kBAAR,gBAAAW,EAAuB,oBAAmB;AAG7F,SAAA,gBAAAC,EAACC,GAAU,EAAA,SAASP,GAAmB,UAAU,EAACN,KAAA,QAAAA,EAAQ,KAAI,OAAM,qBAClE,UAAA,gBAAAc,EAACC,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAH,EAACI,GAAA,EAAoB,cAAa,WAAU,eAAe,GACxD,UAAC,CAAA,CAACN,EAAiB,UAClBA,EAAiB,IAAI,CAACO,GAAWC,MAC/B,gBAAAN;AAAA,MAACO;AAAA,MAAA;AAAA,QAEC,UAAUF,EAAU;AAAA,QACpB,WAAAA;AAAA,QACA,YAAY;AAAA,MAAA;AAAA,MAHPA,EAAU,qBAAqBC;AAAA,IAKvC,CAAA,GACL;AAAA,IACA,gBAAAJ;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,gBAAe;AAAA,QACf,aAAY;AAAA,QACZ,iBAAgB;AAAA,QAChB,aAAY;AAAA,QACZ,UAAU;AAAA,QAEV,UAAA;AAAA,UAAA,gBAAAD,EAACC,KAAS,gBAAe,OAAM,aAAY,UAAS,WAAW,KAC7D,UAAA;AAAA,YAAC,gBAAAH,EAAAQ,GAAA,EAAM,KAAKb,EAAO,MAAM,KAAI,eAAc,YAAU,IAAC,OAAO,IAAI,QAAQ,GAAI,CAAA;AAAA,8BAC5Ec,GAAK,EAAA,WAAU,YAAW,QAAO,SAC/B,YAAO,OACV;AAAA,UAAA,GACF;AAAA,4BACCC,GAAe,EAAA,OAAO,IAAI,QAAQ,IAAI,OAAM,SAAQ;AAAA,QAAA;AAAA,MAAA;AAAA,IACvD;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ;"}
1
+ {"version":3,"file":"monthly-card.js","sources":["../../../../../../src/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.tsx"],"sourcesContent":["import { memo, type FC } from 'react';\n\nimport { type IMonthlyReportCardProps } from './monthly-card-types';\nimport * as Styled from './monthly-card.styled';\nimport GoalsCard from '../../../monthly-report/comps/goals/goals-card/goals-card';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Clickable from '../../../../ui/buttons/clickable/clickable';\nimport CaratRightIcon from '../../../../../assets/line-icons/icons/carat-right';\nimport Text from '../../../../ui/text/text';\nimport Image from '../../../../ui/image/image';\nimport { monthNames, REPORT_CONFIG } from '../../constants';\nimport { REPORT_TYPE } from '../../monthly-timeline.types';\n\nconst MonthlyReportCard: FC<IMonthlyReportCardProps> = ({\n report,\n year,\n month,\n onReportClick,\n reportType,\n courseStream,\n}) => {\n const handleReportClick = () => {\n if (onReportClick) {\n onReportClick(report?.id || '', reportType, year, monthNames[month - 1] || '');\n }\n };\n\n let config = { label: '', icon: '' };\n\n if (reportType === 'PTM') {\n config = REPORT_CONFIG.PTM ?? { label: 'Report', icon: 'full' };\n } else if (reportType === 'MPR_V1') {\n config = REPORT_CONFIG.MPR_V1 ?? { label: 'Report', icon: 'full' };\n } else if (reportType === 'MPR_V2') {\n const courseKey = (courseStream || '').toLowerCase();\n\n config = REPORT_CONFIG['MPR_V2_' + courseKey] ?? { label: 'Report', icon: 'full' };\n }\n\n const reportMilestones = reportType === 'PTM' ? [] : report?.progress_data?.user_milestones || [];\n\n return (\n <Clickable\n onClick={handleReportClick}\n disabled={!report?.id && reportType !== REPORT_TYPE.MPR_V1}\n label=\"Report Card click\"\n >\n <FlexView>\n <Styled.GoalsSection $borderColor=\"BLACK_1\" $marginBottom={1}>\n {!!reportMilestones.length &&\n reportMilestones.map((milestone, milestoneIndex) => (\n <GoalsCard\n key={milestone.user_milestone_id || milestoneIndex}\n category={milestone.goal_category}\n milestone={milestone}\n isExpended={false}\n />\n ))}\n </Styled.GoalsSection>\n <FlexView\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"space-between\"\n $background=\"BLACK_1\"\n $gutterX={0.75}\n >\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $flexGapX={0.5}>\n <Image src={config.icon} alt=\"report icon\" withLoader width={40} height={40} />\n <Text $renderAs=\"ub2-bold\" $color=\"WHITE\">\n {config.label}\n </Text>\n </FlexView>\n <CaratRightIcon width={24} height={24} color=\"WHITE\" />\n </FlexView>\n </FlexView>\n </Clickable>\n );\n};\n\nexport default memo(MonthlyReportCard);\n"],"names":["MonthlyReportCard","report","year","month","onReportClick","reportType","courseStream","handleReportClick","monthNames","config","REPORT_CONFIG","courseKey","reportMilestones","_a","jsx","Clickable","REPORT_TYPE","FlexView","Styled.GoalsSection","milestone","milestoneIndex","GoalsCard","jsxs","Image","Text","CaratRightIcon","MonthlyReportCard$1","memo"],"mappings":";;;;;;;;;;;AAaA,MAAMA,IAAiD,CAAC;AAAA,EACtD,QAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC;AAAA,EACA,YAAAC;AAAA,EACA,cAAAC;AACF,MAAM;;AACJ,QAAMC,IAAoB,MAAM;AAC9B,IAAIH,KACYA,GAAAH,KAAA,gBAAAA,EAAQ,OAAM,IAAII,GAAYH,GAAMM,EAAWL,IAAQ,CAAC,KAAK,EAAE;AAAA,EAC/E;AAGF,MAAIM,IAAS,EAAE,OAAO,IAAI,MAAM,GAAG;AAEnC,MAAIJ,MAAe;AACjB,IAAAI,IAASC,EAAc,OAAO,EAAE,OAAO,UAAU,MAAM;WAC9CL,MAAe;AACxB,IAAAI,IAASC,EAAc,UAAU,EAAE,OAAO,UAAU,MAAM;WACjDL,MAAe,UAAU;AAC5B,UAAAM,KAAaL,KAAgB,IAAI,YAAY;AAE1C,IAAAG,IAAAC,EAAc,YAAYC,CAAS,KAAK,EAAE,OAAO,UAAU,MAAM;EAC5E;AAEM,QAAAC,IAAmBP,MAAe,QAAQ,CAAA,MAAKQ,IAAAZ,KAAA,gBAAAA,EAAQ,kBAAR,gBAAAY,EAAuB,oBAAmB;AAG7F,SAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAASR;AAAA,MACT,UAAU,EAACN,KAAA,QAAAA,EAAQ,OAAMI,MAAeW,EAAY;AAAA,MACpD,OAAM;AAAA,MAEN,4BAACC,GACC,EAAA,UAAA;AAAA,QAAA,gBAAAH,EAACI,GAAA,EAAoB,cAAa,WAAU,eAAe,GACxD,UAAC,CAAA,CAACN,EAAiB,UAClBA,EAAiB,IAAI,CAACO,GAAWC,MAC/B,gBAAAN;AAAA,UAACO;AAAA,UAAA;AAAA,YAEC,UAAUF,EAAU;AAAA,YACpB,WAAAA;AAAA,YACA,YAAY;AAAA,UAAA;AAAA,UAHPA,EAAU,qBAAqBC;AAAA,QAKvC,CAAA,GACL;AAAA,QACA,gBAAAE;AAAA,UAACL;AAAA,UAAA;AAAA,YACC,gBAAe;AAAA,YACf,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAChB,aAAY;AAAA,YACZ,UAAU;AAAA,YAEV,UAAA;AAAA,cAAA,gBAAAK,EAACL,KAAS,gBAAe,OAAM,aAAY,UAAS,WAAW,KAC7D,UAAA;AAAA,gBAAC,gBAAAH,EAAAS,GAAA,EAAM,KAAKd,EAAO,MAAM,KAAI,eAAc,YAAU,IAAC,OAAO,IAAI,QAAQ,GAAI,CAAA;AAAA,kCAC5Ee,GAAK,EAAA,WAAU,YAAW,QAAO,SAC/B,YAAO,OACV;AAAA,cAAA,GACF;AAAA,gCACCC,GAAe,EAAA,OAAO,IAAI,QAAQ,IAAI,OAAM,SAAQ;AAAA,YAAA;AAAA,UAAA;AAAA,QACvD;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeC,IAAAC,EAAK3B,CAAiB;"}
@@ -1,27 +1,28 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import d from "./comps/monthly-card/monthly-card.js";
3
- import n from "../../ui/layout/flex-view.js";
4
- const u = ({
5
- reports: p,
6
- onReportClick: t,
2
+ import { memo as n } from "react";
3
+ import m from "./comps/monthly-card/monthly-card.js";
4
+ import s from "../../ui/layout/flex-view.js";
5
+ const d = ({
6
+ reports: t,
7
+ onReportClick: p,
7
8
  month: a,
8
9
  year: l
9
- }) => /* @__PURE__ */ e(n, { $flexRowGapX: 1.5, children: p.map((r) => {
10
+ }) => /* @__PURE__ */ e(s, { $flexRowGapX: 1.5, children: t.map((r) => {
10
11
  var o;
11
12
  return /* @__PURE__ */ e(
12
- d,
13
+ m,
13
14
  {
14
15
  report: r.report_data,
15
16
  reportType: r.report_type,
16
17
  courseStream: r.course_stream,
17
18
  year: l,
18
19
  month: a,
19
- onReportClick: t
20
+ onReportClick: p
20
21
  },
21
22
  (o = r == null ? void 0 : r.report_data) == null ? void 0 : o.id
22
23
  );
23
- }) });
24
+ }) }), h = n(d);
24
25
  export {
25
- u as default
26
+ h as default
26
27
  };
27
28
  //# sourceMappingURL=monthly-timeline-view.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monthly-timeline-view.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline-view.tsx"],"sourcesContent":["import { type FC } from 'react';\n\nimport {\n type IMonthlyTimelineReport,\n type IMonthlyTimelineViewProps,\n} from './monthly-timeline.types';\nimport MonthlyReportCard from './comps/monthly-card/monthly-card';\nimport FlexView from '../../ui/layout/flex-view';\n\nconst MonthlyTimelineView: FC<IMonthlyTimelineViewProps> = ({\n reports,\n onReportClick,\n month,\n year,\n}) => {\n return (\n <FlexView $flexRowGapX={1.5}>\n {reports.map((item: IMonthlyTimelineReport) => (\n <MonthlyReportCard\n key={item?.report_data?.id}\n report={item.report_data}\n reportType={item.report_type}\n courseStream={item.course_stream}\n year={year}\n month={month}\n onReportClick={onReportClick}\n />\n ))}\n </FlexView>\n );\n};\n\nexport default MonthlyTimelineView;\n"],"names":["MonthlyTimelineView","reports","onReportClick","month","year","FlexView","item","jsx","MonthlyReportCard","_a"],"mappings":";;;AASA,MAAMA,IAAqD,CAAC;AAAA,EAC1D,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AACF,wBAEKC,GAAS,EAAA,cAAc,KACrB,UAAQJ,EAAA,IAAI,CAACK;;AACZ,yBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MAEC,QAAQF,EAAK;AAAA,MACb,YAAYA,EAAK;AAAA,MACjB,cAAcA,EAAK;AAAA,MACnB,MAAAF;AAAA,MACA,OAAAD;AAAA,MACA,eAAAD;AAAA,IAAA;AAAA,KANKO,IAAAH,KAAA,gBAAAA,EAAM,gBAAN,gBAAAG,EAAmB;AAAA,EAQ3B;AAAA,CAAA,EACH,CAAA;"}
1
+ {"version":3,"file":"monthly-timeline-view.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline-view.tsx"],"sourcesContent":["import { memo, type FC } from 'react';\n\nimport {\n type IMonthlyTimelineReport,\n type IMonthlyTimelineViewProps,\n} from './monthly-timeline.types';\nimport MonthlyReportCard from './comps/monthly-card/monthly-card';\nimport FlexView from '../../ui/layout/flex-view';\n\nconst MonthlyTimelineView: FC<IMonthlyTimelineViewProps> = ({\n reports,\n onReportClick,\n month,\n year,\n}) => {\n return (\n <FlexView $flexRowGapX={1.5}>\n {reports.map((item: IMonthlyTimelineReport) => (\n <MonthlyReportCard\n key={item?.report_data?.id}\n report={item.report_data}\n reportType={item.report_type}\n courseStream={item.course_stream}\n year={year}\n month={month}\n onReportClick={onReportClick}\n />\n ))}\n </FlexView>\n );\n};\n\nexport default memo(MonthlyTimelineView);\n"],"names":["MonthlyTimelineView","reports","onReportClick","month","year","FlexView","item","jsx","MonthlyReportCard","_a","MonthlyTimelineView$1","memo"],"mappings":";;;;AASA,MAAMA,IAAqD,CAAC;AAAA,EAC1D,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AACF,wBAEKC,GAAS,EAAA,cAAc,KACrB,UAAQJ,EAAA,IAAI,CAACK;;AACZ,yBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MAEC,QAAQF,EAAK;AAAA,MACb,YAAYA,EAAK;AAAA,MACjB,cAAcA,EAAK;AAAA,MACnB,MAAAF;AAAA,MACA,OAAAD;AAAA,MACA,eAAAD;AAAA,IAAA;AAAA,KANKO,IAAAH,KAAA,gBAAAA,EAAM,gBAAN,gBAAAG,EAAmB;AAAA,EAQ3B;AAAA,CAAA,EACH,CAAA,GAIWC,IAAAC,EAAKX,CAAmB;"}
@@ -1,15 +1,15 @@
1
1
  import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
- import { useCallback as d, useEffect as T } from "react";
3
- import { useMonthlyTimelineGet as $ } from "./api/use-monthly-timeline-get.js";
4
- import x from "./monthly-timeline-view.js";
5
- import w from "../../ui/loader/app-loader/app-loader.js";
2
+ import { memo as d, useCallback as T, useEffect as $ } from "react";
3
+ import { useMonthlyTimelineGet as x } from "./api/use-monthly-timeline-get.js";
4
+ import w from "./monthly-timeline-view.js";
5
+ import I from "../../ui/loader/app-loader/app-loader.js";
6
6
  import s from "../../ui/layout/flex-view.js";
7
- import I from "../../ui/text/text.js";
8
- import A from "../../ui/image/image.js";
7
+ import A from "../../ui/text/text.js";
8
+ import D from "../../ui/image/image.js";
9
9
  import l from "../../ui/separator/separator.js";
10
- import { yearImages as D, monthNames as F } from "./constants.js";
11
- import M from "../../ui/error/error.js";
12
- const Y = ({
10
+ import { yearImages as F, monthNames as Y } from "./constants.js";
11
+ import j from "../../ui/error/error.js";
12
+ const C = ({
13
13
  // userType,
14
14
  studentId: o,
15
15
  // courseStreams,
@@ -21,7 +21,7 @@ const Y = ({
21
21
  data: a,
22
22
  isProcessing: h,
23
23
  isProcessingFailed: f
24
- } = $(), t = d(() => {
24
+ } = x(), t = T(() => {
25
25
  n("", {
26
26
  studentId: o,
27
27
  // course_stream: courseStreams?.[0], // Use first course stream if available
@@ -29,22 +29,22 @@ const Y = ({
29
29
  // Get user's timezone
30
30
  });
31
31
  }, [n, o]);
32
- if (T(() => {
32
+ if ($(() => {
33
33
  t();
34
34
  }, [t]), h || !a)
35
- return /* @__PURE__ */ r(w, { height: "100dvh" });
35
+ return /* @__PURE__ */ r(I, { height: "100dvh" });
36
36
  if (f)
37
- return /* @__PURE__ */ r(s, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ r(M, { onTryAgain: t }) });
37
+ return /* @__PURE__ */ r(s, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ r(j, { onTryAgain: t }) });
38
38
  const p = (/* @__PURE__ */ new Date()).getFullYear();
39
39
  let i = null;
40
40
  return a.map((e) => {
41
- const y = e.year !== p && e.year !== i, m = D[e.year], g = /* @__PURE__ */ u(s, { $width: "100%", children: [
41
+ const y = e.year !== p && e.year !== i, m = F[e.year], g = /* @__PURE__ */ u(s, { $width: "100%", children: [
42
42
  /* @__PURE__ */ r(l, { heightX: 3 }),
43
- y && m && /* @__PURE__ */ r(A, { src: m, alt: e.year.toString() }),
44
- /* @__PURE__ */ r(I, { $renderAs: "ac4", $color: "BLACK_T_60", children: F[e.month - 1] }),
43
+ y && m && /* @__PURE__ */ r(D, { src: m, alt: e.year.toString() }),
44
+ /* @__PURE__ */ r(A, { $renderAs: "ac4", $color: "BLACK_T_60", children: Y[e.month - 1] }),
45
45
  /* @__PURE__ */ r(l, { heightX: 1 }),
46
46
  /* @__PURE__ */ r(
47
- x,
47
+ w,
48
48
  {
49
49
  reports: e.reports,
50
50
  month: e.month,
@@ -55,8 +55,8 @@ const Y = ({
55
55
  ] }, `${e.month}-${e.year}`);
56
56
  return i = e.year, g;
57
57
  });
58
- }, k = Y;
58
+ }, z = d(C);
59
59
  export {
60
- k as default
60
+ z as default
61
61
  };
62
62
  //# sourceMappingURL=monthly-timeline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monthly-timeline.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline.tsx"],"sourcesContent":["import { type FC, useCallback, useEffect } from 'react';\n\nimport { type IMonthlyTimelineProps } from './monthly-timeline.types';\nimport { useMonthlyTimelineGet } from './api/use-monthly-timeline-get';\nimport MonthlyTimelineView from './monthly-timeline-view';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport Image from '../../ui/image/image';\nimport Separator from '../../ui/separator/separator';\nimport { monthNames, yearImages } from './constants';\nimport Error from '../../ui/error/error';\n\nconst MonthlyTimeline: FC<IMonthlyTimelineProps> = ({\n // userType,\n studentId,\n // courseStreams,\n onReportClick,\n // scrollAreaHeight,\n}) => {\n const {\n get: getTimeline,\n data: timelineData,\n isProcessing,\n isProcessingFailed,\n } = useMonthlyTimelineGet();\n\n const fetchData = useCallback(() => {\n getTimeline('', {\n studentId,\n // course_stream: courseStreams?.[0], // Use first course stream if available\n timezone: Intl.DateTimeFormat().resolvedOptions().timeZone, // Get user's timezone\n });\n }, [getTimeline, studentId]);\n\n // Fetch data on mount\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessing || !timelineData) {\n return <AppLoader height=\"100dvh\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Error onTryAgain={fetchData} />\n </FlexView>\n );\n }\n\n const currentYear = new Date().getFullYear();\n let lastYear: number | null = null;\n\n return timelineData.map(item => {\n const showYearImage = item.year !== currentYear && item.year !== lastYear;\n const yearImage = yearImages[item.year];\n const content = (\n <FlexView key={`${item.month}-${item.year}`} $width={'100%'}>\n <Separator heightX={3} />\n {showYearImage && yearImage && <Image src={yearImage} alt={item.year.toString()} />}\n <Text $renderAs=\"ac4\" $color=\"BLACK_T_60\">\n {monthNames[item.month - 1]}\n </Text>\n <Separator heightX={1} />\n <MonthlyTimelineView\n reports={item.reports}\n month={item.month}\n year={item.year}\n onReportClick={onReportClick}\n />\n </FlexView>\n );\n\n lastYear = item.year;\n\n return content;\n });\n};\n\nexport default MonthlyTimeline;\n"],"names":["MonthlyTimeline","studentId","onReportClick","getTimeline","timelineData","isProcessing","isProcessingFailed","useMonthlyTimelineGet","fetchData","useCallback","useEffect","jsx","AppLoader","FlexView","Error","currentYear","lastYear","item","showYearImage","yearImage","yearImages","content","jsxs","Separator","Image","Text","monthNames","MonthlyTimelineView","MonthlyTimeline$1"],"mappings":";;;;;;;;;;;AAaA,MAAMA,IAA6C,CAAC;AAAA;AAAA,EAElD,WAAAC;AAAA;AAAA,EAEA,eAAAC;AAAA;AAEF,MAAM;AACE,QAAA;AAAA,IACJ,KAAKC;AAAA,IACL,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,oBAAAC;AAAA,MACEC,EAAsB,GAEpBC,IAAYC,EAAY,MAAM;AAClC,IAAAN,EAAY,IAAI;AAAA,MACd,WAAAF;AAAA;AAAA,MAEA,UAAU,KAAK,iBAAiB,gBAAkB,EAAA;AAAA;AAAA,IAAA,CACnD;AAAA,EAAA,GACA,CAACE,GAAaF,CAAS,CAAC;AAOvB,MAJJS,EAAU,MAAM;AACJ,IAAAF;EAAA,GACT,CAACA,CAAS,CAAC,GAEVH,KAAgB,CAACD;AACZ,WAAA,gBAAAO,EAACC,GAAU,EAAA,QAAO,SAAS,CAAA;AAGpC,MAAIN;AACF,WACG,gBAAAK,EAAAE,GAAA,EAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAC,gBAAAF,EAAAG,GAAA,EAAM,YAAYN,EAAA,CAAW,EAChC,CAAA;AAIJ,QAAMO,KAAc,oBAAI,KAAK,GAAE,YAAY;AAC3C,MAAIC,IAA0B;AAEvB,SAAAZ,EAAa,IAAI,CAAQa,MAAA;AAC9B,UAAMC,IAAgBD,EAAK,SAASF,KAAeE,EAAK,SAASD,GAC3DG,IAAYC,EAAWH,EAAK,IAAI,GAChCI,IACJ,gBAAAC,EAACT,GAA4C,EAAA,QAAQ,QACnD,UAAA;AAAA,MAAC,gBAAAF,EAAAY,GAAA,EAAU,SAAS,EAAG,CAAA;AAAA,MACtBL,KAAiBC,KAAa,gBAAAR,EAACa,GAAM,EAAA,KAAKL,GAAW,KAAKF,EAAK,KAAK,SAAY,EAAA,CAAA;AAAA,MACjF,gBAAAN,EAACc,GAAK,EAAA,WAAU,OAAM,QAAO,cAC1B,UAAWC,EAAAT,EAAK,QAAQ,CAAC,EAC5B,CAAA;AAAA,MACA,gBAAAN,EAACY,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MACvB,gBAAAZ;AAAA,QAACgB;AAAA,QAAA;AAAA,UACC,SAASV,EAAK;AAAA,UACd,OAAOA,EAAK;AAAA,UACZ,MAAMA,EAAK;AAAA,UACX,eAAAf;AAAA,QAAA;AAAA,MACF;AAAA,IAAA,KAZa,GAAGe,EAAK,KAAK,IAAIA,EAAK,IAAI,EAazC;AAGF,WAAAD,IAAWC,EAAK,MAETI;AAAA,EAAA,CACR;AACH,GAEAO,IAAe5B;"}
1
+ {"version":3,"file":"monthly-timeline.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline.tsx"],"sourcesContent":["import { type FC, memo, useCallback, useEffect } from 'react';\n\nimport { type IMonthlyTimelineProps } from './monthly-timeline.types';\nimport { useMonthlyTimelineGet } from './api/use-monthly-timeline-get';\nimport MonthlyTimelineView from './monthly-timeline-view';\nimport AppLoader from '../../ui/loader/app-loader/app-loader';\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport Image from '../../ui/image/image';\nimport Separator from '../../ui/separator/separator';\nimport { monthNames, yearImages } from './constants';\nimport Error from '../../ui/error/error';\n\nconst MonthlyTimeline: FC<IMonthlyTimelineProps> = ({\n // userType,\n studentId,\n // courseStreams,\n onReportClick,\n // scrollAreaHeight,\n}) => {\n const {\n get: getTimeline,\n data: timelineData,\n isProcessing,\n isProcessingFailed,\n } = useMonthlyTimelineGet();\n\n const fetchData = useCallback(() => {\n getTimeline('', {\n studentId,\n // course_stream: courseStreams?.[0], // Use first course stream if available\n timezone: Intl.DateTimeFormat().resolvedOptions().timeZone, // Get user's timezone\n });\n }, [getTimeline, studentId]);\n\n // Fetch data on mount\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessing || !timelineData) {\n return <AppLoader height=\"100dvh\" />;\n }\n\n if (isProcessingFailed) {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Error onTryAgain={fetchData} />\n </FlexView>\n );\n }\n\n const currentYear = new Date().getFullYear();\n let lastYear: number | null = null;\n\n return timelineData.map(item => {\n const showYearImage = item.year !== currentYear && item.year !== lastYear;\n const yearImage = yearImages[item.year];\n const content = (\n <FlexView key={`${item.month}-${item.year}`} $width={'100%'}>\n <Separator heightX={3} />\n {showYearImage && yearImage && <Image src={yearImage} alt={item.year.toString()} />}\n <Text $renderAs=\"ac4\" $color=\"BLACK_T_60\">\n {monthNames[item.month - 1]}\n </Text>\n <Separator heightX={1} />\n <MonthlyTimelineView\n reports={item.reports}\n month={item.month}\n year={item.year}\n onReportClick={onReportClick}\n />\n </FlexView>\n );\n\n lastYear = item.year;\n\n return content;\n });\n};\n\nexport default memo(MonthlyTimeline);\n"],"names":["MonthlyTimeline","studentId","onReportClick","getTimeline","timelineData","isProcessing","isProcessingFailed","useMonthlyTimelineGet","fetchData","useCallback","useEffect","jsx","AppLoader","FlexView","Error","currentYear","lastYear","item","showYearImage","yearImage","yearImages","content","jsxs","Separator","Image","Text","monthNames","MonthlyTimelineView","monthlyTimeline","memo"],"mappings":";;;;;;;;;;;AAaA,MAAMA,IAA6C,CAAC;AAAA;AAAA,EAElD,WAAAC;AAAA;AAAA,EAEA,eAAAC;AAAA;AAEF,MAAM;AACE,QAAA;AAAA,IACJ,KAAKC;AAAA,IACL,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,oBAAAC;AAAA,MACEC,EAAsB,GAEpBC,IAAYC,EAAY,MAAM;AAClC,IAAAN,EAAY,IAAI;AAAA,MACd,WAAAF;AAAA;AAAA,MAEA,UAAU,KAAK,iBAAiB,gBAAkB,EAAA;AAAA;AAAA,IAAA,CACnD;AAAA,EAAA,GACA,CAACE,GAAaF,CAAS,CAAC;AAOvB,MAJJS,EAAU,MAAM;AACJ,IAAAF;EAAA,GACT,CAACA,CAAS,CAAC,GAEVH,KAAgB,CAACD;AACZ,WAAA,gBAAAO,EAACC,GAAU,EAAA,QAAO,SAAS,CAAA;AAGpC,MAAIN;AACF,WACG,gBAAAK,EAAAE,GAAA,EAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAC,gBAAAF,EAAAG,GAAA,EAAM,YAAYN,EAAA,CAAW,EAChC,CAAA;AAIJ,QAAMO,KAAc,oBAAI,KAAK,GAAE,YAAY;AAC3C,MAAIC,IAA0B;AAEvB,SAAAZ,EAAa,IAAI,CAAQa,MAAA;AAC9B,UAAMC,IAAgBD,EAAK,SAASF,KAAeE,EAAK,SAASD,GAC3DG,IAAYC,EAAWH,EAAK,IAAI,GAChCI,IACJ,gBAAAC,EAACT,GAA4C,EAAA,QAAQ,QACnD,UAAA;AAAA,MAAC,gBAAAF,EAAAY,GAAA,EAAU,SAAS,EAAG,CAAA;AAAA,MACtBL,KAAiBC,KAAa,gBAAAR,EAACa,GAAM,EAAA,KAAKL,GAAW,KAAKF,EAAK,KAAK,SAAY,EAAA,CAAA;AAAA,MACjF,gBAAAN,EAACc,GAAK,EAAA,WAAU,OAAM,QAAO,cAC1B,UAAWC,EAAAT,EAAK,QAAQ,CAAC,EAC5B,CAAA;AAAA,MACA,gBAAAN,EAACY,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MACvB,gBAAAZ;AAAA,QAACgB;AAAA,QAAA;AAAA,UACC,SAASV,EAAK;AAAA,UACd,OAAOA,EAAK;AAAA,UACZ,MAAMA,EAAK;AAAA,UACX,eAAAf;AAAA,QAAA;AAAA,MACF;AAAA,IAAA,KAZa,GAAGe,EAAK,KAAK,IAAIA,EAAK,IAAI,EAazC;AAGF,WAAAD,IAAWC,EAAK,MAETI;AAAA,EAAA,CACR;AACH,GAEeO,IAAAC,EAAK7B,CAAe;"}
@@ -1,5 +1,6 @@
1
- var E = /* @__PURE__ */ ((S) => (S.SCHOOL_SUCCESS = "SCHOOL_SUCCESS", S.ENRICHMENT = "ENRICHMENT", S.TEST_PREP = "TEST_PREP", S))(E || {});
1
+ var M = /* @__PURE__ */ ((S) => (S.MPR_V1 = "MPR_V1", S.MPR_V2 = "MPR_V2", S.PTM = "PTM", S))(M || {}), C = /* @__PURE__ */ ((S) => (S.SCHOOL_SUCCESS = "SCHOOL_SUCCESS", S.ENRICHMENT = "ENRICHMENT", S.TEST_PREP = "TEST_PREP", S))(C || {});
2
2
  export {
3
- E as EGoalCategory
3
+ C as EGoalCategory,
4
+ M as REPORT_TYPE
4
5
  };
5
6
  //# sourceMappingURL=monthly-timeline.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monthly-timeline.types.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline.types.ts"],"sourcesContent":["import { type TCourseStream } from '../../milestone/create/milestone-create-types';\n\nexport enum REPORT_TYPE {\n MPR_V1 = 'MPR_V1',\n MPR_V2 = 'MPR_V2',\n PTM = 'PTM',\n}\n\nexport enum EGoalCategory {\n SCHOOL_SUCCESS = 'SCHOOL_SUCCESS',\n ENRICHMENT = 'ENRICHMENT',\n TEST_PREP = 'TEST_PREP',\n}\n\nexport interface IMonthlyTimeline {\n year: number;\n month: number;\n reports: IMonthlyTimelineReport[];\n}\n\nexport interface IMonthlyTimelineReport {\n report_data: TimelineReportData | null;\n course_stream: TCourseStream | null;\n report_type: REPORT_TYPE;\n}\n\nexport interface TimelineReportData {\n id: string | null;\n progress_data: ProgressData | null;\n}\n\nexport interface ProgressData {\n user_milestones: IUserMilestone[];\n}\n\nexport interface IUserMilestone {\n goal_category: EGoalCategory;\n goal_code: string;\n milestone_name: string;\n previous_progress_stat: ProgressStat | null;\n progress_stat: ProgressStat;\n user_chapters: IUserChapter[];\n user_milestone_id: string;\n}\n\nexport interface IUserChapter {\n chapter_code: string;\n chapter_name: string;\n image_url: string;\n previous_progress_stat: ProgressStat | null;\n progress_stat: ProgressStat;\n user_chapter_id: string;\n}\n\nexport interface ProgressStat {\n completed: number;\n total: number;\n}\n\n// Component Props Types\nexport interface IMonthlyTimelineProps {\n userType: 'PARENT' | 'TEACHER' | 'STUDENT';\n studentId: string;\n courseStreams?: string[];\n onReportClick?: (reportId: string, reportType: REPORT_TYPE, year: number, month: number) => void;\n scrollAreaHeight?: string | number;\n}\n\nexport interface IMonthlyTimelineViewProps {\n reports: IMonthlyTimelineReport[];\n onReportClick?: IMonthlyTimelineProps['onReportClick'];\n year: number;\n month: number;\n}\n"],"names":["EGoalCategory"],"mappings":"AAQY,IAAAA,sBAAAA,OACVA,EAAA,iBAAiB,kBACjBA,EAAA,aAAa,cACbA,EAAA,YAAY,aAHFA,IAAAA,KAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"monthly-timeline.types.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline.types.ts"],"sourcesContent":["import { type TCourseStream } from '../../milestone/create/milestone-create-types';\n\nexport enum REPORT_TYPE {\n MPR_V1 = 'MPR_V1',\n MPR_V2 = 'MPR_V2',\n PTM = 'PTM',\n}\n\nexport enum EGoalCategory {\n SCHOOL_SUCCESS = 'SCHOOL_SUCCESS',\n ENRICHMENT = 'ENRICHMENT',\n TEST_PREP = 'TEST_PREP',\n}\n\nexport interface IMonthlyTimeline {\n year: number;\n month: number;\n reports: IMonthlyTimelineReport[];\n}\n\nexport interface IMonthlyTimelineReport {\n report_data: TimelineReportData | null;\n course_stream: TCourseStream | null;\n report_type: REPORT_TYPE;\n}\n\nexport interface TimelineReportData {\n id: string | null;\n progress_data: ProgressData | null;\n}\n\nexport interface ProgressData {\n user_milestones: IUserMilestone[];\n}\n\nexport interface IUserMilestone {\n goal_category: EGoalCategory;\n goal_code: string;\n milestone_name: string;\n previous_progress_stat: ProgressStat | null;\n progress_stat: ProgressStat;\n user_chapters: IUserChapter[];\n user_milestone_id: string;\n}\n\nexport interface IUserChapter {\n chapter_code: string;\n chapter_name: string;\n image_url: string;\n previous_progress_stat: ProgressStat | null;\n progress_stat: ProgressStat;\n user_chapter_id: string;\n}\n\nexport interface ProgressStat {\n completed: number;\n total: number;\n}\n\n// Component Props Types\nexport interface IMonthlyTimelineProps {\n userType: 'PARENT' | 'TEACHER' | 'STUDENT';\n studentId: string;\n courseStreams?: string[];\n onReportClick?: (reportId: string, reportType: REPORT_TYPE, year: number, month: string) => void;\n scrollAreaHeight?: string | number;\n}\n\nexport interface IMonthlyTimelineViewProps {\n reports: IMonthlyTimelineReport[];\n onReportClick?: IMonthlyTimelineProps['onReportClick'];\n year: number;\n month: number;\n}\n"],"names":["REPORT_TYPE","EGoalCategory"],"mappings":"AAEY,IAAAA,sBAAAA,OACVA,EAAA,SAAS,UACTA,EAAA,SAAS,UACTA,EAAA,MAAM,OAHIA,IAAAA,KAAA,CAAA,CAAA,GAMAC,sBAAAA,OACVA,EAAA,iBAAiB,kBACjBA,EAAA,aAAa,cACbA,EAAA,YAAY,aAHFA,IAAAA,KAAA,CAAA,CAAA;"}
package/dist/index.d.ts CHANGED
@@ -3007,7 +3007,7 @@ declare interface IMonthlyTimelineProps {
3007
3007
  userType: 'PARENT' | 'TEACHER' | 'STUDENT';
3008
3008
  studentId: string;
3009
3009
  courseStreams?: string[];
3010
- onReportClick?: (reportId: string, reportType: REPORT_TYPE, year: number, month: number) => void;
3010
+ onReportClick?: (reportId: string, reportType: REPORT_TYPE, year: number, month: string) => void;
3011
3011
  scrollAreaHeight?: string | number;
3012
3012
  }
3013
3013
 
@@ -5250,9 +5250,9 @@ export declare const Mobile: FC<SVGProps<SVGSVGElement>>;
5250
5250
  */
5251
5251
  export declare const ModalProvider: FC<IModalProviderProps>;
5252
5252
 
5253
- export declare const MonthlyReport: FC<IMonthlyReportProps>;
5253
+ export declare const MonthlyReport: NamedExoticComponent<IMonthlyReportProps>;
5254
5254
 
5255
- export declare const MonthlyTimeline: FC<IMonthlyTimelineProps>;
5255
+ export declare const MonthlyTimeline: NamedExoticComponent<IMonthlyTimelineProps>;
5256
5256
 
5257
5257
  export declare const MoreVerticalIcon: FC<SVGProps<SVGSVGElement>>;
5258
5258
 
package/dist/index.js CHANGED
@@ -259,128 +259,129 @@ import { useClassTimeAlerts as Uu } from "./features/trial-session/hooks/use-cla
259
259
  import { default as bu } from "./features/timeline/daily-timeline.js";
260
260
  import { USER_TYPE as zu } from "./features/timeline/daily-timeline-types.js";
261
261
  import { default as Fu } from "./features/timeline/timeline-tabs/timeline-tabs.js";
262
- import { default as Vu } from "./features/timeline/monthly-timeline/monthly-timeline.js";
263
- import { default as Yu } from "./features/timeline/monthly-report/monthly-report.js";
264
- import { default as Qu } from "./features/talk-meter/talk-meter.js";
265
- import { default as Zu } from "./features/extra-practice/extra-practice.js";
266
- import { default as Xu } from "./features/homework/hw-card-list/hw-card-list.js";
267
- import { invalidateHomeworks as ep } from "./features/homework/hw-card-list/api/get-homeworks.js";
268
- import { default as rp } from "./features/homework/card-title.js";
269
- import { useAutoPlayPermission as ap } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
270
- import { JOURNEY_ID_STUDENT as sp } from "./features/journey/journey-id/journey-id-student.js";
271
- import { JOURNEY_ID_TEACHER as up } from "./features/journey/journey-id/journey-id-teacher.js";
272
- import { TRACKING_ID_STUDENT as mp } from "./features/journey/tracking-id/tracking-id-student.js";
273
- import { useJourney as xp } from "./features/journey/use-journey/use-journey.js";
274
- import { useGetEligibleJourneysViaRoute as ip } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
275
- import { useGetTrackedViews as Ip } from "./features/journey/hooks/use-get-tracked-views.js";
276
- import { JourneyProvider as Tp } from "./features/journey/use-journey/journey-context-provider.js";
277
- import { IndicatorType as Cp } from "./features/journey/use-journey/constants.js";
278
- import { Coachmark as Pp } from "./features/journey/comps/coachmark/coachmark.js";
279
- import { useHomePageJourney as hp } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
280
- import { useChapterPageJourney as Rp } from "./features/journey/hooks/use-chapter-page-journey/use-chapter-journey.js";
281
- import { usePuzzleDashboardJourney as Lp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js";
282
- import { usePuzzleIntroJourney as Np } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js";
283
- import { usePuzzleProgressJourney as Op } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js";
284
- import { useTeacherPuzzleAssignedJourney as yp } from "./features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js";
285
- import { usePuzzleAttemptJourney as Up } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js";
286
- import { usePuzzleReviewJourney as bp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js";
287
- import { usePuzzleUnassignJourney as zp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js";
288
- import { default as Fp } from "./features/maintenance/maintenance.js";
289
- import { default as Vp } from "./features/milestone/create/submit-modal/submit-modal.js";
290
- import { default as Yp } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
291
- import { default as Qp } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
292
- import { default as Zp } from "./features/milestone/create/milestone-create-container.js";
293
- import { default as Xp } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
294
- import { default as em } from "./features/milestone/outcome/milestone-outcome-container.js";
295
- import { default as rm } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
296
- import { default as am } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
297
- import { default as sm } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
298
- import { default as um } from "./features/milestone/edit/goal-edit-container.js";
299
- import { default as mm } from "./features/milestone/edit/milestone-edit-container.js";
300
- import { default as xm } from "./features/milestone/milestone-list-container/milestone-list-container.js";
301
- import { default as im } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
302
- import { default as Im } from "./features/milestone/start/milestone-start.js";
303
- import { default as Tm } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
304
- import { default as Cm } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
305
- import { ACHIEVEMENT_ACTIONS as Pm, STAGES as _m } from "./features/milestone/outcome/milestone-outcome-constants.js";
306
- import { COURSE_STREAMS as Mm, PREFERENCE_CATEGORY as Rm } from "./features/milestone/constants.js";
307
- import { invalidateMilestonesData as Lm, useGetAllMilestonesdata as Dm } from "./features/milestone/milestone-list-container/api/get-milestones.js";
308
- import { invalidatePastMilestoneCount as gm, useGetPastMilestoneCount as Om } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
309
- import { invalidateTestHelpData as ym, useGetTestHelpData as Gm } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
310
- import { invalidateMilestoneResources as vm, useGetMilestoneResources as bm } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
311
- import { useGetMileStoneConfig as zm } from "./features/milestone/create/api/milestone-config.js";
312
- import { getPreferencesFromConfig as Fm } from "./features/milestone/create/milestone-create-helpers.js";
313
- import { default as Vm } from "./features/pointer-sync/pointer.js";
314
- import { default as Ym } from "./features/pointer-sync/hooks/use-pointer-sync.js";
315
- import { DigitalMeter as Qm } from "./features/post-game-stats/digital-meter/digital-meter.js";
316
- import { EPostGameStat as Zm } from "./features/post-game-stats/enums/post-game-stats-enum.js";
317
- import { PostGameStats as Xm } from "./features/post-game-stats/post-game-stats.js";
318
- import { default as ed } from "./features/puzzles/puzzle-container/puzzle-container.js";
319
- import { default as rd } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
320
- import { default as ad } from "./features/puzzles/puzzle-dashboard/puzzle-dashboard.js";
321
- import { default as sd } from "./features/puzzles/app/puzzle-app.js";
322
- import { invalidatePuzzleToAssign as ud, useGetPuzzleToAssign as pd } from "./features/puzzles/api/puzzle-assign.js";
323
- import { default as dd } from "./features/recent-chapters/recent-chapters.js";
324
- import { SENTRY_DENIED_URLS as nd, SENTRY_IGNORED_ERRORS as id } from "./features/sentry/constants/ignored.js";
325
- import { default as Id } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
326
- import { default as Td } from "./features/sheet-tools/tool-header/tool-header.js";
327
- import { default as Cd } from "./features/sheets/sheets-list/sheets-list.js";
328
- import { default as Pd } from "./features/sheets/reference-sheet/reference-sheet.js";
329
- import { WORKSHEET_V3_NODE_TYPES as hd } from "./features/sheets/utils/is-v3-worksheet.js";
330
- import { COMPLETED_SHEET_STATE as Rd, NODE_LABELS as kd, NODE_SUB_GROUP as Ld, NODE_TYPE as Dd, PYTHON_NODE_TYPES as Nd, REWARDS_LIST as gd, SAT_NODE_TYPE as Od, SHEET_ACTIONS as Hd, SHEET_ATTEMPT_LOCATION as yd, SHEET_ATTEMPT_LOCATION_MAP as Gd, SHEET_ATTEMPT_STATE as Ud, SHEET_DATA_TYPE as vd, SHEET_STATE as bd } from "./features/sheets/constants/sheet.js";
331
- import { default as zd } from "./features/stickers/stickers-effects/stickers-effects.js";
332
- import { default as Fd } from "./features/stickers/sticker-selector/sticker-selector.js";
333
- import { StickersProvider as Vd } from "./features/stickers/stickers-effects/context/sticker-provider.js";
334
- import { useStickers as Yd } from "./features/stickers/stickers-effects/hooks/use-stickers.js";
335
- import { useHandleStickerSend as Qd } from "./features/stickers/hooks/use-handle-sticker-send/use-handle-sticker-send.js";
336
- import { useStickersJourney as Zd } from "./features/stickers/hooks/use-stickers-journey/use-stickers-journey.js";
337
- import { default as Xd } from "./features/student-details/student-details.js";
338
- import { default as ex } from "./features/utils/load-script.js";
339
- import { default as rx } from "./features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js";
340
- import { default as ax } from "./features/wins-dashboard/student-badges/student-badges-lists.js";
341
- import { default as sx } from "./features/wins-dashboard/header/wins-header.js";
342
- import { STUDENT_BADGE_STATUS as ux, STUDENT_BADGE_TYPE as px } from "./features/wins-dashboard/constants.js";
343
- import { ACTION_BAR_HEIGHT as dx, QUESTIONS_GAP as xx, QUESTION_WIDTH as nx, TOP_NAVIGATION_HEIGHT as ix } from "./features/worksheet/worksheet/constants.js";
344
- import { isOkayTypeQuestion as Ix } from "./features/worksheet/worksheet/worksheet-helpers.js";
345
- import { default as Tx } from "./features/worksheet/worksheet/worksheet-container.js";
346
- import { default as Cx } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
347
- import { default as Px } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
348
- import { default as hx } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
349
- import { default as Rx } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
350
- import { default as Lx } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
351
- import { default as Nx } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
352
- import { default as Ox } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
353
- import { default as yx } from "./features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js";
354
- import { default as Ux } from "./features/parent-dashboard/comps/math-practice/math-practice.js";
355
- import { default as bx } from "./features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
356
- import { default as zx } from "./features/parent-dashboard/comps/compact-header/compact-header.js";
357
- import { default as Fx } from "./features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js";
358
- import { default as Vx } from "./features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js";
359
- import { default as Yx } from "./features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js";
360
- import { default as Qx } from "./features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js";
361
- import { default as Zx } from "./features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js";
362
- import { default as Xx } from "./features/parent-dashboard/modals/trial-report/trial-report.js";
363
- import { default as en } from "./features/parent-dashboard/modals/help-and-support/help-and-support.js";
364
- import { default as rn } from "./features/parent-dashboard/modals/student-login-info/student-login-info.js";
365
- import { default as an } from "./features/parent-dashboard/modals/tutor-change/tutor-change.js";
366
- import { default as sn } from "./features/parent-dashboard/modals/view-payment-method/view-payment-method.js";
367
- import { default as un } from "./features/parent-dashboard/parent-dashboard.js";
368
- import { usePLASwitchUserJourney as mn } from "./features/parent-dashboard/hooks/use-switch-user-journey.js";
369
- import { default as xn } from "./features/parent-dashboard/hooks/use-fetch-parent-home.js";
370
- import { default as cn } from "./features/parent-dashboard/hooks/use-parent-home-data.js";
371
- import { invalidateParentHome as Sn } from "./features/parent-dashboard/api/parent-home.js";
372
- import { EPLAState as En, ESummaryType as Cn } from "./features/parent-dashboard/parent-dashboard-types.js";
373
- import { COUNTRY_CODE_MAP as Pn } from "./constants/country.js";
262
+ import { ETAB_IDS as Vu } from "./features/timeline/timeline-tabs/timeline-tabs-types.js";
263
+ import { default as Yu } from "./features/timeline/monthly-timeline/monthly-timeline.js";
264
+ import { default as Qu } from "./features/timeline/monthly-report/monthly-report.js";
265
+ import { default as Zu } from "./features/talk-meter/talk-meter.js";
266
+ import { default as Xu } from "./features/extra-practice/extra-practice.js";
267
+ import { default as ep } from "./features/homework/hw-card-list/hw-card-list.js";
268
+ import { invalidateHomeworks as rp } from "./features/homework/hw-card-list/api/get-homeworks.js";
269
+ import { default as ap } from "./features/homework/card-title.js";
270
+ import { useAutoPlayPermission as sp } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
271
+ import { JOURNEY_ID_STUDENT as up } from "./features/journey/journey-id/journey-id-student.js";
272
+ import { JOURNEY_ID_TEACHER as mp } from "./features/journey/journey-id/journey-id-teacher.js";
273
+ import { TRACKING_ID_STUDENT as xp } from "./features/journey/tracking-id/tracking-id-student.js";
274
+ import { useJourney as ip } from "./features/journey/use-journey/use-journey.js";
275
+ import { useGetEligibleJourneysViaRoute as Ip } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
276
+ import { useGetTrackedViews as Tp } from "./features/journey/hooks/use-get-tracked-views.js";
277
+ import { JourneyProvider as Cp } from "./features/journey/use-journey/journey-context-provider.js";
278
+ import { IndicatorType as Pp } from "./features/journey/use-journey/constants.js";
279
+ import { Coachmark as hp } from "./features/journey/comps/coachmark/coachmark.js";
280
+ import { useHomePageJourney as Rp } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
281
+ import { useChapterPageJourney as Lp } from "./features/journey/hooks/use-chapter-page-journey/use-chapter-journey.js";
282
+ import { usePuzzleDashboardJourney as Np } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js";
283
+ import { usePuzzleIntroJourney as Op } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js";
284
+ import { usePuzzleProgressJourney as yp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js";
285
+ import { useTeacherPuzzleAssignedJourney as Up } from "./features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js";
286
+ import { usePuzzleAttemptJourney as bp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js";
287
+ import { usePuzzleReviewJourney as zp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js";
288
+ import { usePuzzleUnassignJourney as Fp } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js";
289
+ import { default as Vp } from "./features/maintenance/maintenance.js";
290
+ import { default as Yp } from "./features/milestone/create/submit-modal/submit-modal.js";
291
+ import { default as Qp } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
292
+ import { default as Zp } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
293
+ import { default as Xp } from "./features/milestone/create/milestone-create-container.js";
294
+ import { default as em } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
295
+ import { default as rm } from "./features/milestone/outcome/milestone-outcome-container.js";
296
+ import { default as am } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
297
+ import { default as sm } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
298
+ import { default as um } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
299
+ import { default as mm } from "./features/milestone/edit/goal-edit-container.js";
300
+ import { default as xm } from "./features/milestone/edit/milestone-edit-container.js";
301
+ import { default as im } from "./features/milestone/milestone-list-container/milestone-list-container.js";
302
+ import { default as Im } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
303
+ import { default as Tm } from "./features/milestone/start/milestone-start.js";
304
+ import { default as Cm } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
305
+ import { default as Pm } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
306
+ import { ACHIEVEMENT_ACTIONS as hm, STAGES as Mm } from "./features/milestone/outcome/milestone-outcome-constants.js";
307
+ import { COURSE_STREAMS as km, PREFERENCE_CATEGORY as Lm } from "./features/milestone/constants.js";
308
+ import { invalidateMilestonesData as Nm, useGetAllMilestonesdata as gm } from "./features/milestone/milestone-list-container/api/get-milestones.js";
309
+ import { invalidatePastMilestoneCount as Hm, useGetPastMilestoneCount as ym } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
310
+ import { invalidateTestHelpData as Um, useGetTestHelpData as vm } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
311
+ import { invalidateMilestoneResources as Bm, useGetMilestoneResources as zm } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
312
+ import { useGetMileStoneConfig as Fm } from "./features/milestone/create/api/milestone-config.js";
313
+ import { getPreferencesFromConfig as Vm } from "./features/milestone/create/milestone-create-helpers.js";
314
+ import { default as Ym } from "./features/pointer-sync/pointer.js";
315
+ import { default as Qm } from "./features/pointer-sync/hooks/use-pointer-sync.js";
316
+ import { DigitalMeter as Zm } from "./features/post-game-stats/digital-meter/digital-meter.js";
317
+ import { EPostGameStat as Xm } from "./features/post-game-stats/enums/post-game-stats-enum.js";
318
+ import { PostGameStats as ed } from "./features/post-game-stats/post-game-stats.js";
319
+ import { default as rd } from "./features/puzzles/puzzle-container/puzzle-container.js";
320
+ import { default as ad } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
321
+ import { default as sd } from "./features/puzzles/puzzle-dashboard/puzzle-dashboard.js";
322
+ import { default as ud } from "./features/puzzles/app/puzzle-app.js";
323
+ import { invalidatePuzzleToAssign as md, useGetPuzzleToAssign as dd } from "./features/puzzles/api/puzzle-assign.js";
324
+ import { default as nd } from "./features/recent-chapters/recent-chapters.js";
325
+ import { SENTRY_DENIED_URLS as cd, SENTRY_IGNORED_ERRORS as Id } from "./features/sentry/constants/ignored.js";
326
+ import { default as Td } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
327
+ import { default as Cd } from "./features/sheet-tools/tool-header/tool-header.js";
328
+ import { default as Pd } from "./features/sheets/sheets-list/sheets-list.js";
329
+ import { default as hd } from "./features/sheets/reference-sheet/reference-sheet.js";
330
+ import { WORKSHEET_V3_NODE_TYPES as Rd } from "./features/sheets/utils/is-v3-worksheet.js";
331
+ import { COMPLETED_SHEET_STATE as Ld, NODE_LABELS as Dd, NODE_SUB_GROUP as Nd, NODE_TYPE as gd, PYTHON_NODE_TYPES as Od, REWARDS_LIST as Hd, SAT_NODE_TYPE as yd, SHEET_ACTIONS as Gd, SHEET_ATTEMPT_LOCATION as Ud, SHEET_ATTEMPT_LOCATION_MAP as vd, SHEET_ATTEMPT_STATE as bd, SHEET_DATA_TYPE as Bd, SHEET_STATE as zd } from "./features/sheets/constants/sheet.js";
332
+ import { default as Fd } from "./features/stickers/stickers-effects/stickers-effects.js";
333
+ import { default as Vd } from "./features/stickers/sticker-selector/sticker-selector.js";
334
+ import { StickersProvider as Yd } from "./features/stickers/stickers-effects/context/sticker-provider.js";
335
+ import { useStickers as Qd } from "./features/stickers/stickers-effects/hooks/use-stickers.js";
336
+ import { useHandleStickerSend as Zd } from "./features/stickers/hooks/use-handle-sticker-send/use-handle-sticker-send.js";
337
+ import { useStickersJourney as Xd } from "./features/stickers/hooks/use-stickers-journey/use-stickers-journey.js";
338
+ import { default as ex } from "./features/student-details/student-details.js";
339
+ import { default as rx } from "./features/utils/load-script.js";
340
+ import { default as ax } from "./features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js";
341
+ import { default as sx } from "./features/wins-dashboard/student-badges/student-badges-lists.js";
342
+ import { default as ux } from "./features/wins-dashboard/header/wins-header.js";
343
+ import { STUDENT_BADGE_STATUS as mx, STUDENT_BADGE_TYPE as dx } from "./features/wins-dashboard/constants.js";
344
+ import { ACTION_BAR_HEIGHT as nx, QUESTIONS_GAP as ix, QUESTION_WIDTH as cx, TOP_NAVIGATION_HEIGHT as Ix } from "./features/worksheet/worksheet/constants.js";
345
+ import { isOkayTypeQuestion as Tx } from "./features/worksheet/worksheet/worksheet-helpers.js";
346
+ import { default as Cx } from "./features/worksheet/worksheet/worksheet-container.js";
347
+ import { default as Px } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
348
+ import { default as hx } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
349
+ import { default as Rx } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
350
+ import { default as Lx } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
351
+ import { default as Nx } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
352
+ import { default as Ox } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
353
+ import { default as yx } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
354
+ import { default as Ux } from "./features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js";
355
+ import { default as bx } from "./features/parent-dashboard/comps/math-practice/math-practice.js";
356
+ import { default as zx } from "./features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
357
+ import { default as Fx } from "./features/parent-dashboard/comps/compact-header/compact-header.js";
358
+ import { default as Vx } from "./features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js";
359
+ import { default as Yx } from "./features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js";
360
+ import { default as Qx } from "./features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js";
361
+ import { default as Zx } from "./features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js";
362
+ import { default as Xx } from "./features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js";
363
+ import { default as en } from "./features/parent-dashboard/modals/trial-report/trial-report.js";
364
+ import { default as rn } from "./features/parent-dashboard/modals/help-and-support/help-and-support.js";
365
+ import { default as an } from "./features/parent-dashboard/modals/student-login-info/student-login-info.js";
366
+ import { default as sn } from "./features/parent-dashboard/modals/tutor-change/tutor-change.js";
367
+ import { default as un } from "./features/parent-dashboard/modals/view-payment-method/view-payment-method.js";
368
+ import { default as mn } from "./features/parent-dashboard/parent-dashboard.js";
369
+ import { usePLASwitchUserJourney as xn } from "./features/parent-dashboard/hooks/use-switch-user-journey.js";
370
+ import { default as cn } from "./features/parent-dashboard/hooks/use-fetch-parent-home.js";
371
+ import { default as Sn } from "./features/parent-dashboard/hooks/use-parent-home-data.js";
372
+ import { invalidateParentHome as En } from "./features/parent-dashboard/api/parent-home.js";
373
+ import { EPLAState as An, ESummaryType as Pn } from "./features/parent-dashboard/parent-dashboard-types.js";
374
+ import { COUNTRY_CODE_MAP as hn } from "./constants/country.js";
374
375
  export {
375
- Pm as ACHIEVEMENT_ACTIONS,
376
+ hm as ACHIEVEMENT_ACTIONS,
376
377
  ys as AUTH_TABS,
377
378
  zs as AVPreview,
378
379
  xl as AboutGameActivities,
379
380
  Pt as Accordion,
380
381
  ht as AccordionSection,
381
382
  Ts as AccountSelector,
382
- rm as AchievementNotShareReasonModal,
383
- am as AchievementShareInstructionModal,
383
+ am as AchievementNotShareReasonModal,
384
+ sm as AchievementShareInstructionModal,
384
385
  Xr as AfternoonIcon,
385
386
  i as AlertIcon,
386
387
  df as AnimatedArc,
@@ -397,7 +398,7 @@ export {
397
398
  I as BackIcon,
398
399
  Zl as BackgroundImage,
399
400
  sa as BaseInput,
400
- rx as BeltsElementsStickers,
401
+ ax as BeltsElementsStickers,
401
402
  C as Bin2Icon,
402
403
  T as BinIcon,
403
404
  R as Book2Icon,
@@ -409,20 +410,20 @@ export {
409
410
  yt as Button,
410
411
  Fl as CIRCLE_ACTION_IDS,
411
412
  zl as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
412
- Rd as COMPLETED_SHEET_STATE,
413
- Pn as COUNTRY_CODE_MAP,
414
- Mm as COURSE_STREAMS,
413
+ Ld as COMPLETED_SHEET_STATE,
414
+ hn as COUNTRY_CODE_MAP,
415
+ km as COURSE_STREAMS,
415
416
  y as CalendarIcon,
416
417
  Ua as Callout,
417
- Qx as CancelSubscriptionModal,
418
- Vx as CancellationConfirmationModal,
419
- Yx as CancellationReasonModal,
420
- rp as CardTitle,
418
+ Zx as CancelSubscriptionModal,
419
+ Yx as CancellationConfirmationModal,
420
+ Qx as CancellationReasonModal,
421
+ ap as CardTitle,
421
422
  nf as Carousel,
422
423
  ua as CascadingSelectInput,
423
424
  U as ChangeIcon,
424
425
  Ys as Chapter,
425
- Qp as ChapterClearanceConfirmationModal,
426
+ Zp as ChapterClearanceConfirmationModal,
426
427
  sl as ChapterDetails,
427
428
  Qs as ChaptersList,
428
429
  Vr as ChatIcon,
@@ -442,9 +443,9 @@ export {
442
443
  F as ClipboardIcon,
443
444
  Y as Clock2Icon,
444
445
  V as ClockIcon,
445
- Pp as Coachmark,
446
+ hp as Coachmark,
446
447
  Q as CodeIcon,
447
- zx as CompactHeader,
448
+ Fx as CompactHeader,
448
449
  Lt as ContextMenu,
449
450
  Z as CopyIcon,
450
451
  Nt as CountdownTimer,
@@ -458,39 +459,40 @@ export {
458
459
  du as CueCanvasSideBar,
459
460
  re as CueCoinIcon,
460
461
  ee as CueRocket,
461
- yx as CuemathAppFeatures,
462
+ Ux as CuemathAppFeatures,
462
463
  Yr as CuemathLogo,
463
464
  as as CustomInputField,
464
465
  bu as DailyTimeline,
465
466
  ae as DashArrowIcon,
466
467
  rs as DatePickerInput,
467
- Id as DesmosCalculator,
468
- Qm as DigitalMeter,
468
+ Td as DesmosCalculator,
469
+ Zm as DigitalMeter,
469
470
  Tf as DotLottieAnimation,
470
471
  se as DownIcon,
471
472
  ue as DraftIcon,
472
473
  me as DragIcon,
473
474
  If as Drawer,
474
- Px as DynamicPreviewWorksheet,
475
+ hx as DynamicPreviewWorksheet,
475
476
  Nu as EClassTimeAlertLevel,
476
477
  Ja as EDeviceType,
477
478
  Pl as ELeaderboardType,
478
- En as EPLAState,
479
- Cm as EPResourceAssign,
480
- Zm as EPostGameStat,
479
+ An as EPLAState,
480
+ Pm as EPResourceAssign,
481
+ Xm as EPostGameStat,
481
482
  Ou as ESessionStatus,
482
- Cn as ESummaryType,
483
+ Pn as ESummaryType,
484
+ Vu as ETAB_IDS,
483
485
  Eu as EVENTS,
484
486
  ie as Edit2Icon,
485
487
  xe as EditIcon,
486
- sm as EditMilestoneModal,
488
+ um as EditMilestoneModal,
487
489
  Ie as EditStarIcon,
488
490
  Te as EraserIcon,
489
491
  Vt as Error,
490
492
  Zr as EveningIcon,
491
493
  he as ExclamationIcon,
492
- Td as ExpandableHeader,
493
- Zu as ExtraPractice,
494
+ Cd as ExpandableHeader,
495
+ Xu as ExtraPractice,
494
496
  Pe as Eye2Icon,
495
497
  Ce as EyeIcon,
496
498
  Ia as FlexView,
@@ -499,9 +501,9 @@ export {
499
501
  x as GIF,
500
502
  zr as GameIcon,
501
503
  Vl as GameLauncher,
502
- Yp as GoalCreationConfirmationModal,
503
- Xp as GoalDraftEdit,
504
- um as GoalEdit,
504
+ Qp as GoalCreationConfirmationModal,
505
+ em as GoalDraftEdit,
506
+ mm as GoalEdit,
505
507
  ra as GooglePlacesSearchInput,
506
508
  es as GradeInput,
507
509
  r as GradeSelector,
@@ -510,7 +512,7 @@ export {
510
512
  Oe as HighlighterIcon,
511
513
  Le as HintFillIcon,
512
514
  ye as HomeIcon,
513
- Xu as HomeworkCardList,
515
+ ep as HomeworkCardList,
514
516
  s as ILLUSTRATIONS,
515
517
  u as IMAGES,
516
518
  bl as IStatsToAwardErrorCode,
@@ -518,45 +520,45 @@ export {
518
520
  Rs as IdentifierOtpForm,
519
521
  pf as Image,
520
522
  Ue as ImageIcon,
521
- Cp as IndicatorType,
523
+ Pp as IndicatorType,
522
524
  ze as Info2Icon,
523
525
  Fe as Info3Icon,
524
526
  be as InfoIcon,
525
527
  Uf as InputStatusIcon,
526
- sp as JOURNEY_ID_STUDENT,
527
- up as JOURNEY_ID_TEACHER,
528
- Tp as JourneyProvider,
528
+ up as JOURNEY_ID_STUDENT,
529
+ mp as JOURNEY_ID_TEACHER,
530
+ Cp as JourneyProvider,
529
531
  m as LOTTIE,
530
532
  Zs as LPARChapter,
531
533
  Xs as LPARMilestoneChapter,
532
534
  Ql as Leaderboard,
533
- Lx as LearnosityPreloader,
535
+ Nx as LearnosityPreloader,
534
536
  Ve as LeftIcon,
535
537
  Pf as LinearProgressBar,
536
538
  Qe as Lock2Icon,
537
539
  Ze as Lock3Icon,
538
540
  Ye as LockIcon,
539
- Fp as Maintenance,
540
- Ux as MathPractice,
541
- im as MilestoneActionWidget,
542
- Zp as MilestoneCreate,
543
- mm as MilestoneEdit,
544
- xm as MilestoneList,
545
- em as MilestoneOutcome,
546
- Im as MilestoneStart,
541
+ Vp as Maintenance,
542
+ bx as MathPractice,
543
+ Im as MilestoneActionWidget,
544
+ Xp as MilestoneCreate,
545
+ xm as MilestoneEdit,
546
+ im as MilestoneList,
547
+ rm as MilestoneOutcome,
548
+ Tm as MilestoneStart,
547
549
  eo as Minus2Icon,
548
550
  Xe as MinusIcon,
549
551
  ro as MistakeIcon,
550
552
  ao as Mobile,
551
553
  Pa as ModalProvider,
552
- Yu as MonthlyReport,
553
- Vu as MonthlyTimeline,
554
+ Qu as MonthlyReport,
555
+ Yu as MonthlyTimeline,
554
556
  so as MoreVerticalIcon,
555
557
  et as MorningIcon,
556
558
  Vs as MultiTabBlocker,
557
- kd as NODE_LABELS,
558
- Ld as NODE_SUB_GROUP,
559
- Dd as NODE_TYPE,
559
+ Dd as NODE_LABELS,
560
+ Nd as NODE_SUB_GROUP,
561
+ gd as NODE_TYPE,
560
562
  Qr as Next2Icon,
561
563
  uo as NextIcon,
562
564
  Ct as Notification,
@@ -566,64 +568,64 @@ export {
566
568
  zf as OTPInput,
567
569
  ms as OnboardingGuide,
568
570
  yf as OverlayLoader,
569
- en as PLAHelpAndSupportModal,
571
+ rn as PLAHelpAndSupportModal,
570
572
  hf as PLATFORM_EVENTS_STUDENT,
571
573
  Rf as PLATFORM_EVENTS_TEACHER,
572
574
  bs as PLA_ANALYTICS_EVENTS,
573
- Rm as PREFERENCE_CATEGORY,
574
- Nd as PYTHON_NODE_TYPES,
575
- un as ParentDashboard,
576
- bx as ParentDashboardFaqs,
575
+ Lm as PREFERENCE_CATEGORY,
576
+ Od as PYTHON_NODE_TYPES,
577
+ mn as ParentDashboard,
578
+ zx as ParentDashboardFaqs,
577
579
  mo as PencilIcon,
578
580
  xa as PercentileInput,
579
581
  lf as PerfectHits,
580
582
  Ff as PillButton,
581
- Fx as PlaFirstSessionIntroduction,
583
+ Vx as PlaFirstSessionIntroduction,
582
584
  So as Play2Icon,
583
585
  co as PlayIcon,
584
586
  Ul as PlayerType,
585
587
  Ao as Plus2Icon,
586
588
  Eo as PlusIcon,
587
589
  no as PointerIcon,
588
- Xm as PostGameStats,
590
+ ed as PostGameStats,
589
591
  _o as PracticeIcon,
590
- Cx as PreviewWorksheet,
592
+ Px as PreviewWorksheet,
591
593
  Mo as ProgressIcon,
592
594
  Nl as ProjectOutcome,
593
595
  yl as ProjectType,
594
596
  Do as Puzzle2Icon,
595
- sd as PuzzleApp,
596
- ed as PuzzleCard,
597
- ad as PuzzleDashboard,
598
- rd as PuzzleFeedbackCelebration,
597
+ ud as PuzzleApp,
598
+ rd as PuzzleCard,
599
+ sd as PuzzleDashboard,
600
+ ad as PuzzleFeedbackCelebration,
599
601
  ko as PuzzleIcon,
600
602
  go as QuestionIcon,
601
603
  Ho as QuestionLetterIcon,
602
- gd as REWARDS_LIST,
604
+ Hd as REWARDS_LIST,
603
605
  La as RadioCard,
604
606
  Zt as RadioInput,
605
- dd as RecentChapters,
607
+ nd as RecentChapters,
606
608
  Go as RedoIcon,
607
- Pd as ReferenceSheet,
608
- Vm as RemotePeerPointer,
609
+ hd as ReferenceSheet,
610
+ Ym as RemotePeerPointer,
609
611
  Ru as ReportInformation,
610
612
  bf as ResendOTP,
611
613
  Ns as ResetPasswordForm,
612
614
  vo as RightIcon,
613
615
  Bo as RulerIcon,
614
616
  el as SATSheetSummary,
615
- Od as SAT_NODE_TYPE,
616
- nd as SENTRY_DENIED_URLS,
617
- id as SENTRY_IGNORED_ERRORS,
618
- Hd as SHEET_ACTIONS,
619
- yd as SHEET_ATTEMPT_LOCATION,
620
- Gd as SHEET_ATTEMPT_LOCATION_MAP,
621
- Ud as SHEET_ATTEMPT_STATE,
622
- vd as SHEET_DATA_TYPE,
623
- bd as SHEET_STATE,
624
- _m as STAGES,
625
- ux as STUDENT_BADGE_STATUS,
626
- px as STUDENT_BADGE_TYPE,
617
+ yd as SAT_NODE_TYPE,
618
+ cd as SENTRY_DENIED_URLS,
619
+ Id as SENTRY_IGNORED_ERRORS,
620
+ Gd as SHEET_ACTIONS,
621
+ Ud as SHEET_ATTEMPT_LOCATION,
622
+ vd as SHEET_ATTEMPT_LOCATION_MAP,
623
+ bd as SHEET_ATTEMPT_STATE,
624
+ Bd as SHEET_DATA_TYPE,
625
+ zd as SHEET_STATE,
626
+ Mm as STAGES,
627
+ mx as STUDENT_BADGE_STATUS,
628
+ dx as STUDENT_BADGE_TYPE,
627
629
  rt as ScreenGrabFilledIcon,
628
630
  mt as ScreenGrabIcon,
629
631
  Dr as ScribbleIcon,
@@ -634,10 +636,10 @@ export {
634
636
  Vf as SelectableInfoCard,
635
637
  ia as SelectionCards,
636
638
  tf as Separator,
637
- Rx as SheetError,
639
+ Lx as SheetError,
638
640
  Wo as SheetIcon,
639
- Cd as SheetList,
640
- hx as SheetLocked,
641
+ Pd as SheetList,
642
+ Rx as SheetLocked,
641
643
  ou as SignUp,
642
644
  xs as SignupHeader,
643
645
  us as SignupMethods,
@@ -658,26 +660,26 @@ export {
658
660
  a as Stepper,
659
661
  at as StickerFilledIcon,
660
662
  xt as StickerIcon,
661
- Fd as StickerSelector,
662
- zd as StickersEffects,
663
- Vd as StickersProvider,
663
+ Vd as StickerSelector,
664
+ Fd as StickersEffects,
665
+ Yd as StickersProvider,
664
666
  of as StreakIcon,
665
667
  hl as StreakReductionLocalStorageUtil,
666
668
  lr as StrikedEyeIcon,
667
- ax as StudentBadgeList,
668
- Xd as StudentDetails,
669
- rn as StudentLoginInfoModal,
669
+ sx as StudentBadgeList,
670
+ ex as StudentDetails,
671
+ an as StudentLoginInfoModal,
670
672
  Lu as StudentProfileHighlights,
671
- Zx as StudentProfileSummaryModal,
672
- Xx as StudentTrialReportModal,
673
- Vp as SubmitMilestoneModal,
673
+ Xx as StudentProfileSummaryModal,
674
+ en as StudentTrialReportModal,
675
+ Yp as SubmitMilestoneModal,
674
676
  pr as SwitchIcon,
675
- mp as TRACKING_ID_STUDENT,
677
+ xp as TRACKING_ID_STUDENT,
676
678
  $a as TabComponent,
677
679
  Cf as Tabs,
678
680
  ya as Tag,
679
- Qu as TalkMeter,
680
- Tm as TestsCreation,
681
+ Zu as TalkMeter,
682
+ Cm as TestsCreation,
681
683
  Oa as Text,
682
684
  zt as TextButton,
683
685
  aa as TextInput,
@@ -686,7 +688,7 @@ export {
686
688
  Fu as TimelineTabs,
687
689
  hu as TrialSession,
688
690
  nr as TrophyIcon,
689
- an as TutorChangeModal,
691
+ sn as TutorChangeModal,
690
692
  Rl as Tutorial,
691
693
  Fr as TutoringIcon,
692
694
  ba as UIContext,
@@ -702,77 +704,77 @@ export {
702
704
  Zf as UserTypeSelector,
703
705
  hs as UsernamePasswordForm,
704
706
  ff as Video,
705
- sn as ViewPaymentMethodModal,
707
+ un as ViewPaymentMethodModal,
706
708
  Lf as WHITELIST_EVENTS,
707
- dx as WORKSHEET_ACTION_BAR_HEIGHT,
708
- xx as WORKSHEET_QUESTIONS_GAP,
709
- nx as WORKSHEET_QUESTION_WIDTH,
710
- ix as WORKSHEET_TOP_NAVIGATION_HEIGHT,
711
- hd as WORKSHEET_V3_NODE_TYPES,
709
+ nx as WORKSHEET_ACTION_BAR_HEIGHT,
710
+ ix as WORKSHEET_QUESTIONS_GAP,
711
+ cx as WORKSHEET_QUESTION_WIDTH,
712
+ Ix as WORKSHEET_TOP_NAVIGATION_HEIGHT,
713
+ Rd as WORKSHEET_V3_NODE_TYPES,
712
714
  Ll as WebView,
713
715
  Ol as WebViewEvent,
714
716
  kr as WinsCommonIcon,
715
- sx as WinsHeader,
716
- Tx as Worksheet,
717
+ ux as WinsHeader,
718
+ Cx as Worksheet,
717
719
  rl as checkIfPPTNodeType,
718
720
  al as getActiveSATSheet,
719
- Fm as getPreferencesFromConfig,
721
+ Vm as getPreferencesFromConfig,
720
722
  Ka as getTheme,
721
723
  ul as invalidateGetChapterDetails,
722
- ep as invalidateHomeworks,
723
- vm as invalidateMilestoneResources,
724
- Lm as invalidateMilestonesData,
725
- Sn as invalidateParentHome,
726
- gm as invalidatePastMilestoneCount,
727
- ud as invalidatePuzzleToAssign,
728
- ym as invalidateTestHelpData,
729
- Ix as isOkayTypeQuestion,
730
- ex as loadScript,
731
- ap as useAutoPlayPermission,
724
+ rp as invalidateHomeworks,
725
+ Bm as invalidateMilestoneResources,
726
+ Nm as invalidateMilestonesData,
727
+ En as invalidateParentHome,
728
+ Hm as invalidatePastMilestoneCount,
729
+ md as invalidatePuzzleToAssign,
730
+ Um as invalidateTestHelpData,
731
+ Tx as isOkayTypeQuestion,
732
+ rx as loadScript,
733
+ sp as useAutoPlayPermission,
732
734
  pu as useCanvasSyncBroker,
733
- Rp as useChapterPageJourney,
735
+ Lp as useChapterPageJourney,
734
736
  Il as useCircleSounds,
735
737
  Uu as useClassTimeAlerts,
736
738
  Wa as useContextMenuClickHandler,
737
- xn as useFetchParentHome,
739
+ cn as useFetchParentHome,
738
740
  Tt as useForceReload,
739
- Dm as useGetAllMilestonesdata,
741
+ gm as useGetAllMilestonesdata,
740
742
  Yl as useGetCircleHomeDetailsDal,
741
- ip as useGetEligibleJourneysViaRoute,
743
+ Ip as useGetEligibleJourneysViaRoute,
742
744
  Cl as useGetLeaderboardDal,
743
- zm as useGetMileStoneConfig,
744
- bm as useGetMilestoneResources,
745
- Om as useGetPastMilestoneCount,
746
- pd as useGetPuzzleToAssign,
745
+ Fm as useGetMileStoneConfig,
746
+ zm as useGetMilestoneResources,
747
+ ym as useGetPastMilestoneCount,
748
+ dd as useGetPuzzleToAssign,
747
749
  yu as useGetSessionReports,
748
- Gm as useGetTestHelpData,
749
- Ip as useGetTrackedViews,
750
- Qd as useHandleStickerSend,
751
- hp as useHomePageJourney,
750
+ vm as useGetTestHelpData,
751
+ Tp as useGetTrackedViews,
752
+ Zd as useHandleStickerSend,
753
+ Rp as useHomePageJourney,
752
754
  Au as useInClassActionDispatcher,
753
755
  Pu as useInClassActionListener,
754
756
  cu as useInClassMessageBroker,
755
- Nx as useIsLearnosityLoaded,
757
+ Ox as useIsLearnosityLoaded,
756
758
  Fs as useIsTabBlocked,
757
- xp as useJourney,
759
+ ip as useJourney,
758
760
  ha as useModalActions,
759
761
  Ra as useModalParams,
760
- mn as usePLASwitchUserJourney,
761
- cn as useParentHomeData,
762
- Ym as usePointerSync,
763
- Up as usePuzzleAttemptJourney,
764
- Lp as usePuzzleDashboardJourney,
765
- Np as usePuzzleIntroJourney,
766
- Op as usePuzzleProgressJourney,
767
- bp as usePuzzleReviewJourney,
768
- zp as usePuzzleUnassignJourney,
769
- Yd as useStickers,
770
- Zd as useStickersJourney,
771
- yp as useTeacherPuzzleAssignedJourney,
762
+ xn as usePLASwitchUserJourney,
763
+ Sn as useParentHomeData,
764
+ Qm as usePointerSync,
765
+ bp as usePuzzleAttemptJourney,
766
+ Np as usePuzzleDashboardJourney,
767
+ Op as usePuzzleIntroJourney,
768
+ yp as usePuzzleProgressJourney,
769
+ zp as usePuzzleReviewJourney,
770
+ Fp as usePuzzleUnassignJourney,
771
+ Qd as useStickers,
772
+ Xd as useStickersJourney,
773
+ Up as useTeacherPuzzleAssignedJourney,
772
774
  wa as useTrackingContext,
773
775
  Su as useTrialSessionMessageBroker,
774
776
  Ba as useUIContext,
775
- Ox as useWorksheetLayout,
777
+ yx as useWorksheetLayout,
776
778
  It as useZoomDisable
777
779
  };
778
780
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "3.5.24-as1",
3
+ "version": "3.5.24-as2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"