@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.
- package/dist/features/timeline/monthly-report/monthly-report.js +20 -20
- package/dist/features/timeline/monthly-report/monthly-report.js.map +1 -1
- package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.js +62 -52
- package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.js.map +1 -1
- package/dist/features/timeline/monthly-timeline/monthly-timeline-view.js +11 -10
- package/dist/features/timeline/monthly-timeline/monthly-timeline-view.js.map +1 -1
- package/dist/features/timeline/monthly-timeline/monthly-timeline.js +19 -19
- package/dist/features/timeline/monthly-timeline/monthly-timeline.js.map +1 -1
- package/dist/features/timeline/monthly-timeline/monthly-timeline.types.js +3 -2
- package/dist/features/timeline/monthly-timeline/monthly-timeline.types.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +251 -249
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import { useMonthlyReportGet as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { MonthlyReportContainer as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
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:
|
|
18
|
+
data: e,
|
|
19
19
|
isProcessing: n,
|
|
20
|
-
isProcessingFailed:
|
|
21
|
-
} =
|
|
20
|
+
isProcessingFailed: m
|
|
21
|
+
} = c(), r = f(() => {
|
|
22
22
|
i(o);
|
|
23
23
|
}, [i, o]);
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
}, [
|
|
27
|
-
/* @__PURE__ */ t(
|
|
28
|
-
/* @__PURE__ */ t(
|
|
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
|
-
},
|
|
30
|
+
}, F = p(R);
|
|
31
31
|
export {
|
|
32
|
-
|
|
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","
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { REPORT_CONFIG as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
19
|
-
const
|
|
20
|
-
|
|
20
|
+
var s;
|
|
21
|
+
const R = () => {
|
|
22
|
+
r && r((o == null ? void 0 : o.id) || "", e, d, x[f - 1] || "");
|
|
21
23
|
};
|
|
22
|
-
let
|
|
24
|
+
let l = { label: "", icon: "" };
|
|
23
25
|
if (e === "PTM")
|
|
24
|
-
|
|
26
|
+
l = c.PTM ?? { label: "Report", icon: "full" };
|
|
25
27
|
else if (e === "MPR_V1")
|
|
26
|
-
|
|
28
|
+
l = c.MPR_V1 ?? { label: "Report", icon: "full" };
|
|
27
29
|
else if (e === "MPR_V2") {
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
+
const t = (h || "").toLowerCase();
|
|
31
|
+
l = c["MPR_V2_" + t] ?? { label: "Report", icon: "full" };
|
|
30
32
|
}
|
|
31
|
-
const
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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(
|
|
10
|
+
}) => /* @__PURE__ */ e(s, { $flexRowGapX: 1.5, children: t.map((r) => {
|
|
10
11
|
var o;
|
|
11
12
|
return /* @__PURE__ */ e(
|
|
12
|
-
|
|
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:
|
|
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
|
-
|
|
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":"
|
|
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 {
|
|
3
|
-
import { useMonthlyTimelineGet as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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
|
|
8
|
-
import
|
|
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
|
|
11
|
-
import
|
|
12
|
-
const
|
|
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
|
-
} =
|
|
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 (
|
|
32
|
+
if ($(() => {
|
|
33
33
|
t();
|
|
34
34
|
}, [t]), h || !a)
|
|
35
|
-
return /* @__PURE__ */ r(
|
|
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(
|
|
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 =
|
|
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(
|
|
44
|
-
/* @__PURE__ */ r(
|
|
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
|
-
|
|
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
|
-
},
|
|
58
|
+
}, z = d(C);
|
|
59
59
|
export {
|
|
60
|
-
|
|
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","
|
|
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
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
5253
|
+
export declare const MonthlyReport: NamedExoticComponent<IMonthlyReportProps>;
|
|
5254
5254
|
|
|
5255
|
-
export declare const MonthlyTimeline:
|
|
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 {
|
|
263
|
-
import { default as Yu } from "./features/timeline/monthly-
|
|
264
|
-
import { default as Qu } from "./features/
|
|
265
|
-
import { default as Zu } from "./features/
|
|
266
|
-
import { default as Xu } from "./features/
|
|
267
|
-
import {
|
|
268
|
-
import {
|
|
269
|
-
import {
|
|
270
|
-
import {
|
|
271
|
-
import {
|
|
272
|
-
import {
|
|
273
|
-
import {
|
|
274
|
-
import {
|
|
275
|
-
import {
|
|
276
|
-
import {
|
|
277
|
-
import {
|
|
278
|
-
import {
|
|
279
|
-
import {
|
|
280
|
-
import {
|
|
281
|
-
import {
|
|
282
|
-
import {
|
|
283
|
-
import {
|
|
284
|
-
import {
|
|
285
|
-
import {
|
|
286
|
-
import {
|
|
287
|
-
import {
|
|
288
|
-
import {
|
|
289
|
-
import { default as Vp } from "./features/
|
|
290
|
-
import { default as Yp } from "./features/milestone/create/
|
|
291
|
-
import { default as Qp } from "./features/milestone/create/comps/confirmation-modals/
|
|
292
|
-
import { default as Zp } from "./features/milestone/create/
|
|
293
|
-
import { default as Xp } from "./features/milestone/
|
|
294
|
-
import { default as em } from "./features/milestone/
|
|
295
|
-
import { default as rm } from "./features/milestone/outcome/
|
|
296
|
-
import { default as am } from "./features/milestone/outcome/comps/achievement/
|
|
297
|
-
import { default as sm } from "./features/milestone/
|
|
298
|
-
import { default as um } from "./features/milestone/edit/
|
|
299
|
-
import { default as mm } from "./features/milestone/edit/
|
|
300
|
-
import { default as xm } from "./features/milestone/
|
|
301
|
-
import { default as im } from "./features/milestone/milestone-
|
|
302
|
-
import { default as Im } from "./features/milestone/
|
|
303
|
-
import { default as Tm } from "./features/milestone/milestone-
|
|
304
|
-
import { default as Cm } from "./features/milestone/milestone-
|
|
305
|
-
import {
|
|
306
|
-
import {
|
|
307
|
-
import {
|
|
308
|
-
import {
|
|
309
|
-
import {
|
|
310
|
-
import {
|
|
311
|
-
import {
|
|
312
|
-
import {
|
|
313
|
-
import {
|
|
314
|
-
import { default as Ym } from "./features/pointer-sync/
|
|
315
|
-
import {
|
|
316
|
-
import {
|
|
317
|
-
import {
|
|
318
|
-
import {
|
|
319
|
-
import { default as rd } from "./features/puzzles/puzzle-
|
|
320
|
-
import { default as ad } from "./features/puzzles/puzzle-
|
|
321
|
-
import { default as sd } from "./features/puzzles/
|
|
322
|
-
import {
|
|
323
|
-
import {
|
|
324
|
-
import {
|
|
325
|
-
import {
|
|
326
|
-
import { default as Td } from "./features/sheet-tools/
|
|
327
|
-
import { default as Cd } from "./features/
|
|
328
|
-
import { default as Pd } from "./features/sheets/
|
|
329
|
-
import {
|
|
330
|
-
import {
|
|
331
|
-
import {
|
|
332
|
-
import { default as Fd } from "./features/stickers/
|
|
333
|
-
import {
|
|
334
|
-
import {
|
|
335
|
-
import {
|
|
336
|
-
import {
|
|
337
|
-
import {
|
|
338
|
-
import { default as ex } from "./features/
|
|
339
|
-
import { default as rx } from "./features/
|
|
340
|
-
import { default as ax } from "./features/wins-dashboard/
|
|
341
|
-
import { default as sx } from "./features/wins-dashboard/
|
|
342
|
-
import {
|
|
343
|
-
import {
|
|
344
|
-
import {
|
|
345
|
-
import {
|
|
346
|
-
import { default as Cx } from "./features/worksheet/worksheet
|
|
347
|
-
import { default as Px } from "./features/worksheet/worksheet-preview/
|
|
348
|
-
import { default as hx } from "./features/worksheet/worksheet/worksheet-
|
|
349
|
-
import { default as Rx } from "./features/worksheet/worksheet/worksheet-permissions/
|
|
350
|
-
import { default as Lx } from "./features/worksheet/
|
|
351
|
-
import { default as Nx } from "./features/worksheet/learnosity-preloader/
|
|
352
|
-
import { default as Ox } from "./features/worksheet/
|
|
353
|
-
import { default as yx } from "./features/
|
|
354
|
-
import { default as Ux } from "./features/parent-dashboard/comps/
|
|
355
|
-
import { default as bx } from "./features/parent-dashboard/comps/
|
|
356
|
-
import { default as zx } from "./features/parent-dashboard/comps/
|
|
357
|
-
import { default as Fx } from "./features/parent-dashboard/comps/
|
|
358
|
-
import { default as Vx } from "./features/parent-dashboard/
|
|
359
|
-
import { default as Yx } from "./features/parent-dashboard/modals/cancellation-
|
|
360
|
-
import { default as Qx } from "./features/parent-dashboard/modals/
|
|
361
|
-
import { default as Zx } from "./features/parent-dashboard/modals/
|
|
362
|
-
import { default as Xx } from "./features/parent-dashboard/modals/
|
|
363
|
-
import { default as en } from "./features/parent-dashboard/modals/
|
|
364
|
-
import { default as rn } from "./features/parent-dashboard/modals/
|
|
365
|
-
import { default as an } from "./features/parent-dashboard/modals/
|
|
366
|
-
import { default as sn } from "./features/parent-dashboard/modals/
|
|
367
|
-
import { default as un } from "./features/parent-dashboard/
|
|
368
|
-
import {
|
|
369
|
-
import {
|
|
370
|
-
import { default as cn } from "./features/parent-dashboard/hooks/use-parent-home
|
|
371
|
-
import {
|
|
372
|
-
import {
|
|
373
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
383
|
-
|
|
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
|
-
|
|
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
|
-
|
|
413
|
-
|
|
414
|
-
|
|
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
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
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
|
-
|
|
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
|
-
|
|
446
|
+
hp as Coachmark,
|
|
446
447
|
Q as CodeIcon,
|
|
447
|
-
|
|
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
|
-
|
|
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
|
-
|
|
468
|
-
|
|
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
|
-
|
|
475
|
+
hx as DynamicPreviewWorksheet,
|
|
475
476
|
Nu as EClassTimeAlertLevel,
|
|
476
477
|
Ja as EDeviceType,
|
|
477
478
|
Pl as ELeaderboardType,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
An as EPLAState,
|
|
480
|
+
Pm as EPResourceAssign,
|
|
481
|
+
Xm as EPostGameStat,
|
|
481
482
|
Ou as ESessionStatus,
|
|
482
|
-
|
|
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
|
-
|
|
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
|
-
|
|
493
|
-
|
|
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
|
-
|
|
503
|
-
|
|
504
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
527
|
-
|
|
528
|
-
|
|
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
|
-
|
|
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
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
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
|
-
|
|
553
|
-
|
|
554
|
+
Qu as MonthlyReport,
|
|
555
|
+
Yu as MonthlyTimeline,
|
|
554
556
|
so as MoreVerticalIcon,
|
|
555
557
|
et as MorningIcon,
|
|
556
558
|
Vs as MultiTabBlocker,
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
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
|
-
|
|
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
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
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
|
-
|
|
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
|
-
|
|
590
|
+
ed as PostGameStats,
|
|
589
591
|
_o as PracticeIcon,
|
|
590
|
-
|
|
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
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
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
|
-
|
|
604
|
+
Hd as REWARDS_LIST,
|
|
603
605
|
La as RadioCard,
|
|
604
606
|
Zt as RadioInput,
|
|
605
|
-
|
|
607
|
+
nd as RecentChapters,
|
|
606
608
|
Go as RedoIcon,
|
|
607
|
-
|
|
608
|
-
|
|
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
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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
|
-
|
|
639
|
+
Lx as SheetError,
|
|
638
640
|
Wo as SheetIcon,
|
|
639
|
-
|
|
640
|
-
|
|
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
|
-
|
|
662
|
-
|
|
663
|
-
|
|
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
|
-
|
|
668
|
-
|
|
669
|
-
|
|
669
|
+
sx as StudentBadgeList,
|
|
670
|
+
ex as StudentDetails,
|
|
671
|
+
an as StudentLoginInfoModal,
|
|
670
672
|
Lu as StudentProfileHighlights,
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
673
|
+
Xx as StudentProfileSummaryModal,
|
|
674
|
+
en as StudentTrialReportModal,
|
|
675
|
+
Yp as SubmitMilestoneModal,
|
|
674
676
|
pr as SwitchIcon,
|
|
675
|
-
|
|
677
|
+
xp as TRACKING_ID_STUDENT,
|
|
676
678
|
$a as TabComponent,
|
|
677
679
|
Cf as Tabs,
|
|
678
680
|
ya as Tag,
|
|
679
|
-
|
|
680
|
-
|
|
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
|
-
|
|
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
|
-
|
|
707
|
+
un as ViewPaymentMethodModal,
|
|
706
708
|
Lf as WHITELIST_EVENTS,
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
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
|
-
|
|
716
|
-
|
|
717
|
+
ux as WinsHeader,
|
|
718
|
+
Cx as Worksheet,
|
|
717
719
|
rl as checkIfPPTNodeType,
|
|
718
720
|
al as getActiveSATSheet,
|
|
719
|
-
|
|
721
|
+
Vm as getPreferencesFromConfig,
|
|
720
722
|
Ka as getTheme,
|
|
721
723
|
ul as invalidateGetChapterDetails,
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
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
|
-
|
|
735
|
+
Lp as useChapterPageJourney,
|
|
734
736
|
Il as useCircleSounds,
|
|
735
737
|
Uu as useClassTimeAlerts,
|
|
736
738
|
Wa as useContextMenuClickHandler,
|
|
737
|
-
|
|
739
|
+
cn as useFetchParentHome,
|
|
738
740
|
Tt as useForceReload,
|
|
739
|
-
|
|
741
|
+
gm as useGetAllMilestonesdata,
|
|
740
742
|
Yl as useGetCircleHomeDetailsDal,
|
|
741
|
-
|
|
743
|
+
Ip as useGetEligibleJourneysViaRoute,
|
|
742
744
|
Cl as useGetLeaderboardDal,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
745
|
+
Fm as useGetMileStoneConfig,
|
|
746
|
+
zm as useGetMilestoneResources,
|
|
747
|
+
ym as useGetPastMilestoneCount,
|
|
748
|
+
dd as useGetPuzzleToAssign,
|
|
747
749
|
yu as useGetSessionReports,
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
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
|
-
|
|
757
|
+
Ox as useIsLearnosityLoaded,
|
|
756
758
|
Fs as useIsTabBlocked,
|
|
757
|
-
|
|
759
|
+
ip as useJourney,
|
|
758
760
|
ha as useModalActions,
|
|
759
761
|
Ra as useModalParams,
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
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
|
-
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|