@cuemath/leap 3.3.3 → 3.3.4-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.
- package/dist/assets/illustrations/illustrations.js +3 -1
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +1 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/constants/config.js +5 -0
- package/dist/constants/config.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +17 -17
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button.js +35 -33
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +32 -30
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +20 -19
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +9 -9
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +58 -29
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +78 -41
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +37 -35
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +76 -71
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +55 -50
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +47 -25
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
- package/dist/features/parent-dashboard/cuemath-app-features/cuemath-app-features-constants.js +25 -0
- package/dist/features/parent-dashboard/cuemath-app-features/cuemath-app-features-constants.js.map +1 -0
- package/dist/features/parent-dashboard/cuemath-app-features/cuemath-app-features-styled.js +15 -0
- package/dist/features/parent-dashboard/cuemath-app-features/cuemath-app-features-styled.js.map +1 -0
- package/dist/features/parent-dashboard/cuemath-app-features/cuemath-app-features.js +90 -0
- package/dist/features/parent-dashboard/cuemath-app-features/cuemath-app-features.js.map +1 -0
- package/dist/features/parent-dashboard/math-practice/math-practice-constants.js +19 -0
- package/dist/features/parent-dashboard/math-practice/math-practice-constants.js.map +1 -0
- package/dist/features/parent-dashboard/math-practice/math-practice-styled.js +32 -0
- package/dist/features/parent-dashboard/math-practice/math-practice-styled.js.map +1 -0
- package/dist/features/parent-dashboard/math-practice/math-practice.js +67 -0
- package/dist/features/parent-dashboard/math-practice/math-practice.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-faqs/parent-dashboard-faqs-constants.js +42 -0
- package/dist/features/parent-dashboard/parent-dashboard-faqs/parent-dashboard-faqs-constants.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-faqs/parent-dashboard-faqs.js +20 -0
- package/dist/features/parent-dashboard/parent-dashboard-faqs/parent-dashboard-faqs.js.map +1 -0
- package/dist/features/student-details/class-details/class-details-utils.js +6 -6
- package/dist/features/trial-session/comps/learning-plan/index.js +88 -62
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js +25 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js +43 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +49 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +11 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +19 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js +243 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +52 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +52 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +56 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js +5 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js +5 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +96 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-card.js +31 -16
- package/dist/features/trial-session/comps/session-report/report-information/report-card.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +21 -13
- package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/report-information/report-information.js +166 -94
- package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js +46 -31
- package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js +12 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +121 -42
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +174 -56
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/ui/modals/modal.js +30 -28
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/index.d.ts +85 -1
- package/dist/index.js +383 -365
- package/dist/index.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +10 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +9 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js +11 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js.map +1 -0
- package/dist/node_modules/date-fns/fromUnixTime.js +9 -0
- package/dist/node_modules/date-fns/fromUnixTime.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/static/{book-checked-green.c275dbd9.svg → book-checked-green.0436b91e.svg} +1 -1
- package/dist/static/community-bulb-yellow-2.f89c30f9.svg +1 -0
- package/dist/static/learning-puzzle-bot.6fe93cf6.svg +1 -0
- package/dist/static/username-responsive.787b5515.json +1 -0
- package/package.json +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
package/dist/features/trial-session/comps/session-report/report-information/report-information.js
CHANGED
|
@@ -1,107 +1,179 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import m from "../../../../ui/
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { jsxs as r, Fragment as _, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as C, useMemo as B } from "react";
|
|
3
|
+
import { useTheme as M } from "styled-components";
|
|
4
|
+
import { ILLUSTRATIONS as g } from "../../../../../assets/illustrations/illustrations.js";
|
|
5
|
+
import { useUIContext as E } from "../../../../ui/context/context.js";
|
|
6
|
+
import O from "../../../../ui/image/image.js";
|
|
7
|
+
import n from "../../../../ui/layout/flex-view.js";
|
|
8
|
+
import m from "../../../../ui/separator/separator.js";
|
|
9
|
+
import c from "../../../../ui/text/text.js";
|
|
10
|
+
import { EDeviceType as N } from "../../../../ui/theme/constants.js";
|
|
11
|
+
import R from "../report-404/report-404.js";
|
|
12
|
+
import o from "./report-card.js";
|
|
13
|
+
import { ReportWrapper as W, TopicWrapper as K, TopicImage as S, InlineText as k } from "./report-information-styled.js";
|
|
14
|
+
const b = C((A) => {
|
|
15
|
+
const e = M().device <= N.MOBILE, { sessionReports: I, studentName: L } = A, {
|
|
16
|
+
next_steps: T,
|
|
17
|
+
topic_data: d,
|
|
18
|
+
solved_with_help: l,
|
|
19
|
+
problems_attempted: i,
|
|
20
|
+
new_concepts_learnt: p,
|
|
21
|
+
solved_independently: a,
|
|
20
22
|
default_topic_image_url: x
|
|
21
|
-
} =
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
23
|
+
} = I || {}, { onEvent: w } = E(), s = B(() => i ? i === a || !l && a ? /* @__PURE__ */ r(_, { children: [
|
|
24
|
+
/* @__PURE__ */ t(o, { title: "Problems Attempted", value: i, widthOnMobile: "50%" }),
|
|
25
|
+
/* @__PURE__ */ t(o, { title: "Solved without help", value: a, widthOnMobile: "50%" }),
|
|
26
|
+
/* @__PURE__ */ t(
|
|
27
|
+
o,
|
|
26
28
|
{
|
|
27
29
|
title: "Performance",
|
|
28
|
-
value: `${Math.round(
|
|
30
|
+
value: `${Math.round(a / i * 100)}%`
|
|
29
31
|
}
|
|
30
32
|
)
|
|
31
|
-
] }) : !
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
33
|
+
] }) : !l && !a ? /* @__PURE__ */ t(o, { title: "Problems Attempted", value: i }) : l && p ? /* @__PURE__ */ r(_, { children: [
|
|
34
|
+
/* @__PURE__ */ t(o, { title: "Problems Attempted", value: i, widthOnMobile: "50%" }),
|
|
35
|
+
/* @__PURE__ */ t(o, { title: "Needed help in", value: p, widthOnMobile: "50%" }),
|
|
36
|
+
/* @__PURE__ */ t(o, { title: "Improvement shown in", value: l, widthOnMobile: "50%" }),
|
|
37
|
+
/* @__PURE__ */ t(
|
|
38
|
+
o,
|
|
37
39
|
{
|
|
38
40
|
title: "Improvement",
|
|
39
|
-
value: `${Math.round(
|
|
41
|
+
value: `${Math.round(l / p * 100)}%`,
|
|
42
|
+
widthOnMobile: "50%"
|
|
40
43
|
}
|
|
41
44
|
)
|
|
42
|
-
] }) : null : null, [
|
|
43
|
-
return
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
45
|
+
] }) : null : null, [p, i, a, l]);
|
|
46
|
+
return s ? /* @__PURE__ */ r(
|
|
47
|
+
n,
|
|
48
|
+
{
|
|
49
|
+
$borderColor: e ? "TRANSPARENT" : "BLACK_1",
|
|
50
|
+
$gapX: e ? 1 : 0,
|
|
51
|
+
$background: e ? "BLACK_2" : "TRANSPARENT",
|
|
52
|
+
$gutterX: e ? 1 : 0,
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ t(
|
|
55
|
+
W,
|
|
56
|
+
{
|
|
57
|
+
$flexWrap: e,
|
|
58
|
+
$flexDirection: "row",
|
|
59
|
+
$height: e ? "auto" : 100,
|
|
60
|
+
$background: e ? "BLACK_2" : "YELLOW_1",
|
|
61
|
+
children: s
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ t(
|
|
65
|
+
K,
|
|
66
|
+
{
|
|
67
|
+
$flexDirection: e ? "column" : "row",
|
|
68
|
+
$background: e ? "BLACK_2" : "WHITE_1",
|
|
69
|
+
$flexRowGapX: e ? 1.25 : 0,
|
|
70
|
+
$gapX: e ? 1.5 : 0,
|
|
71
|
+
children: d && d.length > 0 && d.map((h) => {
|
|
72
|
+
const {
|
|
73
|
+
topic_name: u,
|
|
74
|
+
topic_image: $,
|
|
75
|
+
summary: v,
|
|
76
|
+
is_attempted: f
|
|
77
|
+
} = h;
|
|
78
|
+
return $ || w("TOPIC_THUMBNAIL_NOT_AVAILABLE", h), /* @__PURE__ */ r(
|
|
79
|
+
n,
|
|
80
|
+
{
|
|
81
|
+
$gap: e ? 0 : 29,
|
|
82
|
+
$gutter: e ? 0 : 20,
|
|
83
|
+
$flex: 1,
|
|
84
|
+
$alignItems: "center",
|
|
85
|
+
$opacity: f ? 1 : 0.4,
|
|
86
|
+
$flexDirection: e ? "row" : "column",
|
|
87
|
+
$flexColumnGapX: e ? 1 : 0,
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
90
|
+
S,
|
|
91
|
+
{
|
|
92
|
+
$active: !!f,
|
|
93
|
+
src: $ || x,
|
|
94
|
+
borderRadius: 96,
|
|
95
|
+
height: e ? 84 : 96,
|
|
96
|
+
width: e ? 84 : 96,
|
|
97
|
+
alt: "topic",
|
|
98
|
+
withLoader: !0
|
|
99
|
+
}
|
|
100
|
+
) }),
|
|
101
|
+
/* @__PURE__ */ r(n, { $alignItems: e ? "flex-start" : "center", $gapX: 1, $flex: 1, children: [
|
|
102
|
+
!e && /* @__PURE__ */ t(m, { height: 12 }),
|
|
103
|
+
/* @__PURE__ */ t(
|
|
104
|
+
c,
|
|
105
|
+
{
|
|
106
|
+
$renderAs: "ab2-bold",
|
|
107
|
+
$align: e ? "left" : "center",
|
|
108
|
+
$color: e ? "WHITE" : "BLACK_1",
|
|
109
|
+
children: u
|
|
110
|
+
}
|
|
111
|
+
),
|
|
112
|
+
/* @__PURE__ */ t(m, { height: 2 }),
|
|
113
|
+
/* @__PURE__ */ t(
|
|
114
|
+
c,
|
|
115
|
+
{
|
|
116
|
+
$renderAs: "ub2",
|
|
117
|
+
$align: e ? "left" : "center",
|
|
118
|
+
$color: e ? "WHITE" : "BLACK_1",
|
|
119
|
+
children: v
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
] })
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
u
|
|
126
|
+
);
|
|
127
|
+
})
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
e && /* @__PURE__ */ r(n, { $background: "BLACK_2", children: [
|
|
131
|
+
/* @__PURE__ */ t(c, { $renderAs: "ac4-black", $color: "WHITE_T_60", children: "Next Steps" }),
|
|
132
|
+
/* @__PURE__ */ t(m, { height: 4 })
|
|
133
|
+
] }),
|
|
134
|
+
/* @__PURE__ */ r(
|
|
135
|
+
n,
|
|
136
|
+
{
|
|
137
|
+
$flexDirection: "row",
|
|
138
|
+
$background: e ? "BLACK_2" : "YELLOW_3",
|
|
139
|
+
$flexGap: 4,
|
|
140
|
+
$alignItems: "center",
|
|
141
|
+
$gap: 9,
|
|
142
|
+
$gutter: 8,
|
|
143
|
+
children: [
|
|
144
|
+
/* @__PURE__ */ t(
|
|
145
|
+
O,
|
|
146
|
+
{
|
|
147
|
+
src: e ? g.COMMUNITY_BULB_YELLOW_2 : g.COMMUNITY_BULB,
|
|
148
|
+
width: e ? 56 : 80,
|
|
149
|
+
height: e ? 56 : 80,
|
|
150
|
+
withLoader: !0,
|
|
151
|
+
alt: "bulb"
|
|
152
|
+
}
|
|
153
|
+
),
|
|
154
|
+
/* @__PURE__ */ t(n, { $flex: 1, children: /* @__PURE__ */ r(c, { $renderAs: "ab2-black", $color: e ? "WHITE_1" : "BLACK_1", children: [
|
|
155
|
+
!e && "Next Steps: ",
|
|
156
|
+
/* @__PURE__ */ t(
|
|
157
|
+
k,
|
|
158
|
+
{
|
|
159
|
+
$renderAs: "ab2",
|
|
160
|
+
$renderOnMobileAs: "ub2",
|
|
161
|
+
$color: e ? "WHITE_1" : "BLACK_1",
|
|
162
|
+
children: T
|
|
163
|
+
}
|
|
164
|
+
)
|
|
165
|
+
] }) })
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
),
|
|
169
|
+
e && /* @__PURE__ */ t(m, { heightX: 1 })
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
) : /* @__PURE__ */ t(R, { studentName: L });
|
|
101
173
|
});
|
|
102
|
-
|
|
103
|
-
const
|
|
174
|
+
b.displayName = "ReportInformation";
|
|
175
|
+
const Q = b;
|
|
104
176
|
export {
|
|
105
|
-
|
|
177
|
+
Q as default
|
|
106
178
|
};
|
|
107
179
|
//# sourceMappingURL=report-information.js.map
|
|
@@ -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';\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 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 { 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} />\n <ReportCard title=\"Solved without help\" value={solvedIndependently} />\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} />\n <ReportCard title=\"Needed help in\" value={newConceptsLearnt} />\n <ReportCard title=\"Improvement shown in\" value={solvedWithHelp} />\n <ReportCard\n title=\"Improvement\"\n value={`${Math.round((solvedWithHelp / newConceptsLearnt) * 100)}%`}\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 $borderColor=\"BLACK_1\">\n <Styled.ReportWrapper $flexDirection=\"row\" $height={100} $background=\"YELLOW_1\">\n {renderReportsInfoCard}\n </Styled.ReportWrapper>\n <Styled.TopicWrapper $flexDirection=\"row\" $background=\"WHITE_1\">\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={35}\n $gutter={29}\n $flex={1}\n $alignItems=\"center\"\n $opacity={isAttempted ? 1 : 0.4}\n >\n <Styled.TopicImage\n $active={!!isAttempted}\n src={topicImage || defaultTopicImage}\n borderRadius={96}\n height={96}\n width={96}\n alt=\"topic\"\n withLoader\n />\n <Separator height={12} />\n <Text $renderAs=\"ab3-black\" $align=\"center\">\n {topicName}\n </Text>\n <Separator height={2} />\n <Text $renderAs=\"ub3\" $align=\"center\">\n {summary}\n </Text>\n </FlexView>\n );\n })}\n </Styled.TopicWrapper>\n <FlexView\n $flexDirection=\"row\"\n $background=\"YELLOW_3\"\n $flexGap={4}\n $alignItems=\"center\"\n $gap={9}\n $gutter={8}\n >\n <Image src={ILLUSTRATIONS.COMMUNITY_BULB} width={80} height={80} withLoader alt=\"bulb\" />\n <FlexView $flex={1}>\n <Text $renderAs=\"ab2-black\">\n Next Steps: <Styled.InlineText $renderAs=\"ab2\">{nextSteps}</Styled.InlineText>\n </Text>\n </FlexView>\n </FlexView>\n </FlexView>\n );\n});\n\nReportInformation.displayName = 'ReportInformation';\n\nexport default ReportInformation;\n"],"names":["ReportInformation","memo","props","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":";;;;;;;;;;;AAoBA,MAAMA,IAAiDC,EAAK,CAASC,MAAA;AAC7D,QAAA,EAAE,gBAAAC,GAAgB,aAAAC,EAAgB,IAAAF,GAClC;AAAA,IACJ,YAAYG;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,GAAW,EAAA,OAAM,sBAAqB,OAAOX,GAAmB;AAAA,IAChE,gBAAAU,EAAAC,GAAA,EAAW,OAAM,uBAAsB,OAAOT,GAAqB;AAAA,IACpE,gBAAAQ;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAM;AAAA,QACN,OAAO,GAAG,KAAK,MAAOT,IAAsBF,IAAqB,GAAG,CAAC;AAAA,MAAA;AAAA,IACvE;AAAA,EACF,EAAA,CAAA,IAIA,CAACD,KAAkB,CAACG,IACd,gBAAAQ,EAAAC,GAAA,EAAW,OAAM,sBAAqB,OAAOX,EAAmB,CAAA,IAGtED,KAAkBE,IAGhB,gBAAAO,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAW,EAAA,OAAM,sBAAqB,OAAOX,GAAmB;AAAA,IAChE,gBAAAU,EAAAC,GAAA,EAAW,OAAM,kBAAiB,OAAOV,GAAmB;AAAA,IAC5D,gBAAAS,EAAAC,GAAA,EAAW,OAAM,wBAAuB,O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AG,CAAA;AAAA,8BACrBC,GAAK,EAAA,WAAU,OAAM,QAAO,UAC1B,UACHJ,GAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAvBKF;AAAA,MAAA;AAAA,IA0BV,CAAA,GACL;AAAA,IACA,gBAAAR;AAAA,MAACI;AAAA,MAAA;AAAA,QACC,gBAAe;AAAA,QACf,aAAY;AAAA,QACZ,UAAU;AAAA,QACV,aAAY;AAAA,QACZ,MAAM;AAAA,QACN,SAAS;AAAA,QAET,UAAA;AAAA,UAAC,gBAAAF,EAAAa,GAAA,EAAM,KAAKC,EAAc,gBAAgB,OAAO,IAAI,QAAQ,IAAI,YAAU,IAAC,KAAI,OAAO,CAAA;AAAA,4BACtFZ,GAAS,EAAA,OAAO,GACf,UAAC,gBAAAJ,EAAAc,GAAA,EAAK,WAAU,aAAY,UAAA;AAAA,YAAA;AAAA,8BACbG,GAAA,EAAkB,WAAU,OAAO,UAAU5B,GAAA;AAAA,UAAA,EAAA,CAC5D,EACF,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACF;AAAA,EACF,EAAA,CAAA,IAnEiC,gBAAAa,EAACgB,KAAU,aAAA9B,EAA0B,CAAA;AAqE1E,CAAC;AAEDJ,EAAkB,cAAc;AAEhC,MAAAmC,IAAenC;"}
|
|
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,kBAAk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C,KAAK/B,IAAWgC,EAAc,0BAA0BA,EAAc;AAAA,kBACtE,OAAOhC,IAAW,KAAK;AAAA,kBACvB,QAAQA,IAAW,KAAK;AAAA,kBACxB,YAAU;AAAA,kBACV,KAAI;AAAA,gBAAA;AAAA,cACN;AAAA,cACA,gBAAAkB,EAACE,GAAS,EAAA,OAAO,GACf,UAAA,gBAAAJ,EAACc,GAAK,EAAA,WAAU,aAAY,QAAQ9B,IAAW,YAAY,WACxD,UAAA;AAAA,gBAAA,CAACA,KAAY;AAAA,gBACd,gBAAAkB;AAAA,kBAACe;AAAAA,kBAAA;AAAA,oBACC,WAAU;AAAA,oBACV,mBAAkB;AAAA,oBAClB,QAAQjC,IAAW,YAAY;AAAA,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,38 +1,53 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { memo as d } from "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
3
|
+
import m, { useTheme as a } from "styled-components";
|
|
4
|
+
import p from "../../../../ui/image/image.js";
|
|
5
|
+
import t from "../../../../ui/layout/flex-view.js";
|
|
6
|
+
import i from "../../../../ui/text/text.js";
|
|
7
|
+
import { EDeviceType as f } from "../../../../ui/theme/constants.js";
|
|
8
|
+
const $ = m(t)`
|
|
8
9
|
&:not(:last-child) {
|
|
9
|
-
border-bottom: 1px solid ${({ theme:
|
|
10
|
+
border-bottom: 1px solid ${({ theme: n }) => n.colors.BLACK_1};
|
|
11
|
+
}
|
|
12
|
+
`, c = d(
|
|
13
|
+
({ profileHighlights: n }) => {
|
|
14
|
+
const o = a().device <= f.MOBILE;
|
|
15
|
+
return /* @__PURE__ */ r(t, { $borderColor: "BLACK_1", children: n.map((e) => /* @__PURE__ */ l(
|
|
16
|
+
$,
|
|
17
|
+
{
|
|
18
|
+
$flexDirection: "row",
|
|
19
|
+
$alignItems: "center",
|
|
20
|
+
$justifyContent: "flex-start",
|
|
21
|
+
$gapX: 1,
|
|
22
|
+
$gutterX: o ? 0.75 : 1,
|
|
23
|
+
$flexGapX: o ? 0.5 : 1.5,
|
|
24
|
+
$background: e.background,
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ r(
|
|
27
|
+
p,
|
|
28
|
+
{
|
|
29
|
+
src: e.illustration,
|
|
30
|
+
alt: e.title,
|
|
31
|
+
height: o ? 64 : 96,
|
|
32
|
+
width: o ? 64 : 96
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ l(t, { $flexDirection: "column", $flex: 1, $flexGap: 2, children: [
|
|
36
|
+
/* @__PURE__ */ r(i, { $renderAs: "ac3-black", children: e.title }),
|
|
37
|
+
/* @__PURE__ */ r(i, { $renderAs: "ab2", children: typeof e.description == "string" ? e.description : /* @__PURE__ */ r(t, { children: e.description.map((s) => /* @__PURE__ */ l(t, { $flexDirection: "row", $flexColumnGapX: 0.5, children: [
|
|
38
|
+
/* @__PURE__ */ r(i, { $renderAs: "ab2", $inline: !0, children: "•" }),
|
|
39
|
+
/* @__PURE__ */ r(i, { $renderAs: "ab2", as: "span", $inline: !0, children: s })
|
|
40
|
+
] }, s)) }) })
|
|
41
|
+
] })
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
e.title
|
|
45
|
+
)) });
|
|
10
46
|
}
|
|
11
|
-
`, s = d(
|
|
12
|
-
({ profileHighlights: t }) => /* @__PURE__ */ e(o, { $borderColor: "BLACK_1", children: t.map((r) => /* @__PURE__ */ l(
|
|
13
|
-
m,
|
|
14
|
-
{
|
|
15
|
-
$flexDirection: "row",
|
|
16
|
-
$alignItems: "center",
|
|
17
|
-
$justifyContent: "flex-start",
|
|
18
|
-
$gapX: 1,
|
|
19
|
-
$gutterX: 1,
|
|
20
|
-
$flexGapX: 1.5,
|
|
21
|
-
$background: r.background,
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ e(a, { src: r.illustration, alt: r.title, height: 96, width: 96 }),
|
|
24
|
-
/* @__PURE__ */ l(o, { $flexDirection: "column", $flex: 1, $flexGap: 2, children: [
|
|
25
|
-
/* @__PURE__ */ e(n, { $renderAs: "ac3-black", children: r.title }),
|
|
26
|
-
/* @__PURE__ */ e(n, { $renderAs: "ab2", children: typeof r.description == "string" ? r.description : r.description.map((i) => /* @__PURE__ */ e("li", { children: i }, i)) })
|
|
27
|
-
] })
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
r.title
|
|
31
|
-
)) })
|
|
32
47
|
);
|
|
33
|
-
|
|
34
|
-
const
|
|
48
|
+
c.displayName = "StudentProfileHighlights";
|
|
49
|
+
const H = c;
|
|
35
50
|
export {
|
|
36
|
-
|
|
51
|
+
H as default
|
|
37
52
|
};
|
|
38
53
|
//# sourceMappingURL=student-profile-highlights.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"student-profile-highlights.js","sources":["../../../../../../src/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.tsx"],"sourcesContent":["import type { TColorNames } from '../../../../ui/types';\nimport type { FC } from 'react';\n\nimport { memo } from 'react';\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\ntype TProfileHighlight = {\n illustration: string;\n background: TColorNames;\n title: string;\n description: string | string[];\n};\n\nconst HighlightWrapper = styled(FlexView)`\n &:not(:last-child) {\n border-bottom: 1px solid ${({ theme }) => theme.colors.BLACK_1};\n }\n`;\n\ninterface IStudentProfileHighlightsProps {\n profileHighlights: TProfileHighlight[];\n}\n\nconst StudentProfileHighlights: FC<IStudentProfileHighlightsProps> = memo(\n ({ profileHighlights }) => {\n return (\n <FlexView $borderColor=\"BLACK_1\">\n {profileHighlights.map(highlight => (\n <HighlightWrapper\n key={highlight.title}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"flex-start\"\n $gapX={1}\n $gutterX={1}\n $flexGapX={1.5}\n $background={highlight.background}\n >\n <Image
|
|
1
|
+
{"version":3,"file":"student-profile-highlights.js","sources":["../../../../../../src/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.tsx"],"sourcesContent":["import type { TColorNames } from '../../../../ui/types';\nimport type { FC } from 'react';\n\nimport { memo } from 'react';\nimport styled from 'styled-components';\nimport { useTheme } from 'styled-components';\n\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { EDeviceType } from '../../../../ui/theme/constants';\n\ntype TProfileHighlight = {\n illustration: string;\n background: TColorNames;\n title: string;\n description: string | string[];\n};\n\nconst HighlightWrapper = styled(FlexView)`\n &:not(:last-child) {\n border-bottom: 1px solid ${({ theme }) => theme.colors.BLACK_1};\n }\n`;\n\ninterface IStudentProfileHighlightsProps {\n profileHighlights: TProfileHighlight[];\n}\n\nconst StudentProfileHighlights: FC<IStudentProfileHighlightsProps> = memo(\n ({ profileHighlights }) => {\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n\n return (\n <FlexView $borderColor=\"BLACK_1\">\n {profileHighlights.map(highlight => (\n <HighlightWrapper\n key={highlight.title}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"flex-start\"\n $gapX={1}\n $gutterX={isMobile ? 0.75 : 1}\n $flexGapX={isMobile ? 0.5 : 1.5}\n $background={highlight.background}\n >\n <Image\n src={highlight.illustration}\n alt={highlight.title}\n height={isMobile ? 64 : 96}\n width={isMobile ? 64 : 96}\n />\n <FlexView $flexDirection=\"column\" $flex={1} $flexGap={2}>\n <Text $renderAs=\"ac3-black\">{highlight.title}</Text>\n <Text $renderAs=\"ab2\">\n {typeof highlight.description === 'string' ? (\n highlight.description\n ) : (\n <FlexView>\n {highlight.description.map(desc => (\n <FlexView key={desc} $flexDirection=\"row\" $flexColumnGapX={0.5}>\n <Text $renderAs=\"ab2\" $inline>\n •\n </Text>\n <Text $renderAs=\"ab2\" as=\"span\" $inline>\n {desc}\n </Text>\n </FlexView>\n ))}\n </FlexView>\n )}\n </Text>\n </FlexView>\n </HighlightWrapper>\n ))}\n </FlexView>\n );\n },\n);\n\nStudentProfileHighlights.displayName = 'StudentProfileHighlights';\n\nexport default StudentProfileHighlights;\n"],"names":["HighlightWrapper","styled","FlexView","theme","StudentProfileHighlights","memo","profileHighlights","isMobile","useTheme","EDeviceType","highlight","jsxs","jsx","Image","Text","desc","StudentProfileHighlights$1"],"mappings":";;;;;;;AAmBA,MAAMA,IAAmBC,EAAOC,CAAQ;AAAA;AAAA,+BAET,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA,GAQ5DC,IAA+DC;AAAA,EACnE,CAAC,EAAE,mBAAAC,EAAA,MAAwB;AAEnB,UAAAC,IADQC,IACS,UAAUC,EAAY;AAE7C,6BACGP,GAAS,EAAA,cAAa,WACpB,UAAAI,EAAkB,IAAI,CACrBI,MAAA,gBAAAC;AAAA,MAACX;AAAA,MAAA;AAAA,QAEC,gBAAe;AAAA,QACf,aAAY;AAAA,QACZ,iBAAgB;AAAA,QAChB,OAAO;AAAA,QACP,UAAUO,IAAW,OAAO;AAAA,QAC5B,WAAWA,IAAW,MAAM;AAAA,QAC5B,aAAaG,EAAU;AAAA,QAEvB,UAAA;AAAA,UAAA,gBAAAE;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,KAAKH,EAAU;AAAA,cACf,KAAKA,EAAU;AAAA,cACf,QAAQH,IAAW,KAAK;AAAA,cACxB,OAAOA,IAAW,KAAK;AAAA,YAAA;AAAA,UACzB;AAAA,4BACCL,GAAS,EAAA,gBAAe,UAAS,OAAO,GAAG,UAAU,GACpD,UAAA;AAAA,YAAA,gBAAAU,EAACE,GAAK,EAAA,WAAU,aAAa,UAAAJ,EAAU,OAAM;AAAA,YAC7C,gBAAAE,EAACE,KAAK,WAAU,OACb,iBAAOJ,EAAU,eAAgB,WAChCA,EAAU,gCAETR,GACE,EAAA,UAAAQ,EAAU,YAAY,IAAI,CAAAK,wBACxBb,GAAoB,EAAA,gBAAe,OAAM,iBAAiB,KACzD,UAAA;AAAA,cAAA,gBAAAU,EAACE,GAAK,EAAA,WAAU,OAAM,SAAO,IAAC,UAE9B,KAAA;AAAA,cACA,gBAAAF,EAACE,KAAK,WAAU,OAAM,IAAG,QAAO,SAAO,IACpC,UACHC,EAAA,CAAA;AAAA,YANa,EAAA,GAAAA,CAOf,CACD,EACH,CAAA,GAEJ;AAAA,UAAA,GACF;AAAA,QAAA;AAAA,MAAA;AAAA,MAnCKL,EAAU;AAAA,IAqClB,CAAA,EACH,CAAA;AAAA,EAEJ;AACF;AAEAN,EAAyB,cAAc;AAEvC,MAAAY,IAAeZ;"}
|
package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { COUNTRY_FLAGS as g } from "../teacher-intro-constants.js";
|
|
2
|
+
const f = (n) => {
|
|
3
|
+
const l = Object.values(g);
|
|
4
|
+
return n.map((r, t) => {
|
|
5
|
+
const e = l.find((o) => o.name === r), a = (e == null ? void 0 : e.name) || r;
|
|
6
|
+
return t === n.length - 1 && n.length > 1 ? `and ${a}` : `${a}${t < n.length - 2 ? ", " : t === n.length - 2 ? " " : ""}`;
|
|
7
|
+
}).join("");
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
f as formatCountryList
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=teacher-profile-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teacher-profile-helpers.js","sources":["../../../../../../src/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.ts"],"sourcesContent":["import { COUNTRY_FLAGS } from '../teacher-intro-constants';\n\nexport const formatCountryList = (countries: string[]) => {\n const countryFlagArray = Object.values(COUNTRY_FLAGS);\n\n return countries\n .map((country, i) => {\n const match = countryFlagArray.find(item => item.name === country);\n const label = match?.name || country;\n\n if (i === countries.length - 1 && countries.length > 1) {\n return `and ${label}`;\n }\n\n return `${label}${i < countries.length - 2 ? ', ' : i === countries.length - 2 ? ' ' : ''}`;\n })\n .join('');\n};\n"],"names":["formatCountryList","countries","countryFlagArray","COUNTRY_FLAGS","country","i","match","item","label"],"mappings":";AAEa,MAAAA,IAAoB,CAACC,MAAwB;AAClD,QAAAC,IAAmB,OAAO,OAAOC,CAAa;AAEpD,SAAOF,EACJ,IAAI,CAACG,GAASC,MAAM;AACnB,UAAMC,IAAQJ,EAAiB,KAAK,CAAQK,MAAAA,EAAK,SAASH,CAAO,GAC3DI,KAAQF,KAAA,gBAAAA,EAAO,SAAQF;AAE7B,WAAIC,MAAMJ,EAAU,SAAS,KAAKA,EAAU,SAAS,IAC5C,OAAOO,CAAK,KAGd,GAAGA,CAAK,GAAGH,IAAIJ,EAAU,SAAS,IAAI,OAAOI,MAAMJ,EAAU,SAAS,IAAI,MAAM,EAAE;AAAA,EAAA,CAC1F,EACA,KAAK,EAAE;AACZ;"}
|
package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js
CHANGED
|
@@ -1,49 +1,128 @@
|
|
|
1
|
-
import
|
|
2
|
-
import e from "
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import o from "styled-components";
|
|
2
|
+
import { ILLUSTRATIONS as e } from "../../../../../assets/illustrations/illustrations.js";
|
|
3
|
+
import r from "../../../../ui/image/image.js";
|
|
4
|
+
import i from "../../../../ui/layout/flex-view.js";
|
|
5
|
+
const l = o(r)`
|
|
5
6
|
object-fit: cover;
|
|
6
|
-
|
|
7
|
-
({ theme:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
border: 1.5px solid ${({ theme: t }) => t.colors.REAL_BLACK};
|
|
9
|
+
`, a = o(i)(
|
|
10
|
+
({ theme: t }) => `
|
|
11
|
+
background-image: url(${e.RADIAL_GRADIENT_BG_2});
|
|
12
|
+
background-repeat: no-repeat;
|
|
13
|
+
background-size: auto;
|
|
14
|
+
background-position: top;
|
|
15
|
+
position: relative;
|
|
16
|
+
${t.mediaQueries.minWidthTablet} {
|
|
17
|
+
background-image: url(${e.RADIAL_GRADIENT_BG});
|
|
18
|
+
}
|
|
19
|
+
`
|
|
20
|
+
), h = o.div(
|
|
21
|
+
({ theme: t }) => `
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
${t.mediaQueries.minWidthTablet} {
|
|
26
|
+
flex: 1;
|
|
27
|
+
display: grid;
|
|
28
|
+
border-left: 1px solid ${t.colors.BLACK_T_87};
|
|
29
|
+
grid-template-columns: repeat(2, 1fr);
|
|
30
|
+
grid-template-rows: auto auto auto;
|
|
31
|
+
}
|
|
13
32
|
`
|
|
14
|
-
),
|
|
15
|
-
({ theme:
|
|
16
|
-
|
|
17
|
-
&:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
), m = o(i)(
|
|
34
|
+
({ theme: t }) => `
|
|
35
|
+
width: 33.33%;
|
|
36
|
+
&:nth-child(odd) {
|
|
37
|
+
padding: 12px 16px;
|
|
38
|
+
}
|
|
39
|
+
&:last-child {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
${t.mediaQueries.minWidthTablet} {
|
|
43
|
+
width: auto;
|
|
44
|
+
border: 0.5px solid ${t.colors.WHITE_5};
|
|
45
|
+
&:first-child,
|
|
46
|
+
&:nth-child(2) {
|
|
47
|
+
grid-column: span 1;
|
|
48
|
+
}
|
|
49
|
+
&:nth-child(3),
|
|
50
|
+
&:nth-child(4) {
|
|
51
|
+
grid-column: span 2;
|
|
52
|
+
}
|
|
53
|
+
&:first-child {
|
|
54
|
+
border-left: none;
|
|
55
|
+
border-top: none;
|
|
56
|
+
}
|
|
57
|
+
&:nth-child(2) {
|
|
58
|
+
border-right: none;
|
|
59
|
+
border-top: none;
|
|
60
|
+
}
|
|
61
|
+
&:nth-child(3) {
|
|
62
|
+
border-left: none;
|
|
63
|
+
border-right: none;
|
|
64
|
+
}
|
|
65
|
+
&:nth-child(4) {
|
|
66
|
+
border-left: none;
|
|
67
|
+
border-right: none;
|
|
68
|
+
border-bottom: none;
|
|
69
|
+
}
|
|
41
70
|
}
|
|
42
71
|
`
|
|
43
|
-
)
|
|
72
|
+
), x = o(i)`
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 8px;
|
|
75
|
+
left: 8px;
|
|
76
|
+
`, b = o.img`
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 32px;
|
|
79
|
+
right: 32px;
|
|
80
|
+
width: 14px;
|
|
81
|
+
${({ theme: t }) => t.mediaQueries.minWidthTablet} {
|
|
82
|
+
top: 27px;
|
|
83
|
+
right: 38px;
|
|
84
|
+
width: 18px;
|
|
85
|
+
}
|
|
86
|
+
`, c = o.img`
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 40px;
|
|
89
|
+
left: 80px;
|
|
90
|
+
width: 11px;
|
|
91
|
+
${({ theme: t }) => t.mediaQueries.minWidthTablet} {
|
|
92
|
+
top: 28.5px;
|
|
93
|
+
left: 38px;
|
|
94
|
+
width: 15px;
|
|
95
|
+
}
|
|
96
|
+
`, u = o.img`
|
|
97
|
+
position: absolute;
|
|
98
|
+
left: 64px;
|
|
99
|
+
bottom: 86px;
|
|
100
|
+
width: 12px;
|
|
101
|
+
${({ theme: t }) => t.mediaQueries.minWidthTablet} {
|
|
102
|
+
bottom: 130px;
|
|
103
|
+
left: 38px;
|
|
104
|
+
width: 13px;
|
|
105
|
+
}
|
|
106
|
+
`, g = o.img`
|
|
107
|
+
position: absolute;
|
|
108
|
+
right: 48px;
|
|
109
|
+
bottom: 96px;
|
|
110
|
+
width: 14px;
|
|
111
|
+
${({ theme: t }) => t.mediaQueries.minWidthTablet} {
|
|
112
|
+
right: 32px;
|
|
113
|
+
bottom: 130px;
|
|
114
|
+
width: 19px;
|
|
115
|
+
}
|
|
116
|
+
`;
|
|
44
117
|
export {
|
|
45
|
-
|
|
46
|
-
h as
|
|
47
|
-
|
|
118
|
+
x as CueLogoWrapper,
|
|
119
|
+
h as GridContainer,
|
|
120
|
+
m as GridItem,
|
|
121
|
+
b as PositionedAsset1,
|
|
122
|
+
c as PositionedAsset2,
|
|
123
|
+
u as PositionedAsset3,
|
|
124
|
+
g as PositionedAsset4,
|
|
125
|
+
l as ProfilePicture,
|
|
126
|
+
a as ProfileWrapper
|
|
48
127
|
};
|
|
49
128
|
//# sourceMappingURL=teacher-profile-styled.js.map
|