@cuemath/leap 3.5.21 → 3.5.22
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/line-icons/icons/change-icon.js +41 -0
- package/dist/assets/line-icons/icons/change-icon.js.map +1 -0
- package/dist/features/trial-session/api/course-stream.js.map +1 -1
- package/dist/features/trial-session/comps/confirmation-modal/confirmation-modal-styled.js +70 -0
- package/dist/features/trial-session/comps/confirmation-modal/confirmation-modal-styled.js.map +1 -0
- package/dist/features/trial-session/comps/confirmation-modal/confirmation-modal.js +65 -0
- package/dist/features/trial-session/comps/confirmation-modal/confirmation-modal.js.map +1 -0
- package/dist/features/trial-session/comps/confirmation-modal/hooks/use-confirmation-modal.js +43 -0
- package/dist/features/trial-session/comps/confirmation-modal/hooks/use-confirmation-modal.js.map +1 -0
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js +90 -71
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js.map +1 -1
- package/dist/features/trial-session/comps/worksheet/worksheet.js +36 -23
- package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js +26 -25
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/left-panel/index.js +37 -34
- package/dist/features/trial-session/left-panel/index.js.map +1 -1
- package/dist/features/trial-session/left-panel/left-panel-styled.js +7 -4
- package/dist/features/trial-session/left-panel/left-panel-styled.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/trial-session/trial-session-view.js +77 -74
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/ui/theme/button.js +17 -0
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +29 -24
- package/dist/index.js +735 -733
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
|
@@ -1,128 +1,131 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { useButtonStateForLeftPanel as
|
|
6
|
-
import { useSlideConfigUpdate as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
import { jsx as C, jsxs as q } from "react/jsx-runtime";
|
|
2
|
+
import { memo as z, useState as J, useMemo as S, useCallback as K, useEffect as d } from "react";
|
|
3
|
+
import Q from "../ui/layout/flex-view.js";
|
|
4
|
+
import W from "./context/trial-session-context.js";
|
|
5
|
+
import { useButtonStateForLeftPanel as X } from "./hooks/use-left-panel-button-state.js";
|
|
6
|
+
import { useSlideConfigUpdate as Y } from "./hooks/use-slide-config-update.js";
|
|
7
|
+
import Z from "./left-panel/index.js";
|
|
8
|
+
import ee from "./right-panel/index.js";
|
|
9
|
+
const de = z(function(B) {
|
|
10
10
|
const {
|
|
11
|
-
userType:
|
|
11
|
+
userType: o,
|
|
12
12
|
teacherPanel: D,
|
|
13
13
|
studentPanel: T,
|
|
14
14
|
trialGameUrl: I,
|
|
15
|
-
formData:
|
|
15
|
+
formData: i,
|
|
16
16
|
height: G = "100vh",
|
|
17
17
|
trialHomeData: e,
|
|
18
|
-
milestoneConfig:
|
|
19
|
-
onFormDataChange:
|
|
20
|
-
worksheet:
|
|
18
|
+
milestoneConfig: m,
|
|
19
|
+
onFormDataChange: f,
|
|
20
|
+
worksheet: v,
|
|
21
21
|
studentId: s,
|
|
22
|
-
teacherId:
|
|
23
|
-
classStartedOn:
|
|
24
|
-
worksheetNavigationPanel:
|
|
22
|
+
teacherId: l,
|
|
23
|
+
classStartedOn: P,
|
|
24
|
+
worksheetNavigationPanel: x,
|
|
25
25
|
teacherClassroomId: H,
|
|
26
|
-
questionsRatingPanel:
|
|
26
|
+
questionsRatingPanel: _,
|
|
27
27
|
studentAbsentInClass: w,
|
|
28
28
|
openEndClassModal: y,
|
|
29
29
|
onTrialInformationUpdate: E,
|
|
30
|
-
onStudentTimezoneUpdate:
|
|
30
|
+
onStudentTimezoneUpdate: u,
|
|
31
31
|
handleInfoMessage: R,
|
|
32
|
-
onRemoveOptionalSlides:
|
|
33
|
-
classDuration:
|
|
34
|
-
studentTimezone:
|
|
35
|
-
classTimeAlertConfig:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
onRemoveOptionalSlides: A,
|
|
33
|
+
classDuration: F,
|
|
34
|
+
studentTimezone: c,
|
|
35
|
+
classTimeAlertConfig: M,
|
|
36
|
+
changeDemoLevel: V
|
|
37
|
+
} = B, t = o === "TEACHER", { pages: g = [] } = e, [n, N] = J(i), p = t ? n : i, h = p == null ? void 0 : p.id, $ = S(
|
|
38
|
+
() => g.find((a) => a.id === h) ?? g[0],
|
|
39
|
+
[h, g]
|
|
40
|
+
), b = S(() => {
|
|
40
41
|
const a = {
|
|
41
42
|
circleConfig: e.circle_trial_game_config,
|
|
42
43
|
playerDetails: {
|
|
43
|
-
userId: t ?
|
|
44
|
+
userId: t ? l : s,
|
|
44
45
|
circle_username: e[t ? "teacher" : "student"].circle_username,
|
|
45
46
|
user_avatar: e[t ? "teacher" : "student"].user_avatar,
|
|
46
|
-
playerType:
|
|
47
|
+
playerType: o
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
|
-
return
|
|
50
|
-
}, [t, s,
|
|
51
|
-
|
|
52
|
-
}, []), { buttonState:
|
|
50
|
+
return o === "STUDENT" && (a.playerDetails.grade = e.student.grade), a;
|
|
51
|
+
}, [t, s, l, e, o]), r = K((a) => {
|
|
52
|
+
N((U) => U ? { ...U, ...a } : a);
|
|
53
|
+
}, []), { buttonState: j, updateButtonState: k } = X(), { onRenderUpdateSlideConfig: L } = Y({
|
|
53
54
|
teacherClassroomId: H,
|
|
54
|
-
milestoneConfig:
|
|
55
|
-
studentTimezone:
|
|
56
|
-
updateSlideConfig:
|
|
57
|
-
}),
|
|
55
|
+
milestoneConfig: m,
|
|
56
|
+
studentTimezone: c,
|
|
57
|
+
updateSlideConfig: r
|
|
58
|
+
}), O = S(
|
|
58
59
|
() => ({
|
|
59
60
|
teacherPanel: D,
|
|
60
61
|
studentPanel: T,
|
|
61
62
|
isTeacher: t,
|
|
62
|
-
slideConfig:
|
|
63
|
-
milestoneConfig:
|
|
64
|
-
formData: t ? n :
|
|
65
|
-
updateSlideConfig:
|
|
66
|
-
worksheet:
|
|
67
|
-
buttonState:
|
|
68
|
-
updateButtonState:
|
|
63
|
+
slideConfig: $,
|
|
64
|
+
milestoneConfig: m,
|
|
65
|
+
formData: t ? n : i,
|
|
66
|
+
updateSlideConfig: r,
|
|
67
|
+
worksheet: v,
|
|
68
|
+
buttonState: j,
|
|
69
|
+
updateButtonState: k,
|
|
69
70
|
studentId: s,
|
|
70
|
-
teacherId:
|
|
71
|
-
classStartedOn:
|
|
71
|
+
teacherId: l,
|
|
72
|
+
classStartedOn: P,
|
|
72
73
|
trialHomeData: e,
|
|
73
|
-
worksheetNavigationPanel:
|
|
74
|
-
questionsRatingPanel:
|
|
74
|
+
worksheetNavigationPanel: x,
|
|
75
|
+
questionsRatingPanel: _,
|
|
75
76
|
onTrialInformationUpdate: E,
|
|
76
77
|
openEndClassModal: y,
|
|
77
78
|
studentAbsentInClass: w,
|
|
78
|
-
circleGames:
|
|
79
|
+
circleGames: b,
|
|
79
80
|
trialGameUrl: I,
|
|
80
81
|
handleInfoMessage: R,
|
|
81
|
-
onRemoveOptionalSlides:
|
|
82
|
-
classDuration:
|
|
83
|
-
classTimeAlertConfig:
|
|
82
|
+
onRemoveOptionalSlides: A,
|
|
83
|
+
classDuration: F,
|
|
84
|
+
classTimeAlertConfig: M
|
|
84
85
|
}),
|
|
85
86
|
[
|
|
86
87
|
D,
|
|
87
88
|
T,
|
|
88
89
|
t,
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
$,
|
|
91
|
+
m,
|
|
91
92
|
n,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
i,
|
|
94
|
+
r,
|
|
95
|
+
v,
|
|
96
|
+
j,
|
|
95
97
|
k,
|
|
96
|
-
A,
|
|
97
98
|
s,
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
l,
|
|
100
|
+
P,
|
|
100
101
|
e,
|
|
102
|
+
x,
|
|
101
103
|
_,
|
|
102
|
-
v,
|
|
103
104
|
E,
|
|
104
105
|
y,
|
|
105
106
|
w,
|
|
106
|
-
|
|
107
|
+
b,
|
|
107
108
|
I,
|
|
108
109
|
R,
|
|
110
|
+
A,
|
|
109
111
|
F,
|
|
110
|
-
|
|
111
|
-
$
|
|
112
|
+
M
|
|
112
113
|
]
|
|
113
114
|
);
|
|
114
|
-
return
|
|
115
|
-
n &&
|
|
116
|
-
}, [
|
|
117
|
-
|
|
118
|
-
}, [
|
|
119
|
-
t && e &&
|
|
120
|
-
}, [t,
|
|
121
|
-
|
|
122
|
-
|
|
115
|
+
return d(() => {
|
|
116
|
+
n && f && f(n);
|
|
117
|
+
}, [f, n]), d(() => {
|
|
118
|
+
c || u == null || u();
|
|
119
|
+
}, [h]), d(() => {
|
|
120
|
+
t && e && c && L(e);
|
|
121
|
+
}, [t, L, c, e]), d(() => {
|
|
122
|
+
V && r({ confirmationModalActive: !0 });
|
|
123
|
+
}, [V, r]), /* @__PURE__ */ C(W.Provider, { value: O, children: /* @__PURE__ */ q(Q, { $height: G, $flexDirection: "row", $justifyContent: "center", $alignItems: "center", children: [
|
|
124
|
+
/* @__PURE__ */ C(Z, {}),
|
|
125
|
+
/* @__PURE__ */ C(ee, {})
|
|
123
126
|
] }) });
|
|
124
127
|
});
|
|
125
128
|
export {
|
|
126
|
-
|
|
129
|
+
de as default
|
|
127
130
|
};
|
|
128
131
|
//# sourceMappingURL=trial-session-view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trial-session-view.js","sources":["../../../src/features/trial-session/trial-session-view.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useMemo, useState, type FC } from 'react';\n\nimport FlexView from '../ui/layout/flex-view';\nimport type { ITrialCircleGameParams } from './comps/trial-circle-game/trial-circle-game-types';\nimport TrialSessionContext from './context/trial-session-context';\nimport { useButtonStateForLeftPanel } from './hooks/use-left-panel-button-state';\nimport { useSlideConfigUpdate } from './hooks/use-slide-config-update';\nimport LeftPanel from './left-panel';\nimport RightPanel from './right-panel';\nimport type {\n ITrialSessionContext,\n ITrialSessionViewProps,\n ITrialSessionFormFields,\n} from './trial-session-types';\n\nconst TrialSessionView: FC<ITrialSessionViewProps> = memo(function TrialSessionView(props) {\n const {\n userType,\n teacherPanel,\n studentPanel,\n trialGameUrl,\n formData: formDataProps,\n height = '100vh',\n trialHomeData,\n milestoneConfig,\n onFormDataChange,\n worksheet,\n studentId,\n teacherId,\n classStartedOn,\n worksheetNavigationPanel,\n teacherClassroomId,\n questionsRatingPanel,\n studentAbsentInClass,\n openEndClassModal,\n onTrialInformationUpdate,\n onStudentTimezoneUpdate,\n handleInfoMessage,\n onRemoveOptionalSlides,\n classDuration,\n studentTimezone,\n classTimeAlertConfig,\n } = props;\n const isTeacher = userType === 'TEACHER';\n const { pages: slides = [] } = trialHomeData;\n\n const [formData, setFormData] = useState<ITrialSessionFormFields | undefined>(formDataProps);\n const formDataToUse = isTeacher ? formData : formDataProps;\n const currentSlideId = formDataToUse?.id;\n\n const currentSlideConfig = useMemo(\n () => slides.find(config => config.id === currentSlideId) ?? slides[0]!,\n [currentSlideId, slides],\n );\n\n const circleGames = useMemo(() => {\n const data = {\n circleConfig: trialHomeData.circle_trial_game_config,\n playerDetails: {\n userId: isTeacher ? teacherId : studentId,\n circle_username: trialHomeData[isTeacher ? 'teacher' : 'student'].circle_username,\n user_avatar: trialHomeData[isTeacher ? 'teacher' : 'student'].user_avatar,\n playerType: userType,\n },\n } as ITrialCircleGameParams;\n\n if (userType === 'STUDENT') {\n data.playerDetails.grade = trialHomeData.student.grade;\n }\n\n return data;\n }, [isTeacher, studentId, teacherId, trialHomeData, userType]);\n\n const updateSlideConfig = useCallback((config: Partial<ITrialSessionFormFields>) => {\n setFormData(previousProps => {\n if (!previousProps) return config as ITrialSessionFormFields;\n\n return { ...previousProps, ...config };\n });\n }, []);\n const { buttonState, updateButtonState } = useButtonStateForLeftPanel();\n\n const { onRenderUpdateSlideConfig } = useSlideConfigUpdate({\n teacherClassroomId,\n milestoneConfig,\n studentTimezone,\n updateSlideConfig,\n });\n\n const contextValue = useMemo<ITrialSessionContext>(\n () => ({\n teacherPanel,\n studentPanel,\n isTeacher,\n slideConfig: currentSlideConfig,\n milestoneConfig,\n formData: isTeacher ? formData : formDataProps,\n updateSlideConfig,\n worksheet,\n buttonState,\n updateButtonState,\n studentId,\n teacherId,\n classStartedOn,\n trialHomeData,\n worksheetNavigationPanel,\n questionsRatingPanel,\n onTrialInformationUpdate,\n openEndClassModal,\n studentAbsentInClass,\n circleGames,\n trialGameUrl,\n handleInfoMessage,\n onRemoveOptionalSlides,\n classDuration,\n classTimeAlertConfig,\n }),\n [\n teacherPanel,\n studentPanel,\n isTeacher,\n currentSlideConfig,\n milestoneConfig,\n formData,\n formDataProps,\n updateSlideConfig,\n worksheet,\n buttonState,\n updateButtonState,\n studentId,\n teacherId,\n classStartedOn,\n trialHomeData,\n worksheetNavigationPanel,\n questionsRatingPanel,\n onTrialInformationUpdate,\n openEndClassModal,\n studentAbsentInClass,\n circleGames,\n trialGameUrl,\n handleInfoMessage,\n onRemoveOptionalSlides,\n classDuration,\n classTimeAlertConfig,\n ],\n );\n\n useEffect(() => {\n if (formData && onFormDataChange) {\n onFormDataChange(formData);\n }\n }, [onFormDataChange, formData]);\n\n useEffect(() => {\n if (!studentTimezone) onStudentTimezoneUpdate?.();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [currentSlideId]);\n\n useEffect(() => {\n if (isTeacher && trialHomeData && studentTimezone) {\n onRenderUpdateSlideConfig(trialHomeData);\n }\n }, [isTeacher, onRenderUpdateSlideConfig, studentTimezone, trialHomeData]);\n\n return (\n <TrialSessionContext.Provider value={contextValue}>\n <FlexView $height={height} $flexDirection=\"row\" $justifyContent=\"center\" $alignItems=\"center\">\n <LeftPanel />\n <RightPanel />\n </FlexView>\n </TrialSessionContext.Provider>\n );\n});\n\nexport default TrialSessionView;\n"],"names":["TrialSessionView","memo","props","userType","teacherPanel","studentPanel","trialGameUrl","formDataProps","height","trialHomeData","milestoneConfig","onFormDataChange","worksheet","studentId","teacherId","classStartedOn","worksheetNavigationPanel","teacherClassroomId","questionsRatingPanel","studentAbsentInClass","openEndClassModal","onTrialInformationUpdate","onStudentTimezoneUpdate","handleInfoMessage","onRemoveOptionalSlides","classDuration","studentTimezone","classTimeAlertConfig","isTeacher","slides","formData","setFormData","useState","formDataToUse","currentSlideId","currentSlideConfig","useMemo","config","circleGames","data","updateSlideConfig","useCallback","previousProps","buttonState","updateButtonState","useButtonStateForLeftPanel","onRenderUpdateSlideConfig","useSlideConfigUpdate","contextValue","useEffect","jsx","TrialSessionContext","jsxs","FlexView","LeftPanel","RightPanel"],"mappings":";;;;;;;;AAeA,MAAMA,KAA+CC,EAAK,SAA0BC,GAAO;AACnF,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,cAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAUC;AAAA,IACV,QAAAC,IAAS;AAAA,IACT,eAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,0BAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,0BAAAC;AAAA,IACA,yBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,sBAAAC;AAAA,EACE,
|
|
1
|
+
{"version":3,"file":"trial-session-view.js","sources":["../../../src/features/trial-session/trial-session-view.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useMemo, useState, type FC } from 'react';\n\nimport FlexView from '../ui/layout/flex-view';\nimport type { ITrialCircleGameParams } from './comps/trial-circle-game/trial-circle-game-types';\nimport TrialSessionContext from './context/trial-session-context';\nimport { useButtonStateForLeftPanel } from './hooks/use-left-panel-button-state';\nimport { useSlideConfigUpdate } from './hooks/use-slide-config-update';\nimport LeftPanel from './left-panel';\nimport RightPanel from './right-panel';\nimport type {\n ITrialSessionContext,\n ITrialSessionViewProps,\n ITrialSessionFormFields,\n} from './trial-session-types';\n\nconst TrialSessionView: FC<ITrialSessionViewProps> = memo(function TrialSessionView(props) {\n const {\n userType,\n teacherPanel,\n studentPanel,\n trialGameUrl,\n formData: formDataProps,\n height = '100vh',\n trialHomeData,\n milestoneConfig,\n onFormDataChange,\n worksheet,\n studentId,\n teacherId,\n classStartedOn,\n worksheetNavigationPanel,\n teacherClassroomId,\n questionsRatingPanel,\n studentAbsentInClass,\n openEndClassModal,\n onTrialInformationUpdate,\n onStudentTimezoneUpdate,\n handleInfoMessage,\n onRemoveOptionalSlides,\n classDuration,\n studentTimezone,\n classTimeAlertConfig,\n changeDemoLevel,\n } = props;\n const isTeacher = userType === 'TEACHER';\n const { pages: slides = [] } = trialHomeData;\n\n const [formData, setFormData] = useState<ITrialSessionFormFields | undefined>(formDataProps);\n const formDataToUse = isTeacher ? formData : formDataProps;\n const currentSlideId = formDataToUse?.id;\n\n const currentSlideConfig = useMemo(\n () => slides.find(config => config.id === currentSlideId) ?? slides[0]!,\n [currentSlideId, slides],\n );\n\n const circleGames = useMemo(() => {\n const data = {\n circleConfig: trialHomeData.circle_trial_game_config,\n playerDetails: {\n userId: isTeacher ? teacherId : studentId,\n circle_username: trialHomeData[isTeacher ? 'teacher' : 'student'].circle_username,\n user_avatar: trialHomeData[isTeacher ? 'teacher' : 'student'].user_avatar,\n playerType: userType,\n },\n } as ITrialCircleGameParams;\n\n if (userType === 'STUDENT') {\n data.playerDetails.grade = trialHomeData.student.grade;\n }\n\n return data;\n }, [isTeacher, studentId, teacherId, trialHomeData, userType]);\n\n const updateSlideConfig = useCallback((config: Partial<ITrialSessionFormFields>) => {\n setFormData(previousProps => {\n if (!previousProps) return config as ITrialSessionFormFields;\n\n return { ...previousProps, ...config };\n });\n }, []);\n const { buttonState, updateButtonState } = useButtonStateForLeftPanel();\n\n const { onRenderUpdateSlideConfig } = useSlideConfigUpdate({\n teacherClassroomId,\n milestoneConfig,\n studentTimezone,\n updateSlideConfig,\n });\n\n const contextValue = useMemo<ITrialSessionContext>(\n () => ({\n teacherPanel,\n studentPanel,\n isTeacher,\n slideConfig: currentSlideConfig,\n milestoneConfig,\n formData: isTeacher ? formData : formDataProps,\n updateSlideConfig,\n worksheet,\n buttonState,\n updateButtonState,\n studentId,\n teacherId,\n classStartedOn,\n trialHomeData,\n worksheetNavigationPanel,\n questionsRatingPanel,\n onTrialInformationUpdate,\n openEndClassModal,\n studentAbsentInClass,\n circleGames,\n trialGameUrl,\n handleInfoMessage,\n onRemoveOptionalSlides,\n classDuration,\n classTimeAlertConfig,\n }),\n [\n teacherPanel,\n studentPanel,\n isTeacher,\n currentSlideConfig,\n milestoneConfig,\n formData,\n formDataProps,\n updateSlideConfig,\n worksheet,\n buttonState,\n updateButtonState,\n studentId,\n teacherId,\n classStartedOn,\n trialHomeData,\n worksheetNavigationPanel,\n questionsRatingPanel,\n onTrialInformationUpdate,\n openEndClassModal,\n studentAbsentInClass,\n circleGames,\n trialGameUrl,\n handleInfoMessage,\n onRemoveOptionalSlides,\n classDuration,\n classTimeAlertConfig,\n ],\n );\n\n useEffect(() => {\n if (formData && onFormDataChange) {\n onFormDataChange(formData);\n }\n }, [onFormDataChange, formData]);\n\n useEffect(() => {\n if (!studentTimezone) onStudentTimezoneUpdate?.();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [currentSlideId]);\n\n useEffect(() => {\n if (isTeacher && trialHomeData && studentTimezone) {\n onRenderUpdateSlideConfig(trialHomeData);\n }\n }, [isTeacher, onRenderUpdateSlideConfig, studentTimezone, trialHomeData]);\n\n useEffect(() => {\n if (changeDemoLevel) updateSlideConfig({ confirmationModalActive: true });\n }, [changeDemoLevel, updateSlideConfig]);\n\n return (\n <TrialSessionContext.Provider value={contextValue}>\n <FlexView $height={height} $flexDirection=\"row\" $justifyContent=\"center\" $alignItems=\"center\">\n <LeftPanel />\n <RightPanel />\n </FlexView>\n </TrialSessionContext.Provider>\n );\n});\n\nexport default TrialSessionView;\n"],"names":["TrialSessionView","memo","props","userType","teacherPanel","studentPanel","trialGameUrl","formDataProps","height","trialHomeData","milestoneConfig","onFormDataChange","worksheet","studentId","teacherId","classStartedOn","worksheetNavigationPanel","teacherClassroomId","questionsRatingPanel","studentAbsentInClass","openEndClassModal","onTrialInformationUpdate","onStudentTimezoneUpdate","handleInfoMessage","onRemoveOptionalSlides","classDuration","studentTimezone","classTimeAlertConfig","changeDemoLevel","isTeacher","slides","formData","setFormData","useState","formDataToUse","currentSlideId","currentSlideConfig","useMemo","config","circleGames","data","updateSlideConfig","useCallback","previousProps","buttonState","updateButtonState","useButtonStateForLeftPanel","onRenderUpdateSlideConfig","useSlideConfigUpdate","contextValue","useEffect","jsx","TrialSessionContext","jsxs","FlexView","LeftPanel","RightPanel"],"mappings":";;;;;;;;AAeA,MAAMA,KAA+CC,EAAK,SAA0BC,GAAO;AACnF,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,cAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAUC;AAAA,IACV,QAAAC,IAAS;AAAA,IACT,eAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,0BAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,0BAAAC;AAAA,IACA,yBAAAC;AAAA,IACA,mBAAAC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AAM;AACd,IAAItB,KAAiBa,EAAkB,EAAE,yBAAyB,GAAM,CAAA;AAAA,EAAA,GACvE,CAACb,GAAiBa,CAAiB,CAAC,GAGpC,gBAAAU,EAAAC,EAAoB,UAApB,EAA6B,OAAOH,GACnC,UAAA,gBAAAI,EAACC,GAAS,EAAA,SAAS9C,GAAQ,gBAAe,OAAM,iBAAgB,UAAS,aAAY,UACnF,UAAA;AAAA,IAAA,gBAAA2C,EAACI,GAAU,EAAA;AAAA,sBACVC,IAAW,EAAA;AAAA,EAAA,EACd,CAAA,EACF,CAAA;AAEJ,CAAC;"}
|
|
@@ -164,6 +164,23 @@ const d = (a) => ({ sizes: {
|
|
|
164
164
|
disabled: "WHITE_T_38"
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
|
+
"white-danger": {
|
|
168
|
+
backgroundColorName: {
|
|
169
|
+
inactive: "WHITE",
|
|
170
|
+
active: "BLACK",
|
|
171
|
+
disabled: "WHITE_T_10"
|
|
172
|
+
},
|
|
173
|
+
colorName: {
|
|
174
|
+
inactive: "RED",
|
|
175
|
+
active: "WHITE",
|
|
176
|
+
disabled: "GREY_3"
|
|
177
|
+
},
|
|
178
|
+
borderColorName: {
|
|
179
|
+
inactive: "RED",
|
|
180
|
+
active: "BLACK",
|
|
181
|
+
disabled: "GREY_3"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
167
184
|
"yellow-dark": {
|
|
168
185
|
backgroundColorName: {
|
|
169
186
|
inactive: "YELLOW_4",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n 'black': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_T_60',\n disabled: 'BLACK_T_15',\n },\n borderColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'BLACK_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_87',\n },\n },\n 'black-dark': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_4',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_38',\n },\n },\n 'yellow-dark': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'YELLOW_3',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'WHITE_T_38',\n },\n },\n // 'yellow': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n\n // 'white': {\n // backgroundColorName: {\n // inactive: 'WHITE_1',\n // active: 'BLACK_T_35',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'white-dark': {\n // backgroundColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_T_70',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n };\n\n return { sizes, variants };\n};\n\nexport default getButtonConfig;\n"],"names":["getButtonConfig","gutter"],"mappings":"AAcM,MAAAA,IAAoC,CAACC,OAgPlC,EAAE,OA/O8C;AAAA,EACrD,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA;AAAA,IACV,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,OAAO;AAAA,IACL,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,S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U;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,qBAAqB;AAAA,MACnB,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n 'black': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_T_60',\n disabled: 'BLACK_T_15',\n },\n borderColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'BLACK_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_87',\n },\n },\n 'black-dark': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_4',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_38',\n },\n },\n 'white-danger': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'RED',\n active: 'WHITE',\n disabled: 'GREY_3',\n },\n borderColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'yellow-dark': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'YELLOW_3',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'WHITE_T_38',\n },\n },\n // 'yellow': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n\n // 'white': {\n // backgroundColorName: {\n // inactive: 'WHITE_1',\n // active: 'BLACK_T_35',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'white-dark': {\n // backgroundColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_T_70',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n };\n\n return { sizes, variants };\n};\n\nexport default getButtonConfig;\n"],"names":["getButtonConfig","gutter"],"mappings":"AAcM,MAAAA,IAAoC,CAACC,OAiQlC,EAAE,OAhQ8C;AAAA,EACrD,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA;AAAA,IACV,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,OAAO;AAAA,IACL,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,SAAS;AAAA,IACP,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;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AAqB;AAAA,MACnB,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,qBAAqB;AAAA,MACnB,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { Channel } from '@cuemath/cue-message-broker';
|
|
1
|
+
import type { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import type { Channel } from '@cuemath/cue-message-broker';
|
|
3
3
|
import { ChannelStatus } from '@cuemath/cue-message-broker';
|
|
4
4
|
import { ComponentProps } from 'react';
|
|
5
5
|
import { ComponentType } from 'react';
|
|
6
|
-
import { Config } from '@lottiefiles/dotlottie-web';
|
|
6
|
+
import type { Config } from '@lottiefiles/dotlottie-web';
|
|
7
7
|
import { Context } from 'react';
|
|
8
|
-
import { Data } from '@lottiefiles/dotlottie-web';
|
|
9
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
import type { Data } from '@lottiefiles/dotlottie-web';
|
|
9
|
+
import type { DefaultTheme } from 'styled-components';
|
|
10
10
|
import { DetailedHTMLProps } from 'react';
|
|
11
|
-
import { Dispatch } from 'react';
|
|
12
|
-
import { EventListener as EventListener_2 } from '@lottiefiles/dotlottie-web';
|
|
13
|
-
import { EventType } from '@lottiefiles/dotlottie-web';
|
|
11
|
+
import type { Dispatch } from 'react';
|
|
12
|
+
import type { EventListener as EventListener_2 } from '@lottiefiles/dotlottie-web';
|
|
13
|
+
import type { EventType } from '@lottiefiles/dotlottie-web';
|
|
14
14
|
import { FC } from 'react';
|
|
15
|
-
import { FormEvent } from 'react';
|
|
15
|
+
import type { FormEvent } from 'react';
|
|
16
16
|
import { ForwardRefExoticComponent } from 'react';
|
|
17
17
|
import { HTMLAttributes } from 'react';
|
|
18
|
-
import { HTMLProps } from 'react';
|
|
18
|
+
import type { HTMLProps } from 'react';
|
|
19
19
|
import { IChannelMessage } from '@cuemath/cue-message-broker';
|
|
20
|
-
import { IframeHTMLAttributes } from 'react';
|
|
21
|
-
import { ImgHTMLAttributes } from 'react';
|
|
22
|
-
import { InputHTMLAttributes } from 'react';
|
|
20
|
+
import type { IframeHTMLAttributes } from 'react';
|
|
21
|
+
import type { ImgHTMLAttributes } from 'react';
|
|
22
|
+
import type { InputHTMLAttributes } from 'react';
|
|
23
23
|
import { IProvidedProps } from 'google-maps-react';
|
|
24
24
|
import { IStyledComponent } from 'styled-components';
|
|
25
25
|
import { JSX } from 'react/jsx-runtime';
|
|
26
26
|
import { MemoExoticComponent } from 'react';
|
|
27
|
-
import { MutableRefObject } from 'react';
|
|
27
|
+
import type { MutableRefObject } from 'react';
|
|
28
28
|
import { NamedExoticComponent } from 'react';
|
|
29
29
|
import { Omit as Omit_2 } from 'google-maps-react';
|
|
30
|
-
import { PLUGIN_NAME } from '@cuemath/analytics-v2/dist/constants';
|
|
30
|
+
import type { PLUGIN_NAME } from '@cuemath/analytics-v2/dist/constants';
|
|
31
31
|
import { PropsWithChildren } from 'react';
|
|
32
32
|
import { ReactElement } from 'react';
|
|
33
33
|
import { ReactNode } from 'react';
|
|
34
34
|
import { RefAttributes } from 'react';
|
|
35
35
|
import { RefObject } from 'react';
|
|
36
36
|
import { ResourceModel } from '@cuemath/rest-api';
|
|
37
|
-
import { SetStateAction } from 'react';
|
|
37
|
+
import type { SetStateAction } from 'react';
|
|
38
38
|
import { Substitute } from 'styled-components/dist/types';
|
|
39
39
|
import { SVGProps } from 'react';
|
|
40
40
|
import { VideoHTMLAttributes } from 'react';
|
|
@@ -87,7 +87,7 @@ declare type AnimationSegment = [number, number];
|
|
|
87
87
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
|
88
88
|
|
|
89
89
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
|
90
|
-
children?: ReactNode | undefined;
|
|
90
|
+
children?: ReactNode | undefined;
|
|
91
91
|
} & RefAttributes<HTMLDivElement>>;
|
|
92
92
|
|
|
93
93
|
export declare const ArrowTooltip: NamedExoticComponent<IArrowTooltipProps>;
|
|
@@ -276,6 +276,8 @@ declare interface CarouselProps {
|
|
|
276
276
|
|
|
277
277
|
export declare const CascadingSelectInput: FC<ICascadingSelectInputProps>;
|
|
278
278
|
|
|
279
|
+
export declare const ChangeIcon: FC<SVGProps<SVGSVGElement>>;
|
|
280
|
+
|
|
279
281
|
export declare const Chapter: FC<IChapterProps>;
|
|
280
282
|
|
|
281
283
|
declare const CHAPTER_LOCK_STATE: {
|
|
@@ -446,7 +448,7 @@ declare interface CueCoinIconProps extends SVGProps<SVGSVGElement> {
|
|
|
446
448
|
variant?: 'gold' | 'silver';
|
|
447
449
|
}
|
|
448
450
|
|
|
449
|
-
export declare const CuemathAppFeatures: NamedExoticComponent<
|
|
451
|
+
export declare const CuemathAppFeatures: NamedExoticComponent<{}>;
|
|
450
452
|
|
|
451
453
|
export declare const CuemathLogo: FC<SVGProps<SVGSVGElement>>;
|
|
452
454
|
|
|
@@ -703,7 +705,7 @@ declare enum GENDER {
|
|
|
703
705
|
OTHER = "OTHER"
|
|
704
706
|
}
|
|
705
707
|
|
|
706
|
-
export declare const getActiveSATSheet: (sheets: TLPARSheetData[]) => TLPARSheetData
|
|
708
|
+
export declare const getActiveSATSheet: (sheets: TLPARSheetData[]) => TLPARSheetData;
|
|
707
709
|
|
|
708
710
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
|
709
711
|
|
|
@@ -4276,6 +4278,8 @@ export declare interface ITrialSessionFormFields {
|
|
|
4276
4278
|
chapterId?: string;
|
|
4277
4279
|
matchmakingId?: string;
|
|
4278
4280
|
numberInNameError?: boolean;
|
|
4281
|
+
confirmationModalActive?: boolean;
|
|
4282
|
+
resetAttempt: boolean;
|
|
4279
4283
|
}
|
|
4280
4284
|
|
|
4281
4285
|
declare interface ITrialSessionMetadata {
|
|
@@ -4302,6 +4306,7 @@ declare interface ITrialSessionProps {
|
|
|
4302
4306
|
handleInfoMessage: (message: IInfoMessage) => void;
|
|
4303
4307
|
classTimeAlertConfig?: IClassTimeAlertConfig;
|
|
4304
4308
|
classDuration?: number;
|
|
4309
|
+
changeDemoLevel?: boolean;
|
|
4305
4310
|
}
|
|
4306
4311
|
|
|
4307
4312
|
export declare interface ITutorialProps {
|
|
@@ -5332,7 +5337,7 @@ export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
|
|
5332
5337
|
export declare type OutcomeStage = keyof typeof STAGES;
|
|
5333
5338
|
|
|
5334
5339
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
|
5335
|
-
isLoading?: boolean | undefined;
|
|
5340
|
+
isLoading?: boolean | undefined;
|
|
5336
5341
|
}) => JSX.Element | null>;
|
|
5337
5342
|
|
|
5338
5343
|
export declare const ParentDashboard: NamedExoticComponent<IParentDashboardProps>;
|
|
@@ -5664,7 +5669,7 @@ export declare const SheetIcon: FC<SVGProps<SVGSVGElement>>;
|
|
|
5664
5669
|
export declare const SheetList: FC<ISheetsListProps>;
|
|
5665
5670
|
|
|
5666
5671
|
export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
5667
|
-
onHomeClick: () => void;
|
|
5672
|
+
onHomeClick: () => void;
|
|
5668
5673
|
}) => JSX.Element>;
|
|
5669
5674
|
|
|
5670
5675
|
export declare const SignUp: ({ circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, isPLAStudent, }: ISignUpProps) => JSX.Element;
|
|
@@ -5912,7 +5917,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
|
5912
5917
|
|
|
5913
5918
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
|
5914
5919
|
|
|
5915
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
|
|
5920
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark' | 'white-danger';
|
|
5916
5921
|
|
|
5917
5922
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
|
5918
5923
|
|
|
@@ -7196,8 +7201,8 @@ export declare const useGetMilestoneResources: (initialId?: string, initialQuery
|
|
|
7196
7201
|
|
|
7197
7202
|
export declare const useGetPastMilestoneCount: (initialId?: string, initialQuery?: void | undefined) => {
|
|
7198
7203
|
get: (id: string, query: void, meta: TQuery_2) => Promise<void>;
|
|
7199
|
-
resource: ResourceModel<
|
|
7200
|
-
|
|
7204
|
+
resource: ResourceModel<{
|
|
7205
|
+
user_milestones_count: number;
|
|
7201
7206
|
}> | undefined;
|
|
7202
7207
|
data: {
|
|
7203
7208
|
user_milestones_count: number;
|