@cuemath/leap 3.5.58 → 3.5.59-link1
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/features/chapters-v2/utils/node-card-utils.js +24 -24
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
- package/dist/features/cue-canvas/bottombar/homework-controls.js.map +1 -1
- package/dist/features/cue-canvas/sidebar/sidebar.js +4 -4
- package/dist/features/cue-canvas/sidebar/sidebar.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/toolbar.js +21 -17
- package/dist/features/cue-canvas/toolbar/toolbar.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/whiteboard-toolbar.js +23 -13
- package/dist/features/cue-canvas/toolbar/whiteboard-toolbar.js.map +1 -1
- package/dist/features/journey/tracking-id/tracking-id-student.js +1 -1
- package/dist/features/journey/tracking-id/tracking-id-student.js.map +1 -1
- package/dist/features/math-fit/math-fit-report/comps/score-section/score-section.js +43 -43
- package/dist/features/math-fit/math-fit-report/comps/score-section/score-section.js.map +1 -1
- package/dist/features/milestone/create/api/milestone-config.js.map +1 -1
- package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +1 -1
- package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +1 -1
- package/dist/features/sheets/constants/sheet.js +1 -0
- package/dist/features/sheets/constants/sheet.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js +3 -2
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-types.js +1 -1
- package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-types.js.map +1 -1
- package/dist/features/trial-session/api/trial-home.js +10 -16
- package/dist/features/trial-session/api/trial-home.js.map +1 -1
- package/dist/features/trial-session/api/trial-session-report.js +16 -0
- package/dist/features/trial-session/api/trial-session-report.js.map +1 -0
- package/dist/features/trial-session/api/trial-topics.js +9 -0
- package/dist/features/trial-session/api/trial-topics.js.map +1 -0
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js +62 -50
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js.map +1 -1
- package/dist/features/trial-session/comps/class-preference/class-preference-styled.js +5 -14
- package/dist/features/trial-session/comps/class-preference/class-preference-styled.js.map +1 -1
- package/dist/features/trial-session/comps/class-preference/class-preference.js +55 -53
- package/dist/features/trial-session/comps/class-preference/class-preference.js.map +1 -1
- package/dist/features/trial-session/comps/communication-slide/communication-slide-constants.js +3 -2
- package/dist/features/trial-session/comps/communication-slide/communication-slide-constants.js.map +1 -1
- package/dist/features/trial-session/comps/confirmation-modal/hooks/use-confirmation-modal.js +27 -27
- package/dist/features/trial-session/comps/confirmation-modal/hooks/use-confirmation-modal.js.map +1 -1
- package/dist/features/trial-session/comps/learning-session/learning-session-styled.js +19 -18
- package/dist/features/trial-session/comps/learning-session/learning-session-styled.js.map +1 -1
- package/dist/features/trial-session/comps/learning-session/learning-session.js +34 -43
- package/dist/features/trial-session/comps/learning-session/learning-session.js.map +1 -1
- package/dist/features/trial-session/comps/navigation-bar/index.js +56 -58
- package/dist/features/trial-session/comps/navigation-bar/index.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js +29 -6
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information.js +74 -64
- package/dist/features/trial-session/comps/offering-information/offering-information.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals-styled.js +10 -9
- package/dist/features/trial-session/comps/school-goals/school-goals-styled.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals-view.js +40 -39
- package/dist/features/trial-session/comps/school-goals/school-goals-view.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals.js +39 -37
- package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
- package/dist/features/trial-session/comps/session-insights/session-insights-styled.js +12 -20
- package/dist/features/trial-session/comps/session-insights/session-insights-styled.js.map +1 -1
- package/dist/features/trial-session/comps/session-insights/session-insights.js +64 -63
- package/dist/features/trial-session/comps/session-insights/session-insights.js.map +1 -1
- package/dist/features/trial-session/comps/session-overview/session-overview-styled.js +13 -12
- package/dist/features/trial-session/comps/session-overview/session-overview-styled.js.map +1 -1
- package/dist/features/trial-session/comps/session-overview/session-overview-utils.js +21 -5
- package/dist/features/trial-session/comps/session-overview/session-overview-utils.js.map +1 -1
- package/dist/features/trial-session/comps/session-overview/session-overview.js +20 -20
- package/dist/features/trial-session/comps/session-overview/session-overview.js.map +1 -1
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary-styled.js +61 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary-styled.js.map +1 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary-types.js +5 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary-types.js.map +1 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary-view.js +135 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary-view.js.map +1 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary.js +53 -0
- package/dist/features/trial-session/comps/session-progress-summary/session-progress-summary.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-404/report-404.js +15 -16
- package/dist/features/trial-session/comps/session-report/report-404/report-404.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/session-report.js +35 -33
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment-styled.js +9 -16
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js +39 -37
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback-styled.js +10 -9
- package/dist/features/trial-session/comps/student-feedback/student-feedback-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-info/student-info-constants.js +35 -0
- package/dist/features/trial-session/comps/student-info/student-info-constants.js.map +1 -0
- package/dist/features/trial-session/comps/student-info/student-info-helpers.js +12 -0
- package/dist/features/trial-session/comps/student-info/student-info-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/student-info/student-info-styled.js +26 -11
- package/dist/features/trial-session/comps/student-info/student-info-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-info/student-info.js +113 -78
- package/dist/features/trial-session/comps/student-info/student-info.js.map +1 -1
- package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js +3 -12
- package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js +34 -33
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile.js +45 -44
- package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js +9 -8
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
- package/dist/features/trial-session/comps/test-prep/test-prep-styled.js +11 -19
- package/dist/features/trial-session/comps/test-prep/test-prep-styled.js.map +1 -1
- package/dist/features/trial-session/comps/test-prep/test-prep.js +31 -29
- package/dist/features/trial-session/comps/test-prep/test-prep.js.map +1 -1
- package/dist/features/trial-session/comps/topic-selection/topic-selection-styled.js +42 -0
- package/dist/features/trial-session/comps/topic-selection/topic-selection-styled.js.map +1 -0
- package/dist/features/trial-session/comps/topic-selection/topic-selection.js +84 -0
- package/dist/features/trial-session/comps/topic-selection/topic-selection.js.map +1 -0
- package/dist/features/trial-session/comps/whiteboard/whiteboard-styled.js +21 -0
- package/dist/features/trial-session/comps/whiteboard/whiteboard-styled.js.map +1 -0
- package/dist/features/trial-session/comps/whiteboard/whiteboard.js +99 -0
- package/dist/features/trial-session/comps/whiteboard/whiteboard.js.map +1 -0
- package/dist/features/trial-session/comps/worksheet/worksheet.js +35 -33
- package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
- package/dist/features/trial-session/context/trial-session-context.js +2 -0
- package/dist/features/trial-session/context/trial-session-context.js.map +1 -1
- package/dist/features/trial-session/helper.js +70 -64
- package/dist/features/trial-session/helper.js.map +1 -1
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js +184 -151
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/right-panel/right-panel-styled.js +8 -8
- package/dist/features/trial-session/right-panel/right-panel-styled.js.map +1 -1
- package/dist/features/trial-session/right-panel/slide-components-map.js +42 -36
- package/dist/features/trial-session/right-panel/slide-components-map.js.map +1 -1
- package/dist/features/trial-session/trial-session-constants.js +22 -18
- package/dist/features/trial-session/trial-session-constants.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 +82 -77
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/trial-session/trial-session.js +38 -38
- package/dist/features/trial-session/trial-session.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js +21 -21
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +12 -12
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
- package/dist/features/ui/theme/clrs.js +1 -0
- package/dist/features/ui/theme/clrs.js.map +1 -1
- package/dist/features/worksheet/worksheet/mocks/activity.js +6 -0
- package/dist/features/worksheet/worksheet/mocks/activity.js.map +1 -0
- package/dist/features/worksheet/worksheet/mocks/signed-requests.js +5 -0
- package/dist/features/worksheet/worksheet/mocks/signed-requests.js.map +1 -0
- package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js +57 -0
- package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js.map +1 -0
- package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js +263 -0
- package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js.map +1 -0
- package/dist/features/worksheet/worksheet/stories/worksheet-student.js +177 -0
- package/dist/features/worksheet/worksheet/stories/worksheet-student.js.map +1 -0
- package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js +267 -0
- package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js +2 -6
- package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +38 -37
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +35 -28
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/index.d.ts +12 -5
- package/dist/index.js +1 -1
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/dist/types/models/worksheet.js +1 -1
- package/dist/types/models/worksheet.js.map +1 -1
- package/package.json +1 -1
- package/dist/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
- /package/dist/node_modules/{decode-uri-component → query-string/node_modules/decode-uri-component}/index.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"learning-session.js","sources":["../../../../../src/features/trial-session/comps/learning-session/learning-session.tsx"],"sourcesContent":["import { memo, useEffect, useState } from 'react';\n\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport
|
|
1
|
+
{"version":3,"file":"learning-session.js","sources":["../../../../../src/features/trial-session/comps/learning-session/learning-session.tsx"],"sourcesContent":["import { memo, useEffect, useState } from 'react';\n\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { TrialPageId } from '../../trial-session-constants';\nimport SlideHeader from '../slide-header';\nimport { learningSessionImages, sessionPerks } from './learning-session-constants';\nimport * as Styled from './learning-session-styled';\nimport CommunicationSlide from '../communication-slide';\n\nconst LearningSession = memo(function LearningSession() {\n const { slideConfig } = useTrialSessionContext();\n const { id, renderAVIn, enableSessionPerk } = slideConfig;\n\n const worksheetCompleted = id === TrialPageId.COMPLETED_WORKSHEET;\n\n const [currentIndex, setCurrentIndex] = useState(0);\n const [transitionEnabled, setTransitionEnabled] = useState(true);\n\n useEffect(() => {\n if (currentIndex === learningSessionImages.length - 1) {\n setTimeout(() => {\n setTransitionEnabled(false);\n setCurrentIndex(0);\n }, 500);\n }\n\n const timer = setInterval(() => {\n setTransitionEnabled(true);\n setCurrentIndex(prevIndex => (prevIndex + 1) % learningSessionImages.length);\n }, 1000);\n\n return () => clearInterval(timer);\n }, [currentIndex]);\n\n if (renderAVIn === 'right') return <CommunicationSlide />;\n\n return (\n <Styled.Container>\n <Separator height={60} />\n <SlideHeader />\n <FlexView $alignItems=\"center\">\n <Styled.FlexRelative\n $width={550}\n $height={549}\n $borderRadius={550}\n $background=\"WHITE_1\"\n $borderColor=\"BLACK_T_04\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n {enableSessionPerk &&\n sessionPerks.map(sessionPerk => {\n const { title, image, position, backgroundColor } = sessionPerk;\n\n return (\n <Styled.FloatingElement\n key={title}\n $width={104}\n $height={104}\n $borderRadius={104}\n $borderColor=\"BLACK_1\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background={backgroundColor}\n $position={position}\n >\n <Styled.ImageWrapper>\n {worksheetCompleted ? (\n <Styled.GreenTick width={24} height={28} $top={-15} $right={-20} />\n ) : null}\n <Image withLoader height={56} width={56} src={image} />\n </Styled.ImageWrapper>\n <Styled.TextElement $renderAs=\"ac4-black\" $align=\"center\">\n {title}\n </Styled.TextElement>\n </Styled.FloatingElement>\n );\n })}\n\n <FlexView\n $width={470}\n $height={470}\n $borderRadius={470}\n $background=\"WHITE_2\"\n $borderColor=\"BLACK_T_08\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n <FlexView\n $width={370}\n $height={370}\n $borderRadius={370}\n $background=\"WHITE_3\"\n $borderColor=\"BLACK_T_15\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $position=\"relative\"\n >\n {worksheetCompleted ? (\n <Styled.GreenTick width={60} height={72} $top={40} $right={60} />\n ) : null}\n <Styled.Slider\n $width={270}\n $height={270}\n $borderRadius={270}\n $borderColor=\"BLACK_T_87\"\n >\n {learningSessionImages.map((imageUrl, index) => {\n return (\n <Styled.SliderContent\n key={imageUrl}\n $offset={index - currentIndex}\n $transitionEnabled={transitionEnabled}\n >\n <Image\n withLoader\n src={imageUrl}\n width={270}\n height={270}\n alt={`slide-${index}`}\n />\n </Styled.SliderContent>\n );\n })}\n </Styled.Slider>\n <Styled.MathText $renderAs=\"ac3-black\">School Math</Styled.MathText>\n </FlexView>\n </FlexView>\n </Styled.FlexRelative>\n </FlexView>\n </Styled.Container>\n );\n});\n\nexport default LearningSession;\n"],"names":["LearningSession","memo","slideConfig","useTrialSessionContext","id","renderAVIn","enableSessionPerk","worksheetCompleted","TrialPageId","currentIndex","setCurrentIndex","useState","transitionEnabled","setTransitionEnabled","useEffect","learningSessionImages","timer","prevIndex","jsx","CommunicationSlide","jsxs","Styled.Container","Separator","SlideHeader","FlexView","Styled.FlexRelative","sessionPerks","sessionPerk","title","image","position","backgroundColor","Styled.FloatingElement","Styled.ImageWrapper","Styled.GreenTick","Image","Styled.TextElement","Styled.Slider","imageUrl","index","Styled.SliderContent","Styled.MathText"],"mappings":"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"}
|
|
@@ -1,104 +1,102 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { useTrialSessionContext as
|
|
9
|
-
import { isPLASource as
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as c, useCallback as I } from "react";
|
|
3
|
+
import k from "../../../ui/arrow-tooltip/arrow-tooltip.js";
|
|
4
|
+
import M from "../../../ui/buttons/button/button.js";
|
|
5
|
+
import h from "../../../ui/buttons/icon-button/icon-button.js";
|
|
6
|
+
import C from "../../../ui/layout/flex-view.js";
|
|
7
|
+
import L from "../../../ui/text/text.js";
|
|
8
|
+
import { useTrialSessionContext as z } from "../../context/use-trial-session-context.js";
|
|
9
|
+
import { isPLASource as O } from "../../helper.js";
|
|
10
10
|
import { useTrialSessionNavigation as F } from "../../hooks/use-trial-session-navigation.js";
|
|
11
11
|
import { Container as G, ForwardArrow as K } from "./navigation-bar-styled.js";
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
import { TrialPageId as R, MAXIMUM_TOPICS_TO_SELECT as x } from "../../trial-session-constants.js";
|
|
13
|
+
import X from "../../../../assets/line-icons/icons/back2.js";
|
|
14
|
+
const re = () => {
|
|
15
|
+
var g;
|
|
15
16
|
const {
|
|
16
|
-
slideConfig:
|
|
17
|
-
buttonState:
|
|
18
|
-
openEndClassModal:
|
|
17
|
+
slideConfig: $,
|
|
18
|
+
buttonState: A,
|
|
19
|
+
openEndClassModal: B,
|
|
19
20
|
studentAbsentInClass: e,
|
|
20
|
-
trialHomeData:
|
|
21
|
-
formData:
|
|
22
|
-
} =
|
|
23
|
-
left: { isDisabled: m, isLoading:
|
|
24
|
-
right: { isDisabled: p, isLoading:
|
|
25
|
-
} =
|
|
26
|
-
() => p || e ||
|
|
27
|
-
[p, e,
|
|
28
|
-
),
|
|
21
|
+
trialHomeData: s,
|
|
22
|
+
formData: T
|
|
23
|
+
} = z(), { handleNavigation: n } = F(), {
|
|
24
|
+
left: { isDisabled: m, isLoading: y },
|
|
25
|
+
right: { isDisabled: p, isLoading: P }
|
|
26
|
+
} = A || {}, { id: f, prevPage: v, nextPage: w } = $ || {}, { buttonLabel: a, pageId: o } = v || {}, { buttonLabel: l, pageId: r } = w || {}, { numberInNameError: i, selectedTopics: u = [] } = T || {}, D = o && !r, _ = O((g = s == null ? void 0 : s.intel_student) == null ? void 0 : g.source), E = c(
|
|
27
|
+
() => p || e || i,
|
|
28
|
+
[p, e, i]
|
|
29
|
+
), S = c(
|
|
29
30
|
() => m || e,
|
|
30
31
|
[m, e]
|
|
31
|
-
),
|
|
32
|
-
()
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
o("prev", r);
|
|
38
|
-
}, [o, r]);
|
|
39
|
-
return /* @__PURE__ */ c(
|
|
32
|
+
), b = c(() => i ? "Please enter a valid name" : f === R.TOPIC_SELECTION && u.length < x ? `Select any ${x} topics to proceed` : e ? "Waiting for student to join..." : "", [f, i, u.length, e]), j = I(() => {
|
|
33
|
+
n("next", r);
|
|
34
|
+
}, [n, r]), N = I(() => {
|
|
35
|
+
n("prev", o);
|
|
36
|
+
}, [n, o]);
|
|
37
|
+
return /* @__PURE__ */ d(
|
|
40
38
|
G,
|
|
41
39
|
{
|
|
42
40
|
$flexDirection: "row-reverse",
|
|
43
41
|
$justifyContent: "space-between",
|
|
44
42
|
$alignItems: "center",
|
|
45
43
|
children: [
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
D && /* @__PURE__ */ t(
|
|
45
|
+
M,
|
|
48
46
|
{
|
|
49
47
|
renderAs: "tertiary",
|
|
50
48
|
size: "small",
|
|
51
|
-
label:
|
|
49
|
+
label: _ ? "End the session" : "End the class",
|
|
52
50
|
shape: "square",
|
|
53
|
-
onClick:
|
|
51
|
+
onClick: B
|
|
54
52
|
}
|
|
55
53
|
),
|
|
56
|
-
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
54
|
+
r && l && /* @__PURE__ */ d(C, { $flexDirection: "row", $alignItems: "center", $justifyContent: "center", $flexGap: 12, children: [
|
|
55
|
+
/* @__PURE__ */ t(L, { $renderAs: "ab2", $color: "BLACK_T_60", children: l }),
|
|
56
|
+
/* @__PURE__ */ t(
|
|
57
|
+
k,
|
|
60
58
|
{
|
|
61
59
|
widthX: 8,
|
|
62
60
|
zIndex: 2,
|
|
63
61
|
position: "top-left",
|
|
64
62
|
renderAs: "primary",
|
|
65
|
-
tooltipItem:
|
|
66
|
-
hidden: !
|
|
67
|
-
children: /* @__PURE__ */
|
|
68
|
-
|
|
63
|
+
tooltipItem: b,
|
|
64
|
+
hidden: !b,
|
|
65
|
+
children: /* @__PURE__ */ t(
|
|
66
|
+
h,
|
|
69
67
|
{
|
|
70
68
|
Icon: K,
|
|
71
69
|
renderAs: "primary",
|
|
72
|
-
analyticsLabel:
|
|
70
|
+
analyticsLabel: l,
|
|
73
71
|
size: "small",
|
|
74
|
-
onClick:
|
|
75
|
-
disabled:
|
|
76
|
-
busy:
|
|
72
|
+
onClick: j,
|
|
73
|
+
disabled: E,
|
|
74
|
+
busy: P
|
|
77
75
|
}
|
|
78
76
|
)
|
|
79
77
|
}
|
|
80
78
|
)
|
|
81
79
|
] }),
|
|
82
|
-
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
|
|
80
|
+
o && a && /* @__PURE__ */ d(C, { $flexDirection: "row", $alignItems: "center", $justifyContent: "center", $flexGap: 12, children: [
|
|
81
|
+
/* @__PURE__ */ t(
|
|
82
|
+
h,
|
|
85
83
|
{
|
|
86
|
-
Icon:
|
|
84
|
+
Icon: X,
|
|
87
85
|
renderAs: "secondary",
|
|
88
|
-
analyticsLabel:
|
|
86
|
+
analyticsLabel: a,
|
|
89
87
|
size: "small",
|
|
90
88
|
onClick: N,
|
|
91
|
-
disabled:
|
|
92
|
-
busy:
|
|
89
|
+
disabled: S,
|
|
90
|
+
busy: y
|
|
93
91
|
}
|
|
94
92
|
),
|
|
95
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ t(L, { $renderAs: "ab2", $color: "BLACK_T_60", children: a })
|
|
96
94
|
] })
|
|
97
95
|
]
|
|
98
96
|
}
|
|
99
97
|
);
|
|
100
98
|
};
|
|
101
99
|
export {
|
|
102
|
-
|
|
100
|
+
re as default
|
|
103
101
|
};
|
|
104
102
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/features/trial-session/comps/navigation-bar/index.tsx"],"sourcesContent":["import { useCallback, useMemo, type FC } from 'react';\n\nimport ArrowTooltip from '../../../ui/arrow-tooltip/arrow-tooltip';\nimport Button from '../../../ui/buttons/button/button';\nimport IconButton from '../../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { isPLASource } from '../../helper';\nimport { useTrialSessionNavigation } from '../../hooks/use-trial-session-navigation';\nimport * as Styled from './navigation-bar-styled';\n\nconst NavigationBar: FC = () => {\n const {\n slideConfig,\n buttonState,\n openEndClassModal,\n studentAbsentInClass,\n trialHomeData,\n formData,\n } = useTrialSessionContext();\n\n const { handleNavigation } = useTrialSessionNavigation();\n\n const {\n left: { isDisabled: isLeftBtnDisabled, isLoading: isLeftBtnLoading },\n right: { isDisabled: isRightBtnDisabled, isLoading: isRightBtnLoading },\n } = buttonState || {};\n\n const { prevPage, nextPage } = slideConfig || {};\n const { buttonLabel: prevButtonLabel, pageId: prevPageId } = prevPage || {};\n const { buttonLabel: nextButtonLabel, pageId: nextPageId } = nextPage || {};\n const { numberInNameError } = formData || {};\n\n const isLastPage = prevPageId && !nextPageId;\n const isPLA = isPLASource(trialHomeData?.intel_student?.source);\n\n const nextButtonDisabled = useMemo(\n () => isRightBtnDisabled || studentAbsentInClass || numberInNameError,\n [isRightBtnDisabled, studentAbsentInClass, numberInNameError],\n );\n const prevButtonDisabled = useMemo(\n () => isLeftBtnDisabled || studentAbsentInClass,\n [isLeftBtnDisabled, studentAbsentInClass],\n );\n\n const tooltipContent = useMemo(() => {\n if (numberInNameError) return 'Please enter a valid name';\n\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/features/trial-session/comps/navigation-bar/index.tsx"],"sourcesContent":["import { useCallback, useMemo, type FC } from 'react';\n\nimport ArrowTooltip from '../../../ui/arrow-tooltip/arrow-tooltip';\nimport Button from '../../../ui/buttons/button/button';\nimport IconButton from '../../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { isPLASource } from '../../helper';\nimport { useTrialSessionNavigation } from '../../hooks/use-trial-session-navigation';\nimport * as Styled from './navigation-bar-styled';\nimport { MAXIMUM_TOPICS_TO_SELECT, TrialPageId } from '../../trial-session-constants';\n\nconst NavigationBar: FC = () => {\n const {\n slideConfig,\n buttonState,\n openEndClassModal,\n studentAbsentInClass,\n trialHomeData,\n formData,\n } = useTrialSessionContext();\n\n const { handleNavigation } = useTrialSessionNavigation();\n\n const {\n left: { isDisabled: isLeftBtnDisabled, isLoading: isLeftBtnLoading },\n right: { isDisabled: isRightBtnDisabled, isLoading: isRightBtnLoading },\n } = buttonState || {};\n\n const { id, prevPage, nextPage } = slideConfig || {};\n const { buttonLabel: prevButtonLabel, pageId: prevPageId } = prevPage || {};\n const { buttonLabel: nextButtonLabel, pageId: nextPageId } = nextPage || {};\n const { numberInNameError, selectedTopics = [] } = formData || {};\n\n const isLastPage = prevPageId && !nextPageId;\n const isPLA = isPLASource(trialHomeData?.intel_student?.source);\n\n const nextButtonDisabled = useMemo(\n () => isRightBtnDisabled || studentAbsentInClass || numberInNameError,\n [isRightBtnDisabled, studentAbsentInClass, numberInNameError],\n );\n const prevButtonDisabled = useMemo(\n () => isLeftBtnDisabled || studentAbsentInClass,\n [isLeftBtnDisabled, studentAbsentInClass],\n );\n\n const tooltipContent = useMemo(() => {\n if (numberInNameError) return 'Please enter a valid name';\n\n if (id === TrialPageId.TOPIC_SELECTION && selectedTopics.length < MAXIMUM_TOPICS_TO_SELECT)\n return `Select any ${MAXIMUM_TOPICS_TO_SELECT} topics to proceed`;\n\n if (studentAbsentInClass) return 'Waiting for student to join...';\n\n return '';\n }, [id, numberInNameError, selectedTopics.length, studentAbsentInClass]);\n\n const handleNext = useCallback(() => {\n handleNavigation('next', nextPageId);\n }, [handleNavigation, nextPageId]);\n\n const handlePrev = useCallback(() => {\n handleNavigation('prev', prevPageId);\n }, [handleNavigation, prevPageId]);\n\n return (\n <Styled.Container\n $flexDirection=\"row-reverse\"\n $justifyContent=\"space-between\"\n $alignItems=\"center\"\n >\n {isLastPage && (\n <Button\n renderAs=\"tertiary\"\n size=\"small\"\n label={isPLA ? 'End the session' : 'End the class'}\n shape=\"square\"\n onClick={openEndClassModal}\n />\n )}\n {nextPageId && nextButtonLabel && (\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $justifyContent=\"center\" $flexGap={12}>\n <Text $renderAs=\"ab2\" $color=\"BLACK_T_60\">\n {nextButtonLabel}\n </Text>\n <ArrowTooltip\n widthX={8}\n zIndex={2}\n position=\"top-left\"\n renderAs=\"primary\"\n tooltipItem={tooltipContent}\n hidden={!tooltipContent}\n >\n <IconButton\n Icon={Styled.ForwardArrow}\n renderAs=\"primary\"\n analyticsLabel={nextButtonLabel}\n size=\"small\"\n onClick={handleNext}\n disabled={nextButtonDisabled}\n busy={isRightBtnLoading}\n />\n </ArrowTooltip>\n </FlexView>\n )}\n {prevPageId && prevButtonLabel && (\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $justifyContent=\"center\" $flexGap={12}>\n <IconButton\n Icon={Styled.BackwardArrow}\n renderAs=\"secondary\"\n analyticsLabel={prevButtonLabel}\n size=\"small\"\n onClick={handlePrev}\n disabled={prevButtonDisabled}\n busy={isLeftBtnLoading}\n />\n <Text $renderAs=\"ab2\" $color=\"BLACK_T_60\">\n {prevButtonLabel}\n </Text>\n </FlexView>\n )}\n </Styled.Container>\n );\n};\n\nexport default NavigationBar;\n"],"names":["NavigationBar","slideConfig","buttonState","openEndClassModal","studentAbsentInClass","trialHomeData","formData","useTrialSessionContext","handleNavigation","useTrialSessionNavigation","isLeftBtnDisabled","isLeftBtnLoading","isRightBtnDisabled","isRightBtnLoading","id","prevPage","nextPage","prevButtonLabel","prevPageId","nextButtonLabel","nextPageId","numberInNameError","selectedTopics","isLastPage","isPLA","isPLASource","_a","nextButtonDisabled","useMemo","prevButtonDisabled","tooltipContent","TrialPageId","MAXIMUM_TOPICS_TO_SELECT","handleNext","useCallback","handlePrev","jsxs","Styled.Container","jsx","Button","FlexView","Text","ArrowTooltip","IconButton","Styled.ForwardArrow","Styled.BackwardArrow"],"mappings":"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"}
|
package/dist/features/trial-session/comps/offering-information/offering-information-constants.js
CHANGED
|
@@ -22,6 +22,28 @@ const o = [
|
|
|
22
22
|
dimension: ["100%", "100%"]
|
|
23
23
|
}
|
|
24
24
|
], e = [
|
|
25
|
+
{
|
|
26
|
+
title: "School Success",
|
|
27
|
+
description: "Keep in sync with school, get help with homework, and prepare for school tests.",
|
|
28
|
+
infoBackground: "PURPLE_1",
|
|
29
|
+
animationSource: n.SCHOOL_SUCCESS_MINI,
|
|
30
|
+
dimension: ["100%", "100%"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: "Test Prep",
|
|
34
|
+
description: "Prepare for contests and standardized tests, like the AMC, Math Kangaroo, SAT, CogAT, NJSLA, etc.",
|
|
35
|
+
infoBackground: "BLUE_1",
|
|
36
|
+
animationSource: n.TEST_PREP_MINI,
|
|
37
|
+
dimension: ["100%", "100%"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: "Enrichment",
|
|
41
|
+
description: "Explore beyond-school topics like Financial Math, Data Science, etc.",
|
|
42
|
+
infoBackground: "ORANGE_1",
|
|
43
|
+
animationSource: n.ENRICHMENT_MINI,
|
|
44
|
+
dimension: ["100%", "100%"]
|
|
45
|
+
}
|
|
46
|
+
], a = [
|
|
25
47
|
{
|
|
26
48
|
title: `stay
|
|
27
49
|
connected`,
|
|
@@ -29,7 +51,7 @@ connected`,
|
|
|
29
51
|
receive real-time updates.`,
|
|
30
52
|
infoBackground: "BLUE_1",
|
|
31
53
|
animationSource: n.STAY_CONNECTED,
|
|
32
|
-
dimension: [
|
|
54
|
+
dimension: [233, 250]
|
|
33
55
|
},
|
|
34
56
|
{
|
|
35
57
|
title: `track
|
|
@@ -38,7 +60,7 @@ progress`,
|
|
|
38
60
|
areas of improvement.`,
|
|
39
61
|
infoBackground: "PURPLE_1",
|
|
40
62
|
animationSource: n.TRACK_PROGRESS,
|
|
41
|
-
dimension: [
|
|
63
|
+
dimension: [233, 250]
|
|
42
64
|
},
|
|
43
65
|
{
|
|
44
66
|
title: `easy
|
|
@@ -47,9 +69,9 @@ rescheduling`,
|
|
|
47
69
|
your class timings.`,
|
|
48
70
|
infoBackground: "GREEN_1",
|
|
49
71
|
animationSource: n.EASY_RESCHEDULING,
|
|
50
|
-
dimension: [
|
|
72
|
+
dimension: [233, 250]
|
|
51
73
|
}
|
|
52
|
-
],
|
|
74
|
+
], t = [
|
|
53
75
|
{
|
|
54
76
|
title: `mental
|
|
55
77
|
math`,
|
|
@@ -85,8 +107,9 @@ and stay sharp.`,
|
|
|
85
107
|
}
|
|
86
108
|
];
|
|
87
109
|
export {
|
|
88
|
-
|
|
110
|
+
t as circleDetails,
|
|
89
111
|
o as goalDetails,
|
|
90
|
-
e as
|
|
112
|
+
e as goalPlans,
|
|
113
|
+
a as parentAppDetails
|
|
91
114
|
};
|
|
92
115
|
//# sourceMappingURL=offering-information-constants.js.map
|
package/dist/features/trial-session/comps/offering-information/offering-information-constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offering-information-constants.js","sources":["../../../../../src/features/trial-session/comps/offering-information/offering-information-constants.ts"],"sourcesContent":["import { GIF } from '../../../../assets/gif/gif';\nimport type { TColorNames } from '../../../ui/types';\n\ntype TCircleDetails = {\n title: string;\n description: string | string[];\n animationBackground?: TColorNames;\n infoBackground: TColorNames;\n animationSource: string;\n animationPadding?: number;\n dimension?: (number | string | undefined)[];\n coverAnimation?: boolean;\n}[];\n\nconst goalDetails: TCircleDetails = [\n {\n title: 'Personalized Sessions',\n description: 'Aligned with school curriculum or specific needs',\n infoBackground: 'YELLOW_1',\n animationSource: GIF.PERSONALIZED_SESSION,\n dimension: ['100%', '100%'],\n },\n {\n title: 'Regular Practice',\n description: 'Homework assignments plus daily practice on app',\n infoBackground: 'PURPLE_1',\n animationSource: GIF.REGULAR_PRACTICE,\n dimension: ['100%', '100%'],\n },\n {\n title: 'Parent-tutor conference',\n description: 'Progress review and approach adjustment',\n infoBackground: 'GREEN_1',\n animationSource: GIF.STEPUP,\n dimension: ['100%', '100%'],\n },\n];\n\nconst parentAppDetails: TCircleDetails = [\n {\n title: 'stay \\nconnected',\n description: 'Chat with your tutor and \\nreceive real-time updates.',\n infoBackground: 'BLUE_1',\n animationSource: GIF.STAY_CONNECTED,\n dimension: [
|
|
1
|
+
{"version":3,"file":"offering-information-constants.js","sources":["../../../../../src/features/trial-session/comps/offering-information/offering-information-constants.ts"],"sourcesContent":["import { GIF } from '../../../../assets/gif/gif';\nimport type { TColorNames } from '../../../ui/types';\n\ntype TCircleDetails = {\n title: string;\n description: string | string[];\n animationBackground?: TColorNames;\n infoBackground: TColorNames;\n animationSource: string;\n animationPadding?: number;\n dimension?: (number | string | undefined)[];\n coverAnimation?: boolean;\n}[];\n\nconst goalDetails: TCircleDetails = [\n {\n title: 'Personalized Sessions',\n description: 'Aligned with school curriculum or specific needs',\n infoBackground: 'YELLOW_1',\n animationSource: GIF.PERSONALIZED_SESSION,\n dimension: ['100%', '100%'],\n },\n {\n title: 'Regular Practice',\n description: 'Homework assignments plus daily practice on app',\n infoBackground: 'PURPLE_1',\n animationSource: GIF.REGULAR_PRACTICE,\n dimension: ['100%', '100%'],\n },\n {\n title: 'Parent-tutor conference',\n description: 'Progress review and approach adjustment',\n infoBackground: 'GREEN_1',\n animationSource: GIF.STEPUP,\n dimension: ['100%', '100%'],\n },\n];\n\nconst goalPlans: TCircleDetails = [\n {\n title: 'School Success',\n description: 'Keep in sync with school, get help with homework, and prepare for school tests.',\n infoBackground: 'PURPLE_1',\n animationSource: GIF.SCHOOL_SUCCESS_MINI,\n dimension: ['100%', '100%'],\n },\n {\n title: 'Test Prep',\n description:\n 'Prepare for contests and standardized tests, like the AMC, Math Kangaroo, SAT, CogAT, NJSLA, etc.',\n infoBackground: 'BLUE_1',\n animationSource: GIF.TEST_PREP_MINI,\n dimension: ['100%', '100%'],\n },\n {\n title: 'Enrichment',\n description: 'Explore beyond-school topics like Financial Math, Data Science, etc.',\n infoBackground: 'ORANGE_1',\n animationSource: GIF.ENRICHMENT_MINI,\n dimension: ['100%', '100%'],\n },\n];\n\nconst parentAppDetails: TCircleDetails = [\n {\n title: 'stay \\nconnected',\n description: 'Chat with your tutor and \\nreceive real-time updates.',\n infoBackground: 'BLUE_1',\n animationSource: GIF.STAY_CONNECTED,\n dimension: [233, 250],\n },\n {\n title: 'track \\nprogress',\n description: 'Progress, strengths, and \\nareas of improvement.',\n infoBackground: 'PURPLE_1',\n animationSource: GIF.TRACK_PROGRESS,\n dimension: [233, 250],\n },\n {\n title: 'easy \\nrescheduling',\n description: 'Conveniently change \\nyour class timings.',\n infoBackground: 'GREEN_1',\n animationSource: GIF.EASY_RESCHEDULING,\n dimension: [233, 250],\n },\n];\n\nconst circleDetails: TCircleDetails = [\n {\n title: 'mental \\nmath',\n description: 'Get faster and stay \\nahead in school.',\n animationBackground: 'YELLOW_4',\n infoBackground: 'YELLOW_1',\n animationSource: GIF.SKILLS,\n animationPadding: 25,\n dimension: [200, 200],\n },\n {\n title: 'strategy \\ngames',\n description: 'Train to think deeper \\nand plan ahead',\n animationBackground: 'BLUE_4',\n infoBackground: 'BLUE_1',\n animationSource: GIF.GAMES,\n animationPadding: 25,\n dimension: [200, 200],\n },\n {\n title: 'logic \\npuzzles',\n description: 'Think in new ways, \\nand stay sharp.',\n animationBackground: 'ORANGE_4',\n infoBackground: 'ORANGE_1',\n animationSource: GIF.PUZZLES,\n animationPadding: 25,\n dimension: [200, 200],\n },\n];\n\nexport { goalDetails, goalPlans, parentAppDetails, circleDetails };\n"],"names":["goalDetails","GIF","goalPlans","parentAppDetails","circleDetails"],"mappings":";AAcA,MAAMA,IAA8B;AAAA,EAClC;AAAA,IACE,OAAO;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBC,EAAI;AAAA,IACrB,WAAW,CAAC,QAAQ,MAAM;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,WAAW,CAAC,QAAQ,MAAM;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,WAAW,CAAC,QAAQ,MAAM;AAAA,EAC5B;AACF,GAEMC,IAA4B;AAAA,EAChC;AAAA,IACE,OAAO;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBD,EAAI;AAAA,IACrB,WAAW,CAAC,QAAQ,MAAM;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,aACE;AAAA,IACF,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,WAAW,CAAC,QAAQ,MAAM;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,WAAW,CAAC,QAAQ,MAAM;AAAA,EAC5B;AACF,GAEME,IAAmC;AAAA,EACvC;AAAA,IACE,OAAO;AAAA;AAAA,IACP,aAAa;AAAA;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBF,EAAI;AAAA,IACrB,WAAW,CAAC,KAAK,GAAG;AAAA,EACtB;AAAA,EACA;AAAA,IACE,OAAO;AAAA;AAAA,IACP,aAAa;AAAA;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,WAAW,CAAC,KAAK,GAAG;AAAA,EACtB;AAAA,EACA;AAAA,IACE,OAAO;AAAA;AAAA,IACP,aAAa;AAAA;AAAA,IACb,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,WAAW,CAAC,KAAK,GAAG;AAAA,EACtB;AACF,GAEMG,IAAgC;AAAA,EACpC;AAAA,IACE,OAAO;AAAA;AAAA,IACP,aAAa;AAAA;AAAA,IACb,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,iBAAiBH,EAAI;AAAA,IACrB,kBAAkB;AAAA,IAClB,WAAW,CAAC,KAAK,GAAG;AAAA,EACtB;AAAA,EACA;AAAA,IACE,OAAO;AAAA;AAAA,IACP,aAAa;AAAA;AAAA,IACb,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,kBAAkB;AAAA,IAClB,WAAW,CAAC,KAAK,GAAG;AAAA,EACtB;AAAA,EACA;AAAA,IACE,OAAO;AAAA;AAAA,IACP,aAAa;AAAA;AAAA,IACb,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,iBAAiBA,EAAI;AAAA,IACrB,kBAAkB;AAAA,IAClB,WAAW,CAAC,KAAK,GAAG;AAAA,EACtB;AACF;"}
|
|
@@ -1,89 +1,99 @@
|
|
|
1
|
-
import { jsxs as e, jsx as r, Fragment as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { ILLUSTRATIONS as
|
|
1
|
+
import { jsxs as e, jsx as r, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { memo as N, useMemo as O } from "react";
|
|
3
|
+
import { ILLUSTRATIONS as D } from "../../../../assets/illustrations/illustrations.js";
|
|
4
4
|
import c from "../../../ui/image/image.js";
|
|
5
|
-
import
|
|
5
|
+
import b from "../../../ui/layout/flex-view.js";
|
|
6
6
|
import o from "../../../ui/separator/separator.js";
|
|
7
|
-
import
|
|
7
|
+
import w from "../../../ui/text/text.js";
|
|
8
8
|
import { useTrialSessionContext as x } from "../../context/use-trial-session-context.js";
|
|
9
|
-
import { TrialPageId as t } from "../../trial-session-constants.js";
|
|
10
|
-
import
|
|
11
|
-
import { goalDetails as
|
|
12
|
-
import { Container as
|
|
13
|
-
const
|
|
14
|
-
const { slideConfig:
|
|
9
|
+
import { TrialPageId as t, RIGHT_PANEL_CONTENT_WIDTH as d } from "../../trial-session-constants.js";
|
|
10
|
+
import R from "../slide-header/index.js";
|
|
11
|
+
import { goalPlans as S, goalDetails as W, parentAppDetails as k, circleDetails as H } from "./offering-information-constants.js";
|
|
12
|
+
import { Container as B, Wrapper as p, AnimationWrapper as j, DetailsWrapper as F, TextElement as h, RefundImageWrapper as G } from "./offering-information-styled.js";
|
|
13
|
+
const rr = N(function() {
|
|
14
|
+
const { slideConfig: f } = x(), { id: i } = f, a = O(() => {
|
|
15
15
|
switch (i) {
|
|
16
16
|
case t.CIRCLE_INFORMATION:
|
|
17
|
-
return
|
|
17
|
+
return H;
|
|
18
18
|
case t.PARENT_APP:
|
|
19
|
-
return
|
|
19
|
+
return k;
|
|
20
20
|
case t.GOAL_DETAILS:
|
|
21
|
-
return
|
|
21
|
+
return W;
|
|
22
|
+
case t.GOAL_PLANS:
|
|
23
|
+
return S;
|
|
22
24
|
default:
|
|
23
25
|
return [];
|
|
24
26
|
}
|
|
25
27
|
}, [i]);
|
|
26
|
-
return /* @__PURE__ */ e(
|
|
28
|
+
return /* @__PURE__ */ e(B, { children: [
|
|
27
29
|
/* @__PURE__ */ r(o, { height: 60 }),
|
|
28
|
-
/* @__PURE__ */ r(
|
|
29
|
-
/* @__PURE__ */ r(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
30
|
+
/* @__PURE__ */ r(R, {}),
|
|
31
|
+
/* @__PURE__ */ r(
|
|
32
|
+
p,
|
|
33
|
+
{
|
|
34
|
+
$width: d,
|
|
35
|
+
$flexDirection: "row",
|
|
36
|
+
$justifyContent: "center",
|
|
37
|
+
children: a.length > 0 ? a.map((g, u, $) => {
|
|
38
|
+
const {
|
|
39
|
+
title: l,
|
|
40
|
+
description: n,
|
|
41
|
+
animationBackground: A,
|
|
42
|
+
infoBackground: L,
|
|
43
|
+
animationSource: I,
|
|
44
|
+
animationPadding: T,
|
|
45
|
+
dimension: _
|
|
46
|
+
} = g || {}, [C, E] = _ || [], s = u === $.length - 1;
|
|
47
|
+
return /* @__PURE__ */ e(b, { $flex: 1, children: [
|
|
48
|
+
/* @__PURE__ */ r(
|
|
49
|
+
j,
|
|
50
|
+
{
|
|
51
|
+
$justifyContent: "center",
|
|
52
|
+
$alignItems: "center",
|
|
53
|
+
$borderColor: "BLACK_1",
|
|
54
|
+
$background: A,
|
|
55
|
+
$gap: T,
|
|
56
|
+
$isLastElement: s,
|
|
57
|
+
children: /* @__PURE__ */ r(c, { src: I, width: C, height: E, withLoader: !0 })
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ e(
|
|
61
|
+
F,
|
|
62
|
+
{
|
|
63
|
+
$background: L,
|
|
64
|
+
$gapX: 1.375,
|
|
65
|
+
$gutterX: 2,
|
|
66
|
+
$borderColor: "BLACK_1",
|
|
67
|
+
$isLastElement: s,
|
|
68
|
+
$inherit: !0,
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ r(h, { $renderAs: "ac2-black", children: l }),
|
|
71
|
+
/* @__PURE__ */ r(o, { heightX: 1 }),
|
|
72
|
+
/* @__PURE__ */ r(h, { $renderAs: "ab3", children: typeof n == "string" ? n : n.map((m) => /* @__PURE__ */ r("li", { children: m }, m)) })
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
] }, `offering-${l}`);
|
|
77
|
+
}) : null
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
i === t.PARENT_APP && /* @__PURE__ */ e(P, { children: [
|
|
71
81
|
/* @__PURE__ */ r(o, { height: 50 }),
|
|
72
82
|
/* @__PURE__ */ e(
|
|
73
|
-
|
|
83
|
+
p,
|
|
74
84
|
{
|
|
75
|
-
$width:
|
|
85
|
+
$width: d - 200,
|
|
76
86
|
$gap: 14,
|
|
77
87
|
$gutter: 30,
|
|
78
88
|
$background: "YELLOW_1",
|
|
79
89
|
$borderColor: "BLACK_T_15",
|
|
80
90
|
$position: "relative",
|
|
81
91
|
children: [
|
|
82
|
-
/* @__PURE__ */ r(
|
|
83
|
-
/* @__PURE__ */ r(
|
|
92
|
+
/* @__PURE__ */ r(w, { $renderAs: "ab2", children: "Get 24/7 customer support through this app." }),
|
|
93
|
+
/* @__PURE__ */ r(G, { children: /* @__PURE__ */ r(
|
|
84
94
|
c,
|
|
85
95
|
{
|
|
86
|
-
src:
|
|
96
|
+
src: D.REFUND_POLICY_WITH_HEADPHONE,
|
|
87
97
|
width: 135,
|
|
88
98
|
height: 80,
|
|
89
99
|
withLoader: !0
|
|
@@ -96,6 +106,6 @@ const Q = P(function() {
|
|
|
96
106
|
] });
|
|
97
107
|
});
|
|
98
108
|
export {
|
|
99
|
-
|
|
109
|
+
rr as default
|
|
100
110
|
};
|
|
101
111
|
//# sourceMappingURL=offering-information.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offering-information.js","sources":["../../../../../src/features/trial-session/comps/offering-information/offering-information.tsx"],"sourcesContent":["import { memo, useMemo } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { TrialPageId } from '../../trial-session-constants';\nimport SlideHeader from '../slide-header';\nimport {
|
|
1
|
+
{"version":3,"file":"offering-information.js","sources":["../../../../../src/features/trial-session/comps/offering-information/offering-information.tsx"],"sourcesContent":["import { memo, useMemo } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { RIGHT_PANEL_CONTENT_WIDTH, TrialPageId } from '../../trial-session-constants';\nimport SlideHeader from '../slide-header';\nimport {\n circleDetails,\n goalDetails,\n goalPlans,\n parentAppDetails,\n} from './offering-information-constants';\nimport * as Styled from './offering-information-styled';\n\nconst OfferingInformation = memo(function OfferingInformation() {\n const { slideConfig } = useTrialSessionContext();\n const { id } = slideConfig;\n\n const offeringDetails = useMemo(() => {\n switch (id) {\n case TrialPageId.CIRCLE_INFORMATION:\n return circleDetails;\n case TrialPageId.PARENT_APP:\n return parentAppDetails;\n case TrialPageId.GOAL_DETAILS:\n return goalDetails;\n case TrialPageId.GOAL_PLANS:\n return goalPlans;\n default:\n return [];\n }\n }, [id]);\n\n return (\n <Styled.Container>\n <Separator height={60} />\n <SlideHeader />\n <Styled.Wrapper\n $width={RIGHT_PANEL_CONTENT_WIDTH}\n $flexDirection=\"row\"\n $justifyContent=\"center\"\n >\n {offeringDetails.length > 0\n ? offeringDetails.map((details, index, detailsArray) => {\n const {\n title,\n description,\n animationBackground,\n infoBackground,\n animationSource,\n animationPadding,\n dimension,\n } = details || {};\n const [width, height] = dimension || [];\n const lastElement = index === detailsArray.length - 1;\n\n return (\n <FlexView key={`offering-${title}`} $flex={1}>\n <Styled.AnimationWrapper\n $justifyContent=\"center\"\n $alignItems=\"center\"\n $borderColor=\"BLACK_1\"\n $background={animationBackground}\n $gap={animationPadding}\n $isLastElement={lastElement}\n >\n <Image src={animationSource} width={width} height={height} withLoader />\n </Styled.AnimationWrapper>\n <Styled.DetailsWrapper\n $background={infoBackground}\n $gapX={1.375}\n $gutterX={2}\n $borderColor=\"BLACK_1\"\n $isLastElement={lastElement}\n $inherit\n >\n <Styled.TextElement $renderAs=\"ac2-black\">{title}</Styled.TextElement>\n <Separator heightX={1} />\n <Styled.TextElement $renderAs=\"ab3\">\n {typeof description === 'string'\n ? description\n : description.map(desc => <li key={desc}>{desc}</li>)}\n </Styled.TextElement>\n </Styled.DetailsWrapper>\n </FlexView>\n );\n })\n : null}\n </Styled.Wrapper>\n {id === TrialPageId.PARENT_APP && (\n <>\n <Separator height={50} />\n <Styled.Wrapper\n $width={RIGHT_PANEL_CONTENT_WIDTH - 200}\n $gap={14}\n $gutter={30}\n $background=\"YELLOW_1\"\n $borderColor=\"BLACK_T_15\"\n $position=\"relative\"\n >\n <Text $renderAs=\"ab2\">Get 24/7 customer support through this app.</Text>\n <Styled.RefundImageWrapper>\n <Image\n src={ILLUSTRATIONS.REFUND_POLICY_WITH_HEADPHONE}\n width={135}\n height={80}\n withLoader\n />\n </Styled.RefundImageWrapper>\n </Styled.Wrapper>\n </>\n )}\n </Styled.Container>\n );\n});\n\nexport default OfferingInformation;\n"],"names":["OfferingInformation","memo","slideConfig","useTrialSessionContext","id","offeringDetails","useMemo","TrialPageId","circleDetails","parentAppDetails","goalDetails","goalPlans","jsxs","Styled.Container","jsx","Separator","SlideHeader","Styled.Wrapper","RIGHT_PANEL_CONTENT_WIDTH","details","index","detailsArray","title","description","animationBackground","infoBackground","animationSource","animationPadding","dimension","width","height","lastElement","FlexView","Styled.AnimationWrapper","Image","Styled.DetailsWrapper","Styled.TextElement","desc","Fragment","Text","Styled.RefundImageWrapper","ILLUSTRATIONS"],"mappings":"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"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import o from "styled-components";
|
|
2
2
|
import r from "../../../ui/layout/flex-view.js";
|
|
3
|
-
|
|
3
|
+
import { RIGHT_PANEL_CONTENT_WIDTH as i } from "../../trial-session-constants.js";
|
|
4
|
+
const a = o.div`
|
|
4
5
|
width: 100%;
|
|
5
6
|
height: 100%;
|
|
6
|
-
`,
|
|
7
|
+
`, l = o(r)(
|
|
7
8
|
({ $readOnly: t }) => `
|
|
8
|
-
width:
|
|
9
|
+
width: ${i}px;
|
|
9
10
|
margin: auto;
|
|
10
11
|
${t ? "pointer-events: none;" : ""}
|
|
11
12
|
`
|
|
12
|
-
),
|
|
13
|
+
), g = o.div(
|
|
13
14
|
({ theme: t }) => `
|
|
14
15
|
position: relative;
|
|
15
16
|
width: ${t.layout.gutter * 18.75}px;
|
|
@@ -23,14 +24,14 @@ const n = o.div`
|
|
|
23
24
|
bottom: 0;
|
|
24
25
|
}
|
|
25
26
|
`
|
|
26
|
-
),
|
|
27
|
+
), s = o(r)`
|
|
27
28
|
flex-grow: 1;
|
|
28
29
|
border-left: none;
|
|
29
30
|
`;
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
a as Container,
|
|
33
|
+
l as ContentWrapper,
|
|
34
|
+
g as ImageWrapper,
|
|
35
|
+
s as InputContainer
|
|
35
36
|
};
|
|
36
37
|
//# sourceMappingURL=school-goals-styled.js.map
|