@cuemath/leap 3.5.34-as3 → 3.5.34-j1

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,65 +1,69 @@
1
- import { jsx as e, Fragment as A, jsxs as a } from "react/jsx-runtime";
2
- import { memo as I, useMemo as C, useCallback as E, useEffect as _ } from "react";
3
- import { monthlyTimelineGet as b } from "./api/use-monthly-timeline-get.js";
4
- import w from "./monthly-timeline-view.js";
5
- import L from "../../ui/loader/app-loader/app-loader.js";
1
+ import { jsx as r, Fragment as w, jsxs as s } from "react/jsx-runtime";
2
+ import { memo as L, useMemo as R, useCallback as X, useEffect as d } from "react";
3
+ import { monthlyTimelineGet as j } from "./api/use-monthly-timeline-get.js";
4
+ import F from "./monthly-timeline-view.js";
5
+ import M from "../../ui/loader/app-loader/app-loader.js";
6
6
  import t from "../../ui/layout/flex-view.js";
7
- import P from "../../ui/text/text.js";
8
- import T from "../../ui/image/image.js";
9
- import s from "../../ui/separator/separator.js";
10
- import { yearImages as R, monthNames as X } from "./constants.js";
11
- import j from "../../ui/error/error.js";
12
- import { ImageContainer as F, DateText as M } from "./monthly-timeline-styled.js";
13
- import { getTimezone as S } from "../../../helpers/date-time.js";
14
- import { ILLUSTRATIONS as B } from "../../../assets/illustrations/illustrations.js";
15
- const v = ({
16
- userType: h,
7
+ import S from "../../ui/text/text.js";
8
+ import y from "../../ui/image/image.js";
9
+ import h from "../../ui/separator/separator.js";
10
+ import { yearImages as A, monthNames as B } from "./constants.js";
11
+ import I from "../../ui/error/error.js";
12
+ import { ImageContainer as v, DateText as z } from "./monthly-timeline-styled.js";
13
+ import { getTimezone as C } from "../../../helpers/date-time.js";
14
+ import { ILLUSTRATIONS as D } from "../../../assets/illustrations/illustrations.js";
15
+ const K = ({
16
+ userType: c,
17
17
  studentId: n,
18
18
  courseStreams: l,
19
- onReportClick: $
19
+ onReportClick: u,
20
+ onAPIComplete: o
20
21
  }) => {
21
- const i = C(
22
+ const m = R(
22
23
  () => ({
23
- course_streams: h === "TEACHER" ? l : [],
24
- timezone: S()
24
+ course_streams: c === "TEACHER" ? l : [],
25
+ timezone: C()
25
26
  }),
26
- [l, h]
27
+ [l, c]
27
28
  ), {
28
- get: c,
29
- data: o = [],
30
- isProcessing: y,
31
- isProcessingFailed: d
32
- } = b(n, i), m = E(() => {
33
- c(n, i);
34
- }, [c, i, n]);
35
- return _(() => {
36
- m();
37
- }, [m]), y ? /* @__PURE__ */ e(L, { height: "100dvh" }) : d ? /* @__PURE__ */ e(t, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ e(j, { onTryAgain: m }) }) : /* @__PURE__ */ e(A, { children: (o == null ? void 0 : o.length) > 0 ? /* @__PURE__ */ e(t, { $gapX: 2, children: o.map((r, u) => {
38
- const g = u === 0, x = r.month === 12, f = !g && x, p = R[r.year];
39
- return /* @__PURE__ */ a(t, { $width: "100%", children: [
40
- !g && !f && /* @__PURE__ */ e(s, { heightX: 2 }),
41
- f && p && /* @__PURE__ */ e(F, { $marginBottom: -122, children: /* @__PURE__ */ e(T, { src: p, alt: r.year.toString() }) }),
42
- /* @__PURE__ */ a(t, { $gutterX: 1, children: [
43
- /* @__PURE__ */ e(M, { $renderAs: "ac4", $color: "BLACK_T_60", children: X[r.month - 1] }),
44
- /* @__PURE__ */ e(s, { heightX: 1 }),
45
- /* @__PURE__ */ e(
46
- w,
29
+ get: f,
30
+ data: i = [],
31
+ isProcessing: x,
32
+ isProcessingFailed: E,
33
+ isProcessed: g
34
+ } = j(n, m), a = X(() => {
35
+ f(n, m);
36
+ }, [f, m, n]);
37
+ return d(() => {
38
+ a();
39
+ }, [a]), d(() => {
40
+ g && (o == null || o());
41
+ }, [g, o]), x ? /* @__PURE__ */ r(M, { height: "100dvh" }) : E ? /* @__PURE__ */ r(t, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ r(I, { onTryAgain: a }) }) : /* @__PURE__ */ r(w, { children: (i == null ? void 0 : i.length) > 0 ? /* @__PURE__ */ r(t, { $gapX: 2, children: i.map((e, _) => {
42
+ const p = _ === 0, b = e.month === 12, T = !p && b, $ = A[e.year];
43
+ return /* @__PURE__ */ s(t, { $width: "100%", children: [
44
+ !p && !T && /* @__PURE__ */ r(h, { heightX: 2 }),
45
+ T && $ && /* @__PURE__ */ r(v, { $marginBottom: -122, children: /* @__PURE__ */ r(y, { src: $, alt: e.year.toString() }) }),
46
+ /* @__PURE__ */ s(t, { $gutterX: 1, children: [
47
+ /* @__PURE__ */ r(z, { $renderAs: "ac4", $color: "BLACK_T_60", children: B[e.month - 1] }),
48
+ /* @__PURE__ */ r(h, { heightX: 1 }),
49
+ /* @__PURE__ */ r(
50
+ F,
47
51
  {
48
- reports: r.reports,
49
- month: r.month,
50
- year: r.year,
51
- onReportClick: $
52
+ reports: e.reports,
53
+ month: e.month,
54
+ year: e.year,
55
+ onReportClick: u
52
56
  }
53
57
  )
54
58
  ] })
55
- ] }, `${r.month}-${r.year}`);
56
- }) }) : /* @__PURE__ */ a(t, { $justifyContent: "center", $alignItems: "center", $height: "100%", children: [
57
- /* @__PURE__ */ e(T, { src: B.EMPTY_REPORTS }),
58
- /* @__PURE__ */ e(s, { heightX: 1.5 }),
59
- /* @__PURE__ */ e(P, { $renderAs: "ab2", color: "BLACK_T_60", children: "Report will be available next month." })
59
+ ] }, `${e.month}-${e.year}`);
60
+ }) }) : /* @__PURE__ */ s(t, { $justifyContent: "center", $alignItems: "center", $height: "100%", children: [
61
+ /* @__PURE__ */ r(y, { src: D.EMPTY_REPORTS }),
62
+ /* @__PURE__ */ r(h, { heightX: 1.5 }),
63
+ /* @__PURE__ */ r(S, { $renderAs: "ab2", color: "BLACK_T_60", children: "Report will be available next month." })
60
64
  ] }) });
61
- }, W = I(v);
65
+ }, rr = L(K);
62
66
  export {
63
- W as default
67
+ rr as default
64
68
  };
65
69
  //# 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, memo, useCallback, useEffect, useMemo } from 'react';\n\nimport { type IMonthlyTimelineProps } from './monthly-timeline-types';\nimport { monthlyTimelineGet } 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';\nimport * as Styled from './monthly-timeline-styled';\nimport { getTimezone } from '../../../helpers/date-time';\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\n\nconst MonthlyTimeline: FC<IMonthlyTimelineProps> = ({\n userType,\n studentId,\n courseStreams,\n onReportClick,\n}) => {\n const initialQueryParams = useMemo(\n () => ({\n course_streams: userType === 'TEACHER' ? courseStreams : [],\n timezone: getTimezone(),\n }),\n [courseStreams, userType],\n );\n\n const {\n get: getTimeline,\n data: timelineData = [],\n isProcessing,\n isProcessingFailed,\n } = monthlyTimelineGet(studentId, initialQueryParams);\n\n const fetchData = useCallback(() => {\n getTimeline(studentId, initialQueryParams);\n }, [getTimeline, initialQueryParams, studentId]);\n\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessing) {\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 return (\n <>\n {timelineData?.length > 0 ? (\n <FlexView $gapX={2}>\n {timelineData.map((item, index) => {\n const isFirstItem = index === 0;\n const isDecember = item.month === 12;\n const showYearImage = !isFirstItem && isDecember;\n const yearImage = yearImages[item.year];\n\n return (\n <FlexView key={`${item.month}-${item.year}`} $width=\"100%\">\n {!isFirstItem && !showYearImage && <Separator heightX={2} />}\n {showYearImage && yearImage && (\n <Styled.ImageContainer $marginBottom={-122}>\n <Image src={yearImage} alt={item.year.toString()} />\n </Styled.ImageContainer>\n )}\n <FlexView $gutterX={1}>\n <Styled.DateText $renderAs=\"ac4\" $color=\"BLACK_T_60\">\n {monthNames[item.month - 1]}\n </Styled.DateText>\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 </FlexView>\n );\n })}\n </FlexView>\n ) : (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\" $height=\"100%\">\n <Image src={ILLUSTRATIONS.EMPTY_REPORTS} />\n <Separator heightX={1.5} />\n <Text $renderAs=\"ab2\" color=\"BLACK_T_60\">\n Report will be available next month.\n </Text>\n </FlexView>\n )}\n </>\n );\n};\n\nexport default memo(MonthlyTimeline);\n"],"names":["MonthlyTimeline","userType","studentId","courseStreams","onReportClick","initialQueryParams","useMemo","getTimezone","getTimeline","timelineData","isProcessing","isProcessingFailed","monthlyTimelineGet","fetchData","useCallback","useEffect","jsx","AppLoader","FlexView","Error","Fragment","item","index","isFirstItem","isDecember","showYearImage","yearImage","yearImages","jsxs","Separator","Styled.ImageContainer","Image","Styled.DateText","monthNames","MonthlyTimelineView","ILLUSTRATIONS","Text","monthlyTimeline","memo"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAMA,IAA6C,CAAC;AAAA,EAClD,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,eAAAC;AAAA,EACA,eAAAC;AACF,MAAM;AACJ,QAAMC,IAAqBC;AAAA,IACzB,OAAO;AAAA,MACL,gBAAgBL,MAAa,YAAYE,IAAgB,CAAC;AAAA,MAC1D,UAAUI,EAAY;AAAA,IAAA;AAAA,IAExB,CAACJ,GAAeF,CAAQ;AAAA,EAAA,GAGpB;AAAA,IACJ,KAAKO;AAAA,IACL,MAAMC,IAAe,CAAC;AAAA,IACtB,cAAAC;AAAA,IACA,oBAAAC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Ab;AAAA,UAACkB;AAAA,UAAA;AAAA,YACC,SAASb,EAAK;AAAA,YACd,OAAOA,EAAK;AAAA,YACZ,MAAMA,EAAK;AAAA,YACX,eAAAjB;AAAA,UAAA;AAAA,QACF;AAAA,MAAA,GACF;AAAA,IAAA,KAlBa,GAAGiB,EAAK,KAAK,IAAIA,EAAK,IAAI,EAmBzC;AAAA,EAEH,CAAA,GACH,IAEC,gBAAAO,EAAAV,GAAA,EAAS,iBAAgB,UAAS,aAAY,UAAS,SAAQ,QAC9D,UAAA;AAAA,IAAC,gBAAAF,EAAAe,GAAA,EAAM,KAAKI,EAAc,cAAe,CAAA;AAAA,IACzC,gBAAAnB,EAACa,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,sBACxBO,GAAK,EAAA,WAAU,OAAM,OAAM,cAAa,UAEzC,wCAAA;AAAA,EAAA,EACF,CAAA,EAEJ,CAAA;AAEJ,GAEeC,IAAAC,EAAKtC,CAAe;"}
1
+ {"version":3,"file":"monthly-timeline.js","sources":["../../../../src/features/timeline/monthly-timeline/monthly-timeline.tsx"],"sourcesContent":["import { type FC, memo, useCallback, useEffect, useMemo } from 'react';\n\nimport { type IMonthlyTimelineProps } from './monthly-timeline-types';\nimport { monthlyTimelineGet } 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';\nimport * as Styled from './monthly-timeline-styled';\nimport { getTimezone } from '../../../helpers/date-time';\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\n\nconst MonthlyTimeline: FC<IMonthlyTimelineProps> = ({\n userType,\n studentId,\n courseStreams,\n onReportClick,\n onAPIComplete,\n}) => {\n const initialQueryParams = useMemo(\n () => ({\n course_streams: userType === 'TEACHER' ? courseStreams : [],\n timezone: getTimezone(),\n }),\n [courseStreams, userType],\n );\n\n const {\n get: getTimeline,\n data: timelineData = [],\n isProcessing,\n isProcessingFailed,\n isProcessed,\n } = monthlyTimelineGet(studentId, initialQueryParams);\n\n const fetchData = useCallback(() => {\n getTimeline(studentId, initialQueryParams);\n }, [getTimeline, initialQueryParams, studentId]);\n\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n useEffect(() => {\n if (isProcessed) {\n onAPIComplete?.();\n }\n }, [isProcessed, onAPIComplete]);\n\n if (isProcessing) {\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 return (\n <>\n {timelineData?.length > 0 ? (\n <FlexView $gapX={2}>\n {timelineData.map((item, index) => {\n const isFirstItem = index === 0;\n const isDecember = item.month === 12;\n const showYearImage = !isFirstItem && isDecember;\n const yearImage = yearImages[item.year];\n\n return (\n <FlexView key={`${item.month}-${item.year}`} $width=\"100%\">\n {!isFirstItem && !showYearImage && <Separator heightX={2} />}\n {showYearImage && yearImage && (\n <Styled.ImageContainer $marginBottom={-122}>\n <Image src={yearImage} alt={item.year.toString()} />\n </Styled.ImageContainer>\n )}\n <FlexView $gutterX={1}>\n <Styled.DateText $renderAs=\"ac4\" $color=\"BLACK_T_60\">\n {monthNames[item.month - 1]}\n </Styled.DateText>\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 </FlexView>\n );\n })}\n </FlexView>\n ) : (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\" $height=\"100%\">\n <Image src={ILLUSTRATIONS.EMPTY_REPORTS} />\n <Separator heightX={1.5} />\n <Text $renderAs=\"ab2\" color=\"BLACK_T_60\">\n Report will be available next month.\n </Text>\n </FlexView>\n )}\n </>\n );\n};\n\nexport default memo(MonthlyTimeline);\n"],"names":["MonthlyTimeline","userType","studentId","courseStreams","onReportClick","onAPIComplete","initialQueryParams","useMemo","getTimezone","getTimeline","timelineData","isProcessing","isProcessingFailed","isProcessed","monthlyTimelineGet","fetchData","useCallback","useEffect","jsx","AppLoader","FlexView","Error","Fragment","item","index","isFirstItem","isDecember","showYearImage","yearImage","yearImages","jsxs","Separator","Styled.ImageContainer","Image","Styled.DateText","monthNames","MonthlyTimelineView","ILLUSTRATIONS","Text","monthlyTimeline","memo"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAMA,IAA6C,CAAC;AAAA,EAClD,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,eAAAC;AAAA,EACA,eAAAC;AAAA,EACA,eAAAC;AACF,MAAM;AACJ,QAAMC,IAAqBC;AAAA,IACzB,OAAO;AAAA,MACL,gBAAgBN,MAAa,YAAYE,IAAgB,CAAC;AAAA,MAC1D,UAAUK,EAAY;AAAA,IAAA;AAAA,IAExB,CAACL,GAAeF,CAAQ;AAAA,EAAA,GAGpB;AAAA,IACJ,KAAKQ;AAAA,IACL,MAAMC,IAAe,CAAC;AAAA,IACtB,cAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,aAAAC;AAAA,EAAA,IACEC,EAAmBZ,GAAWI,CAAkB,GAE9CS,IAAYC,EAAY,MAAM;AAClC,IAAAP,EAAYP,GAAWI,CAAkB;AAAA,EACxC,GAAA,CAACG,GAAaH,GAAoBJ,CAAS,CAAC;AAY/C,SAVAe,EAAU,MAAM;AACJ,IAAAF;EAAA,GACT,CAACA,CAAS,CAAC,GAEdE,EAAU,MAAM;AACd,IAAIJ,MACcR,KAAA,QAAAA;AAAA,EAClB,GACC,CAACQ,GAAaR,CAAa,CAAC,GAE3BM,IACK,gBAAAO,EAACC,GAAU,EAAA,QAAO,SAAS,CAAA,IAGhCP,IAEC,gBAAAM,EAAAE,GAAA,EAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAC,gBAAAF,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I,EAAc,cAAe,CAAA;AAAA,IACzC,gBAAAnB,EAACa,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,sBACxBO,GAAK,EAAA,WAAU,OAAM,OAAM,cAAa,UAEzC,wCAAA;AAAA,EAAA,EACF,CAAA,EAEJ,CAAA;AAEJ,GAEeC,KAAAC,EAAKxC,CAAe;"}
package/dist/index.d.ts CHANGED
@@ -1633,6 +1633,7 @@ declare interface IDailyTimelineProps {
1633
1633
  onPuzzleClick?: (card: ITimeLineItem) => void;
1634
1634
  onReviewClick?: (userNodeId: string | null, isSatMockTestBlock: boolean, userBlockId: string | null) => void;
1635
1635
  scrollAreaHeight?: string | number;
1636
+ onAPIComplete?: () => void;
1636
1637
  }
1637
1638
 
1638
1639
  declare interface IDatePickerInputProps extends Omit<ICustomInputFieldProps, 'value' | 'onChange'> {
@@ -2399,8 +2400,8 @@ export declare const ILLUSTRATIONS: {
2399
2400
  CIRCLE_OUTERCIRCLE_BG: string;
2400
2401
  CLOCK_BADGE: string;
2401
2402
  CLOCK_ORANGE: string;
2402
- CODING_REPORT_ICON: string;
2403
2403
  CLOCK_PURPLE: string;
2404
+ CODING_REPORT_ICON: string;
2404
2405
  COMMON: string;
2405
2406
  COMMUNITY_BULB: string;
2406
2407
  COMMUNITY_BULB_YELLOW_2: string;
@@ -2474,19 +2475,26 @@ export declare const ILLUSTRATIONS: {
2474
2475
  MYSTERY: string;
2475
2476
  MYTHIC: string;
2476
2477
  NODE_ACTIVITY_BG: string;
2478
+ NODE_ACTIVITY_LARGE_BG: string;
2479
+ NODE_CHALLENGE_ARENA_LARGE_BG: string;
2477
2480
  NODE_CUSTOM_TEST_BG: string;
2478
2481
  NODE_DOWNLOAD_BG: string;
2482
+ NODE_DOWNLOAD_LARGE_BG: string;
2479
2483
  NODE_LEARN_BG: string;
2480
2484
  NODE_LEARN_LARGE_BG: string;
2481
2485
  NODE_PRACTICE_BG: string;
2482
2486
  NODE_PROJECT_BG: string;
2487
+ NODE_PROJECT_LARGE_BG: string;
2483
2488
  NODE_PUZZLE_BG: string;
2484
2489
  NODE_PUZZLE_LARGE_BG: string;
2485
2490
  NODE_RECAP_BG: string;
2491
+ NODE_RECAP_LARGE_BG: string;
2486
2492
  NODE_SUBJECTIVE_BG: string;
2493
+ NODE_SUBJECTIVE_LARGE_BG: string;
2487
2494
  NODE_TEST_LARGE_BG: string;
2488
2495
  NODE_TEST_PREP_BG: string;
2489
2496
  NODE_VIDEO_BG: string;
2497
+ NODE_VIDEO_LARGE_BG: string;
2490
2498
  NOV: string;
2491
2499
  NO_ACTIVITY: string;
2492
2500
  NO_REPORT: string;
@@ -2513,8 +2521,8 @@ export declare const ILLUSTRATIONS: {
2513
2521
  PRACTICED_SHIELD_GREY: string;
2514
2522
  PROFICIENT_BADGE: string;
2515
2523
  PROFILE_BOARD: string;
2516
- PTM_REPORT_ICON: string;
2517
2524
  PROGRESS_BAR_PURPLE: string;
2525
+ PTM_REPORT_ICON: string;
2518
2526
  PUZZLE: string;
2519
2527
  PUZZLE_DASHBOARD_BANNER: string;
2520
2528
  PUZZLE_PATTERN_BLUE: string;
@@ -3021,6 +3029,7 @@ declare interface IMonthlyTimelineProps {
3021
3029
  courseStreams?: string[];
3022
3030
  onReportClick?: (reportId: string, reportType: REPORT_TYPE, year: number, month: string) => void;
3023
3031
  scrollAreaHeight?: string | number;
3032
+ onAPIComplete?: () => void;
3024
3033
  }
3025
3034
 
3026
3035
  export declare interface IMultiplayerWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {