@cuemath/leap 3.5.59 → 3.5.60-link0
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/homework/homework-card-view.js +43 -43
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +44 -46
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +39 -41
- package/dist/features/homework/hw-card-list/hw-card-list-view.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 +201 -164
- 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/worksheet-store/helpers/get-computed-properties.js +36 -35
- package/dist/features/worksheet/worksheet/worksheet-store/helpers/get-computed-properties.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-store/helpers/get-questions-from-items.js +61 -58
- package/dist/features/worksheet/worksheet/worksheet-store/helpers/get-questions-from-items.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.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 +13 -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":"school-goals.js","sources":["../../../../../src/features/trial-session/comps/school-goals/school-goals.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useMemo, type InputHTMLAttributes } from 'react';\n\nimport { ENROLLMENT_TYPES, GOAL_CATEGORY } from '../../../milestone/constants';\nimport { getCategorizedCurriculumStandards } from '../../../milestone/create/comps/class-details-step/class-details-utils';\nimport {\n getGoalsFromConfig,\n getGradesFromConfig,\n} from '../../../milestone/create/milestone-create-helpers';\nimport type { ISelectOption } from '../../../ui/inputs/base-select-input/base-select-input-types';\nimport { epochTimestampAfterOneYear } from '../../../utils/utils';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { isPLASource, updateGoalInFormData } from '../../helper';\nimport SchoolGoalsView from './school-goals-view';\nimport { HIGH_ENROLLMENT_PROGRAMS_MAP } from '../../trial-session-constants';\n\nconst SchoolGoals = memo(function SchoolGoals() {\n const {\n milestoneConfig,\n formData,\n updateSlideConfig,\n updateButtonState,\n onRemoveOptionalSlides,\n trialHomeData,\n buttonState,\n } = useTrialSessionContext();\n const { name, grade, goals, curriculum, numberInNameError } = formData || {};\n\n const { demo_info: demoInfo, intel_student: intelStudent, student } = trialHomeData;\n const { enrollment_type: enrollmentType } = student || {};\n const { stream, region_data: regionData } = demoInfo || {};\n const { opportunity_country: countryCode = 'US' } = regionData || {};\n const grades = getGradesFromConfig(milestoneConfig);\n const isPLA = isPLASource(intelStudent?.source);\n const highEnrollmentPrograms = Object.keys(HIGH_ENROLLMENT_PROGRAMS_MAP);\n\n const curriculumStandards = useMemo(\n () =>\n getCategorizedCurriculumStandards(milestoneConfig, {\n countryCode,\n grade: grade ?? '',\n goalCategory: GOAL_CATEGORY.SCHOOL_SUCCESS,\n courseStream: stream,\n enrollmentType: enrollmentType,\n flow: 'CREATE',\n }),\n [milestoneConfig, countryCode, grade, stream, enrollmentType],\n );\n\n const goalsList = useMemo(\n () =>\n getGoalsFromConfig(milestoneConfig, {\n countryCode,\n grade: grade ?? '',\n goalCategory: GOAL_CATEGORY.SCHOOL_SUCCESS,\n courseStream: stream,\n curriculumStandard: curriculum,\n enrollmentType: enrollmentType,\n }),\n [milestoneConfig, countryCode, grade, stream, curriculum, enrollmentType],\n );\n\n const { goal_code: selectedGoal } = useMemo(\n () => goals?.find(goal => goal.goal_category === GOAL_CATEGORY.SCHOOL_SUCCESS) ?? {},\n [goals],\n );\n\n const hasRequiredFields = Boolean(name && grade && curriculum && selectedGoal);\n\n const handleNameChange = useCallback<\n NonNullable<InputHTMLAttributes<HTMLInputElement>['onChange']>\n >(\n event => {\n updateSlideConfig({\n name: event.target.value,\n numberInNameError: false,\n });\n },\n [updateSlideConfig],\n );\n\n const handleGoalChange = useCallback(\n (value: string, option: ISelectOption<string | number>) => {\n const { label, programCode } = option;\n\n const updatedGoals = updateGoalInFormData(goals, GOAL_CATEGORY.SCHOOL_SUCCESS, {\n goal_code: value,\n milestone_name: label,\n milestone_date_ts: epochTimestampAfterOneYear(),\n publish: isPLA,\n program_code: programCode as string,\n });\n\n const enrollmentToUpdate = highEnrollmentPrograms.includes(programCode as string)\n ? ENROLLMENT_TYPES.HIGH\n : undefined;\n\n updateSlideConfig({\n goals: updatedGoals,\n enrollmentType: enrollmentToUpdate,\n });\n },\n [goals, isPLA, updateSlideConfig, highEnrollmentPrograms],\n );\n\n const handleCurriculumChange = useCallback(\n (value: string) =>\n updateSlideConfig({ curriculum: value, goals: [], enrollmentType: undefined }),\n [updateSlideConfig],\n );\n\n const handleGradeChange = useCallback(\n (value: string) => {\n updateSlideConfig({ grade: value, curriculum: '', goals: [], enrollmentType: undefined });\n },\n [updateSlideConfig],\n );\n\n useEffect(() => {\n updateButtonState('right', { isDisabled: !hasRequiredFields, isLoading: false });\n }, [hasRequiredFields, updateButtonState]);\n\n useEffect(() => {\n if (grade) {\n onRemoveOptionalSlides?.(grade, selectedGoal);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [grade, selectedGoal]);\n\n useEffect(() => {\n // If there is only one goal in the list, set it as the selected goal\n // and update the form data with the goal code, milestone name, and date\n const defaultGoal = goalsList.length === 1 ? goalsList[0] : undefined;\n\n if (defaultGoal && defaultGoal.id) {\n const goalToUpdate = updateGoalInFormData(goals, GOAL_CATEGORY.SCHOOL_SUCCESS, {\n goal_code: defaultGoal.id,\n milestone_name: defaultGoal.label,\n milestone_date_ts: epochTimestampAfterOneYear(),\n publish: isPLA,\n program_code: defaultGoal.programCode,\n });\n\n const enrollmentToUpdate = highEnrollmentPrograms.includes(defaultGoal?.programCode ?? '')\n ? ENROLLMENT_TYPES.HIGH\n : undefined;\n\n updateSlideConfig({\n goals: goalToUpdate,\n enrollmentType: enrollmentToUpdate,\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [goalsList, isPLA]);\n\n return (\n <SchoolGoalsView\n name={name}\n grade={grade}\n grades={grades}\n buttonState={buttonState}\n goalsList={goalsList}\n curriculum={curriculum}\n selectedGoal={selectedGoal}\n numberInNameError={numberInNameError}\n curriculumStandards={curriculumStandards}\n onNameChange={handleNameChange}\n onGoalChange={handleGoalChange}\n onGradeChange={handleGradeChange}\n onCurriculumChange={handleCurriculumChange}\n />\n );\n});\n\nexport default SchoolGoals;\n"],"names":["SchoolGoals","memo","milestoneConfig","formData","updateSlideConfig","updateButtonState","onRemoveOptionalSlides","trialHomeData","buttonState","useTrialSessionContext","name","grade","goals","curriculum","numberInNameError","demoInfo","intelStudent","student","enrollmentType","stream","regionData","countryCode","grades","getGradesFromConfig","isPLA","isPLASource","highEnrollmentPrograms","HIGH_ENROLLMENT_PROGRAMS_MAP","curriculumStandards","useMemo","getCategorizedCurriculumStandards","GOAL_CATEGORY","goalsList","getGoalsFromConfig","selectedGoal","goal","hasRequiredFields","handleNameChange","useCallback","event","handleGoalChange","value","option","label","programCode","updatedGoals","updateGoalInFormData","epochTimestampAfterOneYear","enrollmentToUpdate","ENROLLMENT_TYPES","handleCurriculumChange","handleGradeChange","useEffect","defaultGoal","goalToUpdate","jsx","SchoolGoalsView"],"mappings":";;;;;;;;;;AAeM,MAAAA,KAAcC,EAAK,WAAuB;AACxC,QAAA;AAAA,IACJ,iBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,aAAAC;AAAA,MACEC,EAAuB,GACrB,EAAE,MAAAC,GAAM,OAAAC,GAAO,OAAAC,GAAO,YAAAC,GAAY,mBAAAC,EAAkB,IAAIX,KAAY,IAEpE,EAAE,WAAWY,GAAU,eAAeC,GAAc,SAAAC,EAAY,IAAAV,GAChE,EAAE,iBAAiBW,MAAmBD,KAAW,CAAA,GACjD,EAAE,QAAAE,GAAQ,aAAaC,EAAW,IAAIL,KAAY,CAAA,GAClD,EAAE,qBAAqBM,IAAc,KAAK,IAAID,KAAc,CAAA,GAC5DE,IAASC,EAAoBrB,CAAe,GAC5CsB,IAAQC,EAAYT,KAAA,gBAAAA,EAAc,MAAM,GACxCU,IAAyB,OAAO,KAAKC,CAA4B,GAEj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gBN;AAAA,MAAA,CACjB;AAAA,IACH;AAAA,EAAA,GAEC,CAAChB,GAAWR,CAAK,CAAC,GAGnB,gBAAA+B;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAA9C;AAAA,MACA,OAAAC;AAAA,MACA,QAAAW;AAAA,MACA,aAAAd;AAAA,MACA,WAAAwB;AAAA,MACA,YAAAnB;AAAA,MACA,cAAAqB;AAAA,MACA,mBAAApB;AAAA,MACA,qBAAAc;AAAA,MACA,cAAcS;AAAA,MACd,cAAcG;AAAA,MACd,eAAeW;AAAA,MACf,oBAAoBD;AAAA,IAAA;AAAA,EAAA;AAG1B,CAAC;"}
|
|
1
|
+
{"version":3,"file":"school-goals.js","sources":["../../../../../src/features/trial-session/comps/school-goals/school-goals.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useMemo, type InputHTMLAttributes } from 'react';\n\nimport { ENROLLMENT_TYPES, GOAL_CATEGORY } from '../../../milestone/constants';\nimport { getCategorizedCurriculumStandards } from '../../../milestone/create/comps/class-details-step/class-details-utils';\nimport {\n getGoalsFromConfig,\n getGradesFromConfig,\n} from '../../../milestone/create/milestone-create-helpers';\nimport type { ISelectOption } from '../../../ui/inputs/base-select-input/base-select-input-types';\nimport { epochTimestampAfterOneYear } from '../../../utils/utils';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport { isPLASource, updateGoalInFormData } from '../../helper';\nimport SchoolGoalsView from './school-goals-view';\nimport { HIGH_ENROLLMENT_PROGRAMS_MAP } from '../../trial-session-constants';\n\nconst SchoolGoals = memo(function SchoolGoals() {\n const {\n demoType,\n milestoneConfig,\n formData,\n updateSlideConfig,\n updateButtonState,\n onRemoveOptionalSlides,\n trialHomeData,\n buttonState,\n } = useTrialSessionContext();\n const { name, grade, goals, curriculum, numberInNameError } = formData || {};\n\n const { demo_info: demoInfo, intel_student: intelStudent, student } = trialHomeData;\n const { enrollment_type: enrollmentType } = student || {};\n const { stream, region_data: regionData } = demoInfo || {};\n const { opportunity_country: countryCode = 'US' } = regionData || {};\n const grades = getGradesFromConfig(milestoneConfig);\n const isPLA = isPLASource(intelStudent?.source);\n const highEnrollmentPrograms = Object.keys(HIGH_ENROLLMENT_PROGRAMS_MAP);\n\n const curriculumStandards = useMemo(\n () =>\n getCategorizedCurriculumStandards(milestoneConfig, {\n countryCode,\n grade: grade ?? '',\n goalCategory: GOAL_CATEGORY.SCHOOL_SUCCESS,\n courseStream: stream,\n enrollmentType: enrollmentType,\n flow: 'CREATE',\n }),\n [milestoneConfig, countryCode, grade, stream, enrollmentType],\n );\n\n const goalsList = useMemo(\n () =>\n getGoalsFromConfig(milestoneConfig, {\n countryCode,\n grade: grade ?? '',\n goalCategory: GOAL_CATEGORY.SCHOOL_SUCCESS,\n courseStream: stream,\n curriculumStandard: curriculum,\n enrollmentType: enrollmentType,\n }),\n [milestoneConfig, countryCode, grade, stream, curriculum, enrollmentType],\n );\n\n const { goal_code: selectedGoal } = useMemo(\n () => goals?.find(goal => goal.goal_category === GOAL_CATEGORY.SCHOOL_SUCCESS) ?? {},\n [goals],\n );\n\n const hasRequiredFields = Boolean(name && grade && curriculum && selectedGoal);\n\n const handleNameChange = useCallback<\n NonNullable<InputHTMLAttributes<HTMLInputElement>['onChange']>\n >(\n event => {\n updateSlideConfig({\n name: event.target.value,\n numberInNameError: false,\n });\n },\n [updateSlideConfig],\n );\n\n const handleGoalChange = useCallback(\n (value: string, option: ISelectOption<string | number>) => {\n const { label, programCode } = option;\n\n const updatedGoals = updateGoalInFormData(goals, GOAL_CATEGORY.SCHOOL_SUCCESS, {\n goal_code: value,\n milestone_name: label,\n milestone_date_ts: epochTimestampAfterOneYear(),\n publish: isPLA,\n program_code: programCode as string,\n });\n\n const enrollmentToUpdate = highEnrollmentPrograms.includes(programCode as string)\n ? ENROLLMENT_TYPES.HIGH\n : undefined;\n\n updateSlideConfig({\n goals: updatedGoals,\n enrollmentType: enrollmentToUpdate,\n });\n },\n [goals, isPLA, updateSlideConfig, highEnrollmentPrograms],\n );\n\n const handleCurriculumChange = useCallback(\n (value: string) =>\n updateSlideConfig({ curriculum: value, goals: [], enrollmentType: undefined }),\n [updateSlideConfig],\n );\n\n const handleGradeChange = useCallback(\n (value: string) => {\n updateSlideConfig({ grade: value, curriculum: '', goals: [], enrollmentType: undefined });\n },\n [updateSlideConfig],\n );\n\n useEffect(() => {\n updateButtonState('right', { isDisabled: !hasRequiredFields, isLoading: false });\n }, [hasRequiredFields, updateButtonState]);\n\n useEffect(() => {\n if (grade) {\n onRemoveOptionalSlides?.(grade, selectedGoal);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [grade, selectedGoal]);\n\n useEffect(() => {\n // If there is only one goal in the list, set it as the selected goal\n // and update the form data with the goal code, milestone name, and date\n const defaultGoal = goalsList.length === 1 ? goalsList[0] : undefined;\n\n if (defaultGoal && defaultGoal.id) {\n const goalToUpdate = updateGoalInFormData(goals, GOAL_CATEGORY.SCHOOL_SUCCESS, {\n goal_code: defaultGoal.id,\n milestone_name: defaultGoal.label,\n milestone_date_ts: epochTimestampAfterOneYear(),\n publish: isPLA,\n program_code: defaultGoal.programCode,\n });\n\n const enrollmentToUpdate = highEnrollmentPrograms.includes(defaultGoal?.programCode ?? '')\n ? ENROLLMENT_TYPES.HIGH\n : undefined;\n\n updateSlideConfig({\n goals: goalToUpdate,\n enrollmentType: enrollmentToUpdate,\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [goalsList, isPLA]);\n\n return (\n <SchoolGoalsView\n name={name}\n grade={grade}\n grades={grades}\n demoType={demoType}\n buttonState={buttonState}\n goalsList={goalsList}\n curriculum={curriculum}\n selectedGoal={selectedGoal}\n numberInNameError={numberInNameError}\n curriculumStandards={curriculumStandards}\n onNameChange={handleNameChange}\n onGoalChange={handleGoalChange}\n onGradeChange={handleGradeChange}\n onCurriculumChange={handleCurriculumChange}\n />\n );\n});\n\nexport default SchoolGoals;\n"],"names":["SchoolGoals","memo","demoType","milestoneConfig","formData","updateSlideConfig","updateButtonState","onRemoveOptionalSlides","trialHomeData","buttonState","useTrialSessionContext","name","grade","goals","curriculum","numberInNameError","demoInfo","intelStudent","student","enrollmentType","stream","regionData","countryCode","grades","getGradesFromConfig","isPLA","isPLASource","highEnrollmentPrograms","HIGH_ENROLLMENT_PROGRAMS_MAP","curriculumStandards","useMemo","getCategorizedCurriculumStandards","GOAL_CATEGORY","goalsList","getGoalsFromConfig","selectedGoal","goal","hasRequiredFields","handleNameChange","useCallback","event","handleGoalChange","value","option","label","programCode","updatedGoals","updateGoalInFormData","epochTimestampAfterOneYear","enrollmentToUpdate","ENROLLMENT_TYPES","handleCurriculumChange","handleGradeChange","useEffect","defaultGoal","goalToUpdate","jsx","SchoolGoalsView"],"mappings":";;;;;;;;;;AAeM,MAAAA,KAAcC,EAAK,WAAuB;AACxC,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,aAAAC;AAAA,MACEC,EAAuB,GACrB,EAAE,MAAAC,GAAM,OAAAC,GAAO,OAAAC,GAAO,YAAAC,GAAY,mBAAAC,EAAkB,IAAIX,KAAY,IAEpE,EAAE,WAAWY,GAAU,eAAeC,GAAc,SAAAC,EAAY,IAAAV,GAChE,EAAE,iBAAiBW,MAAmBD,KAAW,CAAA,GACjD,EAAE,QAAAE,GAAQ,aAAaC,EAAW,IAAIL,KAAY,CAAA,GAClD,EAAE,qBAAqBM,IAAc,KAAK,IAAID,KAAc,CAAA,GAC5DE,IAASC,EAAoBrB,CAAe,GAC5CsB,IAAQC,EAAYT,KAAA,gBAAAA,EAAc,MAAM,GACxCU,IAAyB,OAAO,KAAKC,CAA4B,GAEjEC,IAAsBC;AAAA,IAC1B,MACEC,EAAkC5B,GAAiB;AAAA,MACjD,aAAAmB;AAAA,MACA,OAAOV,KAAS;AAAA,MAChB,cAAcoB,EAAc;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AAAA,MACC,MAAA9C;AAAA,MACA,OAAAC;AAAA,MACA,QAAAW;AAAA,MACA,UAAArB;AAAA,MACA,aAAAO;AAAA,MACA,WAAAwB;AAAA,MACA,YAAAnB;AAAA,MACA,cAAAqB;AAAA,MACA,mBAAApB;AAAA,MACA,qBAAAc;AAAA,MACA,cAAcS;AAAA,MACd,cAAcG;AAAA,MACd,eAAeW;AAAA,MACf,oBAAoBD;AAAA,IAAA;AAAA,EAAA;AAG1B,CAAC;"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
height: 100%;
|
|
6
|
-
width: 100%;
|
|
7
|
-
`, l = t(i)`
|
|
8
|
-
margin: auto;
|
|
9
|
-
`;
|
|
10
|
-
t.img`
|
|
1
|
+
import i from "styled-components";
|
|
2
|
+
import o from "../../../ui/layout/flex-view.js";
|
|
3
|
+
import t from "../../../ui/text/text.js";
|
|
4
|
+
i.img`
|
|
11
5
|
width: 100%;
|
|
12
6
|
max-width: 171px;
|
|
13
7
|
`;
|
|
14
|
-
const
|
|
8
|
+
const l = i(t)`
|
|
15
9
|
display: -webkit-box;
|
|
16
10
|
-webkit-box-orient: vertical;
|
|
17
11
|
-webkit-line-clamp: 2;
|
|
@@ -19,15 +13,15 @@ const d = t(o)`
|
|
|
19
13
|
overflow: hidden;
|
|
20
14
|
height: 44px;
|
|
21
15
|
z-index: 1;
|
|
22
|
-
`,
|
|
16
|
+
`, n = i(o)`
|
|
23
17
|
border-top: none;
|
|
24
|
-
`,
|
|
18
|
+
`, x = i(o)`
|
|
25
19
|
position: relative;
|
|
26
20
|
overflow: hidden;
|
|
27
21
|
:first-child {
|
|
28
22
|
right: -23px;
|
|
29
23
|
}
|
|
30
|
-
`,
|
|
24
|
+
`, d = i.div`
|
|
31
25
|
position: absolute;
|
|
32
26
|
top: -15px;
|
|
33
27
|
left: -1px;
|
|
@@ -35,11 +29,9 @@ const d = t(o)`
|
|
|
35
29
|
z-index: -1;
|
|
36
30
|
`;
|
|
37
31
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
x as
|
|
42
|
-
d as TopicName,
|
|
43
|
-
a as TopicWrapper
|
|
32
|
+
d as LottieWrapper,
|
|
33
|
+
n as RatingBlock,
|
|
34
|
+
l as TopicName,
|
|
35
|
+
x as TopicWrapper
|
|
44
36
|
};
|
|
45
37
|
//# sourceMappingURL=session-insights-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-insights-styled.js","sources":["../../../../../src/features/trial-session/comps/session-insights/session-insights-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\n\nconst
|
|
1
|
+
{"version":3,"file":"session-insights-styled.js","sources":["../../../../../src/features/trial-session/comps/session-insights/session-insights-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\n\nconst ProficiencyGraph = styled.img`\n width: 100%;\n max-width: 171px;\n`;\n\nconst TopicName = styled(Text)`\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n text-overflow: ellipsis;\n overflow: hidden;\n height: 44px;\n z-index: 1;\n`;\n\nconst RatingBlock = styled(FlexView)`\n border-top: none;\n`;\n\nconst TopicWrapper = styled(FlexView)`\n position: relative;\n overflow: hidden;\n :first-child {\n right: -23px;\n }\n`;\n\nconst LottieWrapper = styled.div`\n position: absolute;\n top: -15px;\n left: -1px;\n right: -1px;\n z-index: -1;\n`;\n\nexport { ProficiencyGraph, TopicName, TopicWrapper, RatingBlock, LottieWrapper };\n"],"names":["styled","TopicName","Text","RatingBlock","FlexView","TopicWrapper","LottieWrapper"],"mappings":";;;AAKyBA,EAAO;AAAA;AAAA;AAAA;AAK1B,MAAAC,IAAYD,EAAOE,CAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAUvBC,IAAcH,EAAOI,CAAQ;AAAA;AAAA,GAI7BC,IAAeL,EAAOI,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQ9BE,IAAgBN,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -1,78 +1,79 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { ILLUSTRATIONS as
|
|
4
|
-
import { LOTTIE as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { memo as A, useCallback as u, useEffect as L } from "react";
|
|
3
|
+
import { ILLUSTRATIONS as h } from "../../../../assets/illustrations/illustrations.js";
|
|
4
|
+
import { LOTTIE as p } from "../../../../assets/lottie/lottie.js";
|
|
5
|
+
import C from "../../../ui/error/error.js";
|
|
6
|
+
import i from "../../../ui/layout/flex-view.js";
|
|
7
7
|
import E from "../../../ui/loader/app-loader/app-loader.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { useGetSessionInsights as
|
|
12
|
-
import { useTrialSessionContext as
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
import S from "../../../ui/lottie-animation/lottie-animation.js";
|
|
9
|
+
import d from "../../../ui/separator/separator.js";
|
|
10
|
+
import n from "../../../ui/text/text.js";
|
|
11
|
+
import { useGetSessionInsights as N } from "../../api/trial-session-report.js";
|
|
12
|
+
import { useTrialSessionContext as R } from "../../context/use-trial-session-context.js";
|
|
13
|
+
import b from "../slide-header/index.js";
|
|
14
|
+
import { TopicWrapper as D, TopicName as w, LottieWrapper as x, RatingBlock as B } from "./session-insights-styled.js";
|
|
15
|
+
import { RIGHT_PANEL_CONTENT_WIDTH as F } from "../../trial-session-constants.js";
|
|
16
|
+
const O = {
|
|
17
|
+
BEGINNER: p.BEGINNER1X,
|
|
18
|
+
FAMILIAR: p.FAMILIAR1X,
|
|
19
|
+
PROFICIENT: p.PROFICIENT1X
|
|
19
20
|
}, j = {
|
|
20
|
-
1:
|
|
21
|
-
2:
|
|
22
|
-
3:
|
|
23
|
-
},
|
|
24
|
-
const { formData:
|
|
25
|
-
data:
|
|
26
|
-
get:
|
|
27
|
-
isProcessing:
|
|
28
|
-
isProcessingFailed:
|
|
29
|
-
} =
|
|
30
|
-
|
|
31
|
-
}, [
|
|
32
|
-
return
|
|
33
|
-
|
|
34
|
-
}, [
|
|
35
|
-
/* @__PURE__ */ e(
|
|
36
|
-
/* @__PURE__ */ e(
|
|
37
|
-
/* @__PURE__ */
|
|
21
|
+
1: h.ONE_STAR_FILLED,
|
|
22
|
+
2: h.TWO_STARS_FILLED,
|
|
23
|
+
3: h.THREE_STARS_FILLED
|
|
24
|
+
}, Y = A(function() {
|
|
25
|
+
const { formData: $ } = R(), { attemptId: c = "kdbkb" } = $ || {}, {
|
|
26
|
+
data: g,
|
|
27
|
+
get: m,
|
|
28
|
+
isProcessing: f,
|
|
29
|
+
isProcessingFailed: I
|
|
30
|
+
} = N(), { topic_aggregation: _ = [], depth_aggregation: T = [] } = g || {}, s = u(() => {
|
|
31
|
+
c && m(c);
|
|
32
|
+
}, [c, m]);
|
|
33
|
+
return L(() => {
|
|
34
|
+
s();
|
|
35
|
+
}, [s]), I ? /* @__PURE__ */ e(C, { height: "70vh", onTryAgain: s }) : f || !g ? /* @__PURE__ */ e(E, { height: "100vh" }) : /* @__PURE__ */ r(i, { $justifyContent: "center", $alignItems: "center", children: [
|
|
36
|
+
/* @__PURE__ */ e(d, { height: 60 }),
|
|
37
|
+
/* @__PURE__ */ e(b, {}),
|
|
38
|
+
/* @__PURE__ */ r(i, { $alignItems: "center", $width: F - 100, $alignSelf: "center", children: [
|
|
38
39
|
/* @__PURE__ */ e(
|
|
39
|
-
|
|
40
|
+
i,
|
|
40
41
|
{
|
|
41
42
|
$flexDirection: "row",
|
|
42
43
|
$justifyContent: "center",
|
|
43
44
|
$borderColor: "BLACK_T_87",
|
|
44
45
|
$width: "100%",
|
|
45
|
-
children:
|
|
46
|
+
children: _.map((a) => {
|
|
46
47
|
const {
|
|
47
|
-
level:
|
|
48
|
-
topic_name:
|
|
48
|
+
level: o,
|
|
49
|
+
topic_name: t,
|
|
49
50
|
level_description: l
|
|
50
|
-
} =
|
|
51
|
-
return /* @__PURE__ */
|
|
52
|
-
|
|
51
|
+
} = a;
|
|
52
|
+
return /* @__PURE__ */ r(
|
|
53
|
+
D,
|
|
53
54
|
{
|
|
54
55
|
$gapX: 1,
|
|
55
56
|
$gutterX: 1,
|
|
56
57
|
$width: "100%",
|
|
57
|
-
$height:
|
|
58
|
+
$height: 240,
|
|
58
59
|
$flexDirection: "column",
|
|
59
60
|
$justifyContent: "space-between",
|
|
60
61
|
children: [
|
|
61
|
-
/* @__PURE__ */ e(
|
|
62
|
-
/* @__PURE__ */ e(
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */ e(
|
|
65
|
-
/* @__PURE__ */ e(
|
|
62
|
+
/* @__PURE__ */ e(w, { title: t, $renderAs: "ab2-bold", $color: "BLACK_T_87", children: t }),
|
|
63
|
+
/* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(S, { height: 272, src: O[o] }) }),
|
|
64
|
+
/* @__PURE__ */ r("div", { children: [
|
|
65
|
+
/* @__PURE__ */ e(n, { $renderAs: "ac4", $color: "BLACK_T_87", children: o }),
|
|
66
|
+
/* @__PURE__ */ e(n, { $renderAs: "ub2", $color: "BLACK_T_60", children: l })
|
|
66
67
|
] })
|
|
67
68
|
]
|
|
68
69
|
},
|
|
69
|
-
|
|
70
|
+
t
|
|
70
71
|
);
|
|
71
72
|
})
|
|
72
73
|
}
|
|
73
74
|
),
|
|
74
75
|
/* @__PURE__ */ e(
|
|
75
|
-
|
|
76
|
+
B,
|
|
76
77
|
{
|
|
77
78
|
$width: "100%",
|
|
78
79
|
$borderColor: "BLACK_T_87",
|
|
@@ -82,17 +83,17 @@ const X = {
|
|
|
82
83
|
$flexGap: 80,
|
|
83
84
|
$background: "WHITE",
|
|
84
85
|
$gap: 25.5,
|
|
85
|
-
children: T.map((
|
|
86
|
+
children: T.map((a) => {
|
|
86
87
|
const {
|
|
87
|
-
star:
|
|
88
|
-
depth_description:
|
|
88
|
+
star: o,
|
|
89
|
+
depth_description: t,
|
|
89
90
|
star_description: l
|
|
90
|
-
} =
|
|
91
|
-
return /* @__PURE__ */
|
|
92
|
-
/* @__PURE__ */ e("img", { src: j[
|
|
93
|
-
/* @__PURE__ */ e(
|
|
91
|
+
} = a;
|
|
92
|
+
return /* @__PURE__ */ r(i, { $width: 88, children: [
|
|
93
|
+
/* @__PURE__ */ e("img", { src: j[o], height: 24, width: 88 }),
|
|
94
|
+
/* @__PURE__ */ e(d, { height: 4 }),
|
|
94
95
|
/* @__PURE__ */ e(
|
|
95
|
-
|
|
96
|
+
i,
|
|
96
97
|
{
|
|
97
98
|
$background: "WHITE_4",
|
|
98
99
|
$gutterX: 0.25,
|
|
@@ -101,12 +102,12 @@ const X = {
|
|
|
101
102
|
$alignItems: "center",
|
|
102
103
|
$width: "fit-content",
|
|
103
104
|
$alignSelf: "center",
|
|
104
|
-
children: /* @__PURE__ */ e(
|
|
105
|
+
children: /* @__PURE__ */ e(n, { $renderAs: "ub3", $color: "BLACK_T_87", children: l })
|
|
105
106
|
}
|
|
106
107
|
),
|
|
107
|
-
/* @__PURE__ */ e(
|
|
108
|
-
/* @__PURE__ */ e(
|
|
109
|
-
] },
|
|
108
|
+
/* @__PURE__ */ e(d, { heightX: 1 }),
|
|
109
|
+
/* @__PURE__ */ e(n, { $renderAs: "ac4", $color: "BLACK_T_87", $align: "center", children: t })
|
|
110
|
+
] }, t);
|
|
110
111
|
})
|
|
111
112
|
}
|
|
112
113
|
)
|
|
@@ -114,6 +115,6 @@ const X = {
|
|
|
114
115
|
] });
|
|
115
116
|
});
|
|
116
117
|
export {
|
|
117
|
-
|
|
118
|
+
Y as default
|
|
118
119
|
};
|
|
119
120
|
//# sourceMappingURL=session-insights.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-insights.js","sources":["../../../../../src/features/trial-session/comps/session-insights/session-insights.tsx"],"sourcesContent":["import { memo, useCallback, useEffect } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport { LOTTIE } from '../../../../assets/lottie/lottie';\nimport Error from '../../../ui/error/error';\nimport FlexView from '../../../ui/layout/flex-view';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport LottieAnimation from '../../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { useGetSessionInsights } from '../../api/trial-
|
|
1
|
+
{"version":3,"file":"session-insights.js","sources":["../../../../../src/features/trial-session/comps/session-insights/session-insights.tsx"],"sourcesContent":["import { memo, useCallback, useEffect } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport { LOTTIE } from '../../../../assets/lottie/lottie';\nimport Error from '../../../ui/error/error';\nimport FlexView from '../../../ui/layout/flex-view';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport LottieAnimation from '../../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { useGetSessionInsights } from '../../api/trial-session-report';\nimport { useTrialSessionContext } from '../../context/use-trial-session-context';\nimport SlideHeader from '../slide-header';\nimport * as Styled from './session-insights-styled';\nimport type { TDepthAggregation, TProficiencyLottieMap } from './session-insights-types';\nimport { RIGHT_PANEL_CONTENT_WIDTH } from '../../trial-session-constants';\n\nconst proficiencyLottieMap: TProficiencyLottieMap = {\n BEGINNER: LOTTIE.BEGINNER1X,\n FAMILIAR: LOTTIE.FAMILIAR1X,\n PROFICIENT: LOTTIE.PROFICIENT1X,\n};\n\nconst STAR_RATING_ICONS: Record<TDepthAggregation['star'], string> = {\n 1: ILLUSTRATIONS.ONE_STAR_FILLED,\n 2: ILLUSTRATIONS.TWO_STARS_FILLED,\n 3: ILLUSTRATIONS.THREE_STARS_FILLED,\n};\n\nconst SessionInsights = memo(function SessionInsights() {\n const { formData } = useTrialSessionContext();\n const { attemptId = 'kdbkb' } = formData || {};\n\n const {\n data: sessionInsights,\n get: getSessionInsights,\n isProcessing,\n isProcessingFailed,\n } = useGetSessionInsights();\n\n const { topic_aggregation: topicAggregation = [], depth_aggregation: depthAggregation = [] } =\n sessionInsights || {};\n\n const fetchData = useCallback(() => {\n if (attemptId) {\n getSessionInsights(attemptId);\n }\n }, [attemptId, getSessionInsights]);\n\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessingFailed) {\n return <Error height=\"70vh\" onTryAgain={fetchData} />;\n }\n\n if (isProcessing || !sessionInsights) {\n return <AppLoader height=\"100vh\" />;\n }\n\n return (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\">\n <Separator height={60} />\n <SlideHeader />\n <FlexView $alignItems=\"center\" $width={RIGHT_PANEL_CONTENT_WIDTH - 100} $alignSelf=\"center\">\n <FlexView\n $flexDirection=\"row\"\n $justifyContent=\"center\"\n $borderColor=\"BLACK_T_87\"\n $width=\"100%\"\n >\n {topicAggregation.map(aggregation => {\n const {\n level,\n topic_name: topicName,\n level_description: levelDescription,\n } = aggregation;\n\n return (\n <Styled.TopicWrapper\n key={topicName}\n $gapX={1}\n $gutterX={1}\n $width=\"100%\"\n $height={240}\n $flexDirection=\"column\"\n $justifyContent=\"space-between\"\n >\n <Styled.TopicName title={topicName} $renderAs=\"ab2-bold\" $color=\"BLACK_T_87\">\n {topicName}\n </Styled.TopicName>\n <Styled.LottieWrapper>\n <LottieAnimation height={272} src={proficiencyLottieMap[level]} />\n </Styled.LottieWrapper>\n <div>\n <Text $renderAs=\"ac4\" $color=\"BLACK_T_87\">\n {level}\n </Text>\n <Text $renderAs=\"ub2\" $color=\"BLACK_T_60\">\n {levelDescription}\n </Text>\n </div>\n </Styled.TopicWrapper>\n );\n })}\n </FlexView>\n <Styled.RatingBlock\n $width=\"100%\"\n $borderColor=\"BLACK_T_87\"\n $flexDirection=\"row\"\n $justifyContent=\"center\"\n $alignItems=\"center\"\n $flexGap={80}\n $background=\"WHITE\"\n $gap={25.5}\n >\n {depthAggregation.map(aggregation => {\n const {\n star,\n depth_description: depthDescription,\n star_description: starDescription,\n } = aggregation;\n\n return (\n <FlexView key={depthDescription} $width={88}>\n <img src={STAR_RATING_ICONS[star]} height={24} width={88} />\n <Separator height={4} />\n <FlexView\n $background=\"WHITE_4\"\n $gutterX={0.25}\n $gap={2}\n $justifyContent=\"center\"\n $alignItems=\"center\"\n $width=\"fit-content\"\n $alignSelf=\"center\"\n >\n <Text $renderAs=\"ub3\" $color=\"BLACK_T_87\">\n {starDescription}\n </Text>\n </FlexView>\n <Separator heightX={1} />\n <Text $renderAs=\"ac4\" $color=\"BLACK_T_87\" $align=\"center\">\n {depthDescription}\n </Text>\n </FlexView>\n );\n })}\n </Styled.RatingBlock>\n </FlexView>\n </FlexView>\n );\n});\n\nexport default SessionInsights;\n"],"names":["proficiencyLottieMap","LOTTIE","STAR_RATING_ICONS","ILLUSTRATIONS","SessionInsights","memo","formData","useTrialSessionContext","attemptId","sessionInsights","getSessionInsights","isProcessing","isProcessingFailed","useGetSessionInsights","topicAggregation","depthAggregation","fetchData","useCallback","useEffect","jsx","Error","AppLoader","jsxs","FlexView","Separator","SlideHeader","RIGHT_PANEL_CONTENT_WIDTH","aggregation","level","topicName","levelDescription","Styled.TopicWrapper","Styled.TopicName","Styled.LottieWrapper","LottieAnimation","Text","Styled.RatingBlock","star","depthDescription","starDescription"],"mappings":";;;;;;;;;;;;;;;AAiBA,MAAMA,IAA8C;AAAA,EAClD,UAAUC,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,YAAYA,EAAO;AACrB,GAEMC,IAA+D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AA;AAAA,kBACC,aAAY;AAAA,kBACZ,UAAU;AAAA,kBACV,MAAM;AAAA,kBACN,iBAAgB;AAAA,kBAChB,aAAY;AAAA,kBACZ,QAAO;AAAA,kBACP,YAAW;AAAA,kBAEX,4BAACY,GAAK,EAAA,WAAU,OAAM,QAAO,cAC1B,UACHI,GAAA;AAAA,gBAAA;AAAA,cACF;AAAA,cACA,gBAAApB,EAACK,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,cACvB,gBAAAL,EAACgB,KAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAC9C,UACHG,EAAA,CAAA;AAAA,YAAA,EAAA,GAnBaA,CAoBf;AAAA,UAAA,CAEH;AAAA,QAAA;AAAA,MACH;AAAA,IAAA,GACF;AAAA,EACF,EAAA,CAAA;AAEJ,CAAC;"}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import r from "styled-components";
|
|
2
|
-
|
|
2
|
+
import { RIGHT_PANEL_CONTENT_WIDTH as i } from "../../trial-session-constants.js";
|
|
3
|
+
const a = r.div`
|
|
3
4
|
width: 100%;
|
|
4
5
|
height: 100%;
|
|
5
|
-
`,
|
|
6
|
-
const { BLACK_T_87:
|
|
6
|
+
`, p = r.div(({ theme: t }) => {
|
|
7
|
+
const { BLACK_T_87: o } = t.colors;
|
|
7
8
|
return `
|
|
8
|
-
width:
|
|
9
|
+
width: ${i - 100}px;
|
|
9
10
|
margin: auto;
|
|
10
|
-
border: 1px solid ${
|
|
11
|
+
border: 1px solid ${o};
|
|
11
12
|
& > *:not(:last-child) {
|
|
12
|
-
border-bottom: 1px solid ${
|
|
13
|
+
border-bottom: 1px solid ${o};
|
|
13
14
|
}
|
|
14
15
|
.period-text {
|
|
15
16
|
margin-left: 23px;
|
|
16
17
|
}
|
|
17
18
|
`;
|
|
18
|
-
}),
|
|
19
|
-
const { gutter: e } =
|
|
19
|
+
}), c = r.div(({ theme: t, $bgImage: o }) => {
|
|
20
|
+
const { gutter: e } = t.layout;
|
|
20
21
|
return `
|
|
21
22
|
width: 100%;
|
|
22
23
|
height: ${350 / 3}px;
|
|
23
24
|
padding: ${e * 2.5}px ${e}px;
|
|
24
|
-
background-image: url(${
|
|
25
|
+
background-image: url(${o});
|
|
25
26
|
background-repeat: no-repeat;
|
|
26
27
|
background-position: right, center;
|
|
27
28
|
background-size: cover;
|
|
28
29
|
`;
|
|
29
30
|
});
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
a as Container,
|
|
33
|
+
c as Goal,
|
|
34
|
+
p as GoalsWrapper
|
|
34
35
|
};
|
|
35
36
|
//# sourceMappingURL=session-overview-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-overview-styled.js","sources":["../../../../../src/features/trial-session/comps/session-overview/session-overview-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\ntype TSessionGoal = {\n $bgImage: string;\n};\n\nconst Container = styled.div`\n width: 100%;\n height: 100%;\n`;\n\nconst GoalsWrapper = styled.div(({ theme }) => {\n const { BLACK_T_87 } = theme.colors;\n\n return `\n width:
|
|
1
|
+
{"version":3,"file":"session-overview-styled.js","sources":["../../../../../src/features/trial-session/comps/session-overview/session-overview-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { RIGHT_PANEL_CONTENT_WIDTH } from '../../trial-session-constants';\n\ntype TSessionGoal = {\n $bgImage: string;\n};\n\nconst Container = styled.div`\n width: 100%;\n height: 100%;\n`;\n\nconst GoalsWrapper = styled.div(({ theme }) => {\n const { BLACK_T_87 } = theme.colors;\n\n return `\n width: ${RIGHT_PANEL_CONTENT_WIDTH - 100}px;\n margin: auto;\n border: 1px solid ${BLACK_T_87};\n & > *:not(:last-child) {\n border-bottom: 1px solid ${BLACK_T_87};\n }\n .period-text {\n margin-left: 23px;\n }\n `;\n});\n\nconst Goal = styled.div<TSessionGoal>(({ theme, $bgImage }) => {\n const { gutter } = theme.layout;\n\n return `\n width: 100%;\n height: ${350 / 3}px;\n padding: ${gutter * 2.5}px ${gutter}px;\n background-image: url(${$bgImage});\n background-repeat: no-repeat;\n background-position: right, center;\n background-size: cover;\n `;\n});\n\nexport { Container, GoalsWrapper, Goal };\n"],"names":["Container","styled","GoalsWrapper","theme","BLACK_T_87","RIGHT_PANEL_CONTENT_WIDTH","Goal","$bgImage","gutter"],"mappings":";;AAQA,MAAMA,IAAYC,EAAO;AAAA;AAAA;AAAA,GAKnBC,IAAeD,EAAO,IAAI,CAAC,EAAE,OAAAE,QAAY;AACvC,QAAA,EAAE,YAAAC,EAAW,IAAID,EAAM;AAEtB,SAAA;AAAA,aACIE,IAA4B,GAAG;AAAA;AAAA,wBAEpBD,CAAU;AAAA;AAAA,iCAEDA,CAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAM3C,CAAC,GAEKE,IAAOL,EAAO,IAAkB,CAAC,EAAE,OAAAE,GAAO,UAAAI,QAAe;AACvD,QAAA,EAAE,QAAAC,EAAO,IAAIL,EAAM;AAElB,SAAA;AAAA;AAAA,cAEK,MAAM,CAAC;AAAA,eACNK,IAAS,GAAG,MAAMA,CAAM;AAAA,4BACXD,CAAQ;AAAA;AAAA;AAAA;AAAA;AAKpC,CAAC;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GIF as e } from "../../../../assets/gif/gif.js";
|
|
2
2
|
import { TrialPageId as r } from "../../trial-session-constants.js";
|
|
3
|
-
const
|
|
3
|
+
const t = [
|
|
4
4
|
{
|
|
5
5
|
title: "Your goals",
|
|
6
6
|
period: "10 min",
|
|
@@ -17,6 +17,22 @@ const s = [
|
|
|
17
17
|
image: e.WAY_FORWARD
|
|
18
18
|
}
|
|
19
19
|
], o = [
|
|
20
|
+
{
|
|
21
|
+
title: "Personalize the session",
|
|
22
|
+
period: "5 min",
|
|
23
|
+
image: e.YOUR_GOALS
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Interactive Learning",
|
|
27
|
+
period: "40 min",
|
|
28
|
+
image: e.LEARNING_SESSION
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "way forward",
|
|
32
|
+
period: "15 min",
|
|
33
|
+
image: e.WAY_FORWARD
|
|
34
|
+
}
|
|
35
|
+
], n = [
|
|
20
36
|
{
|
|
21
37
|
title: "Your goals",
|
|
22
38
|
image: e.YOUR_GOALS,
|
|
@@ -32,11 +48,11 @@ const s = [
|
|
|
32
48
|
image: e.WAY_FORWARD,
|
|
33
49
|
archived: !0
|
|
34
50
|
}
|
|
35
|
-
],
|
|
36
|
-
[r.SESSION_OVERVIEW]: s,
|
|
37
|
-
[r.SESSION_SUMMARY]:
|
|
51
|
+
], O = (i, s) => i ? {
|
|
52
|
+
[r.SESSION_OVERVIEW]: s === "TRIAL_V3" ? t : o,
|
|
53
|
+
[r.SESSION_SUMMARY]: n
|
|
38
54
|
}[i] : void 0;
|
|
39
55
|
export {
|
|
40
|
-
|
|
56
|
+
O as getSessionConfig
|
|
41
57
|
};
|
|
42
58
|
//# sourceMappingURL=session-overview-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-overview-utils.js","sources":["../../../../../src/features/trial-session/comps/session-overview/session-overview-utils.tsx"],"sourcesContent":["import { GIF } from '../../../../assets/gif/gif';\nimport { TrialPageId } from '../../trial-session-constants';\n\ntype TSessionItem = {\n title: string;\n image: string;\n period?: string;\n archived?: boolean;\n};\n\nconst sessionOverview = [\n {\n title: 'Your goals',\n period: '10 min',\n image: GIF.YOUR_GOALS,\n },\n {\n title: 'learning session',\n period: '30 min',\n image: GIF.LEARNING_SESSION,\n },\n {\n title: 'way forward',\n period: '15 min',\n image: GIF.WAY_FORWARD,\n },\n];\n\nconst sessionSummary = [\n {\n title: 'Your goals',\n image: GIF.YOUR_GOALS,\n archived: true,\n },\n {\n title: 'learning session',\n image: GIF.LEARNING_SESSION,\n archived: true,\n },\n {\n title: 'way forward',\n image: GIF.WAY_FORWARD,\n archived: true,\n },\n];\n\nexport const getSessionConfig = (pageId: TrialPageId) => {\n if (!pageId) return;\n\n const sessions: Partial<Record<TrialPageId, TSessionItem[]>> = {\n [TrialPageId.SESSION_OVERVIEW]: sessionOverview,\n [TrialPageId.SESSION_SUMMARY]: sessionSummary,\n };\n\n return sessions[pageId];\n};\n"],"names":["sessionOverview","GIF","sessionSummary","getSessionConfig","pageId","TrialPageId"],"mappings":";;AAUA,MAAMA,IAAkB;AAAA,EACtB;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOC,EAAI;AAAA,EACb;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOA,EAAI;AAAA,EACb;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOA,EAAI;AAAA,EACb;AACF,GAEMC,IAAiB;AAAA,EACrB;AAAA,IACE,OAAO;AAAA,IACP,
|
|
1
|
+
{"version":3,"file":"session-overview-utils.js","sources":["../../../../../src/features/trial-session/comps/session-overview/session-overview-utils.tsx"],"sourcesContent":["import { GIF } from '../../../../assets/gif/gif';\nimport { TrialPageId } from '../../trial-session-constants';\n\ntype TSessionItem = {\n title: string;\n image: string;\n period?: string;\n archived?: boolean;\n};\n\nconst sessionOverview = [\n {\n title: 'Your goals',\n period: '10 min',\n image: GIF.YOUR_GOALS,\n },\n {\n title: 'learning session',\n period: '30 min',\n image: GIF.LEARNING_SESSION,\n },\n {\n title: 'way forward',\n period: '15 min',\n image: GIF.WAY_FORWARD,\n },\n];\n\nconst sessionOverviewV3 = [\n {\n title: 'Personalize the session',\n period: '5 min',\n image: GIF.YOUR_GOALS,\n },\n {\n title: 'Interactive Learning',\n period: '40 min',\n image: GIF.LEARNING_SESSION,\n },\n {\n title: 'way forward',\n period: '15 min',\n image: GIF.WAY_FORWARD,\n },\n];\n\nconst sessionSummary = [\n {\n title: 'Your goals',\n image: GIF.YOUR_GOALS,\n archived: true,\n },\n {\n title: 'learning session',\n image: GIF.LEARNING_SESSION,\n archived: true,\n },\n {\n title: 'way forward',\n image: GIF.WAY_FORWARD,\n archived: true,\n },\n];\n\nexport const getSessionConfig = (pageId: TrialPageId, demoType: string) => {\n if (!pageId) return;\n\n const sessions: Partial<Record<TrialPageId, TSessionItem[]>> = {\n [TrialPageId.SESSION_OVERVIEW]: demoType === 'TRIAL_V3' ? sessionOverview : sessionOverviewV3,\n [TrialPageId.SESSION_SUMMARY]: sessionSummary,\n };\n\n return sessions[pageId];\n};\n"],"names":["sessionOverview","GIF","sessionOverviewV3","sessionSummary","getSessionConfig","pageId","demoType","TrialPageId"],"mappings":";;AAUA,MAAMA,IAAkB;AAAA,EACtB;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOC,EAAI;AAAA,EACb;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOA,EAAI;AAAA,EACb;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOA,EAAI;AAAA,EACb;AACF,GAEMC,IAAoB;AAAA,EACxB;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOD,EAAI;AAAA,EACb;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOA,EAAI;AAAA,EACb;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOA,EAAI;AAAA,EACb;AACF,GAEME,IAAiB;AAAA,EACrB;AAAA,IACE,OAAO;AAAA,IACP,OAAOF,EAAI;AAAA,IACX,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAOA,EAAI;AAAA,IACX,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAOA,EAAI;AAAA,IACX,UAAU;AAAA,EACZ;AACF,GAEaG,IAAmB,CAACC,GAAqBC,MAC/CD,IAE0D;AAAA,EAC7D,CAACE,EAAY,gBAAgB,GAAGD,MAAa,aAAaN,IAAkBE;AAAA,EAC5E,CAACK,EAAY,eAAe,GAAGJ;AAAA,EAGjBE,CAAM,IAPT;"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { memo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import { memo as p } from "react";
|
|
3
|
+
import h from "../../../../assets/line-icons/icons/tick.js";
|
|
4
|
+
import g from "../../../ui/layout/flex-view.js";
|
|
5
|
+
import x from "../../../ui/separator/separator.js";
|
|
6
6
|
import o from "../../../ui/text/text.js";
|
|
7
|
-
import { useTrialSessionContext as
|
|
8
|
-
import
|
|
9
|
-
import { Container as
|
|
10
|
-
import { getSessionConfig as
|
|
11
|
-
const
|
|
12
|
-
const { slideConfig: s } =
|
|
13
|
-
return /* @__PURE__ */ r(
|
|
14
|
-
/* @__PURE__ */ e(
|
|
15
|
-
/* @__PURE__ */ e(
|
|
16
|
-
/* @__PURE__ */ e(
|
|
17
|
-
const { title:
|
|
18
|
-
return /* @__PURE__ */ r(
|
|
7
|
+
import { useTrialSessionContext as $ } from "../../context/use-trial-session-context.js";
|
|
8
|
+
import u from "../slide-header/index.js";
|
|
9
|
+
import { Container as C, GoalsWrapper as S, Goal as v } from "./session-overview-styled.js";
|
|
10
|
+
import { getSessionConfig as w } from "./session-overview-utils.js";
|
|
11
|
+
const D = p(function() {
|
|
12
|
+
const { slideConfig: s, demoType: m } = $(), { id: a } = s || {}, i = w(a, m);
|
|
13
|
+
return /* @__PURE__ */ r(C, { children: [
|
|
14
|
+
/* @__PURE__ */ e(x, { height: 60 }),
|
|
15
|
+
/* @__PURE__ */ e(u, {}),
|
|
16
|
+
/* @__PURE__ */ e(S, { children: i && i.map((c, l) => {
|
|
17
|
+
const { title: t, period: n, image: d, archived: f } = c;
|
|
18
|
+
return /* @__PURE__ */ r(v, { $bgImage: d, children: [
|
|
19
19
|
/* @__PURE__ */ r(
|
|
20
|
-
|
|
20
|
+
g,
|
|
21
21
|
{
|
|
22
22
|
$flexDirection: "row",
|
|
23
23
|
$justifyContent: "flex-start",
|
|
24
24
|
$alignItems: "center",
|
|
25
25
|
$flexGap: 12,
|
|
26
26
|
children: [
|
|
27
|
-
f ? /* @__PURE__ */ e(
|
|
28
|
-
/* @__PURE__ */ e(o, { $renderAs: "ac2", children:
|
|
27
|
+
f ? /* @__PURE__ */ e(h, { height: 24, width: 20, color: "WHITE" }) : /* @__PURE__ */ e(o, { $renderAs: "ac2", children: l + 1 + ". " }),
|
|
28
|
+
/* @__PURE__ */ e(o, { $renderAs: "ac2", children: t })
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
31
|
),
|
|
@@ -35,6 +35,6 @@ const y = d(function() {
|
|
|
35
35
|
] });
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
D as default
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=session-overview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-overview.js","sources":["../../../../../src/features/trial-session/comps/session-overview/session-overview.tsx"],"sourcesContent":["import { memo } from 'react';\n\nimport TickIcon from '../../../../assets/line-icons/icons/tick';\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 SlideHeader from '../slide-header';\nimport * as Styled from './session-overview-styled';\nimport { getSessionConfig } from './session-overview-utils';\n\nconst SessionOverview = memo(function SessionOverview() {\n const { slideConfig } = useTrialSessionContext();\n const { id } = slideConfig || {};\n\n const sessionConfigs = getSessionConfig(id);\n\n return (\n <Styled.Container>\n <Separator height={60} />\n <SlideHeader />\n <Styled.GoalsWrapper>\n {sessionConfigs &&\n sessionConfigs.map((goal, index
|
|
1
|
+
{"version":3,"file":"session-overview.js","sources":["../../../../../src/features/trial-session/comps/session-overview/session-overview.tsx"],"sourcesContent":["import { memo } from 'react';\n\nimport TickIcon from '../../../../assets/line-icons/icons/tick';\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 SlideHeader from '../slide-header';\nimport * as Styled from './session-overview-styled';\nimport { getSessionConfig } from './session-overview-utils';\n\nconst SessionOverview = memo(function SessionOverview() {\n const { slideConfig, demoType } = useTrialSessionContext();\n const { id } = slideConfig || {};\n\n const sessionConfigs = getSessionConfig(id, demoType);\n\n return (\n <Styled.Container>\n <Separator height={60} />\n <SlideHeader />\n <Styled.GoalsWrapper>\n {sessionConfigs &&\n sessionConfigs.map((goal, index) => {\n const { title, period, image, archived } = goal;\n\n return (\n <Styled.Goal key={`goal-${title}`} $bgImage={image}>\n <FlexView\n $flexDirection=\"row\"\n $justifyContent=\"flex-start\"\n $alignItems=\"center\"\n $flexGap={12}\n >\n {archived ? (\n <TickIcon height={24} width={20} color=\"WHITE\" />\n ) : (\n <Text $renderAs=\"ac2\">{index + 1 + '. '}</Text>\n )}\n <Text $renderAs=\"ac2\">{title}</Text>\n </FlexView>\n {period && (\n <Text $renderAs=\"ub2\" className=\"period-text\">\n {period}\n </Text>\n )}\n </Styled.Goal>\n );\n })}\n </Styled.GoalsWrapper>\n </Styled.Container>\n );\n});\n\nexport default SessionOverview;\n"],"names":["SessionOverview","memo","slideConfig","demoType","useTrialSessionContext","id","sessionConfigs","getSessionConfig","jsxs","Styled.Container","jsx","Separator","SlideHeader","Styled.GoalsWrapper","goal","index","title","period","image","archived","Styled.Goal","FlexView","TickIcon","Text"],"mappings":";;;;;;;;;;AAWM,MAAAA,IAAkBC,EAAK,WAA2B;AACtD,QAAM,EAAE,aAAAC,GAAa,UAAAC,EAAS,IAAIC,EAAuB,GACnD,EAAE,IAAAC,EAAA,IAAOH,KAAe,IAExBI,IAAiBC,EAAiBF,GAAIF,CAAQ;AAGlD,SAAA,gBAAAK,EAACC,GAAA,EACC,UAAA;AAAA,IAAC,gBAAAC,EAAAC,GAAA,EAAU,QAAQ,GAAI,CAAA;AAAA,sBACtBC,GAAY,EAAA;AAAA,IACb,gBAAAF,EAACG,GAAA,EACE,eACCP,EAAe,IAAI,CAACQ,GAAMC,MAAU;AAClC,YAAM,EAAE,OAAAC,GAAO,QAAAC,GAAQ,OAAAC,GAAO,UAAAC,MAAaL;AAE3C,aACG,gBAAAN,EAAAY,GAAA,EAAkC,UAAUF,GAC3C,UAAA;AAAA,QAAA,gBAAAV;AAAA,UAACa;AAAA,UAAA;AAAA,YACC,gBAAe;AAAA,YACf,iBAAgB;AAAA,YAChB,aAAY;AAAA,YACZ,UAAU;AAAA,YAET,UAAA;AAAA,cAAAF,IACE,gBAAAT,EAAAY,GAAA,EAAS,QAAQ,IAAI,OAAO,IAAI,OAAM,QAAQ,CAAA,sBAE9CC,GAAK,EAAA,WAAU,OAAO,UAAAR,IAAQ,IAAI,MAAK;AAAA,cAEzC,gBAAAL,EAAAa,GAAA,EAAK,WAAU,OAAO,UAAMP,GAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAC/B;AAAA,QACCC,KACE,gBAAAP,EAAAa,GAAA,EAAK,WAAU,OAAM,WAAU,eAC7B,UACHN,GAAA;AAAA,MAjBc,EAAA,GAAA,QAAQD,CAAK,EAmB/B;AAAA,IAEH,CAAA,GACL;AAAA,EACF,EAAA,CAAA;AAEJ,CAAC;"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import r from "styled-components";
|
|
2
|
+
import t from "../../../ui/layout/flex-view.js";
|
|
3
|
+
import n from "../../../../assets/line-icons/icons/check2.js";
|
|
4
|
+
import p from "../../../../assets/line-icons/icons/bulb2.js";
|
|
5
|
+
import i from "../../../../assets/line-icons/icons/cross.js";
|
|
6
|
+
const d = r.div`
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
overflow: auto;
|
|
10
|
+
`, x = r(t)`
|
|
11
|
+
padding: 26px 14px 26px 44px;
|
|
12
|
+
border-right: 1px solid ${({ theme: o }) => o.colors.BLACK};
|
|
13
|
+
&:not(:last-child) {
|
|
14
|
+
border-bottom: 1px solid ${({ theme: o }) => o.colors.BLACK};
|
|
15
|
+
}
|
|
16
|
+
`, m = r.div(
|
|
17
|
+
({ theme: o }) => `
|
|
18
|
+
height: 1px;
|
|
19
|
+
margin: 24px 0px;
|
|
20
|
+
margin-left: 88px;
|
|
21
|
+
background-image: repeating-linear-gradient(
|
|
22
|
+
to right,
|
|
23
|
+
${o.colors.WHITE_5} 0px,
|
|
24
|
+
${o.colors.WHITE_5} 15px,
|
|
25
|
+
transparent 15px,
|
|
26
|
+
transparent 20px
|
|
27
|
+
);
|
|
28
|
+
&:last-child {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
`
|
|
32
|
+
), b = r(t)`
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
`, g = r(n)(
|
|
37
|
+
({ theme: o }) => `
|
|
38
|
+
border-radius: 14px;
|
|
39
|
+
background-color: ${o.colors.GREEN_5};
|
|
40
|
+
`
|
|
41
|
+
), u = r(p)(
|
|
42
|
+
({ theme: o }) => `
|
|
43
|
+
border-radius: 14px;
|
|
44
|
+
background-color: ${o.colors.YELLOW_5};
|
|
45
|
+
`
|
|
46
|
+
), h = r(i)(
|
|
47
|
+
({ theme: o }) => `
|
|
48
|
+
border-radius: 14px;
|
|
49
|
+
background-color: ${o.colors.RED_4};
|
|
50
|
+
`
|
|
51
|
+
);
|
|
52
|
+
export {
|
|
53
|
+
b as AbsoluteWrapper,
|
|
54
|
+
u as BulbIcon,
|
|
55
|
+
g as CheckIcon,
|
|
56
|
+
d as Container,
|
|
57
|
+
h as CrossIcon,
|
|
58
|
+
m as HorizontalDottedLine,
|
|
59
|
+
x as SummaryWrapper
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=session-progress-summary-styled.js.map
|