@cuemath/leap 3.3.15 → 3.3.16-m-af

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.
Files changed (80) hide show
  1. package/dist/assets/lottie/lottie.js +2 -2
  2. package/dist/assets/lottie/lottie.js.map +1 -1
  3. package/dist/features/auth/comps/pill-button/pill-button.js +19 -19
  4. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
  5. package/dist/features/auth/pla-signup/pla-analytics-events.js +4 -5
  6. package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
  7. package/dist/features/auth/pla-signup/signup-header/signup-header.js +1 -1
  8. package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -1
  9. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +24 -24
  10. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
  11. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js +86 -98
  12. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js.map +1 -1
  13. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +42 -45
  14. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
  15. package/dist/features/parent-dashboard/parent-dashboard-types.js +2 -3
  16. package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
  17. package/dist/features/parent-dashboard/parent-dashboard-view.js +127 -139
  18. package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
  19. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +7 -8
  20. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -1
  21. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +26 -27
  22. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -1
  23. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +16 -16
  24. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -1
  25. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +13 -15
  26. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -1
  27. package/dist/features/trial-session/comps/session-report/report-information/report-information.js +1 -1
  28. package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -1
  29. package/dist/index.d.ts +15 -52
  30. package/dist/index.js +262 -276
  31. package/dist/index.js.map +1 -1
  32. package/dist/node_modules/query-string/base.js +1 -1
  33. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -0
  34. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  35. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  36. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  37. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  38. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  39. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  40. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
  41. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  42. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  43. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  44. package/dist/static/error.cbe1ddde.json +1 -0
  45. package/dist/static/username.9e034d51.json +1 -0
  46. package/package.json +1 -1
  47. package/dist/features/parent-dashboard/api/get-student-profile-summary.js +0 -9
  48. package/dist/features/parent-dashboard/api/get-student-profile-summary.js.map +0 -1
  49. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js +0 -10
  50. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js.map +0 -1
  51. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +0 -42
  52. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +0 -1
  53. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js +0 -24
  54. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js.map +0 -1
  55. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js +0 -40
  56. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js.map +0 -1
  57. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js +0 -44
  58. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js.map +0 -1
  59. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js +0 -32
  60. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js.map +0 -1
  61. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +0 -12
  62. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +0 -1
  63. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +0 -44
  64. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +0 -1
  65. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +0 -13
  66. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +0 -1
  67. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +0 -28
  68. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +0 -1
  69. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js +0 -43
  70. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js.map +0 -1
  71. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +0 -59
  72. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +0 -1
  73. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +0 -86
  74. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +0 -1
  75. package/dist/node_modules/decode-uri-component/index.js.map +0 -1
  76. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  77. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  78. package/dist/static/error.dd744fa5.json +0 -1
  79. package/dist/static/username.2c755605.json +0 -1
  80. /package/dist/node_modules/{decode-uri-component → query-string/node_modules/decode-uri-component}/index.js +0 -0
@@ -1,38 +1,38 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { memo as g, useCallback as p } from "react";
2
+ import { memo as p, useCallback as g } from "react";
3
3
  import { useTheme as u } from "styled-components";
4
4
  import b from "../../../../../../assets/line-icons/icons/chevron-right.js";
5
- import I from "../../../../../ui/buttons/clickable/clickable.js";
6
- import w from "../../../../../ui/image/image.js";
5
+ import w from "../../../../../ui/buttons/clickable/clickable.js";
6
+ import x from "../../../../../ui/image/image.js";
7
7
  import r from "../../../../../ui/layout/flex-view.js";
8
- import x from "../../../../../ui/separator/separator.js";
8
+ import T from "../../../../../ui/separator/separator.js";
9
9
  import n from "../../../../../ui/text/text.js";
