mario-teacher-student-client 2.2.1-staging → 2.2.2-release
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/CheckInProgress-B32TQqzG.js +983 -0
- package/dist/CheckInProgress-DGBjPmVA.cjs +30 -0
- package/dist/ConfirmDeleteOneToOne-DgEzn5e3.cjs +16 -0
- package/dist/ConfirmDeleteOneToOne-DgT4S7Wy.js +1990 -0
- package/dist/HomePage-DemObw_d.cjs +234 -0
- package/dist/HomePage-YR-kf6U2.js +5847 -0
- package/dist/MyOneToOne-D6ugIxUg.cjs +1 -0
- package/dist/MyOneToOne-ak6iRzPm.js +2172 -0
- package/dist/SessionResultComponent-CXtU4qrX.cjs +1 -0
- package/dist/SessionResultComponent-DDkdJ2sk.js +260 -0
- package/dist/ViewSessionResultComponent-Bo1St5Ol.cjs +1 -0
- package/dist/ViewSessionResultComponent-DX_NowjJ.js +242 -0
- package/dist/components/icons/home/index.d.ts +128 -0
- package/dist/components/icons/home/index.d.ts.map +1 -0
- package/dist/containers/Overview/components/AssignedFlagsList.d.ts +5 -0
- package/dist/containers/Overview/components/AssignedFlagsList.d.ts.map +1 -0
- package/dist/containers/Overview/components/DialogAllEngagements.d.ts +5 -0
- package/dist/containers/Overview/components/DialogAllEngagements.d.ts.map +1 -0
- package/dist/containers/Overview/components/DialogJourneyProgress.d.ts +5 -0
- package/dist/containers/Overview/components/DialogJourneyProgress.d.ts.map +1 -0
- package/dist/containers/Overview/components/DialogMissingConversations.d.ts +5 -0
- package/dist/containers/Overview/components/DialogMissingConversations.d.ts.map +1 -0
- package/dist/containers/Overview/components/DialogUnhealthyStudents.d.ts +5 -0
- package/dist/containers/Overview/components/DialogUnhealthyStudents.d.ts.map +1 -0
- package/dist/containers/Overview/components/DialogWhatFlagsMean.d.ts +5 -0
- package/dist/containers/Overview/components/DialogWhatFlagsMean.d.ts.map +1 -0
- package/dist/containers/Overview/components/EngagementSection.d.ts +5 -0
- package/dist/containers/Overview/components/EngagementSection.d.ts.map +1 -0
- package/dist/containers/Overview/components/FlagsSection.d.ts +5 -0
- package/dist/containers/Overview/components/FlagsSection.d.ts.map +1 -0
- package/dist/containers/Overview/components/HighlightsList.d.ts +5 -0
- package/dist/containers/Overview/components/HighlightsList.d.ts.map +1 -0
- package/dist/containers/Overview/components/HighlightsSection.d.ts +5 -0
- package/dist/containers/Overview/components/HighlightsSection.d.ts.map +1 -0
- package/dist/containers/Overview/components/MissingConversationsSection.d.ts +5 -0
- package/dist/containers/Overview/components/MissingConversationsSection.d.ts.map +1 -0
- package/dist/containers/Overview/components/PopoverWhatFlagsMean.d.ts +5 -0
- package/dist/containers/Overview/components/PopoverWhatFlagsMean.d.ts.map +1 -0
- package/dist/containers/Overview/components/StudentWellnessSection.d.ts +5 -0
- package/dist/containers/Overview/components/StudentWellnessSection.d.ts.map +1 -0
- package/dist/containers/Overview/config/api.d.ts +4 -0
- package/dist/containers/Overview/config/api.d.ts.map +1 -0
- package/dist/containers/Overview/config/constants.d.ts +23 -0
- package/dist/containers/Overview/config/constants.d.ts.map +1 -0
- package/dist/containers/Overview/config/type.d.ts +183 -0
- package/dist/containers/Overview/config/type.d.ts.map +1 -0
- package/dist/containers/Overview/config/utils.d.ts +24 -0
- package/dist/containers/Overview/config/utils.d.ts.map +1 -0
- package/dist/containers/Overview/hooks/useOverview.d.ts +18 -0
- package/dist/containers/Overview/hooks/useOverview.d.ts.map +1 -0
- package/dist/containers/Overview/views/index.d.ts +4 -0
- package/dist/containers/Overview/views/index.d.ts.map +1 -0
- package/dist/useConductOne-CHs7Sdkv.cjs +1 -0
- package/dist/useConductOne-Ck03kU7f.js +716 -0
- package/package.json +2 -2
|
@@ -0,0 +1,983 @@
|
|
|
1
|
+
import { jsxs as o, jsx as e, Fragment as Se } from "react/jsx-runtime";
|
|
2
|
+
import { useState as me, useRef as pe, useEffect as j, Fragment as xe, useMemo as x } from "react";
|
|
3
|
+
import { r as f, A as V, F as Ye } from "./FlagOfSession-BloE3MfK.js";
|
|
4
|
+
import { Checkbox as Ke, InputAdornment as Ne, Box as Te, Tooltip as Je, tooltipClasses as Me, Slider as Xe, TextField as et, LinearProgress as tt, linearProgressClasses as Re } from "@mui/material";
|
|
5
|
+
import { A as Ae } from "./ArrowLeftIcon-D1a0vjyK.js";
|
|
6
|
+
import { A as Ie } from "./ArrowRightIcon-gBYRjS1Q.js";
|
|
7
|
+
import { u as nt } from "./useConductOne-Ck03kU7f.js";
|
|
8
|
+
import { d as it, p as st, c as rt } from "./constant-BzRlb3sI.js";
|
|
9
|
+
import { Q as c } from "./types-BXFFrSNT.js";
|
|
10
|
+
import { E as ot, Y as at, i as lt, Z as Fe } from "./constants-jQb--ivI.js";
|
|
11
|
+
import { useTranslation as he, getStaticFileUrl as W, utcToLocalTime as ct } from "mario-core";
|
|
12
|
+
import { u as dt } from "./useAudioRecorder-CIdTjG0s.js";
|
|
13
|
+
import { S as pt } from "./SingleChoiceComponent-CZV6AKxP.js";
|
|
14
|
+
import { s as ue } from "./styled-UOFRP3cN.js";
|
|
15
|
+
import { R as _t } from "./RouterPrompt-BcuXN3rR.js";
|
|
16
|
+
import { L as mt, C as ht, a as ut, R as gt } from "./ConfirmDeleteOneToOne-DgT4S7Wy.js";
|
|
17
|
+
import { S as ft } from "./SimpleDialog-Bp-mjW0P.js";
|
|
18
|
+
import { D as wt } from "./DoneStatusIcon-BIVhWUW_.js";
|
|
19
|
+
import { D as Ct } from "./DoneCheckInIcon-3Yg4kjqY.js";
|
|
20
|
+
import { g as _e } from "./constants-w6g4YfJ8.js";
|
|
21
|
+
import { r as E } from "./constantsFn-C9OIbD7i.js";
|
|
22
|
+
import { G as A } from "./types-DiZGTleX.js";
|
|
23
|
+
import { M as kt } from "./MainViewScaffolding-Dm1qO-uA.js";
|
|
24
|
+
const yt = "_text_wc1e0_236", xt = "_ring_wc1e0_1", vt = "_detail_wc1e0_314", i = {
|
|
25
|
+
"check-in-progress": "_check-in-progress_wc1e0_61",
|
|
26
|
+
"check-in-progress__image": "_check-in-progress__image_wc1e0_69",
|
|
27
|
+
"check-in-progress__title": "_check-in-progress__title_wc1e0_80",
|
|
28
|
+
"title-check-in": "_title-check-in_wc1e0_94",
|
|
29
|
+
"check-in-progress__back": "_check-in-progress__back_wc1e0_108",
|
|
30
|
+
"check-in-progress__content": "_check-in-progress__content_wc1e0_119",
|
|
31
|
+
"check-in-progress__content--left": "_check-in-progress__content--left_wc1e0_126",
|
|
32
|
+
"check-in-progress__content--right": "_check-in-progress__content--right_wc1e0_129",
|
|
33
|
+
"log-1-1-container": "_log-1-1-container_wc1e0_138",
|
|
34
|
+
"log-1-1": "_log-1-1_wc1e0_138",
|
|
35
|
+
"view-1-1-container": "_view-1-1-container_wc1e0_162",
|
|
36
|
+
"view-1-1": "_view-1-1_wc1e0_162",
|
|
37
|
+
"progress-container": "_progress-container_wc1e0_187",
|
|
38
|
+
"progress-container__title": "_progress-container__title_wc1e0_206",
|
|
39
|
+
"progress-container__questions": "_progress-container__questions_wc1e0_213",
|
|
40
|
+
"progress-container__questions--item": "_progress-container__questions--item_wc1e0_219",
|
|
41
|
+
"progress-container__progress": "_progress-container__progress_wc1e0_223",
|
|
42
|
+
"progress-container__progress--bar": "_progress-container__progress--bar_wc1e0_229",
|
|
43
|
+
text: yt,
|
|
44
|
+
"progress-container__progress--actions": "_progress-container__progress--actions_wc1e0_245",
|
|
45
|
+
"btn-previous": "_btn-previous_wc1e0_251",
|
|
46
|
+
"btn-next": "_btn-next_wc1e0_261",
|
|
47
|
+
"btn-next__disabled": "_btn-next__disabled_wc1e0_275",
|
|
48
|
+
"btn-next__animate": "_btn-next__animate_wc1e0_278",
|
|
49
|
+
ring: xt,
|
|
50
|
+
"progress-item": "_progress-item_wc1e0_282",
|
|
51
|
+
"progress-item__title": "_progress-item__title_wc1e0_294",
|
|
52
|
+
"progress-item__title--last": "_progress-item__title--last_wc1e0_306",
|
|
53
|
+
"progress-item__stress-item": "_progress-item__stress-item_wc1e0_309",
|
|
54
|
+
detail: vt,
|
|
55
|
+
"progress-item__single-choice": "_progress-item__single-choice_wc1e0_322",
|
|
56
|
+
"progress-item__single-choice--yes-no": "_progress-item__single-choice--yes-no_wc1e0_329",
|
|
57
|
+
"progress-item__single-choice--title": "_progress-item__single-choice--title_wc1e0_332",
|
|
58
|
+
"progress-item__single-choice--question": "_progress-item__single-choice--question_wc1e0_343",
|
|
59
|
+
"question-answer-ready-to-learn": "_question-answer-ready-to-learn_wc1e0_349",
|
|
60
|
+
"progress-item__question-item": "_progress-item__question-item_wc1e0_360",
|
|
61
|
+
"answer-item": "_answer-item_wc1e0_366",
|
|
62
|
+
"progress-item__summarize--checkbox": "_progress-item__summarize--checkbox_wc1e0_377",
|
|
63
|
+
"check-in-information": "_check-in-information_wc1e0_385",
|
|
64
|
+
"check-in-information__item": "_check-in-information__item_wc1e0_399",
|
|
65
|
+
"modal-finished": "_modal-finished_wc1e0_420",
|
|
66
|
+
"title-modal": "_title-modal_wc1e0_426",
|
|
67
|
+
"body-modal": "_body-modal_wc1e0_430",
|
|
68
|
+
"tite-body": "_tite-body_wc1e0_430",
|
|
69
|
+
"btn-cancel": "_btn-cancel_wc1e0_436",
|
|
70
|
+
"btn-submit": "_btn-submit_wc1e0_442",
|
|
71
|
+
"font-large": "_font-large_wc1e0_460",
|
|
72
|
+
"font-small": "_font-small_wc1e0_507",
|
|
73
|
+
"check-in-information__image": "_check-in-information__image_wc1e0_574",
|
|
74
|
+
"complete-check-in-modal": "_complete-check-in-modal_wc1e0_577",
|
|
75
|
+
"complete-check-in-modal__title": "_complete-check-in-modal__title_wc1e0_606",
|
|
76
|
+
"complete-check-in-modal__description": "_complete-check-in-modal__description_wc1e0_617",
|
|
77
|
+
"complete-check-in-modal__group-btn": "_complete-check-in-modal__group-btn_wc1e0_627",
|
|
78
|
+
"complete-check-in-modal__action": "_complete-check-in-modal__action_wc1e0_634",
|
|
79
|
+
"complete-check-in-modal__cancel": "_complete-check-in-modal__cancel_wc1e0_656",
|
|
80
|
+
"flag-right-container": "_flag-right-container_wc1e0_676"
|
|
81
|
+
}, bt = /([^\w\d])(i)([^\w\d])/g, Lt = /([^\w\d])i$/, ve = ue(({ className: t, ...l }) => /* @__PURE__ */ e(Je, { ...l, classes: { popper: t } }))(() => ({
|
|
82
|
+
[`& .${Me.tooltip}`]: {
|
|
83
|
+
fontSize: "14px",
|
|
84
|
+
color: "#FFFFFF",
|
|
85
|
+
backgroundColor: "#336DDA",
|
|
86
|
+
padding: "10px 15px"
|
|
87
|
+
},
|
|
88
|
+
[`& .${Me.arrow}`]: {
|
|
89
|
+
color: "#336DDA"
|
|
90
|
+
}
|
|
91
|
+
})), St = ue(Xe)(({ theme: t }) => ({
|
|
92
|
+
color: "#EFEFEF",
|
|
93
|
+
marginRight: "20px",
|
|
94
|
+
height: 10,
|
|
95
|
+
[t.breakpoints.down("lg")]: {
|
|
96
|
+
marginRight: "10px"
|
|
97
|
+
},
|
|
98
|
+
"& .MuiSlider-thumb": {
|
|
99
|
+
height: "35px !important",
|
|
100
|
+
width: "35px !important",
|
|
101
|
+
backgroundColor: "#F6F7FF",
|
|
102
|
+
boxShadow: "inset 2px 2px 10px #dedede",
|
|
103
|
+
zIndex: 2,
|
|
104
|
+
"&:focus, &:hover, &.Mui-active": {
|
|
105
|
+
boxShadow: "inherit"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"& .MuiSlider-valueLabel": {
|
|
109
|
+
borderRadius: "50%",
|
|
110
|
+
backgroundColor: "#E0E0E0 !important",
|
|
111
|
+
padding: "6px !important",
|
|
112
|
+
"& > span": {
|
|
113
|
+
backgroundColor: "transparent !important",
|
|
114
|
+
padding: "4px",
|
|
115
|
+
"& > span": {
|
|
116
|
+
color: "#212529 !important",
|
|
117
|
+
fontSize: "14px",
|
|
118
|
+
fontWeight: 500,
|
|
119
|
+
"& > div": {
|
|
120
|
+
backgroundColor: "transparent !important",
|
|
121
|
+
minWidth: "16px !important",
|
|
122
|
+
textAlign: "center"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"& .MuiSlider-track": {
|
|
128
|
+
height: 15,
|
|
129
|
+
borderRadius: 10,
|
|
130
|
+
opacity: 0.9,
|
|
131
|
+
right: 0,
|
|
132
|
+
left: "unset !important"
|
|
133
|
+
},
|
|
134
|
+
"& .MuiSlider-rail": {
|
|
135
|
+
height: 15,
|
|
136
|
+
borderRadius: 10,
|
|
137
|
+
backgroundImage: "linear-gradient(90deg, #C44140 20%, #FFB04F 20%, #FFB04F 40%, #FFD028 40%, #FFD028 60%, #A9D660 60%, #A9D660 80%, #0F9655 80%, #0F9655 100%)",
|
|
138
|
+
opacity: 1
|
|
139
|
+
},
|
|
140
|
+
[t.breakpoints.down("sm")]: {
|
|
141
|
+
margin: "0 !important"
|
|
142
|
+
}
|
|
143
|
+
})), Oe = ue(et)(({ theme: t }) => ({
|
|
144
|
+
borderRadius: "30px",
|
|
145
|
+
width: "100%",
|
|
146
|
+
"& .MuiOutlinedInput-multiline": {
|
|
147
|
+
padding: "30px"
|
|
148
|
+
},
|
|
149
|
+
"& .MuiInputAdornment-positionEnd": {
|
|
150
|
+
position: "absolute",
|
|
151
|
+
right: "20px",
|
|
152
|
+
top: "40px"
|
|
153
|
+
},
|
|
154
|
+
"& textarea": {
|
|
155
|
+
fontSize: "20px",
|
|
156
|
+
lineHeight: "30px"
|
|
157
|
+
},
|
|
158
|
+
[t.breakpoints.down("md")]: {
|
|
159
|
+
"& .MuiOutlinedInput-multiline": {
|
|
160
|
+
padding: "20px"
|
|
161
|
+
},
|
|
162
|
+
"& textarea": {
|
|
163
|
+
fontSize: "16px",
|
|
164
|
+
lineHeight: "24px"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
})), Nt = ({ data: t, onChangeQuestionAnswer: l, handleSkipSummarize: v, isDisabled: _, classFontSize: g = "", setSummarizeValue: I, summarizeValue: L = "", isToggleTypingSummarizeQuestion: B }) => {
|
|
168
|
+
const [Z, S] = me("off"), [X, N] = me(!1), { t: U } = he(), ee = pe(Date.now()), H = pe(), te = pe(!1), G = pe(null), ge = () => {
|
|
169
|
+
S("on");
|
|
170
|
+
}, fe = () => {
|
|
171
|
+
S("off");
|
|
172
|
+
}, w = t?.text?.split(`
|
|
173
|
+
`) || [], F = (s) => it.find((a) => a.key?.toLocaleLowerCase()?.includes(s?.toLocaleLowerCase()) || s?.toLocaleLowerCase()?.includes(a.key?.toLocaleLowerCase()))?.value || null, we = (s) => {
|
|
174
|
+
if (!s) return "";
|
|
175
|
+
let a = s;
|
|
176
|
+
const m = a.match(bt);
|
|
177
|
+
return m && new Set(Object.values(m)).forEach((T) => a = a.replaceAll(T, T.toUpperCase())), Lt.test(a) && (a = a.slice(0, -1) + a.slice(-1).toUpperCase()), a;
|
|
178
|
+
}, [C, Y] = me(t?.answer || "");
|
|
179
|
+
j(() => {
|
|
180
|
+
t?.type === c.TextInput && Y(t?.answer || "");
|
|
181
|
+
}, [t?.answer]);
|
|
182
|
+
const { isRecording: K, record: O, stop: ne, tempTranscript: ie } = dt((s) => {
|
|
183
|
+
l?.(t?.id, s), I && I?.(s), t?.type === c.TextInput && Y(s), N(!0);
|
|
184
|
+
}, G);
|
|
185
|
+
j(() => {
|
|
186
|
+
const a = document.getElementById(`${t?.id}`)?.getElementsByClassName("MuiSlider-rail")[0];
|
|
187
|
+
a && t?.text?.toLowerCase().includes("stress") && a.setAttribute(
|
|
188
|
+
"style",
|
|
189
|
+
"background-image: linear-gradient(90deg, #C44140 20%, #A9D660 20%, #A9D660 40%, #0F9655 40%, #0F9655 60%, #FFD028 60%, #FFD028 80%, #C44140 80%, #C44140 100%) !important"
|
|
190
|
+
);
|
|
191
|
+
}, []), j(() => {
|
|
192
|
+
const s = t?.text?.toLowerCase().includes("stress"), a = parseInt(t?.answer || "0"), m = s ? a / 2 + 50 : 100 - a, P = document.getElementById(`${t?.id}`), T = P?.getElementsByClassName("MuiSlider-track"), D = P?.getElementsByClassName(
|
|
193
|
+
`track-shadow-${t?.id}`
|
|
194
|
+
);
|
|
195
|
+
if (T)
|
|
196
|
+
for (let M = 0; M < T.length; M++) {
|
|
197
|
+
const $ = T[M];
|
|
198
|
+
s ? $.setAttribute(
|
|
199
|
+
"style",
|
|
200
|
+
`left: ${m < 50 ? "0%" : "unset"} !important; width: ${m < 50 ? m : 100 - m}% !important`
|
|
201
|
+
) : $.setAttribute(
|
|
202
|
+
"style",
|
|
203
|
+
`left: 0%; width: ${m}% !important`
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
if (s) {
|
|
207
|
+
const M = "left: 50%; border-radius: 0 10px 10px 0;", $ = "left: 0%; border-radius: 10px 0 0 10px;";
|
|
208
|
+
if (!D || D.length === 0) {
|
|
209
|
+
const b = document.createElement("span");
|
|
210
|
+
b.className = `track-shadow-${t?.id}`, b.style.cssText = `${m < 50 ? M : $};
|
|
211
|
+
width: 50% !important;
|
|
212
|
+
position: absolute;
|
|
213
|
+
background-color:
|
|
214
|
+
currentColor;
|
|
215
|
+
height: 15px;
|
|
216
|
+
opacity: 0.9;
|
|
217
|
+
top:30%;
|
|
218
|
+
`, P?.appendChild(b);
|
|
219
|
+
} else
|
|
220
|
+
for (let b = 0; b < D.length; b++)
|
|
221
|
+
D[b].setAttribute(
|
|
222
|
+
"style",
|
|
223
|
+
`${m < 50 ? M : $};
|
|
224
|
+
width: 50% !important;
|
|
225
|
+
position: absolute;
|
|
226
|
+
background-color:
|
|
227
|
+
currentColor;
|
|
228
|
+
height: 15px;
|
|
229
|
+
opacity: 0.9;
|
|
230
|
+
top:30%;
|
|
231
|
+
`
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
}, [t?.answer, t?.text, t?.id]), j(() => {
|
|
235
|
+
ee.current = Date.now();
|
|
236
|
+
}, [L, C]), j(() => {
|
|
237
|
+
if (!X || !t?.id || t?.type !== c.Summarize && t?.type !== c.TextInput) return;
|
|
238
|
+
const s = () => {
|
|
239
|
+
Date.now() - ee.current >= 500 ? (t?.type === c.Summarize ? l(t?.id, L) : t?.type === c.TextInput && l(t?.id, C), N(!1)) : H.current = requestAnimationFrame(s);
|
|
240
|
+
};
|
|
241
|
+
return H.current = requestAnimationFrame(s), () => {
|
|
242
|
+
H.current && cancelAnimationFrame(H.current);
|
|
243
|
+
};
|
|
244
|
+
}, [L, C, X]);
|
|
245
|
+
const Ce = ["Low", "Moderate", "High", "Very High"];
|
|
246
|
+
j(() => {
|
|
247
|
+
if (!te.current) {
|
|
248
|
+
te.current = !0;
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
B ? (I?.("Nothing to Add"), N(!0)) : (I?.(""), N(!0));
|
|
252
|
+
}, [B]);
|
|
253
|
+
const ke = t?.questionItemAnswers?.some((s) => s.text === "Yes") && t?.questionItemAnswers?.some((s) => s.text === "No");
|
|
254
|
+
return /* @__PURE__ */ o("div", { className: `${i["progress-item"]} ${i[g]}`, children: [
|
|
255
|
+
t?.type === c.SingleChoice && /* @__PURE__ */ o("div", { className: `${i["progress-item__single-choice"]} ${ke && i["progress-item__single-choice--yes-no"]}`, children: [
|
|
256
|
+
/* @__PURE__ */ o("div", { className: i["progress-item__single-choice--title"], children: [
|
|
257
|
+
/* @__PURE__ */ e("div", { dangerouslySetInnerHTML: { __html: w[1] || w[0] } }),
|
|
258
|
+
!!F(w[1]) && /* @__PURE__ */ e(
|
|
259
|
+
ve,
|
|
260
|
+
{
|
|
261
|
+
arrow: !0,
|
|
262
|
+
title: F(w[1]) || "",
|
|
263
|
+
children: /* @__PURE__ */ e("i", { className: "fal fa-info-circle" })
|
|
264
|
+
}
|
|
265
|
+
)
|
|
266
|
+
] }),
|
|
267
|
+
/* @__PURE__ */ e(
|
|
268
|
+
pt,
|
|
269
|
+
{
|
|
270
|
+
questionId: t?.id,
|
|
271
|
+
valueText: t?.answer || "",
|
|
272
|
+
questionAnswer: t?.questionItemAnswers?.map((s) => s.text) || [],
|
|
273
|
+
onChangeQuestionAnswer: l,
|
|
274
|
+
labelPlacement: "end"
|
|
275
|
+
}
|
|
276
|
+
)
|
|
277
|
+
] }),
|
|
278
|
+
(t?.type === c.Rating || t?.type === c.Slider) && /* @__PURE__ */ o(xe, { children: [
|
|
279
|
+
w?.map(((s, a) => /* @__PURE__ */ o(
|
|
280
|
+
"div",
|
|
281
|
+
{
|
|
282
|
+
className: `
|
|
283
|
+
${i["progress-item__title"]}
|
|
284
|
+
${w.length > 1 && a === w.length - 1 ? i["progress-item__title--last"] : ""}
|
|
285
|
+
`,
|
|
286
|
+
children: [
|
|
287
|
+
/* @__PURE__ */ e("div", { dangerouslySetInnerHTML: { __html: s } }),
|
|
288
|
+
!!F(s) && /* @__PURE__ */ e(
|
|
289
|
+
ve,
|
|
290
|
+
{
|
|
291
|
+
arrow: !0,
|
|
292
|
+
title: F(s) || "",
|
|
293
|
+
children: /* @__PURE__ */ e("i", { className: "fal fa-info-circle" })
|
|
294
|
+
}
|
|
295
|
+
)
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
a
|
|
299
|
+
))),
|
|
300
|
+
t?.text?.toLowerCase().includes("stress") && /* @__PURE__ */ e("div", { className: i["progress-item__stress-item"], children: Ce.map((s) => /* @__PURE__ */ e("div", { className: `${i.detail}`, children: s }, s)) }),
|
|
301
|
+
/* @__PURE__ */ e(
|
|
302
|
+
"div",
|
|
303
|
+
{
|
|
304
|
+
onMouseEnter: ge,
|
|
305
|
+
onMouseLeave: fe,
|
|
306
|
+
children: /* @__PURE__ */ e(
|
|
307
|
+
St,
|
|
308
|
+
{
|
|
309
|
+
id: `${t?.id}`,
|
|
310
|
+
min: t?.text?.toLowerCase().includes("stress") ? -100 : 0,
|
|
311
|
+
max: 100,
|
|
312
|
+
valueLabelDisplay: Z,
|
|
313
|
+
onChange: (s, a) => {
|
|
314
|
+
const m = Array.isArray(a) ? a[0] : a;
|
|
315
|
+
l?.(t?.id, m.toString());
|
|
316
|
+
},
|
|
317
|
+
className: i["range-slider"],
|
|
318
|
+
value: t?.answer || "0",
|
|
319
|
+
style: { cursor: "default" },
|
|
320
|
+
valueLabelFormat: () => /* @__PURE__ */ e("div", { children: t?.answer || "0" }),
|
|
321
|
+
disabled: _
|
|
322
|
+
}
|
|
323
|
+
)
|
|
324
|
+
}
|
|
325
|
+
),
|
|
326
|
+
t?.questionAnswer.length > 0 && /* @__PURE__ */ e("div", { className: i["progress-item__question-item"], children: t.questionAnswer.map((s, a) => /* @__PURE__ */ o("div", { className: `${i["answer-item"]}`, style: { width: `${100 / t.questionAnswer.length}%` }, children: [
|
|
327
|
+
we(s),
|
|
328
|
+
/* @__PURE__ */ e(
|
|
329
|
+
ve,
|
|
330
|
+
{
|
|
331
|
+
title: ot[a],
|
|
332
|
+
children: /* @__PURE__ */ e(
|
|
333
|
+
"i",
|
|
334
|
+
{
|
|
335
|
+
hidden: !t?.text?.toLowerCase().includes("stress"),
|
|
336
|
+
className: "fal fa-info-circle"
|
|
337
|
+
}
|
|
338
|
+
)
|
|
339
|
+
}
|
|
340
|
+
)
|
|
341
|
+
] }, s)) })
|
|
342
|
+
] }),
|
|
343
|
+
t?.type === c.Summarize && /* @__PURE__ */ o(xe, { children: [
|
|
344
|
+
!at && !t?.isReasonQuestion && /* @__PURE__ */ o("div", { className: i["progress-item__summarize--checkbox"], children: [
|
|
345
|
+
/* @__PURE__ */ e(
|
|
346
|
+
Ke,
|
|
347
|
+
{
|
|
348
|
+
disabled: _,
|
|
349
|
+
checked: B,
|
|
350
|
+
onChange: (s) => {
|
|
351
|
+
v?.(s.target.checked);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
),
|
|
355
|
+
U("i_have_nothing_to_add")
|
|
356
|
+
] }),
|
|
357
|
+
/* @__PURE__ */ e(
|
|
358
|
+
Oe,
|
|
359
|
+
{
|
|
360
|
+
inputRef: G,
|
|
361
|
+
id: "outlined-textarea",
|
|
362
|
+
placeholder: U("type_your_answer_here"),
|
|
363
|
+
disabled: !t?.isReasonQuestion && B || _,
|
|
364
|
+
rows: 7,
|
|
365
|
+
value: `${L}${ie}`,
|
|
366
|
+
multiline: !0,
|
|
367
|
+
variant: "outlined",
|
|
368
|
+
onChange: (s) => {
|
|
369
|
+
I?.(s.target.value), N(!0);
|
|
370
|
+
},
|
|
371
|
+
InputProps: {
|
|
372
|
+
endAdornment: /* @__PURE__ */ e(Ne, { position: "end", children: !_ && /* @__PURE__ */ e(Te, { children: K !== !1 ? /* @__PURE__ */ e(
|
|
373
|
+
"img",
|
|
374
|
+
{
|
|
375
|
+
src: W("/images/recording-dot.png"),
|
|
376
|
+
style: { cursor: "pointer" },
|
|
377
|
+
onClick: () => ne?.()
|
|
378
|
+
}
|
|
379
|
+
) : /* @__PURE__ */ e(
|
|
380
|
+
"img",
|
|
381
|
+
{
|
|
382
|
+
src: W("/teacher-student/icons/icon-micro.png"),
|
|
383
|
+
style: { cursor: "pointer" },
|
|
384
|
+
onClick: () => O?.()
|
|
385
|
+
}
|
|
386
|
+
) }) })
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
)
|
|
390
|
+
] }),
|
|
391
|
+
t?.type === c.TextInput && /* @__PURE__ */ o(xe, { children: [
|
|
392
|
+
t?.group === "Other" && w?.map(((s, a) => /* @__PURE__ */ e(
|
|
393
|
+
"div",
|
|
394
|
+
{
|
|
395
|
+
className: `
|
|
396
|
+
${i["progress-item__title"]}
|
|
397
|
+
${w.length > 1 && a === w.length - 1 ? i["progress-item__title--last"] : ""}
|
|
398
|
+
`,
|
|
399
|
+
style: { marginBottom: "10px" },
|
|
400
|
+
children: s.includes("Why are you not ready to learn") ? null : /* @__PURE__ */ o("span", { children: [
|
|
401
|
+
/* @__PURE__ */ e("span", { dangerouslySetInnerHTML: { __html: s }, style: { display: "inline" } }),
|
|
402
|
+
t?.isOptional && /* @__PURE__ */ e("span", { style: { fontStyle: "italic", color: "#666", marginLeft: "4px" }, children: " (Optional)" })
|
|
403
|
+
] })
|
|
404
|
+
},
|
|
405
|
+
a
|
|
406
|
+
))),
|
|
407
|
+
/* @__PURE__ */ e(
|
|
408
|
+
Oe,
|
|
409
|
+
{
|
|
410
|
+
inputRef: G,
|
|
411
|
+
id: "outlined-textarea",
|
|
412
|
+
placeholder: U("type_your_answer_here"),
|
|
413
|
+
disabled: _,
|
|
414
|
+
rows: 7,
|
|
415
|
+
value: `${C}${ie}`,
|
|
416
|
+
multiline: !0,
|
|
417
|
+
variant: "outlined",
|
|
418
|
+
onChange: (s) => {
|
|
419
|
+
Y(s.target.value), N(!0);
|
|
420
|
+
},
|
|
421
|
+
InputProps: {
|
|
422
|
+
endAdornment: /* @__PURE__ */ e(Ne, { position: "end", children: !_ && /* @__PURE__ */ e(Te, { children: K !== !1 ? /* @__PURE__ */ e(
|
|
423
|
+
"img",
|
|
424
|
+
{
|
|
425
|
+
src: W("/images/recording-dot.png"),
|
|
426
|
+
style: { cursor: "pointer" },
|
|
427
|
+
onClick: () => ne?.()
|
|
428
|
+
}
|
|
429
|
+
) : /* @__PURE__ */ e(
|
|
430
|
+
"img",
|
|
431
|
+
{
|
|
432
|
+
src: W("/teacher-student/icons/icon-micro.png"),
|
|
433
|
+
style: { cursor: "pointer" },
|
|
434
|
+
onClick: () => O?.()
|
|
435
|
+
}
|
|
436
|
+
) }) })
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
)
|
|
440
|
+
] })
|
|
441
|
+
] });
|
|
442
|
+
}, Tt = ({
|
|
443
|
+
name: t,
|
|
444
|
+
startTime: l,
|
|
445
|
+
grade: v,
|
|
446
|
+
classFontSize: _
|
|
447
|
+
}) => {
|
|
448
|
+
const { t: g } = he();
|
|
449
|
+
return /* @__PURE__ */ o("div", { className: `${i["check-in-information"]} ${i[_]}`, children: [
|
|
450
|
+
/* @__PURE__ */ e("div", { className: i["check-in-information__item"], children: t }),
|
|
451
|
+
/* @__PURE__ */ o("div", { className: i["check-in-information__item"], children: [
|
|
452
|
+
/* @__PURE__ */ e("img", { src: W(st), alt: "calendar" }),
|
|
453
|
+
g("grade"),
|
|
454
|
+
":",
|
|
455
|
+
" ",
|
|
456
|
+
v
|
|
457
|
+
] }),
|
|
458
|
+
/* @__PURE__ */ o("div", { className: i["check-in-information__item"], children: [
|
|
459
|
+
/* @__PURE__ */ e("img", { src: W(rt), alt: "calendar" }),
|
|
460
|
+
ct(l, "do MMMM hh:mm a")
|
|
461
|
+
] })
|
|
462
|
+
] });
|
|
463
|
+
}, Mt = ({
|
|
464
|
+
isOpen: t,
|
|
465
|
+
onClose: l,
|
|
466
|
+
handleSubmit: v
|
|
467
|
+
}) => {
|
|
468
|
+
const { t: _ } = he();
|
|
469
|
+
return /* @__PURE__ */ e(
|
|
470
|
+
ft,
|
|
471
|
+
{
|
|
472
|
+
open: t,
|
|
473
|
+
onClose: l,
|
|
474
|
+
scroll: "body",
|
|
475
|
+
maxWidth: "md",
|
|
476
|
+
isSessionModal: !0,
|
|
477
|
+
customPosition: !0,
|
|
478
|
+
children: /* @__PURE__ */ o("div", { className: i["complete-check-in-modal"], children: [
|
|
479
|
+
/* @__PURE__ */ e(wt, {}),
|
|
480
|
+
/* @__PURE__ */ e("h2", { className: i["complete-check-in-modal__title"], children: _("Check-In Finished") }),
|
|
481
|
+
/* @__PURE__ */ e("div", { className: i["complete-check-in-modal__description"], children: _("Are you ready to submit?") }),
|
|
482
|
+
/* @__PURE__ */ o("div", { className: i["complete-check-in-modal__group-btn"], children: [
|
|
483
|
+
/* @__PURE__ */ e(
|
|
484
|
+
"button",
|
|
485
|
+
{
|
|
486
|
+
type: "button",
|
|
487
|
+
className: i["complete-check-in-modal__cancel"],
|
|
488
|
+
onClick: () => {
|
|
489
|
+
l && l();
|
|
490
|
+
},
|
|
491
|
+
children: _("cancel")
|
|
492
|
+
}
|
|
493
|
+
),
|
|
494
|
+
/* @__PURE__ */ o(
|
|
495
|
+
"button",
|
|
496
|
+
{
|
|
497
|
+
type: "button",
|
|
498
|
+
className: i["complete-check-in-modal__action"],
|
|
499
|
+
onClick: () => v(),
|
|
500
|
+
children: [
|
|
501
|
+
/* @__PURE__ */ e(Ct, { color: "#fff" }),
|
|
502
|
+
_("submit")
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
)
|
|
506
|
+
] })
|
|
507
|
+
] })
|
|
508
|
+
}
|
|
509
|
+
);
|
|
510
|
+
}, Rt = () => /* @__PURE__ */ e("svg", { width: "342", height: "320", viewBox: "0 0 342 320", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o("g", { opacity: "0.24", children: [
|
|
511
|
+
/* @__PURE__ */ e("ellipse", { cx: "194.745", cy: "159.999", rx: "159.587", ry: "159.999", fill: "white" }),
|
|
512
|
+
/* @__PURE__ */ e("path", { d: "M232.206 142.836C225.185 139.229 220.654 132.221 220.58 124.713C220.493 115.448 227.196 106.893 236.935 104.429C231.106 95.9174 233.884 84.4463 241.887 79.8295C248.979 75.7394 258.803 77.8313 264.054 85.2247C268.073 69.7176 282.797 62.9757 291.818 66.8826C298.331 69.7051 302.587 78.3912 301.933 88.0306C307.775 83.903 315.154 83.418 320.228 86.7359C327.15 91.2631 329.363 102.614 323.025 111.333C333.223 112.165 340.317 120.7 339.596 129.026C339.052 135.335 334.057 141.023 327.115 143.051C332.232 149.399 332.13 158.246 327.322 163.766C323.502 168.164 317.184 169.919 311.18 168.297C311.078 169.338 309.934 179.271 300.849 184.695C291.218 190.442 281.381 185.925 280.617 185.559C274.509 190.763 265.952 191.687 259.312 187.932C250.567 182.99 250.073 172.737 250.057 172.181C248.093 173.199 241.287 176.434 235.852 173.69C228.71 170.081 225.243 156.772 232.206 142.836Z", fill: "#242424" }),
|
|
513
|
+
/* @__PURE__ */ e("path", { d: "M287.409 149.765H251.054V216.783H287.409V149.765Z", fill: "#A75E46" }),
|
|
514
|
+
/* @__PURE__ */ e("path", { d: "M245.277 151.653C250.122 149.977 252.359 143.708 250.275 137.652C248.19 131.596 242.572 128.046 237.727 129.722C232.882 131.398 230.645 137.667 232.729 143.723C234.814 149.779 240.432 153.329 245.277 151.653Z", fill: "#A75E46" }),
|
|
515
|
+
/* @__PURE__ */ e("path", { d: "M302.989 146.547C297.84 170.778 278.841 182.932 259.905 180.738C241.5 178.602 236.201 156.774 238.614 132.116C241.045 107.276 259.911 91.4731 278.557 95.4571C297.202 99.441 308.144 122.312 302.989 146.547Z", fill: "#B3684D" }),
|
|
516
|
+
/* @__PURE__ */ e("path", { d: "M311.785 151.802C314.058 145.814 312.016 139.479 307.226 137.652C302.436 135.824 296.71 139.197 294.438 145.185C292.166 151.173 294.207 157.508 298.997 159.336C303.788 161.163 309.513 157.79 311.785 151.802Z", fill: "#B3684D" }),
|
|
517
|
+
/* @__PURE__ */ e("path", { d: "M251.051 190.804C253.202 194.326 258.429 197.577 265.964 197.856C275.597 198.21 282.573 193.485 287.404 190.221C317.136 204.036 330.05 205.545 336.722 213.397C347.006 225.498 328.806 280.558 328.806 280.558L184.332 277.706C184.332 277.706 194.397 235.843 197.827 220.807C203.057 197.86 249.141 191.239 251.051 190.804Z", fill: "#FFB04F" }),
|
|
518
|
+
/* @__PURE__ */ e("path", { d: "M263.202 139.33C263.202 139.33 260.692 146.228 258.153 147.103C255.614 147.977 256.463 151.632 258.211 152.885C259.664 153.926 261.628 153.926 261.628 153.926", stroke: "#6B3017", "stroke-width": "1.24441", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
519
|
+
/* @__PURE__ */ e("path", { d: "M250.479 157.398C251.142 158.254 254.903 162.936 261.399 163.529C267.028 164.043 272.584 161.293 275.924 156.414", stroke: "#6B3017", "stroke-width": "1.23777", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
520
|
+
/* @__PURE__ */ e("path", { d: "M256.411 136.384C252.995 131.804 248.65 132.614 245.698 135.888", stroke: "#242424", "stroke-width": "0.927509", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
521
|
+
/* @__PURE__ */ e("path", { d: "M255.406 124.321C251.275 122.963 248.009 122.845 244.759 124.253", stroke: "#242424", "stroke-width": "3.09278", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
522
|
+
/* @__PURE__ */ e("path", { d: "M275.139 125.347C277.282 124.861 282.969 123.351 287.41 126.181", stroke: "#242424", "stroke-width": "3.09278", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
523
|
+
/* @__PURE__ */ e("path", { d: "M250.013 138.902C246.781 139.027 246.581 133.989 249.82 133.864C253.059 133.739 253.252 138.78 250.013 138.902Z", fill: "#242424" }),
|
|
524
|
+
/* @__PURE__ */ e("path", { d: "M274.777 137.112C278.396 133.533 282.804 134.227 285.447 138.222", stroke: "#242424", "stroke-width": "0.927509", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
525
|
+
/* @__PURE__ */ e("path", { d: "M278.495 140.391C281.673 140.997 282.618 136.044 279.433 135.436C276.248 134.828 275.312 139.783 278.495 140.391Z", fill: "#242424" }),
|
|
526
|
+
/* @__PURE__ */ e("path", { d: "M233.45 119.257C235.854 123.493 249.989 120.772 259.68 115.804C266.866 112.119 271.643 107.182 274.466 103.731C273.592 110.356 277.165 116.499 282.669 118.555C288.989 120.914 294.723 116.728 295.126 116.424C290.413 121.342 289.728 128.88 293.405 134.395C297.293 140.242 305.116 142.399 311.633 139.268C312.294 135.247 313.543 124.282 307.689 112.769C306.429 110.292 297.754 93.9251 279.131 90.8382C264.534 88.4174 253.533 95.7651 249.358 98.5543C240.634 104.364 231.05 115.025 233.45 119.257Z", fill: "#242424" }),
|
|
527
|
+
/* @__PURE__ */ e("path", { d: "M210.446 303.552H342.538L363 226.401H230.651L210.446 303.552Z", fill: "#58595B" }),
|
|
528
|
+
/* @__PURE__ */ e("path", { d: "M208.457 300.659L210.649 303.552L231.112 226.402L228.662 223.51L208.457 300.659Z", fill: "#979797" }),
|
|
529
|
+
/* @__PURE__ */ e("path", { d: "M230.907 226.402H362.999L361.01 223.51H228.66L230.907 226.402Z", fill: "#979797" }),
|
|
530
|
+
/* @__PURE__ */ e("path", { d: "M290.711 272.868C294.153 272.081 297.079 268.869 297.722 265.166L298.308 261.807C299.174 256.826 295.627 253.135 290.994 254.197C287.551 254.983 284.626 258.195 283.982 261.898L283.397 265.258C282.529 270.23 286.075 273.921 290.711 272.868Z", fill: "#D3D3D3" }),
|
|
531
|
+
/* @__PURE__ */ e("path", { d: "M229.599 283.998C230.51 283.998 254.276 281.907 263.177 280.615C282.732 277.778 298.173 283.063 269.738 288.613C262.011 294.888 304.041 292.394 308.592 293.514C316.481 295.452 303.873 304.963 297.646 304.963C291.42 304.963 237.945 305.433 237.945 305.433L217.439 304.257L229.599 283.998Z", fill: "#F09C7A" }),
|
|
532
|
+
/* @__PURE__ */ e("path", { d: "M343.363 303.552H140.674V320H343.363V303.552Z", fill: "#144DB6" }),
|
|
533
|
+
/* @__PURE__ */ e("path", { d: "M119.744 120.245C119.642 118.422 125.92 117.571 125.922 114.967C125.922 109.686 118.033 105.252 117.618 102.174C114.221 76.3239 104.91 49.9473 86.1558 49.9473C63.1252 49.9473 38.9092 80.6118 38.9092 106.501C38.9092 121.084 44.8324 134.11 54.1231 142.719L49.703 171.785L95.7932 171.96L92.434 148.575C125.922 145.833 121.062 143.854 119.744 120.245Z", fill: "#F09C7A" }),
|
|
534
|
+
/* @__PURE__ */ e("path", { d: "M108.194 97.4717L108.683 100.405", stroke: "#242424", "stroke-width": "2.47553", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
535
|
+
/* @__PURE__ */ e("path", { d: "M108.682 125.298C110.006 135.688 124.133 139.129 126.291 126.33L108.682 125.298Z", fill: "white" }),
|
|
536
|
+
/* @__PURE__ */ e("path", { d: "M110.579 86.7419C110.579 86.7419 100.553 86.7419 99.2725 96.3876", stroke: "#242424", "stroke-width": "2.47553", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
537
|
+
/* @__PURE__ */ e("path", { d: "M93.975 74.4113C104.451 79.9981 112.017 74.8838 115.737 76.395C111.311 36.9882 92.5071 36.9986 73.2115 45.4682C69.761 46.9814 54.6529 48.0014 48.8522 58.6565C45.3456 58.4692 39.9601 58.7793 35.3573 62.091C26.1497 68.7101 26.621 82.6062 26.895 90.9696C27.6985 114.953 45.7588 132.828 54.1235 142.707C60.3021 143.717 63.4122 141.233 69.5907 142.243C75.7153 130.364 76.7389 127.464 76.7389 127.464C73.6351 129.09 67.0163 124.265 65.0419 117.869C62.1852 108.621 63.7838 103.042 67.99 99.8576C71.7458 97.0142 79.9797 98.8168 86.3202 105.917C92.2986 96.562 94.9924 85.4746 93.975 74.4113Z", fill: "#242424" }),
|
|
538
|
+
/* @__PURE__ */ e("path", { d: "M94.0083 159.565C94.0083 159.242 80.3058 167.924 71.9223 167.501C62.7873 167.039 53.9181 165.024 51.653 158.955C26.783 169.491 17.7788 254.874 19.2404 303.908C77.5279 303.908 247.628 303.558 247.628 303.558L253.408 273.632L170.497 252.865C170.497 252.865 143.958 214.693 127.907 181.239C123.014 171.061 96.5121 163.948 94.0083 159.565Z", fill: "#316CD9" }),
|
|
539
|
+
/* @__PURE__ */ e("path", { d: "M143.567 304.984L99.2725 239.454", stroke: "#144DB6", "stroke-width": "1.85665", "stroke-linejoin": "round" }),
|
|
540
|
+
/* @__PURE__ */ e("path", { d: "M92.9739 152.375C90.0216 154.024 63.4927 156.222 53.0311 149.907C52.0948 150.583 52.1467 148.506 48.7543 155.968C47.7494 158.17 44.4753 164.465 44.4753 164.465C44.4753 164.465 54.0712 171.24 71.2866 171.24C83.3614 171.24 102.051 164.617 102.051 164.617C102.051 164.617 95.2888 152.375 92.9739 152.375Z", fill: "#144DB6" }),
|
|
541
|
+
/* @__PURE__ */ e("path", { d: "M140.673 303.552H46.6201V320H140.673V303.552Z", fill: "#316CD9" }),
|
|
542
|
+
/* @__PURE__ */ e("path", { d: "M0 241.117H86.907L104.926 320H18.0188L0 241.117Z", fill: "#7C7D80" }),
|
|
543
|
+
/* @__PURE__ */ e("path", { d: "M73.4055 241.117H86.9066L104.925 320H91.4243L73.4055 241.117Z", fill: "#58595B" }),
|
|
544
|
+
/* @__PURE__ */ e("path", { d: "M163.737 171.284L153.504 177.624L164.344 182.845L170.668 193.104L175.875 182.236L186.12 175.894L175.266 170.663L168.942 160.403L163.737 171.284Z", fill: "#FFB04F" }),
|
|
545
|
+
/* @__PURE__ */ e("path", { d: "M192.303 152.782L185.512 156.989L192.706 160.453L196.902 167.262L200.358 160.049L207.157 155.841L199.954 152.369L195.757 145.561L192.303 152.782Z", fill: "#FFB04F" })
|
|
546
|
+
] }) }), At = ue(tt)(() => ({
|
|
547
|
+
borderRadius: 16,
|
|
548
|
+
width: "100%",
|
|
549
|
+
height: 16,
|
|
550
|
+
[`&.${Re.colorPrimary}`]: {
|
|
551
|
+
backgroundColor: "#D9EEE4"
|
|
552
|
+
},
|
|
553
|
+
[`& .${Re.bar}`]: {
|
|
554
|
+
borderRadius: 16,
|
|
555
|
+
backgroundColor: "#0F9655"
|
|
556
|
+
}
|
|
557
|
+
})), It = (t, l) => Array.from(
|
|
558
|
+
{ length: Math.ceil(t.length / l) },
|
|
559
|
+
(v, _) => t.slice(_ * l, _ * l + l)
|
|
560
|
+
), De = (t) => t.text && t.text.toLowerCase().includes("ready to learn") || t.nameQuestion && t.nameQuestion.toLowerCase().includes("ready to learn"), nn = () => {
|
|
561
|
+
const {
|
|
562
|
+
progress: t,
|
|
563
|
+
dataProcess: l,
|
|
564
|
+
handleNextStep: v,
|
|
565
|
+
handlePreviousStep: _,
|
|
566
|
+
step: g,
|
|
567
|
+
openModalSession: I,
|
|
568
|
+
setOpenModalSession: L,
|
|
569
|
+
handleFinished: B,
|
|
570
|
+
isTeacher: Z,
|
|
571
|
+
informationUser: S,
|
|
572
|
+
startTime: X,
|
|
573
|
+
sessionId: N,
|
|
574
|
+
sessionResultId: U,
|
|
575
|
+
openScaffolding: ee,
|
|
576
|
+
handleOpenScaffolding: H,
|
|
577
|
+
handleCloseScaffolding: te,
|
|
578
|
+
isConversation: G,
|
|
579
|
+
isUserChangeSession: ge,
|
|
580
|
+
handleSkipSummarize: fe,
|
|
581
|
+
// disabledArray,
|
|
582
|
+
updateQuestionAnswer: w,
|
|
583
|
+
isStudent: F,
|
|
584
|
+
onBackToSession: we,
|
|
585
|
+
isResult: C,
|
|
586
|
+
isTeacherSessionDone: Y,
|
|
587
|
+
isStudentSessionDone: K,
|
|
588
|
+
classFontSize: O,
|
|
589
|
+
summarizeValue: ne,
|
|
590
|
+
setSummarizeValue: ie,
|
|
591
|
+
textInputValue: Ce,
|
|
592
|
+
setTextInputValue: ke,
|
|
593
|
+
isToggleTypingSummarizeQuestion: s,
|
|
594
|
+
isCompleteTask: a,
|
|
595
|
+
isAdmin: m,
|
|
596
|
+
checkInProgressRef: P,
|
|
597
|
+
openOneToOneModalChoice: T,
|
|
598
|
+
handleOpenModalChoice: D,
|
|
599
|
+
openOneToOneModal: M,
|
|
600
|
+
typeHappen: $,
|
|
601
|
+
handleSelectChoice: b,
|
|
602
|
+
handleCloseModalChoice: be,
|
|
603
|
+
handleCloseModalHappen: $e,
|
|
604
|
+
handleSaveData: Qe,
|
|
605
|
+
dataSession: R,
|
|
606
|
+
openPLPRedirect: qe,
|
|
607
|
+
handleCloseRedirectModal: Ee,
|
|
608
|
+
handleRedirect: Be,
|
|
609
|
+
confirmDeleteModal: Ze,
|
|
610
|
+
setConfirmDeleteModal: Le,
|
|
611
|
+
handleDeleteOneToOne: He,
|
|
612
|
+
handleAlertNotPermissionEdit: Pe,
|
|
613
|
+
totalStep: k,
|
|
614
|
+
listQuestionStudents: d,
|
|
615
|
+
dataOneToOne: ze,
|
|
616
|
+
flagDetailFromLocalStorage: je,
|
|
617
|
+
isSubmittingCheckIn: Ve
|
|
618
|
+
} = nt(), { t: h } = he(), [J, ye] = me(!1), We = (r, ce) => {
|
|
619
|
+
!m && w(r, ce);
|
|
620
|
+
}, se = x(() => (d || []).filter((r) => r.group === A.SafetyAndStress && !De(r)), [d]), re = x(() => (d || []).filter((r) => r.group === A.ReadinessToLearn && r.type !== c.SingleChoice), [d]), oe = x(() => (d || []).filter((r) => r.group === A.ReadinessToLearn && r.type === c.SingleChoice), [d]), ae = x(() => (d || []).filter((r) => r.group === A.WellBeing), [d]), le = x(() => (d || []).filter((r) => r.group === A.Productivity), [d]), z = x(() => (d || []).find((r) => r.group === A.Summarize), [d]), Q = x(() => (d || []).filter((r) => r.group === A.ReadyToLearn || r.group === A.SafetyAndStress && De(r)), [d]), y = x(() => (d || []).find((r) => r.isReasonQuestion), [d]), Ue = x(() => Q.find((r) => r.type === c.SingleChoice && r.answer == "No"), [Q]), Ge = x(() => {
|
|
621
|
+
const r = [];
|
|
622
|
+
se.length > 0 && r.push({
|
|
623
|
+
title: h("safety_and_stress"),
|
|
624
|
+
type: "safety_and_stress",
|
|
625
|
+
data: se
|
|
626
|
+
}), le.length > 0 && r.push({
|
|
627
|
+
title: h("productivity"),
|
|
628
|
+
type: "productivity",
|
|
629
|
+
data: le
|
|
630
|
+
}), re.length > 0 && r.push({
|
|
631
|
+
title: h("readiness_to_learn"),
|
|
632
|
+
type: "readiness_to_learn",
|
|
633
|
+
data: re
|
|
634
|
+
}), z && r.push({
|
|
635
|
+
title: z.nameQuestion || h("summarize"),
|
|
636
|
+
type: "summarize",
|
|
637
|
+
data: [z]
|
|
638
|
+
}), ae.length > 0 && r.push({
|
|
639
|
+
title: h("well_being_session"),
|
|
640
|
+
type: "well_being",
|
|
641
|
+
data: ae
|
|
642
|
+
}), (oe.length > 0 || Q.length > 0) && r.push({
|
|
643
|
+
type: "readiness_section",
|
|
644
|
+
data: []
|
|
645
|
+
});
|
|
646
|
+
const u = /* @__PURE__ */ new Set();
|
|
647
|
+
se.forEach((p) => u.add(p.id)), le.forEach((p) => u.add(p.id)), re.forEach((p) => u.add(p.id)), z && u.add(z.id), ae.forEach((p) => u.add(p.id)), oe.forEach((p) => u.add(p.id)), Q.forEach((p) => u.add(p.id)), y && u.add(y.id);
|
|
648
|
+
const de = (d || []).filter((p) => !u.has(p.id));
|
|
649
|
+
if (de.length > 0) {
|
|
650
|
+
const p = /* @__PURE__ */ new Map();
|
|
651
|
+
de.forEach((q) => {
|
|
652
|
+
const n = q.module || h("other");
|
|
653
|
+
p.has(n) || p.set(n, []), p.get(n).push(q);
|
|
654
|
+
}), p.forEach((q, n) => {
|
|
655
|
+
r.push({
|
|
656
|
+
title: n,
|
|
657
|
+
type: "other",
|
|
658
|
+
data: q
|
|
659
|
+
});
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
return r;
|
|
663
|
+
}, [
|
|
664
|
+
se,
|
|
665
|
+
le,
|
|
666
|
+
re,
|
|
667
|
+
z,
|
|
668
|
+
ae,
|
|
669
|
+
oe,
|
|
670
|
+
Q,
|
|
671
|
+
y,
|
|
672
|
+
d,
|
|
673
|
+
h
|
|
674
|
+
]);
|
|
675
|
+
return /* @__PURE__ */ o("div", { className: `${i["check-in-progress"]} ${i[O]}`, children: [
|
|
676
|
+
/* @__PURE__ */ e(
|
|
677
|
+
mt,
|
|
678
|
+
{
|
|
679
|
+
isOpen: T,
|
|
680
|
+
onClose: be,
|
|
681
|
+
handleSelectChoice: b
|
|
682
|
+
}
|
|
683
|
+
),
|
|
684
|
+
/* @__PURE__ */ e(
|
|
685
|
+
ht,
|
|
686
|
+
{
|
|
687
|
+
handleDeleteOneToOne: He,
|
|
688
|
+
isOpen: Ze,
|
|
689
|
+
onClose: () => Le(!1)
|
|
690
|
+
}
|
|
691
|
+
),
|
|
692
|
+
/* @__PURE__ */ e(
|
|
693
|
+
ut,
|
|
694
|
+
{
|
|
695
|
+
isOpen: M,
|
|
696
|
+
onClose: $e,
|
|
697
|
+
sessionSelected: R || {},
|
|
698
|
+
handleSaveData: Qe,
|
|
699
|
+
typeHappen: $,
|
|
700
|
+
setConfirmDeleteModal: Le,
|
|
701
|
+
handleAlertNotPermissionEdit: Pe,
|
|
702
|
+
studentSessionData: d
|
|
703
|
+
}
|
|
704
|
+
),
|
|
705
|
+
/* @__PURE__ */ e(
|
|
706
|
+
gt,
|
|
707
|
+
{
|
|
708
|
+
isOpen: qe,
|
|
709
|
+
onClose: Ee,
|
|
710
|
+
handleRedirect: Be,
|
|
711
|
+
dataOneToOne: ze
|
|
712
|
+
}
|
|
713
|
+
),
|
|
714
|
+
/* @__PURE__ */ o(
|
|
715
|
+
"button",
|
|
716
|
+
{
|
|
717
|
+
type: "button",
|
|
718
|
+
onClick: we,
|
|
719
|
+
className: i["check-in-progress__back"],
|
|
720
|
+
children: [
|
|
721
|
+
/* @__PURE__ */ e(Ae, { color: "#242424" }),
|
|
722
|
+
h("back_to_meetings")
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
),
|
|
726
|
+
/* @__PURE__ */ o("div", { className: i["check-in-progress__title"], ref: P, children: [
|
|
727
|
+
/* @__PURE__ */ e("h3", { className: i["title-check-in"], children: h("check_in_session_title") }),
|
|
728
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
729
|
+
Tt,
|
|
730
|
+
{
|
|
731
|
+
name: Z || m ? S.studentName : S.teacherName,
|
|
732
|
+
startTime: X,
|
|
733
|
+
grade: S.gradeLevel,
|
|
734
|
+
classFontSize: O
|
|
735
|
+
}
|
|
736
|
+
) })
|
|
737
|
+
] }),
|
|
738
|
+
/* @__PURE__ */ o("div", { className: i["check-in-progress__content"], children: [
|
|
739
|
+
/* @__PURE__ */ o("div", { className: `${i["check-in-progress__content--left"]} ${i["progress-container"]} ${i[O]}`, children: [
|
|
740
|
+
/* @__PURE__ */ e("div", { className: i["progress-container__title"], children: J ? h("review") : l.title }),
|
|
741
|
+
/* @__PURE__ */ e("div", { className: i["progress-container__questions"], children: J ? /* @__PURE__ */ e("div", { className: `${f["completed-session-item"]} ${f["custom-checkin-session"]}`, children: /* @__PURE__ */ e("div", { className: f["data-sessions"], children: It(Ge, 2).map((r, ce) => /* @__PURE__ */ e("div", { className: f["data-sessions__item"], children: r.map((u, de) => {
|
|
742
|
+
const q = de === 0 ? f["data-sessions__item--left"] : f["data-sessions__item--right"];
|
|
743
|
+
return u.type === "readiness_section" ? /* @__PURE__ */ o("div", { className: q, children: [
|
|
744
|
+
oe.map((n) => /* @__PURE__ */ o("div", { className: f["single-choice-question-group"], children: [
|
|
745
|
+
/* @__PURE__ */ e("div", { className: f.title, children: E(n?.text) }),
|
|
746
|
+
/* @__PURE__ */ e("div", { className: f.content, children: n?.text ? /* @__PURE__ */ e(
|
|
747
|
+
V,
|
|
748
|
+
{
|
|
749
|
+
title: n?.nameQuestion || E(n?.text) || "",
|
|
750
|
+
answer: n?.answer,
|
|
751
|
+
averageOtherRatings: Number(n?.averageOtherRatings),
|
|
752
|
+
averageOtherRatingsText: n?.averageOtherRatingsText,
|
|
753
|
+
lastQuestionAnswer: Number(n?.lastQuestionAnswer) || 0,
|
|
754
|
+
questionAnswer: _e(Number(n?.answer) || 0, n.questionAnswer || []) || "",
|
|
755
|
+
isReadyToLearn: !0,
|
|
756
|
+
hideTitle: !0,
|
|
757
|
+
hideTooltip: !0
|
|
758
|
+
},
|
|
759
|
+
n?.text
|
|
760
|
+
) : /* @__PURE__ */ e("div", { className: f["no-data"], children: h("no_data") }) })
|
|
761
|
+
] }, n.id)),
|
|
762
|
+
Q.length > 0 && /* @__PURE__ */ o(Se, { children: [
|
|
763
|
+
/* @__PURE__ */ e("div", { className: f.title, children: h("are_you_ready_to_learn_session") }),
|
|
764
|
+
/* @__PURE__ */ e("div", { className: f.content, children: Q.map((n) => /* @__PURE__ */ e(
|
|
765
|
+
V,
|
|
766
|
+
{
|
|
767
|
+
title: n?.nameQuestion || E(n?.text) || "",
|
|
768
|
+
answer: n?.answer,
|
|
769
|
+
averageOtherRatings: Number(n?.averageOtherRatings),
|
|
770
|
+
averageOtherRatingsText: n?.averageOtherRatingsText,
|
|
771
|
+
lastQuestionAnswer: Number(n?.lastQuestionAnswer) || 0,
|
|
772
|
+
questionAnswer: _e(Number(n?.answer) || 0, n.questionAnswer || []) || "",
|
|
773
|
+
isReadyToLearn: !0,
|
|
774
|
+
hideTitle: !0,
|
|
775
|
+
hideTooltip: !0
|
|
776
|
+
},
|
|
777
|
+
n?.text
|
|
778
|
+
)) })
|
|
779
|
+
] }),
|
|
780
|
+
Ue && !!y && /* @__PURE__ */ o(Se, { children: [
|
|
781
|
+
/* @__PURE__ */ e("div", { className: f.title, children: y?.nameQuestion }),
|
|
782
|
+
/* @__PURE__ */ e("div", { className: f.content, children: /* @__PURE__ */ e(
|
|
783
|
+
V,
|
|
784
|
+
{
|
|
785
|
+
title: y?.nameQuestion || E(y?.text) || "",
|
|
786
|
+
answer: y?.answer,
|
|
787
|
+
averageOtherRatings: Number(y?.averageOtherRatings),
|
|
788
|
+
averageOtherRatingsText: y?.averageOtherRatingsText,
|
|
789
|
+
lastQuestionAnswer: Number(y?.lastQuestionAnswer) || 0,
|
|
790
|
+
questionAnswer: "",
|
|
791
|
+
isSummarize: !0,
|
|
792
|
+
hideTooltip: !0
|
|
793
|
+
},
|
|
794
|
+
y?.text
|
|
795
|
+
) })
|
|
796
|
+
] })
|
|
797
|
+
] }, "readiness_section") : /* @__PURE__ */ o("div", { className: q, children: [
|
|
798
|
+
/* @__PURE__ */ e("div", { className: f.title, children: u.title }),
|
|
799
|
+
/* @__PURE__ */ e("div", { className: f.content, children: u.data.map((n) => u.type === "summarize" ? /* @__PURE__ */ e(
|
|
800
|
+
V,
|
|
801
|
+
{
|
|
802
|
+
title: n?.nameQuestion || E(n?.text) || "",
|
|
803
|
+
answer: n?.answer,
|
|
804
|
+
averageOtherRatings: Number(n?.averageOtherRatings),
|
|
805
|
+
averageOtherRatingsText: n?.averageOtherRatingsText,
|
|
806
|
+
lastQuestionAnswer: Number(n?.lastQuestionAnswer) || 0,
|
|
807
|
+
questionAnswer: "",
|
|
808
|
+
isSummarize: !0,
|
|
809
|
+
hideTooltip: !0
|
|
810
|
+
},
|
|
811
|
+
n?.text
|
|
812
|
+
) : u.type === "safety_and_stress" ? /* @__PURE__ */ e(
|
|
813
|
+
V,
|
|
814
|
+
{
|
|
815
|
+
title: n?.nameQuestion || E(n?.text) || "",
|
|
816
|
+
answer: n?.answer,
|
|
817
|
+
averageOtherRatings: Number(n?.averageOtherRatings),
|
|
818
|
+
averageOtherRatingsText: n?.averageOtherRatingsText,
|
|
819
|
+
lastQuestionAnswer: Number(n?.lastQuestionAnswer) || 0,
|
|
820
|
+
questionAnswer: _e(Number(n?.answer) || 0, n.questionAnswer || [], n?.nameQuestion?.toLowerCase()?.includes("stress")) || "",
|
|
821
|
+
isTextInput: n?.type === c.TextInput || n?.type === c.TextInputWithSuggestions,
|
|
822
|
+
isReadyToLearn: n?.type === c.SingleChoice,
|
|
823
|
+
hideTooltip: !0
|
|
824
|
+
},
|
|
825
|
+
n?.text
|
|
826
|
+
) : /* @__PURE__ */ e(
|
|
827
|
+
V,
|
|
828
|
+
{
|
|
829
|
+
title: n?.nameQuestion || E(n?.text) || "",
|
|
830
|
+
answer: n?.answer,
|
|
831
|
+
averageOtherRatings: Number(n?.averageOtherRatings),
|
|
832
|
+
averageOtherRatingsText: n?.averageOtherRatingsText,
|
|
833
|
+
lastQuestionAnswer: Number(n?.lastQuestionAnswer) || 0,
|
|
834
|
+
questionAnswer: _e(Number(n?.answer) || 0, n.questionAnswer || []) || "",
|
|
835
|
+
isTextInput: n?.type === c.TextInput || n?.type === c.TextInputWithSuggestions,
|
|
836
|
+
isReadyToLearn: n?.type === c.SingleChoice,
|
|
837
|
+
isOtherGroup: u.type === "other",
|
|
838
|
+
hideTooltip: !0
|
|
839
|
+
},
|
|
840
|
+
n?.text
|
|
841
|
+
)) })
|
|
842
|
+
] }, u.title || u.type);
|
|
843
|
+
}) }, ce)) }) }) : l?.data && l?.data?.length > 0 && l?.data.map((r) => /* @__PURE__ */ e(
|
|
844
|
+
Nt,
|
|
845
|
+
{
|
|
846
|
+
data: r,
|
|
847
|
+
onChangeQuestionAnswer: We,
|
|
848
|
+
handleSkipSummarize: fe,
|
|
849
|
+
isDisabled: C && F || m || C && lt,
|
|
850
|
+
classFontSize: O,
|
|
851
|
+
isResult: C,
|
|
852
|
+
summarizeValue: r?.type === c.Summarize ? ne : "",
|
|
853
|
+
setSummarizeValue: r?.type === c.Summarize ? ie : void 0,
|
|
854
|
+
textInputValue: r?.type === c.TextInput ? Ce : "",
|
|
855
|
+
setTextInputValue: r?.type === c.TextInput ? ke : void 0,
|
|
856
|
+
isToggleTypingSummarizeQuestion: s
|
|
857
|
+
},
|
|
858
|
+
r?.id
|
|
859
|
+
)) }),
|
|
860
|
+
/* @__PURE__ */ o("div", { className: i["progress-container__progress"], children: [
|
|
861
|
+
/* @__PURE__ */ o("div", { className: i["progress-container__progress--bar"], children: [
|
|
862
|
+
/* @__PURE__ */ e(At, { variant: "determinate", value: t }),
|
|
863
|
+
/* @__PURE__ */ o("div", { className: i.text, children: [
|
|
864
|
+
t,
|
|
865
|
+
"% completed"
|
|
866
|
+
] })
|
|
867
|
+
] }),
|
|
868
|
+
/* @__PURE__ */ o("div", { className: i["progress-container__progress--actions"], children: [
|
|
869
|
+
g > 0 && /* @__PURE__ */ o(
|
|
870
|
+
"button",
|
|
871
|
+
{
|
|
872
|
+
type: "button",
|
|
873
|
+
className: i["btn-previous"],
|
|
874
|
+
onClick: () => {
|
|
875
|
+
J ? ye(!1) : _();
|
|
876
|
+
},
|
|
877
|
+
children: [
|
|
878
|
+
/* @__PURE__ */ e(Ae, {}),
|
|
879
|
+
h("back")
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
),
|
|
883
|
+
C && g !== k && l?.data?.length ? /* @__PURE__ */ o(
|
|
884
|
+
"button",
|
|
885
|
+
{
|
|
886
|
+
type: "button",
|
|
887
|
+
disabled: !a || g === k && t !== 100,
|
|
888
|
+
className: `
|
|
889
|
+
${i["btn-next"]}
|
|
890
|
+
${!a || g === k && t !== 100 ? i["btn-next__disabled"] : g === k ? i["btn-next__animate"] : ""}
|
|
891
|
+
`,
|
|
892
|
+
onClick: () => {
|
|
893
|
+
g === k ? ye(!0) : v();
|
|
894
|
+
},
|
|
895
|
+
children: [
|
|
896
|
+
h("next"),
|
|
897
|
+
/* @__PURE__ */ e(Ie, { color: "#fff" })
|
|
898
|
+
]
|
|
899
|
+
}
|
|
900
|
+
) : !(g === k && K) && l?.data?.length && /* @__PURE__ */ o(
|
|
901
|
+
"button",
|
|
902
|
+
{
|
|
903
|
+
type: "button",
|
|
904
|
+
disabled: !a || g === k && t !== 100,
|
|
905
|
+
className: `
|
|
906
|
+
${i["btn-next"]}
|
|
907
|
+
${!a || g === k && t !== 100 ? i["btn-next__disabled"] : g === k ? i["btn-next__animate"] : ""}
|
|
908
|
+
`,
|
|
909
|
+
onClick: () => {
|
|
910
|
+
g === k ? Fe ? J ? L(!0) : ye(!0) : L(!0) : v();
|
|
911
|
+
},
|
|
912
|
+
children: [
|
|
913
|
+
h(g === k ? Fe ? J ? "complete" : "review" : "complete" : "next"),
|
|
914
|
+
g !== k && /* @__PURE__ */ e(Ie, { color: "#fff" })
|
|
915
|
+
]
|
|
916
|
+
}
|
|
917
|
+
)
|
|
918
|
+
] })
|
|
919
|
+
] })
|
|
920
|
+
] }),
|
|
921
|
+
/* @__PURE__ */ o("div", { className: i["check-in-progress__content--right"], children: [
|
|
922
|
+
R?.studentResult?.flag && !R?.studentResult?.flag.includes("Green") && (Z || m) && /* @__PURE__ */ e("div", { className: i["flag-right-container"], children: /* @__PURE__ */ e(
|
|
923
|
+
Ye,
|
|
924
|
+
{
|
|
925
|
+
flag: R?.studentResult?.flag,
|
|
926
|
+
flagDetail: je || R?.studentResult?.flagDetail,
|
|
927
|
+
showResult: !0,
|
|
928
|
+
isDetailView: !0,
|
|
929
|
+
defaultDecrease: R?.defaultDecrease
|
|
930
|
+
}
|
|
931
|
+
) }),
|
|
932
|
+
/* @__PURE__ */ o("div", { className: i["log-1-1-container"], children: [
|
|
933
|
+
C && Z && !R?.isOneToOneConversation && /* @__PURE__ */ e(
|
|
934
|
+
"button",
|
|
935
|
+
{
|
|
936
|
+
type: "button",
|
|
937
|
+
className: i["log-1-1"],
|
|
938
|
+
onClick: () => D(),
|
|
939
|
+
children: h("log_a_1_1_conversation")
|
|
940
|
+
}
|
|
941
|
+
),
|
|
942
|
+
C && Z && R?.isOneToOneConversation && /* @__PURE__ */ e("div", { className: i["view-1-1-container"], children: /* @__PURE__ */ e(
|
|
943
|
+
"button",
|
|
944
|
+
{
|
|
945
|
+
type: "button",
|
|
946
|
+
className: i["view-1-1"],
|
|
947
|
+
onClick: () => D(!0),
|
|
948
|
+
children: h("view_1_1_note")
|
|
949
|
+
}
|
|
950
|
+
) })
|
|
951
|
+
] }),
|
|
952
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
953
|
+
kt,
|
|
954
|
+
{
|
|
955
|
+
sessionId: N,
|
|
956
|
+
sessionResultId: U,
|
|
957
|
+
informationUser: S,
|
|
958
|
+
openScaffolding: ee,
|
|
959
|
+
onOpenScaffolding: H,
|
|
960
|
+
onCloseScaffolding: te,
|
|
961
|
+
isUserChangeSession: ge,
|
|
962
|
+
isConversation: G,
|
|
963
|
+
studentUserId: S.studentUserId,
|
|
964
|
+
isInSession: !0
|
|
965
|
+
}
|
|
966
|
+
) })
|
|
967
|
+
] })
|
|
968
|
+
] }),
|
|
969
|
+
/* @__PURE__ */ e(
|
|
970
|
+
Mt,
|
|
971
|
+
{
|
|
972
|
+
isOpen: I,
|
|
973
|
+
onClose: () => L(!1),
|
|
974
|
+
handleSubmit: B
|
|
975
|
+
}
|
|
976
|
+
),
|
|
977
|
+
!C && /* @__PURE__ */ e(_t, { when: F && !(Y || K || Ve), content: h("you_did_not_complete_the_check_in_please_check_your_responses_and_click_done") }),
|
|
978
|
+
/* @__PURE__ */ e("div", { className: i["check-in-progress__image"], children: /* @__PURE__ */ e(Rt, {}) })
|
|
979
|
+
] });
|
|
980
|
+
};
|
|
981
|
+
export {
|
|
982
|
+
nn as default
|
|
983
|
+
};
|