10
- import { EDeviceType as T } from "../../../../../ui/theme/constants.js";
11
- import { ImageWrapper as k } from "./summary-card-styled.js";
12
- const _ = g(
10
+ import { EDeviceType as C } from "../../../../../ui/theme/constants.js";
11
+ import { ImageWrapper as E } from "./summary-card-styled.js";
12
+ const _ = p(
13
13
  ({
14
14
  title: l,
15
15
  description: a,
16
16
  image: h,
17
17
  textBG: c,
18
- ctaLabel: d,
19
- type: o,
20
- isDemoDone: $,
18
+ ctaLabel: $,
19
+ keyId: o,
20
+ isDemoDone: d,
21
21
  onClick: i
22
22
  }) => {
23
- const s = u().device <= T.MOBILE, f = p(() => {
23
+ const s = u().device <= C.MOBILE, f = g(() => {
24
24
  o && i && i(o);
25
25
  }, [o, i]), m = /* @__PURE__ */ t(r, { $flex: 1, children: [
26
- /* @__PURE__ */ e(k, { $height: 84, $width: "100%", $background: c, children: /* @__PURE__ */ e(w, { src: h, height: 84, width: "100%", withLoader: !1 }) }),
26
+ /* @__PURE__ */ e(E, { $height: 84, $width: "100%", $background: c, children: /* @__PURE__ */ e(x, { src: h, height: 84, width: "100%", withLoader: !1 }) }),
27
27
  /* @__PURE__ */ t(r, { $gap: 12, $gutter: 16, $background: c, $flex: 1, children: [
28
28
  /* @__PURE__ */ e(n, { $renderAs: "ac3-black", $renderOnMobileAs: "ac4-black", $color: "WHITE", children: l }),
29
- /* @__PURE__ */ e(x, { height: s ? 8 : 12 }),
29
+ /* @__PURE__ */ e(T, { height: s ? 8 : 12 }),
30
30
  /* @__PURE__ */ e(n, { $renderAs: "ub3", $color: "WHITE", children: a })
31
31
  ] })
32
32
  ] }, l);
33
- return $ && o && i ? /* @__PURE__ */ t(r, { $flex: 1, children: [
33
+ return d && o && i ? /* @__PURE__ */ t(r, { $flex: 1, children: [
34
34
  m,
35
- /* @__PURE__ */ e(I, { label: o, onClick: f, children: /* @__PURE__ */ e(r, { $background: c, children: /* @__PURE__ */ t(
35
+ /* @__PURE__ */ e(w, { label: o, onClick: f, children: /* @__PURE__ */ e(r, { $background: c, children: /* @__PURE__ */ t(
36
36
  r,
37
37
  {
38
38
  $background: "BLACK_T_38",
@@ -42,7 +42,7 @@ const _ = g(
42
42
  $alignItems: "center",
43
43
  $justifyContent: "space-between",
44
44
  children: [
45
- /* @__PURE__ */ e(r, { $gutterX: 0.5, $flexDirection: "row", $alignItems: "center", children: /* @__PURE__ */ e(n, { $renderAs: "ac4", $color: "WHITE_1", children: d }) }),
45
+ /* @__PURE__ */ e(r, { $gutterX: 0.5, $flexDirection: "row", $alignItems: "center", children: /* @__PURE__ */ e(n, { $renderAs: "ac4", $color: "WHITE_1", children: $ }) }),
46
46
  /* @__PURE__ */ e(b, { width: 24, height: 24, color: "WHITE" })
47
47
  ]
48
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"summary-card.js","sources":["../../../../../../../src/features/trial-session/comps/pla/session-summary/summary-card/summary-card.tsx"],"sourcesContent":["import type { ISessionSummaryCardProps } from './summary-card-types';\n\nimport { memo, useCallback } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport ChevronRightIcon from '../../../../../../assets/line-icons/icons/chevron-right';\nimport Clickable from '../../../../../ui/buttons/clickable/clickable';\nimport Image from '../../../../../ui/image/image';\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport Separator from '../../../../../ui/separator/separator';\nimport Text from '../../../../../ui/text/text';\nimport { EDeviceType } from '../../../../../ui/theme/constants';\nimport * as Styled from './summary-card-styled';\n\nconst SessionSummaryCard = memo(\n ({\n title,\n description,\n image,\n textBG,\n ctaLabel,\n type,\n isDemoDone,\n onClick,\n }: ISessionSummaryCardProps) => {\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n\n const handleClick = useCallback(() => {\n if (type && onClick) onClick(type);\n }, [type, onClick]);\n\n const CardContent = (\n <FlexView key={title} $flex={1}>\n <Styled.ImageWrapper $height={84} $width=\"100%\" $background={textBG}>\n <Image src={image} height={84} width=\"100%\" withLoader={false} />\n </Styled.ImageWrapper>\n <FlexView $gap={12} $gutter={16} $background={textBG} $flex={1}>\n <Text $renderAs=\"ac3-black\" $renderOnMobileAs=\"ac4-black\" $color=\"WHITE\">\n {title}\n </Text>\n <Separator height={isMobile ? 8 : 12} />\n <Text $renderAs=\"ub3\" $color=\"WHITE\">\n {description}\n </Text>\n </FlexView>\n </FlexView>\n );\n\n return isDemoDone && type && onClick ? (\n <FlexView $flex={1}>\n {CardContent}\n <Clickable label={type} onClick={handleClick}>\n <FlexView $background={textBG}>\n <FlexView\n $background=\"BLACK_T_38\"\n $gapX={0.5}\n $gutterX={0.5}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"space-between\"\n >\n <FlexView $gutterX={0.5} $flexDirection=\"row\" $alignItems=\"center\">\n <Text $renderAs=\"ac4\" $color=\"WHITE_1\">\n {ctaLabel}\n </Text>\n </FlexView>\n <ChevronRightIcon width={24} height={24} color=\"WHITE\" />\n </FlexView>\n </FlexView>\n </Clickable>\n </FlexView>\n ) : (\n CardContent\n );\n },\n);\n\nexport default SessionSummaryCard;\n"],"names":["SessionSummaryCard","memo","title","description","image","textBG","ctaLabel","type","isDemoDone","onClick","isMobile","useTheme","EDeviceType","handleClick","useCallback","CardContent","jsxs","FlexView","jsx","Styled.ImageWrapper","Image","Text","Separator","Clickable","ChevronRightIcon"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAAqBC;AAAA,EACzB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAAC;AAAA,IACA,YAAAC;AAAA,IACA,SAAAC;AAAA,EAAA,MAC8B;AAExB,UAAAC,IADQC,IACS,UAAUC,EAAY,QAEvCC,IAAcC,EAAY,MAAM;AAChC,MAAAP,KAAQE,KAASA,EAAQF,CAAI;AAAA,IAAA,GAChC,CAACA,GAAME,CAAO,CAAC,GAEZM,IACJ,gBAAAC,EAACC,GAAqB,EAAA,OAAO,GAC3B,UAAA;AAAA,MAAA,gBAAAC,EAACC,GAAA,EAAoB,SAAS,IAAI,QAAO,QAAO,aAAad,GAC3D,4BAACe,GAAM,EAAA,KAAKhB,GAAO,QAAQ,IAAI,OAAM,QAAO,YAAY,GAAO,CAAA,GACjE;AAAA,MACA,gBAAAY,EAACC,KAAS,MAAM,IAAI,SAAS,IAAI,aAAaZ,GAAQ,OAAO,GAC3D,UAAA;AAAA,QAAA,gBAAAa,EAACG,KAAK,WAAU,aAAY,mBAAkB,aAAY,QAAO,SAC9D,UACHnB,EAAA,CAAA;AAAA,QACC,gBAAAgB,EAAAI,GAAA,EAAU,QAAQZ,IAAW,IAAI,IAAI;AAAA,0BACrCW,GAAK,EAAA,WAAU,OAAM,QAAO,SAC1B,UACHlB,GAAA;AAAA,MAAA,GACF;AAAA,IAAA,EAAA,GAZaD,CAaf;AAGF,WAAOM,KAAcD,KAAQE,IAC1B,gBAAAO,EAAAC,GAAA,EAAS,OAAO,GACd,UAAA;AAAA,MAAAF;AAAA,MACD,gBAAAG,EAACK,KAAU,OAAOhB,GAAM,SAASM,GAC/B,UAAA,gBAAAK,EAACD,GAAS,EAAA,aAAaZ,GACrB,UAAA,gBAAAW;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,aAAY;AAAA,UACZ,OAAO;AAAA,UACP,UAAU;AAAA,UACV,gBAAe;AAAA,UACf,aAAY;AAAA,UACZ,iBAAgB;AAAA,UAEhB,UAAA;AAAA,YAAA,gBAAAC,EAACD,GAAS,EAAA,UAAU,KAAK,gBAAe,OAAM,aAAY,UACxD,UAAC,gBAAAC,EAAAG,GAAA,EAAK,WAAU,OAAM,QAAO,WAC1B,YACH,CAAA,GACF;AAAA,8BACCG,GAAiB,EAAA,OAAO,IAAI,QAAQ,IAAI,OAAM,SAAQ;AAAA,UAAA;AAAA,QAAA;AAAA,SAE3D,EACF,CAAA;AAAA,IAAA,EACF,CAAA,IAEAT;AAAA,EAEJ;AACF;"}
1
+ {"version":3,"file":"summary-card.js","sources":["../../../../../../../src/features/trial-session/comps/pla/session-summary/summary-card/summary-card.tsx"],"sourcesContent":["import type { ISessionSummaryCardProps } from './summary-card-types';\n\nimport { memo, useCallback } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport ChevronRightIcon from '../../../../../../assets/line-icons/icons/chevron-right';\nimport Clickable from '../../../../../ui/buttons/clickable/clickable';\nimport Image from '../../../../../ui/image/image';\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport Separator from '../../../../../ui/separator/separator';\nimport Text from '../../../../../ui/text/text';\nimport { EDeviceType } from '../../../../../ui/theme/constants';\nimport * as Styled from './summary-card-styled';\n\nconst SessionSummaryCard = memo(\n ({\n title,\n description,\n image,\n textBG,\n ctaLabel,\n keyId,\n isDemoDone,\n onClick,\n }: ISessionSummaryCardProps) => {\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n\n const handleClick = useCallback(() => {\n if (keyId && onClick) onClick(keyId);\n }, [keyId, onClick]);\n\n const CardContent = (\n <FlexView key={title} $flex={1}>\n <Styled.ImageWrapper $height={84} $width=\"100%\" $background={textBG}>\n <Image src={image} height={84} width=\"100%\" withLoader={false} />\n </Styled.ImageWrapper>\n <FlexView $gap={12} $gutter={16} $background={textBG} $flex={1}>\n <Text $renderAs=\"ac3-black\" $renderOnMobileAs=\"ac4-black\" $color=\"WHITE\">\n {title}\n </Text>\n <Separator height={isMobile ? 8 : 12} />\n <Text $renderAs=\"ub3\" $color=\"WHITE\">\n {description}\n </Text>\n </FlexView>\n </FlexView>\n );\n\n return isDemoDone && keyId && onClick ? (\n <FlexView $flex={1}>\n {CardContent}\n <Clickable label={keyId} onClick={handleClick}>\n <FlexView $background={textBG}>\n <FlexView\n $background=\"BLACK_T_38\"\n $gapX={0.5}\n $gutterX={0.5}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"space-between\"\n >\n <FlexView $gutterX={0.5} $flexDirection=\"row\" $alignItems=\"center\">\n <Text $renderAs=\"ac4\" $color=\"WHITE_1\">\n {ctaLabel}\n </Text>\n </FlexView>\n <ChevronRightIcon width={24} height={24} color=\"WHITE\" />\n </FlexView>\n </FlexView>\n </Clickable>\n </FlexView>\n ) : (\n CardContent\n );\n },\n);\n\nexport default SessionSummaryCard;\n"],"names":["SessionSummaryCard","memo","title","description","image","textBG","ctaLabel","keyId","isDemoDone","onClick","isMobile","useTheme","EDeviceType","handleClick","useCallback","CardContent","jsxs","FlexView","jsx","Styled.ImageWrapper","Image","Text","Separator","Clickable","ChevronRightIcon"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAAqBC;AAAA,EACzB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,SAAAC;AAAA,EAAA,MAC8B;AAExB,UAAAC,IADQC,IACS,UAAUC,EAAY,QAEvCC,IAAcC,EAAY,MAAM;AAChC,MAAAP,KAASE,KAASA,EAAQF,CAAK;AAAA,IAAA,GAClC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AAAA,IAAA,EACF,CAAA,IAEAT;AAAA,EAEJ;AACF;"}
@@ -1,15 +1,13 @@
1
1
  import r from "styled-components";
2
- import e from "../../../../ui/image/image.js";
2
+ import t from "../../../../ui/image/image.js";
3
3
  import i from "../../../../ui/layout/flex-view.js";
4
- import t from "../../../../ui/text/text.js";
5
- const a = r(i)(
4
+ import e from "../../../../ui/text/text.js";
5
+ const n = r(i)(
6
6
  ({ theme: o }) => `
7
- ${o.mediaQueries.minWidthTablet} {
8
- border-top: 1px solid ${o.colors.BLACK_1};
9
- border-bottom: 1px solid ${o.colors.BLACK_1};
10
- }
7
+ border-top: 1px solid ${o.colors.BLACK_1};
8
+ border-bottom: 1px solid ${o.colors.BLACK_1};
11
9
  `
12
- ), n = r(i)(
10
+ ), a = r(i)(
13
11
  ({ theme: o }) => `
14
12
  & > div {
15
13
  box-sizing: border-box;;
@@ -20,20 +18,20 @@ const a = r(i)(
20
18
  }
21
19
  }
22
20
  `
23
- ), m = r(i)`
21
+ ), c = r(i)`
24
22
  min-height: 88px;
25
- `, c = r(t)`
23
+ `, m = r(e)`
26
24
  display: inline;
27
- `, x = r(e)(
25
+ `, x = r(t)(
28
26
  ({ $active: o }) => `
29
27
  ${o ? "" : "filter: grayscale(100%);"}
30
28
  `
31
29
  );
32
30
  export {
33
- c as InlineText,
34
- m as ReportCardWrapper,
35
- n as ReportWrapper,
31
+ m as InlineText,
32
+ c as ReportCardWrapper,
33
+ a as ReportWrapper,
36
34
  x as TopicImage,
37
- a as TopicWrapper
35
+ n as TopicWrapper
38
36
  };
39
37
  //# sourceMappingURL=report-information-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"report-information-styled.js","sources":["../../../../../../src/features/trial-session/comps/session-report/report-information/report-information-styled.tsx"],"sourcesContent":["import type { IImageProps } from '../../../../ui/image/image-types';\n\nimport styled from 'styled-components';\n\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\n\nconst TopicWrapper = styled(FlexView)(\n ({ theme }) => `\n ${theme.mediaQueries.minWidthTablet} {\n border-top: 1px solid ${theme.colors.BLACK_1};\n border-bottom: 1px solid ${theme.colors.BLACK_1};\n }\n`,\n);\n\nconst ReportWrapper = styled(FlexView)(\n ({ theme }) => `\n & > div {\n box-sizing: border-box;;\n }\n ${theme.mediaQueries.minWidthTablet} {\n & > div:not(:last-child) {\n border-right: 1px solid ${theme.colors.BLACK_1};\n }\n }\n`,\n);\n\nconst ReportCardWrapper = styled(FlexView)`\n min-height: 88px;\n`;\n\nconst InlineText = styled(Text)`\n display: inline;\n`;\n\ninterface ITopicImage extends IImageProps {\n $active: boolean;\n}\n\nconst TopicImage = styled(Image)<ITopicImage>(\n ({ $active }) => `\n ${$active ? '' : 'filter: grayscale(100%);'}\n`,\n);\n\nexport { TopicWrapper, InlineText, ReportWrapper, TopicImage, ReportCardWrapper };\n"],"names":["TopicWrapper","styled","FlexView","theme","ReportWrapper","ReportCardWrapper","InlineText","Text","TopicImage","Image","$active"],"mappings":";;;;AAQM,MAAAA,IAAeC,EAAOC,CAAQ;AAAA,EAClC,CAAC,EAAE,OAAAC,EAAA,MAAY;AAAA,IACbA,EAAM,aAAa,cAAc;AAAA,4BACTA,EAAM,OAAO,OAAO;AAAA,+BACjBA,EAAM,OAAO,OAAO;AAAA;AAAA;AAGnD,GAEMC,IAAgBH,EAAOC,CAAQ;AAAA,EACnC,CAAC,EAAE,OAAAC,EAAA,MAAY;AAAA;AAAA;AAAA;AAAA,IAIbA,EAAM,aAAa,cAAc;AAAA;AAAA,gCAELA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAIpD,GAEME,IAAoBJ,EAAOC,CAAQ;AAAA;AAAA,GAInCI,IAAaL,EAAOM,CAAI;AAAA;AAAA,GAQxBC,IAAaP,EAAOQ,CAAK;AAAA,EAC7B,CAAC,EAAE,SAAAC,EAAA,MAAc;AAAA,IACfA,IAAU,KAAK,0BAA0B;AAAA;AAE7C;"}
1
+ {"version":3,"file":"report-information-styled.js","sources":["../../../../../../src/features/trial-session/comps/session-report/report-information/report-information-styled.tsx"],"sourcesContent":["import type { IImageProps } from '../../../../ui/image/image-types';\n\nimport styled from 'styled-components';\n\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\n\nconst TopicWrapper = styled(FlexView)(\n ({ theme }) => `\n border-top: 1px solid ${theme.colors.BLACK_1};\n border-bottom: 1px solid ${theme.colors.BLACK_1};\n`,\n);\n\nconst ReportWrapper = styled(FlexView)(\n ({ theme }) => `\n & > div {\n box-sizing: border-box;;\n }\n ${theme.mediaQueries.minWidthTablet} {\n & > div:not(:last-child) {\n border-right: 1px solid ${theme.colors.BLACK_1};\n }\n }\n`,\n);\n\nconst ReportCardWrapper = styled(FlexView)`\n min-height: 88px;\n`;\n\nconst InlineText = styled(Text)`\n display: inline;\n`;\n\ninterface ITopicImage extends IImageProps {\n $active: boolean;\n}\n\nconst TopicImage = styled(Image)<ITopicImage>(\n ({ $active }) => `\n ${$active ? '' : 'filter: grayscale(100%);'}\n`,\n);\n\nexport { TopicWrapper, InlineText, ReportWrapper, TopicImage, ReportCardWrapper };\n"],"names":["TopicWrapper","styled","FlexView","theme","ReportWrapper","ReportCardWrapper","InlineText","Text","TopicImage","Image","$active"],"mappings":";;;;AAQM,MAAAA,IAAeC,EAAOC,CAAQ;AAAA,EAClC,CAAC,EAAE,OAAAC,EAAA,MAAY;AAAA,2BACUA,EAAM,OAAO,OAAO;AAAA,8BACjBA,EAAM,OAAO,OAAO;AAAA;AAElD,GAEMC,IAAgBH,EAAOC,CAAQ;AAAA,EACnC,CAAC,EAAE,OAAAC,EAAA,MAAY;AAAA;AAAA;AAAA;AAAA,IAIbA,EAAM,aAAa,cAAc;AAAA;AAAA,gCAELA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAIpD,GAEME,IAAoBJ,EAAOC,CAAQ;AAAA;AAAA,GAInCI,IAAaL,EAAOM,CAAI;AAAA;AAAA,GAQxBC,IAAaP,EAAOQ,CAAK;AAAA,EAC7B,CAAC,EAAE,SAAAC,EAAA,MAAc;AAAA,IACfA,IAAU,KAAK,0BAA0B;AAAA;AAE7C;"}
@@ -139,7 +139,7 @@ const b = C((A) => {
139
139
  $flexGap: 4,
140
140
  $alignItems: "center",
141
141
  $gap: 9,
142
- $gutter: e ? 0 : 8,
142
+ $gutter: 8,
143
143
  children: [
144
144
  /* @__PURE__ */ t(
145
145
  O,
@@ -1 +1 @@
1
- {"version":3,"file":"report-information.js","sources":["../../../../../../src/features/trial-session/comps/session-report/report-information/report-information.tsx"],"sourcesContent":["import type { TSessionReportData } from '../session-report-types';\nimport type { FC } from 'react';\n\nimport { memo, useMemo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../../assets/illustrations/illustrations';\nimport { useUIContext } from '../../../../ui/context/context';\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { EDeviceType } from '../../../../ui/theme/constants';\nimport Report404 from '../report-404/report-404';\nimport ReportCard from './report-card';\nimport * as Styled from './report-information-styled';\n\ninterface IReportInformationProps {\n sessionReports: TSessionReportData;\n studentName: string;\n}\n\nconst ReportInformation: FC<IReportInformationProps> = memo(props => {\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n const { sessionReports, studentName } = props;\n const {\n next_steps: nextSteps,\n topic_data: topicData,\n solved_with_help: solvedWithHelp,\n problems_attempted: problemsAttempted,\n new_concepts_learnt: newConceptsLearnt,\n solved_independently: solvedIndependently,\n default_topic_image_url: defaultTopicImage,\n } = sessionReports || {};\n\n const { onEvent: trackEvent } = useUIContext();\n\n const renderReportsInfoCard = useMemo(() => {\n if (!problemsAttempted) return null;\n\n if (problemsAttempted === solvedIndependently || (!solvedWithHelp && solvedIndependently)) {\n return (\n <>\n <ReportCard title=\"Problems Attempted\" value={problemsAttempted} widthOnMobile=\"50%\" />\n <ReportCard title=\"Solved without help\" value={solvedIndependently} widthOnMobile=\"50%\" />\n <ReportCard\n title=\"Performance\"\n value={`${Math.round((solvedIndependently / problemsAttempted) * 100)}%`}\n />\n </>\n );\n }\n\n if (!solvedWithHelp && !solvedIndependently) {\n return <ReportCard title=\"Problems Attempted\" value={problemsAttempted} />;\n }\n\n if (solvedWithHelp && newConceptsLearnt) {\n return (\n <>\n <ReportCard title=\"Problems Attempted\" value={problemsAttempted} widthOnMobile=\"50%\" />\n <ReportCard title=\"Needed help in\" value={newConceptsLearnt} widthOnMobile=\"50%\" />\n <ReportCard title=\"Improvement shown in\" value={solvedWithHelp} widthOnMobile=\"50%\" />\n <ReportCard\n title=\"Improvement\"\n value={`${Math.round((solvedWithHelp / newConceptsLearnt) * 100)}%`}\n widthOnMobile=\"50%\"\n />\n </>\n );\n }\n\n return null;\n }, [newConceptsLearnt, problemsAttempted, solvedIndependently, solvedWithHelp]);\n\n if (!renderReportsInfoCard) return <Report404 studentName={studentName} />;\n\n return (\n <FlexView\n $borderColor={isMobile ? 'TRANSPARENT' : 'BLACK_1'}\n $gapX={isMobile ? 1 : 0}\n $background={isMobile ? 'BLACK_2' : 'TRANSPARENT'}\n $gutterX={isMobile ? 1 : 0}\n >\n <Styled.ReportWrapper\n $flexWrap={isMobile}\n $flexDirection=\"row\"\n $height={isMobile ? 'auto' : 100}\n $background={isMobile ? 'BLACK_2' : 'YELLOW_1'}\n >\n {renderReportsInfoCard}\n </Styled.ReportWrapper>\n <Styled.TopicWrapper\n $flexDirection={isMobile ? 'column' : 'row'}\n $background={isMobile ? 'BLACK_2' : 'WHITE_1'}\n $flexRowGapX={isMobile ? 1.25 : 0}\n $gapX={isMobile ? 1.5 : 0}\n >\n {topicData &&\n topicData.length > 0 &&\n topicData.map(topic => {\n const {\n topic_name: topicName,\n topic_image: topicImage,\n summary,\n is_attempted: isAttempted,\n } = topic;\n\n if (!topicImage) {\n trackEvent('TOPIC_THUMBNAIL_NOT_AVAILABLE', topic);\n }\n\n return (\n <FlexView\n key={topicName}\n $gap={isMobile ? 0 : 29}\n $gutter={isMobile ? 0 : 20}\n $flex={1}\n $alignItems={isMobile ? 'center' : 'center'}\n $opacity={isAttempted ? 1 : 0.4}\n $flexDirection={isMobile ? 'row' : 'column'}\n $flexColumnGapX={isMobile ? 1 : 0}\n >\n <FlexView>\n <Styled.TopicImage\n $active={!!isAttempted}\n src={topicImage || defaultTopicImage}\n borderRadius={96}\n height={isMobile ? 84 : 96}\n width={isMobile ? 84 : 96}\n alt=\"topic\"\n withLoader\n />\n </FlexView>\n <FlexView $alignItems={isMobile ? 'flex-start' : 'center'} $gapX={1} $flex={1}>\n {!isMobile && <Separator height={12} />}\n <Text\n $renderAs=\"ab2-bold\"\n $align={isMobile ? 'left' : 'center'}\n $color={isMobile ? 'WHITE' : 'BLACK_1'}\n >\n {topicName}\n </Text>\n <Separator height={2} />\n <Text\n $renderAs=\"ub2\"\n $align={isMobile ? 'left' : 'center'}\n $color={isMobile ? 'WHITE' : 'BLACK_1'}\n >\n {summary}\n </Text>\n </FlexView>\n </FlexView>\n );\n })}\n </Styled.TopicWrapper>\n {isMobile && (\n <FlexView $background=\"BLACK_2\">\n <Text $renderAs=\"ac4-black\" $color=\"WHITE_T_60\">\n Next Steps\n </Text>\n <Separator height={4} />\n </FlexView>\n )}\n <FlexView\n $flexDirection=\"row\"\n $background={isMobile ? 'BLACK_2' : 'YELLOW_3'}\n $flexGap={4}\n $alignItems=\"center\"\n $gap={9}\n $gutter={isMobile ? 0 : 8}\n >\n <Image\n src={isMobile ? ILLUSTRATIONS.COMMUNITY_BULB_YELLOW_2 : ILLUSTRATIONS.COMMUNITY_BULB}\n width={isMobile ? 56 : 80}\n height={isMobile ? 56 : 80}\n withLoader\n alt=\"bulb\"\n />\n <FlexView $flex={1}>\n <Text $renderAs=\"ab2-black\" $color={isMobile ? 'WHITE_1' : 'BLACK_1'}>\n {!isMobile && `Next Steps: `}\n <Styled.InlineText\n $renderAs=\"ab2\"\n $renderOnMobileAs=\"ub2\"\n $color={isMobile ? 'WHITE_1' : 'BLACK_1'}\n >\n {nextSteps}\n </Styled.InlineText>\n </Text>\n </FlexView>\n </FlexView>\n {isMobile && <Separator heightX={1} />}\n </FlexView>\n );\n});\n\nReportInformation.displayName = 'ReportInformation';\n\nexport default ReportInformation;\n"],"names":["ReportInformation","memo","props","isMobile","useTheme","EDeviceType","sessionReports","studentName","nextSteps","topicData","solvedWithHelp","problemsAttempted","newConceptsLearnt","solvedIndependently","defaultTopicImage","trackEvent","useUIContext","renderReportsInfoCard","useMemo","jsxs","Fragment","jsx","ReportCard","FlexView","Styled.ReportWrapper","Styled.TopicWrapper","topic","topicName","topicImage","summary","isAttempted","Styled.TopicImage","Separator","Text","Image","ILLUSTRATIONS","Styled.InlineText","Report404","ReportInformation$1"],"mappings":";;;;;;;;;;;;;AAsBA,MAAMA,IAAiDC,EAAK,CAASC,MAAA;AAE7D,QAAAC,IADQC,IACS,UAAUC,EAAY,QACvC,EAAE,gBAAAC,GAAgB,aAAAC,EAAgB,IAAAL,GAClC;AAAA,IACJ,YAAYM;AAAA,IACZ,YAAYC;AAAA,IACZ,kBAAkBC;AAAA,IAClB,oBAAoBC;AAAA,IACpB,qBAAqBC;AAAA,IACrB,sBAAsBC;AAAA,IACtB,yBAAyBC;AAAA,EAAA,IACvBR,KAAkB,CAAA,GAEhB,EAAE,SAASS,EAAW,IAAIC,EAAa,GAEvCC,IAAwBC,EAAQ,MAC/BP,IAEDA,MAAsBE,KAAwB,CAACH,KAAkBG,IAG/D,gBAAAM,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAW,OAAM,sBAAqB,OAAOX,GAAmB,eAAc,OAAM;AAAA,sBACpFW,GAAW,EAAA,OAAM,uBAAsB,OAAOT,GAAqB,eAAc,OAAM;AAAA,IACxF,gBAAAQ;AAAA,MAACC;AAAA,MAAA;AA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A,oBAE9B,UAAAK;AAAA,kBAAA;AAAA,gBACH;AAAA,cAAA,EAAA,CACF,EACF,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,QACCL,KAAY,gBAAAkB,EAACW,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,IArHL,gBAAAX,EAACgB,KAAU,aAAA9B,EAA0B,CAAA;AAwH1E,CAAC;AAEDP,EAAkB,cAAc;AAEhC,MAAAsC,IAAetC;"}
1
+ {"version":3,"file":"report-information.js","sources":["../../../../../../src/features/trial-session/comps/session-report/report-information/report-information.tsx"],"sourcesContent":["import type { TSessionReportData } from '../session-report-types';\nimport type { FC } from 'react';\n\nimport { memo, useMemo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../../assets/illustrations/illustrations';\nimport { useUIContext } from '../../../../ui/context/context';\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { EDeviceType } from '../../../../ui/theme/constants';\nimport Report404 from '../report-404/report-404';\nimport ReportCard from './report-card';\nimport * as Styled from './report-information-styled';\n\ninterface IReportInformationProps {\n sessionReports: TSessionReportData;\n studentName: string;\n}\n\nconst ReportInformation: FC<IReportInformationProps> = memo(props => {\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n const { sessionReports, studentName } = props;\n const {\n next_steps: nextSteps,\n topic_data: topicData,\n solved_with_help: solvedWithHelp,\n problems_attempted: problemsAttempted,\n new_concepts_learnt: newConceptsLearnt,\n solved_independently: solvedIndependently,\n default_topic_image_url: defaultTopicImage,\n } = sessionReports || {};\n\n const { onEvent: trackEvent } = useUIContext();\n\n const renderReportsInfoCard = useMemo(() => {\n if (!problemsAttempted) return null;\n\n if (problemsAttempted === solvedIndependently || (!solvedWithHelp && solvedIndependently)) {\n return (\n <>\n <ReportCard title=\"Problems Attempted\" value={problemsAttempted} widthOnMobile=\"50%\" />\n <ReportCard title=\"Solved without help\" value={solvedIndependently} widthOnMobile=\"50%\" />\n <ReportCard\n title=\"Performance\"\n value={`${Math.round((solvedIndependently / problemsAttempted) * 100)}%`}\n />\n </>\n );\n }\n\n if (!solvedWithHelp && !solvedIndependently) {\n return <ReportCard title=\"Problems Attempted\" value={problemsAttempted} />;\n }\n\n if (solvedWithHelp && newConceptsLearnt) {\n return (\n <>\n <ReportCard title=\"Problems Attempted\" value={problemsAttempted} widthOnMobile=\"50%\" />\n <ReportCard title=\"Needed help in\" value={newConceptsLearnt} widthOnMobile=\"50%\" />\n <ReportCard title=\"Improvement shown in\" value={solvedWithHelp} widthOnMobile=\"50%\" />\n <ReportCard\n title=\"Improvement\"\n value={`${Math.round((solvedWithHelp / newConceptsLearnt) * 100)}%`}\n widthOnMobile=\"50%\"\n />\n </>\n );\n }\n\n return null;\n }, [newConceptsLearnt, problemsAttempted, solvedIndependently, solvedWithHelp]);\n\n if (!renderReportsInfoCard) return <Report404 studentName={studentName} />;\n\n return (\n <FlexView\n $borderColor={isMobile ? 'TRANSPARENT' : 'BLACK_1'}\n $gapX={isMobile ? 1 : 0}\n $background={isMobile ? 'BLACK_2' : 'TRANSPARENT'}\n $gutterX={isMobile ? 1 : 0}\n >\n <Styled.ReportWrapper\n $flexWrap={isMobile}\n $flexDirection=\"row\"\n $height={isMobile ? 'auto' : 100}\n $background={isMobile ? 'BLACK_2' : 'YELLOW_1'}\n >\n {renderReportsInfoCard}\n </Styled.ReportWrapper>\n <Styled.TopicWrapper\n $flexDirection={isMobile ? 'column' : 'row'}\n $background={isMobile ? 'BLACK_2' : 'WHITE_1'}\n $flexRowGapX={isMobile ? 1.25 : 0}\n $gapX={isMobile ? 1.5 : 0}\n >\n {topicData &&\n topicData.length > 0 &&\n topicData.map(topic => {\n const {\n topic_name: topicName,\n topic_image: topicImage,\n summary,\n is_attempted: isAttempted,\n } = topic;\n\n if (!topicImage) {\n trackEvent('TOPIC_THUMBNAIL_NOT_AVAILABLE', topic);\n }\n\n return (\n <FlexView\n key={topicName}\n $gap={isMobile ? 0 : 29}\n $gutter={isMobile ? 0 : 20}\n $flex={1}\n $alignItems={isMobile ? 'center' : 'center'}\n $opacity={isAttempted ? 1 : 0.4}\n $flexDirection={isMobile ? 'row' : 'column'}\n $flexColumnGapX={isMobile ? 1 : 0}\n >\n <FlexView>\n <Styled.TopicImage\n $active={!!isAttempted}\n src={topicImage || defaultTopicImage}\n borderRadius={96}\n height={isMobile ? 84 : 96}\n width={isMobile ? 84 : 96}\n alt=\"topic\"\n withLoader\n />\n </FlexView>\n <FlexView $alignItems={isMobile ? 'flex-start' : 'center'} $gapX={1} $flex={1}>\n {!isMobile && <Separator height={12} />}\n <Text\n $renderAs=\"ab2-bold\"\n $align={isMobile ? 'left' : 'center'}\n $color={isMobile ? 'WHITE' : 'BLACK_1'}\n >\n {topicName}\n </Text>\n <Separator height={2} />\n <Text\n $renderAs=\"ub2\"\n $align={isMobile ? 'left' : 'center'}\n $color={isMobile ? 'WHITE' : 'BLACK_1'}\n >\n {summary}\n </Text>\n </FlexView>\n </FlexView>\n );\n })}\n </Styled.TopicWrapper>\n {isMobile && (\n <FlexView $background=\"BLACK_2\">\n <Text $renderAs=\"ac4-black\" $color=\"WHITE_T_60\">\n Next Steps\n </Text>\n <Separator height={4} />\n </FlexView>\n )}\n <FlexView\n $flexDirection=\"row\"\n $background={isMobile ? 'BLACK_2' : 'YELLOW_3'}\n $flexGap={4}\n $alignItems=\"center\"\n $gap={9}\n $gutter={8}\n >\n <Image\n src={isMobile ? ILLUSTRATIONS.COMMUNITY_BULB_YELLOW_2 : ILLUSTRATIONS.COMMUNITY_BULB}\n width={isMobile ? 56 : 80}\n height={isMobile ? 56 : 80}\n withLoader\n alt=\"bulb\"\n />\n <FlexView $flex={1}>\n <Text $renderAs=\"ab2-black\" $color={isMobile ? 'WHITE_1' : 'BLACK_1'}>\n {!isMobile && `Next Steps: `}\n <Styled.InlineText\n $renderAs=\"ab2\"\n $renderOnMobileAs=\"ub2\"\n $color={isMobile ? 'WHITE_1' : 'BLACK_1'}\n >\n {nextSteps}\n </Styled.InlineText>\n </Text>\n </FlexView>\n </FlexView>\n {isMobile && <Separator heightX={1} />}\n </FlexView>\n );\n});\n\nReportInformation.displayName = 'ReportInformation';\n\nexport default ReportInformation;\n"],"names":["ReportInformation","memo","props","isMobile","useTheme","EDeviceType","sessionReports","studentName","nextSteps","topicData","solvedWithHelp","problemsAttempted","newConceptsLearnt","solvedIndependently","defaultTopicImage","trackEvent","useUIContext","renderReportsInfoCard","useMemo","jsxs","Fragment","jsx","ReportCard","FlexView","Styled.ReportWrapper","Styled.TopicWrapper","topic","topicName","topicImage","summary","isAttempted","Styled.TopicImage","Separator","Text","Image","ILLUSTRATIONS","Styled.InlineText","Report404","ReportInformation$1"],"mappings":";;;;;;;;;;;;;AAsBA,MAAMA,IAAiDC,EAAK,CAASC,MAAA;AAE7D,QAAAC,IADQC,IACS,UAAUC,EAAY,QACvC,EAAE,gBAAAC,GAAgB,aAAAC,EAAgB,IAAAL,GAClC;AAAA,IACJ,YAAYM;AAAA,IACZ,YAAYC;AAAA,IACZ,kBAAkBC;AAAA,IAClB,oBAAoBC;AAAA,IACpB,qBAAqBC;AAAA,IACrB,sBAAsBC;AAAA,IACtB,yBAAyBC;AAAA,EAAA,IACvBR,KAAkB,CAAA,GAEhB,EAAE,SAASS,EAAW,IAAIC,EAAa,GAEvCC,IAAwBC,EAAQ,MAC/BP,IAEDA,MAAsBE,KAAwB,CAACH,KAAkBG,IAG/D,gBAAAM,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAW,OAAM,sBAAqB,OAAOX,GAAmB,eAAc,OAAM;AAAA,sBACpFW,GAAW,EAAA,OAAM,uBAAsB,OAAOT,GAAqB,eAAc,OAAM;AAAA,IACxF,gBAAAQ;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAM;AAAA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AAA,gBACH;AAAA,cAAA,EAAA,CACF,EACF,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,QACCL,KAAY,gBAAAkB,EAACW,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,IArHL,gBAAAX,EAACgB,KAAU,aAAA9B,EAA0B,CAAA;AAwH1E,CAAC;AAEDP,EAAkB,cAAc;AAEhC,MAAAsC,IAAetC;"}
package/dist/index.d.ts CHANGED
@@ -557,12 +557,6 @@ export declare enum ESessionStatus {
557
557
  IN_FUTURE = "IN FUTURE"
558
558
  }
559
559
 
560
- export declare enum ESummaryType {
561
- STUDENT_PROFILE = "studentProfile",
562
- INSIGHTS = "insights",
563
- LEARNING_PLAN = "learningPlan"
564
- }
565
-
566
560
  export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
567
561
 
568
562
  export declare const EVENTS: {
@@ -795,7 +789,7 @@ declare interface IAccountSelectorViewProps {
795
789
  user_avatar?: IAvatarLayer[] | null;
796
790
  }[];
797
791
  onSelect: (accountId: string) => void;
798
- onAddNew?: () => void;
792
+ onAddNew: () => void;
799
793
  isLoading: boolean;
800
794
  }
801
795
 
@@ -1654,11 +1648,6 @@ declare interface IFile {
1654
1648
  url: string;
1655
1649
  }
1656
1650
 
1657
- declare interface IFirstSessionIntroductionProps {
1658
- onRunSystemCheck: () => void;
1659
- studentId: string;
1660
- }
1661
-
1662
1651
  declare interface IGame extends IBaseProject {
1663
1652
  played: boolean;
1664
1653
  }
@@ -2932,8 +2921,6 @@ export declare const invalidateMilestoneResources: (id: string, query?: void | u
2932
2921
 
2933
2922
  export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
2934
2923
 
2935
- export declare const invalidateParentHome: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2936
-
2937
2924
  export declare const invalidatePastMilestoneCount: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2938
2925
 
2939
2926
  export declare const invalidatePuzzleToAssign: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
@@ -2949,10 +2936,6 @@ declare interface IOnChapterExitWarningProps {
2949
2936
  onSuccess?: () => void;
2950
2937
  }
2951
2938
 
2952
- declare interface IOnViewSummaryParams extends IStudentProfileSummary {
2953
- userAttemptId?: string;
2954
- }
2955
-
2956
2939
  declare interface IOpenImageReviewModalProps {
2957
2940
  isReviewed?: boolean;
2958
2941
  disableScoreForm?: boolean;
@@ -3012,11 +2995,11 @@ export declare interface IOutcomeStageData {
3012
2995
 
3013
2996
  declare interface IParentDashboardProps {
3014
2997
  studentName: string;
3015
- studentId: string;
2998
+ studentServiceId: string;
3016
2999
  onRescheduleDemo: (demoId?: string) => void;
3017
3000
  onChangeTutor: (demoId: string) => void;
3018
3001
  onGetStartedAgain?: () => void;
3019
- onViewSummary?: (key: ESummaryType, summaryData: IOnViewSummaryParams) => void;
3002
+ onViewSummary?: (key: string) => void;
3020
3003
  onSwitchUser?: () => void;
3021
3004
  canChangeTutor: boolean;
3022
3005
  isSubscriptionCancelled: boolean;
@@ -3532,7 +3515,7 @@ declare interface ISessionStatusProps {
3532
3515
  declare interface ISessionSummaryProps {
3533
3516
  isDemoDone: boolean;
3534
3517
  studentName: string;
3535
- onViewSummary?: (key: ESummaryType) => void;
3518
+ onViewSummary?: (key: string) => void;
3536
3519
  }
3537
3520
 
3538
3521
  declare interface IShareInstructionModalProps {
@@ -3745,13 +3728,6 @@ declare interface IStudentProfileHighlightsProps {
3745
3728
  profileHighlights: TProfileHighlight[];
3746
3729
  }
3747
3730
 
3748
- declare interface IStudentProfileSummary {
3749
- studentLevel: string;
3750
- studentObjectives: string[] | string;
3751
- learningPlan: string[] | string;
3752
- levelPreference?: string;
3753
- }
3754
-
3755
3731
  declare interface IStudentSchool {
3756
3732
  place_id: string;
3757
3733
  country_code: string;
@@ -4719,6 +4695,15 @@ export declare const JourneyProvider: FC<IJourneyProviderProps>;
4719
4695
 
4720
4696
  export declare const Leaderboard: ({ leaderboardData, type, userId, onClose, isLoading, streakInfo, }: ILeaderboardProps) => JSX.Element;
4721
4697
 
4698
+ export declare const LEARNING_PREFERENCE_CATEGORY: {
4699
+ readonly LEVEL: "Level";
4700
+ readonly FOCUS: "Focus";
4701
+ readonly BEHAVIOR: "Behaviors";
4702
+ readonly OBJECTIVES: "Objectives";
4703
+ readonly POSITION: "Position";
4704
+ readonly COURSE: "Course";
4705
+ };
4706
+
4722
4707
  export declare const LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloaderProps>>;
4723
4708
 
4724
4709
  export declare const LeftIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -5146,14 +5131,9 @@ export declare enum PLA_ANALYTICS_EVENTS {
5146
5131
  SIGNUP_OTP_FAILED = "signup_otp_failed",
5147
5132
  SLOTS_SHOWN = "slots_shown",
5148
5133
  SLOT_DATE_SELECTED = "slot_date_selected",
5149
- SLOT_TIME_SELECTED = "slot_time_selected",
5150
- TUTOR_CHANGE_REASON_SELECTED = "tutor_change_reason_selected"
5134
+ SLOT_TIME_SELECTED = "slot_time_selected"
5151
5135
  }
5152
5136
 
5153
- export declare const PlaFirstSessionIntroduction: NamedExoticComponent<IFirstSessionIntroductionProps>;
5154
-
5155
- export declare const PLAHelpAndSupportModal: MemoExoticComponent<({}: {}) => JSX.Element>;
5156
-
5157
5137
  /**
5158
5138
  ** Global/Platform specific events that needs to be tracked goes here
5159
5139
  ** Naming convention needs to be snake_case
@@ -5206,15 +5186,6 @@ export declare const PostGameStats: NamedExoticComponent<IPostGameStatsProps & R
5206
5186
 
5207
5187
  export declare const PracticeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5208
5188
 
5209
- declare const PREFERENCE_CATEGORY: {
5210
- readonly LEVEL: "Level";
5211
- readonly FOCUS: "Focus";
5212
- readonly BEHAVIOR: "Behaviors";
5213
- readonly OBJECTIVES: "Objectives";
5214
- readonly POSITION: "Position";
5215
- readonly COURSE: "Course";
5216
- };
5217
-
5218
5189
  export declare const PreviewWorksheet: FC<IPreviewWorksheetProps>;
5219
5190
 
5220
5191
  export declare const ProgressIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -5553,14 +5524,8 @@ declare interface StudentBadgeListProps {
5553
5524
 
5554
5525
  export declare const StudentDetails: FC<IStudentDetailsProps>;
5555
5526
 
5556
- export declare const StudentLoginInfoModal: MemoExoticComponent<() => JSX.Element>;
5557
-
5558
5527
  export declare const StudentProfileHighlights: FC<IStudentProfileHighlightsProps>;
5559
5528
 
5560
- export declare const StudentProfileSummaryModal: MemoExoticComponent<() => JSX.Element>;
5561
-
5562
- export declare const StudentTrialReportModal: MemoExoticComponent<() => JSX.Element>;
5563
-
5564
5529
  export declare const SubmitMilestoneModal: React.FC<ISubmitModalProps>;
5565
5530
 
5566
5531
  export declare const SwitchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -6432,7 +6397,7 @@ declare type TPreference = {
6432
6397
  selectedTime: string;
6433
6398
  };
6434
6399
 
6435
- declare type TPreferenceCategory = (typeof PREFERENCE_CATEGORY)[keyof typeof PREFERENCE_CATEGORY];
6400
+ declare type TPreferenceCategory = (typeof LEARNING_PREFERENCE_CATEGORY)[keyof typeof LEARNING_PREFERENCE_CATEGORY];
6436
6401
 
6437
6402
  declare type TProfileHighlight = {
6438
6403
  illustration: string;
@@ -6742,8 +6707,6 @@ declare type TUserProgram = {
6742
6707
 
6743
6708
  export declare type TUserTypes = 'TEACHER' | 'STUDENT';
6744
6709
 
6745
- export declare const TutorChangeModal: MemoExoticComponent<() => JSX.Element>;
6746
-
6747
6710
  export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialPlayedOnce, isJourneyActive, }: ITutorialProps) => JSX.Element;
6748
6711
 
6749
6712
  export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;