@cuemath/leap 3.3.0 → 3.3.2-2.beta-guru-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/gif/gif.js +3 -0
- package/dist/assets/gif/gif.js.map +1 -1
- package/dist/assets/illustrations/illustrations.js +10 -1
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/images/images.js +10 -0
- package/dist/assets/images/images.js.map +1 -1
- package/dist/assets/line-icons/icons/cue-coin.js +182 -0
- package/dist/assets/line-icons/icons/cue-coin.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-common-icon.js +26 -0
- package/dist/assets/line-icons/icons/wins-common-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-epic-icon.js +25 -0
- package/dist/assets/line-icons/icons/wins-epic-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-legendary-icon.js +25 -0
- package/dist/assets/line-icons/icons/wins-legendary-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-mystery-icon.js +105 -0
- package/dist/assets/line-icons/icons/wins-mystery-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-mythic-icon.js +28 -0
- package/dist/assets/line-icons/icons/wins-mythic-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-rare-icon.js +28 -0
- package/dist/assets/line-icons/icons/wins-rare-icon.js.map +1 -0
- package/dist/assets/lottie/lottie.js +10 -3
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/constants/config.js +5 -0
- package/dist/constants/config.js.map +1 -0
- package/dist/constants/country.js +9 -0
- package/dist/constants/country.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +6 -6
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +4 -4
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -1
- package/dist/features/auth/comps/otp-input/otp-input.js +19 -18
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +17 -17
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button.js +26 -24
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +32 -30
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +20 -19
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +9 -9
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +58 -29
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +78 -41
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js +5 -4
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
- package/dist/features/auth/pla-signup/signup-header/signup-header.js +1 -1
- package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +37 -35
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +75 -70
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +55 -50
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +47 -25
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js +16 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js.map +1 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable-view.js +62 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable-view.js.map +1 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable.js +17 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable.js.map +1 -0
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js +19 -18
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-styled.js +7 -7
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js +26 -24
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js +15 -13
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/constants/index.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +130 -69
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +43 -33
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +137 -95
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +36 -31
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -1
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test-styled.js +22 -0
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test.js +141 -0
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test.js.map +1 -0
- package/dist/features/chapters-v2/constants/block-constants.js +7 -5
- package/dist/features/chapters-v2/constants/block-constants.js.map +1 -1
- package/dist/features/chapters-v2/utils/index.js +22 -12
- package/dist/features/chapters-v2/utils/index.js.map +1 -1
- package/dist/features/chapters-v2/utils/sat-sheet-utils.js +12 -0
- package/dist/features/chapters-v2/utils/sat-sheet-utils.js.map +1 -0
- package/dist/features/circle-games/games/web-view/web-view.js +0 -1
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js +86 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js +140 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +8 -4
- package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +23 -29
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +400 -0
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -1
- package/dist/features/milestone/constants.js +13 -10
- package/dist/features/milestone/constants.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js +42 -40
- package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js +70 -64
- package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js +54 -29
- package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js +48 -28
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +79 -76
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/utils.js +97 -94
- package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-step.js +160 -143
- package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js +22 -12
- package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
- package/dist/features/milestone/create/comps/test-type-step/test-type-step.js +64 -59
- package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-container.js +17 -15
- package/dist/features/milestone/create/milestone-create-container.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-helpers.js +170 -153
- package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-styled.js +1 -1
- package/dist/features/milestone/create/milestone-create-styled.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +19 -17
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js +19 -20
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js.map +1 -1
- package/dist/features/parent-dashboard/api/get-student-profile-summary.js +9 -0
- package/dist/features/parent-dashboard/api/get-student-profile-summary.js.map +1 -0
- package/dist/features/parent-dashboard/api/parent-home.js +10 -0
- package/dist/features/parent-dashboard/api/parent-home.js.map +1 -0
- package/dist/features/parent-dashboard/comps/compact-header/compact-header.js +30 -0
- package/dist/features/parent-dashboard/comps/compact-header/compact-header.js.map +1 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-constants.js +25 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-styled.js +15 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js +90 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js.map +1 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-constants.js +19 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-styled.js +32 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice.js +67 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice.js.map +1 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js +42 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js +20 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js.map +1 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js +10 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +42 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +67 -0
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js +24 -0
- package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js +71 -0
- package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js.map +1 -0
- package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js +40 -0
- package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js +44 -0
- package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js +32 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +12 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +44 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +1 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +13 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +28 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +1 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js +43 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js.map +1 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +59 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +86 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-constants.js +26 -0
- package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-styled.js +33 -0
- package/dist/features/parent-dashboard/parent-dashboard-styled.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-types.js +6 -0
- package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-view.js +215 -0
- package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard.js +8 -0
- package/dist/features/parent-dashboard/parent-dashboard.js.map +1 -0
- package/dist/features/sentry/constants/ignored.js +10 -6
- package/dist/features/sentry/constants/ignored.js.map +1 -1
- package/dist/features/sheets/constants/sheet.js +23 -10
- package/dist/features/sheets/constants/sheet.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js +17 -0
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/student-details/class-details/class-details-utils.js +6 -6
- package/dist/features/trial-session/api/course-stream.js.map +1 -1
- package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js +1 -1
- package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js.map +1 -1
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js +66 -60
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js.map +1 -1
- package/dist/features/trial-session/comps/learning-plan/index.js +62 -88
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js +12 -12
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js.map +1 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js +25 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js +43 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +49 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js +29 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js +132 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +11 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +19 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js +127 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +53 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +53 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +56 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js +5 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js +5 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +96 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -0
- package/dist/features/trial-session/comps/school-goals/school-goals.js +25 -24
- package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/report-404/report-404.js +34 -0
- package/dist/features/trial-session/comps/session-report/report-404/report-404.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-card.js +41 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-card.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +39 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information.js +179 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/session-report-styled.js +6 -29
- package/dist/features/trial-session/comps/session-report/session-report-styled.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/session-report.js +44 -174
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js +20 -5
- 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 +59 -126
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/constant.js +10 -0
- package/dist/features/trial-session/comps/student-profile/constant.js.map +1 -0
- package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js +53 -0
- package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js.map +1 -0
- package/dist/features/trial-session/comps/student-profile/student-profile.js +93 -46
- package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js +12 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +121 -42
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +174 -56
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
- package/dist/features/trial-session/comps/worksheet/worksheet.js +23 -23
- package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js +65 -63
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/left-panel/index.js +1 -1
- package/dist/features/trial-session/left-panel/index.js.map +1 -1
- package/dist/features/trial-session/right-panel/slide-components-map.js +32 -32
- package/dist/features/trial-session/right-panel/slide-components-map.js.map +1 -1
- package/dist/features/trial-session/trial-session-constants.js +3 -3
- 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/ui/buttons/icon-button/icon-button.js +32 -29
- package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +5 -3
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-section/select-section.js +12 -11
- package/dist/features/ui/inputs/base-select-input/select-section/select-section.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list-styled.js +2 -7
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list-styled.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +29 -27
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
- package/dist/features/ui/modals/modal.js +30 -28
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js +109 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/belts.js +95 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/belts.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/elements.js +184 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/elements.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js +36 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js +83 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js.map +1 -0
- package/dist/features/wins-dashboard/constants.js +161 -0
- package/dist/features/wins-dashboard/constants.js.map +1 -0
- package/dist/features/wins-dashboard/header/wins-header.js +95 -0
- package/dist/features/wins-dashboard/header/wins-header.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/animated-tabbar.js +66 -0
- package/dist/features/wins-dashboard/student-badges/animated-tabbar.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js +135 -0
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/student-badge.js +168 -0
- package/dist/features/wins-dashboard/student-badges/student-badge.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/student-badges-lists.js +137 -0
- package/dist/features/wins-dashboard/student-badges/student-badges-lists.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js +86 -90
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js +147 -0
- package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-container.js +62 -42
- package/dist/features/worksheet/worksheet/worksheet-container.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +197 -199
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +228 -300
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +34 -34
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +206 -215
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js +33 -33
- package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +30 -28
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js +69 -73
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +30 -79
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +473 -45
- package/dist/index.js +695 -627
- package/dist/index.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +10 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +9 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js +11 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js.map +1 -0
- package/dist/node_modules/date-fns/fromUnixTime.js +9 -0
- package/dist/node_modules/date-fns/fromUnixTime.js.map +1 -0
- package/dist/static/awesome.4239f583.json +1 -0
- package/dist/static/black-belt.81b3ebf9.png +0 -0
- package/dist/static/blue-belt.508a1b4b.png +0 -0
- package/dist/static/{book-checked-green.c275dbd9.svg → book-checked-green.0436b91e.svg} +1 -1
- package/dist/static/brown-belt.09bb7e93.png +0 -0
- package/dist/static/clapping-hands.17e7ecf0.json +1 -0
- package/dist/static/common.9e8ceef1.svg +1 -0
- package/dist/static/community-bulb-yellow-2.f89c30f9.svg +1 -0
- package/dist/static/cool.cd6921bb.json +1 -0
- package/dist/static/epic.37a0265a.svg +1 -0
- package/dist/static/error-responsive.9916ff66.json +1 -0
- package/dist/static/error.dd744fa5.json +1 -0
- package/dist/static/green-belt.5501296f.png +0 -0
- package/dist/static/learning-puzzle-bot.6fe93cf6.svg +1 -0
- package/dist/static/legendary.f15d09ca.svg +1 -0
- package/dist/static/like-button.281a2618.json +1 -0
- package/dist/static/mastered-badge.91d25e92.png +0 -0
- package/dist/static/mystery.81ada5fb.svg +1 -0
- package/dist/static/mythic.58ba0ae0.svg +1 -0
- package/dist/static/orange-belt.1fefcc8c.png +0 -0
- package/dist/static/personalization.7a6c33e8.svg +1 -0
- package/dist/static/personalized-session.b4fd7df8.gif +0 -0
- package/dist/static/purple-belt.e15611b4.png +0 -0
- package/dist/static/rare.1ffaa311.svg +1 -0
- package/dist/static/red-belt.11f841d9.png +0 -0
- package/dist/static/regular-practice.b15f24d9.gif +0 -0
- package/dist/static/star-strike-emoji.c0b31028.json +1 -0
- package/dist/static/stepup.321df6ed.gif +0 -0
- package/dist/static/trophy.5ef1853a.json +1 -0
- package/dist/static/username-responsive.787b5515.json +1 -0
- package/dist/static/username.2c755605.json +1 -0
- package/dist/static/white-belt.ea93103e.png +0 -0
- package/dist/static/yellow-belt.0c47b8cc.png +0 -0
- package/package.json +1 -1
- package/dist/features/trial-session/comps/session-report/report-card.js +0 -26
- package/dist/features/trial-session/comps/session-report/report-card.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
- package/dist/static/error.cbe1ddde.json +0 -1
- package/dist/static/username.9e034d51.json +0 -1
|
@@ -1,149 +1,146 @@
|
|
|
1
|
-
import { jsxs as y, Fragment as
|
|
2
|
-
import { memo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { WORKSHEET_NUDGE_BANNER_HEIGHT as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { getWorksheetDimensions as
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { NudgeBannerWrapper as
|
|
23
|
-
import
|
|
24
|
-
const
|
|
1
|
+
import { jsxs as y, Fragment as rt, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { memo as st, forwardRef as at, useMemo as z, useState as C, useCallback as S, useEffect as T, useLayoutEffect as ct } from "react";
|
|
3
|
+
import dt from "../../../assets/line-icons/icons/check2.js";
|
|
4
|
+
import lt from "../../../assets/line-icons/icons/info2.js";
|
|
5
|
+
import mt from "../../../helpers/get-device-details.js";
|
|
6
|
+
import ut from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
|
|
7
|
+
import ce from "../../ui/layout/flex-view.js";
|
|
8
|
+
import ht from "../../ui/text/text.js";
|
|
9
|
+
import ft from "../user-pointer-pin/user-pin.js";
|
|
10
|
+
import { WORKSHEET_NUDGE_BANNER_HEIGHT as de, TOP_NAVIGATION_HEIGHT as pt, DESMOS_CALC_POSITION as gt } from "./constants.js";
|
|
11
|
+
import bt from "./hooks/use-create-imperative-handle.js";
|
|
12
|
+
import It from "./hooks/use-get-active-question-id.js";
|
|
13
|
+
import Ct from "./hooks/use-time-on-questions.js";
|
|
14
|
+
import St from "./question-tips.js";
|
|
15
|
+
import kt from "./worksheet-action-bar/worksheet-action-bar.js";
|
|
16
|
+
import $t from "./worksheet-blocker/worksheet-blocker.js";
|
|
17
|
+
import { getWorksheetDimensions as Tt, getQuestionsFromItems as vt, getInitialResponses as Et, getLastUnlockedQuestionIndex as le, getInitialQuestionId as wt, getQuestionMetadata as me, scrollToQuestion as x, getRenderableQuestions as Nt, getWorksheetNudgeBannerInfo as Bt } from "./worksheet-helpers.js";
|
|
18
|
+
import At from "./worksheet-navigation/worksheet-navigation.js";
|
|
19
|
+
import yt from "./worksheet-question/worksheet-question.js";
|
|
20
|
+
import Wt from "./worksheet-sidebar/navigator.js";
|
|
21
|
+
import _t from "./worksheet-sidebar/sidebar.js";
|
|
22
|
+
import { NudgeBannerWrapper as Ot, NudgeBannerIcon as ue, WorksheetContainer as Dt, NavigationContainer as Vt, NavigationWrapper as Ht, BlockerWrapper as Mt, DesmosCalcWrapper as xt, ActionbarContainer as Rt, ActionbarWrapper as Pt, StudentWorksheetSideBar as Qt, QuestionsWrapper as Gt } from "./worksheet-styled.js";
|
|
23
|
+
import Ft from "./worksheet-summary/worksheet-summary.js";
|
|
24
|
+
const jt = (he, fe) => {
|
|
25
25
|
const {
|
|
26
26
|
userType: r,
|
|
27
|
-
studentName:
|
|
28
|
-
questionsSignedRequest:
|
|
29
|
-
worksheetName:
|
|
30
|
-
initialResponseId:
|
|
31
|
-
initialItemIndex:
|
|
27
|
+
studentName: pe = "Student",
|
|
28
|
+
questionsSignedRequest: ge,
|
|
29
|
+
worksheetName: J,
|
|
30
|
+
initialResponseId: be,
|
|
31
|
+
initialItemIndex: Ie,
|
|
32
32
|
// learnosityActivityRef,
|
|
33
33
|
learnosityItems: R,
|
|
34
|
-
learnosityResponses:
|
|
34
|
+
learnosityResponses: Ce,
|
|
35
35
|
layout: k,
|
|
36
|
-
background: $e,
|
|
37
36
|
behavior: a,
|
|
38
37
|
updatedResponses: P,
|
|
39
|
-
showNudgeBanner:
|
|
40
|
-
markedAsCompleted:
|
|
38
|
+
showNudgeBanner: Se,
|
|
39
|
+
markedAsCompleted: U,
|
|
41
40
|
onResponseChange: f,
|
|
42
|
-
onBulkResponsesChange:
|
|
41
|
+
onBulkResponsesChange: ke,
|
|
43
42
|
onResponsesChange: Q,
|
|
44
43
|
onMediaStateChange: G,
|
|
45
44
|
onTeacherValidation: Y,
|
|
46
|
-
onOptionalItemAssignment:
|
|
47
|
-
onOptionalItemSkip:
|
|
45
|
+
onOptionalItemAssignment: $e,
|
|
46
|
+
onOptionalItemSkip: Te,
|
|
48
47
|
onExitTicketStart: W,
|
|
49
48
|
onExitTicketSubmit: _,
|
|
50
|
-
onSubmit:
|
|
49
|
+
onSubmit: ve,
|
|
51
50
|
learnosity: p,
|
|
52
51
|
appendedQuestionIds: Z,
|
|
53
|
-
worksheetCompleted:
|
|
54
|
-
userId:
|
|
55
|
-
onPublishStrokes:
|
|
56
|
-
onReceiveStrokes:
|
|
57
|
-
initialStrokesData:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
onSubscribeMouseMove: Ve,
|
|
52
|
+
worksheetCompleted: Ee,
|
|
53
|
+
userId: we,
|
|
54
|
+
onPublishStrokes: Ne,
|
|
55
|
+
onReceiveStrokes: Be,
|
|
56
|
+
initialStrokesData: Ae,
|
|
57
|
+
onHelp: ye,
|
|
58
|
+
onPublishMouseMove: We,
|
|
59
|
+
onSubscribeMouseMove: _e,
|
|
62
60
|
onActiveQuestionChange: F,
|
|
63
|
-
openQuestionFeedbackModal:
|
|
64
|
-
summaryDescription:
|
|
65
|
-
canSubmitWorksheet:
|
|
61
|
+
openQuestionFeedbackModal: Oe,
|
|
62
|
+
summaryDescription: De,
|
|
63
|
+
canSubmitWorksheet: Ve,
|
|
66
64
|
loggerRef: j,
|
|
67
|
-
canResolveDoubt:
|
|
68
|
-
onResolveDoubt:
|
|
69
|
-
onSkip:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
canShowActionBar: qe = !0
|
|
76
|
-
} = pe, { initialQuestion: Xe, navigationMode: m, teacherValidationEnabled: Ke, maximumAttempts: te } = a, {
|
|
65
|
+
canResolveDoubt: He,
|
|
66
|
+
onResolveDoubt: Me,
|
|
67
|
+
onSkip: xe,
|
|
68
|
+
studentId: Re,
|
|
69
|
+
subjectiveProps: Pe,
|
|
70
|
+
canShowActionBar: Qe = !0,
|
|
71
|
+
actionBarRightElement: Ge
|
|
72
|
+
} = he, { initialQuestion: Fe, navigationMode: m, teacherValidationEnabled: je, maximumAttempts: ee } = a, {
|
|
77
73
|
containerStyle: O,
|
|
78
|
-
containerWidth:
|
|
79
|
-
minQuestionHeight:
|
|
80
|
-
minSummaryHeight:
|
|
74
|
+
containerWidth: qe,
|
|
75
|
+
minQuestionHeight: te,
|
|
76
|
+
minSummaryHeight: Le,
|
|
81
77
|
questionsScrollable: D,
|
|
82
|
-
navigationBar:
|
|
78
|
+
navigationBar: Xe,
|
|
83
79
|
topOffset: V,
|
|
84
|
-
renderSideBar:
|
|
85
|
-
showUserPointer:
|
|
86
|
-
|
|
87
|
-
|
|
80
|
+
renderSideBar: Ke,
|
|
81
|
+
showUserPointer: ze = !0,
|
|
82
|
+
questionPadding: Je
|
|
83
|
+
} = k, { actionbarHeight: g, maxQuestionWidth: q, questionsContainerWidth: L } = z(
|
|
84
|
+
() => Tt(R, k),
|
|
88
85
|
[k, R]
|
|
89
|
-
), [t] =
|
|
90
|
-
() =>
|
|
91
|
-
sectioned:
|
|
86
|
+
), [t] = C(
|
|
87
|
+
() => vt(R, {
|
|
88
|
+
sectioned: je && m !== "ADAPTIVE" && m !== "CURRENT",
|
|
92
89
|
adaptive: m === "ADAPTIVE"
|
|
93
90
|
})
|
|
94
|
-
), [c, v] =
|
|
95
|
-
() =>
|
|
96
|
-
), [
|
|
97
|
-
() => m !== "OPEN" ?
|
|
91
|
+
), [c, v] = C(
|
|
92
|
+
() => Ce ?? Et(t)
|
|
93
|
+
), [ie, Ue] = C(!1), u = z(
|
|
94
|
+
() => m !== "OPEN" ? le({
|
|
98
95
|
questions: t,
|
|
99
96
|
responses: c,
|
|
100
97
|
behavior: a,
|
|
101
98
|
userType: r
|
|
102
99
|
}) : t.length - 1,
|
|
103
100
|
[a, m, t, c, r]
|
|
104
|
-
),
|
|
105
|
-
() =>
|
|
101
|
+
), d = t[u], n = c[(d == null ? void 0 : d.response_id) ?? ""], { bannerBackgroundColor: Ye, label: Ze } = Bt(r, !!U), [E] = C(
|
|
102
|
+
() => wt({
|
|
106
103
|
questions: t,
|
|
107
|
-
initialQuestion:
|
|
108
|
-
lastUnlockedQuestionIndex:
|
|
104
|
+
initialQuestion: Fe,
|
|
105
|
+
lastUnlockedQuestionIndex: le({
|
|
109
106
|
questions: t,
|
|
110
107
|
responses: c,
|
|
111
108
|
behavior: a,
|
|
112
109
|
userType: r
|
|
113
110
|
}),
|
|
114
|
-
initialResponseId:
|
|
115
|
-
initialItemIndex:
|
|
111
|
+
initialResponseId: be,
|
|
112
|
+
initialItemIndex: Ie
|
|
116
113
|
})
|
|
117
|
-
), { activeQuestionId:
|
|
118
|
-
() => t.findIndex((e) => e.response_id ===
|
|
119
|
-
[
|
|
120
|
-
), [h,
|
|
114
|
+
), { activeQuestionId: w, setActiveQuestionId: H, intersectionObserver: X } = It(E), l = z(
|
|
115
|
+
() => t.findIndex((e) => e.response_id === w),
|
|
116
|
+
[w, t]
|
|
117
|
+
), [h, K] = C(!1), [ne, N] = C(), [oe, re] = C(!1), se = Ct(a, c, w), et = S(
|
|
121
118
|
(e, s, o) => {
|
|
122
119
|
const b = s === "SIMULATION" ? "simState" : void 0;
|
|
123
120
|
b && (f ? v(($) => {
|
|
124
|
-
const
|
|
125
|
-
if (!
|
|
126
|
-
const
|
|
127
|
-
...
|
|
128
|
-
...$[
|
|
121
|
+
const I = e.response_id, A = me(t, I);
|
|
122
|
+
if (!A) return $;
|
|
123
|
+
const ae = {
|
|
124
|
+
...A,
|
|
125
|
+
...$[I],
|
|
129
126
|
[b]: o
|
|
130
127
|
};
|
|
131
128
|
return f == null || f({
|
|
132
|
-
responseId:
|
|
133
|
-
response:
|
|
129
|
+
responseId: I,
|
|
130
|
+
response: ae,
|
|
134
131
|
isNewAttempt: !1,
|
|
135
132
|
question: e
|
|
136
133
|
}), {
|
|
137
134
|
...$,
|
|
138
|
-
[
|
|
135
|
+
[I]: ae
|
|
139
136
|
};
|
|
140
137
|
}) : G && G(e, s, o));
|
|
141
138
|
},
|
|
142
139
|
[G, f, t]
|
|
143
|
-
),
|
|
140
|
+
), tt = S(
|
|
144
141
|
(e, s) => {
|
|
145
142
|
v((o) => {
|
|
146
|
-
const b =
|
|
143
|
+
const b = me(t, e);
|
|
147
144
|
return b ? {
|
|
148
145
|
...o,
|
|
149
146
|
[e]: {
|
|
@@ -155,7 +152,7 @@ const Xt = (pe, ge) => {
|
|
|
155
152
|
});
|
|
156
153
|
},
|
|
157
154
|
[t]
|
|
158
|
-
),
|
|
155
|
+
), B = S(() => {
|
|
159
156
|
N((e) => {
|
|
160
157
|
var s;
|
|
161
158
|
if (e) {
|
|
@@ -167,91 +164,91 @@ const Xt = (pe, ge) => {
|
|
|
167
164
|
});
|
|
168
165
|
}, [u, t]), M = S(
|
|
169
166
|
(e) => {
|
|
170
|
-
|
|
167
|
+
K(!1), D ? requestAnimationFrame(() => x(e)) : H(e);
|
|
171
168
|
},
|
|
172
169
|
[D, H]
|
|
173
|
-
),
|
|
174
|
-
|
|
175
|
-
}, []),
|
|
176
|
-
|
|
177
|
-
}, []),
|
|
178
|
-
|
|
170
|
+
), it = S(() => {
|
|
171
|
+
re(!1);
|
|
172
|
+
}, []), nt = S(() => {
|
|
173
|
+
re(!0);
|
|
174
|
+
}, []), ot = S(() => {
|
|
175
|
+
K(!0);
|
|
179
176
|
}, []);
|
|
180
177
|
return T(() => {
|
|
181
|
-
const e = t[
|
|
178
|
+
const e = t[l];
|
|
182
179
|
e && F && F(e);
|
|
183
|
-
}, [F, t,
|
|
180
|
+
}, [F, t, l]), bt(fe, {
|
|
184
181
|
behavior: a,
|
|
185
182
|
questions: t,
|
|
186
183
|
setResponses: v,
|
|
187
184
|
onResponseChange: f,
|
|
188
|
-
onBulkResponsesChange:
|
|
189
|
-
getTimeSpentOnQuestion:
|
|
185
|
+
onBulkResponsesChange: ke,
|
|
186
|
+
getTimeSpentOnQuestion: se
|
|
190
187
|
}), T(() => () => {
|
|
191
|
-
|
|
192
|
-
}, [
|
|
188
|
+
X.disconnect();
|
|
189
|
+
}, [X]), T(() => {
|
|
193
190
|
Q && c && Q(c);
|
|
194
191
|
}, [Q, c]), T(() => {
|
|
195
192
|
P && v(P);
|
|
196
|
-
}, [P]),
|
|
193
|
+
}, [P]), ct(() => {
|
|
197
194
|
let e;
|
|
198
|
-
return p &&
|
|
199
|
-
x(
|
|
200
|
-
}, 400) : x(
|
|
195
|
+
return p && E && (mt().browser_name === "Safari" ? e = setTimeout(() => {
|
|
196
|
+
x(E);
|
|
197
|
+
}, 400) : x(E)), () => {
|
|
201
198
|
clearTimeout(e);
|
|
202
199
|
};
|
|
203
|
-
}, [p,
|
|
204
|
-
if (a.teacherValidationEnabled &&
|
|
205
|
-
const { item_type: e, instructor_stimulus: s, is_optional: o } =
|
|
206
|
-
r === "TEACHER" && (e === "exit-ticket" && s !== "SystemIntro" ? n != null && n.submittedByStudent && !(n != null && n.validatedByTeacher) ? N("exit-ticket-review-available") : n != null && n.validatedByTeacher ?
|
|
200
|
+
}, [p, E, V]), T(() => {
|
|
201
|
+
if (a.teacherValidationEnabled && d) {
|
|
202
|
+
const { item_type: e, instructor_stimulus: s, is_optional: o } = d;
|
|
203
|
+
r === "TEACHER" && (e === "exit-ticket" && s !== "SystemIntro" ? n != null && n.submittedByStudent && !(n != null && n.validatedByTeacher) ? N("exit-ticket-review-available") : n != null && n.validatedByTeacher ? B() : N("exit-ticket-teacher-intervention") : o ? n != null && n.assignStatus ? B() : N("optional-items-assignment") : o || B());
|
|
207
204
|
}
|
|
208
205
|
}, [
|
|
209
206
|
a.teacherValidationEnabled,
|
|
210
|
-
|
|
211
|
-
|
|
207
|
+
B,
|
|
208
|
+
d,
|
|
212
209
|
n,
|
|
213
210
|
r
|
|
214
211
|
]), T(() => {
|
|
215
|
-
if (a.teacherValidationEnabled &&
|
|
216
|
-
const { item_type: e, instructor_stimulus: s } =
|
|
212
|
+
if (a.teacherValidationEnabled && d) {
|
|
213
|
+
const { item_type: e, instructor_stimulus: s } = d;
|
|
217
214
|
r === "STUDENT" && e === "exit-ticket" && s !== "SystemIntro" && (n != null && n.submittedByStudent ? _ == null || _() : W == null || W());
|
|
218
215
|
}
|
|
219
216
|
}, [
|
|
220
217
|
a.teacherValidationEnabled,
|
|
221
|
-
|
|
218
|
+
d,
|
|
222
219
|
n == null ? void 0 : n.submittedByStudent,
|
|
223
220
|
W,
|
|
224
221
|
_,
|
|
225
222
|
r
|
|
226
|
-
]), p ? /* @__PURE__ */ y(
|
|
227
|
-
|
|
228
|
-
|
|
223
|
+
]), p ? /* @__PURE__ */ y(rt, { children: [
|
|
224
|
+
Se && /* @__PURE__ */ y(
|
|
225
|
+
Ot,
|
|
229
226
|
{
|
|
230
227
|
$flexDirection: "row",
|
|
231
228
|
$justifyContent: "center",
|
|
232
229
|
$alignItems: "center",
|
|
233
230
|
$width: "100%",
|
|
234
231
|
$heightX: 1.75,
|
|
235
|
-
$height:
|
|
232
|
+
$height: de,
|
|
236
233
|
$gap: 8,
|
|
237
234
|
$gutter: 8,
|
|
238
235
|
$flexGap: 8,
|
|
239
|
-
$background:
|
|
240
|
-
$topOffset: k.topOffset -
|
|
236
|
+
$background: Ye,
|
|
237
|
+
$topOffset: k.topOffset - de,
|
|
241
238
|
children: [
|
|
242
|
-
|
|
243
|
-
/* @__PURE__ */ i(
|
|
239
|
+
U ? /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(dt, { width: 16, height: 16 }) }) : /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(lt, { width: 16, height: 16 }) }),
|
|
240
|
+
/* @__PURE__ */ i(ht, { $renderAs: "ub3", children: Ze })
|
|
244
241
|
]
|
|
245
242
|
}
|
|
246
243
|
),
|
|
247
|
-
/* @__PURE__ */ y(
|
|
248
|
-
|
|
249
|
-
|
|
244
|
+
/* @__PURE__ */ y(Dt, { $background: "WHITE_1", $width: qe, children: [
|
|
245
|
+
Xe === "top" && /* @__PURE__ */ i(Vt, { $topOffset: V, $height: pt, children: /* @__PURE__ */ i(Ht, { children: /* @__PURE__ */ i(
|
|
246
|
+
At,
|
|
250
247
|
{
|
|
251
248
|
placement: "top",
|
|
252
249
|
questions: t,
|
|
253
250
|
responses: c,
|
|
254
|
-
activeQuestionIndex:
|
|
251
|
+
activeQuestionIndex: l,
|
|
255
252
|
lastUnlockedQuestionIndex: u,
|
|
256
253
|
behavior: a,
|
|
257
254
|
onItemNumberClick: M,
|
|
@@ -259,22 +256,22 @@ const Xt = (pe, ge) => {
|
|
|
259
256
|
summaryVisible: h
|
|
260
257
|
}
|
|
261
258
|
) }) }),
|
|
262
|
-
|
|
263
|
-
|
|
259
|
+
ne && d && /* @__PURE__ */ i(Mt, { $minHeight: te, $topOffset: V, children: /* @__PURE__ */ i(ce, { $width: q, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ i(
|
|
260
|
+
$t,
|
|
264
261
|
{
|
|
265
|
-
blocker:
|
|
266
|
-
lastUnlockedQuestion:
|
|
267
|
-
studentName:
|
|
268
|
-
onBlockerClose:
|
|
269
|
-
onOptionalItemAssignment:
|
|
270
|
-
onOptionalItemSkip:
|
|
262
|
+
blocker: ne,
|
|
263
|
+
lastUnlockedQuestion: d,
|
|
264
|
+
studentName: pe,
|
|
265
|
+
onBlockerClose: B,
|
|
266
|
+
onOptionalItemAssignment: $e,
|
|
267
|
+
onOptionalItemSkip: Te,
|
|
271
268
|
onTeacherValidation: Y
|
|
272
269
|
}
|
|
273
270
|
) }) }),
|
|
274
|
-
|
|
275
|
-
|
|
271
|
+
ze && /* @__PURE__ */ i(
|
|
272
|
+
ft,
|
|
276
273
|
{
|
|
277
|
-
activeQuestionIndex:
|
|
274
|
+
activeQuestionIndex: l,
|
|
278
275
|
onClick: M,
|
|
279
276
|
questions: t,
|
|
280
277
|
bottomOffset: g,
|
|
@@ -282,32 +279,31 @@ const Xt = (pe, ge) => {
|
|
|
282
279
|
userType: r
|
|
283
280
|
}
|
|
284
281
|
),
|
|
285
|
-
|
|
282
|
+
oe && /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(ut, { initialPosition: gt, onClose: it }) }),
|
|
286
283
|
/* @__PURE__ */ y(
|
|
287
|
-
|
|
284
|
+
Rt,
|
|
288
285
|
{
|
|
289
286
|
$marginTop: r === "TEACHER" && h ? "0" : g,
|
|
290
287
|
$height: g,
|
|
291
288
|
$isCardView: O === "card",
|
|
292
|
-
$isPuzzleCard: ne,
|
|
293
289
|
children: [
|
|
294
|
-
|
|
295
|
-
|
|
290
|
+
ee !== -2 && /* @__PURE__ */ i(
|
|
291
|
+
St,
|
|
296
292
|
{
|
|
297
293
|
width: L - 32,
|
|
298
|
-
question: t[
|
|
294
|
+
question: t[l],
|
|
299
295
|
learnosity: p,
|
|
300
296
|
userType: r
|
|
301
297
|
}
|
|
302
298
|
),
|
|
303
|
-
|
|
304
|
-
|
|
299
|
+
Qe && /* @__PURE__ */ i(
|
|
300
|
+
Pt,
|
|
305
301
|
{
|
|
306
302
|
$height: g,
|
|
307
|
-
$width: O === "card" ? L - 32 : "100%",
|
|
303
|
+
$width: O === "card" || ee === -2 ? L - 32 : "100%",
|
|
308
304
|
$isCardView: O === "card",
|
|
309
305
|
children: /* @__PURE__ */ i(
|
|
310
|
-
|
|
306
|
+
ce,
|
|
311
307
|
{
|
|
312
308
|
$gutterX: 1,
|
|
313
309
|
$flexDirection: "row",
|
|
@@ -315,97 +311,92 @@ const Xt = (pe, ge) => {
|
|
|
315
311
|
$alignItems: "center",
|
|
316
312
|
$width: L - 32,
|
|
317
313
|
children: /* @__PURE__ */ i(
|
|
318
|
-
|
|
314
|
+
kt,
|
|
319
315
|
{
|
|
320
316
|
userType: r,
|
|
321
317
|
layout: k,
|
|
322
318
|
behavior: a,
|
|
323
|
-
worksheetName:
|
|
319
|
+
worksheetName: J,
|
|
324
320
|
questions: t,
|
|
325
321
|
responses: c,
|
|
326
|
-
onCalculatorOpen:
|
|
327
|
-
activeQuestionIndex:
|
|
322
|
+
onCalculatorOpen: nt,
|
|
323
|
+
activeQuestionIndex: l,
|
|
328
324
|
lastUnlockedQuestionIndex: u,
|
|
329
325
|
appendedQuestionIds: Z,
|
|
330
326
|
learnosity: p,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
isScribblingEnabled: oe,
|
|
327
|
+
canSubmitWorksheet: Ve,
|
|
328
|
+
isScribblingEnabled: ie,
|
|
334
329
|
isSummaryVisible: h,
|
|
335
330
|
setResponses: v,
|
|
336
|
-
getTimeSpentOnQuestion:
|
|
337
|
-
setSummaryVisible:
|
|
331
|
+
getTimeSpentOnQuestion: se,
|
|
332
|
+
setSummaryVisible: K,
|
|
338
333
|
setBlocker: N,
|
|
339
|
-
setIsScribblingEnabled:
|
|
334
|
+
setIsScribblingEnabled: Ue,
|
|
340
335
|
setActiveQuestionId: H,
|
|
341
336
|
onItemNumberClick: M,
|
|
342
|
-
onGoToReview:
|
|
337
|
+
onGoToReview: ot,
|
|
343
338
|
onResponseChange: f,
|
|
344
|
-
onHelp:
|
|
339
|
+
onHelp: ye,
|
|
345
340
|
onTeacherValidation: Y,
|
|
346
|
-
onSubmit:
|
|
347
|
-
showCalculator:
|
|
341
|
+
onSubmit: ve,
|
|
342
|
+
showCalculator: oe,
|
|
348
343
|
loggerRef: j,
|
|
349
|
-
onSkip:
|
|
350
|
-
|
|
351
|
-
onReview: Fe,
|
|
352
|
-
canToggleScribbling: je
|
|
344
|
+
onSkip: xe,
|
|
345
|
+
actionBarRightElement: Ge
|
|
353
346
|
}
|
|
354
347
|
)
|
|
355
348
|
}
|
|
356
349
|
)
|
|
357
350
|
}
|
|
358
351
|
),
|
|
359
|
-
!h && D && r === "STUDENT" && /* @__PURE__ */ i(
|
|
352
|
+
!h && D && r === "STUDENT" && /* @__PURE__ */ i(Qt, { children: /* @__PURE__ */ i(Wt, {}) })
|
|
360
353
|
]
|
|
361
354
|
}
|
|
362
355
|
),
|
|
363
356
|
/* @__PURE__ */ y(
|
|
364
|
-
|
|
357
|
+
Gt,
|
|
365
358
|
{
|
|
366
359
|
$actionbarHeight: g,
|
|
367
360
|
$isCardView: O === "card",
|
|
368
|
-
$
|
|
361
|
+
$questionPadding: Je,
|
|
369
362
|
children: [
|
|
370
|
-
|
|
363
|
+
Nt({ questions: t, lastUnlockedQuestionIndex: u, userType: r }).map(
|
|
371
364
|
(e, s) => {
|
|
372
|
-
var
|
|
373
|
-
const { response_id: o, is_optional: b } = e, $ = (
|
|
365
|
+
var I, A;
|
|
366
|
+
const { response_id: o, is_optional: b } = e, $ = (I = c[o]) == null ? void 0 : I.assignStatus;
|
|
374
367
|
return a.teacherValidationEnabled && ($ === "skipped" || b && $ !== "assigned" && r === "STUDENT") ? null : /* @__PURE__ */ i(
|
|
375
|
-
|
|
368
|
+
yt,
|
|
376
369
|
{
|
|
377
|
-
signedRequest:
|
|
370
|
+
signedRequest: ge,
|
|
378
371
|
userType: r,
|
|
379
|
-
worksheetCompleted:
|
|
372
|
+
worksheetCompleted: Ee,
|
|
380
373
|
question: e,
|
|
381
374
|
response: c[o],
|
|
382
|
-
nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ?
|
|
383
|
-
maxQuestionWidth:
|
|
375
|
+
nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ? d == null ? void 0 : d.response_id : s < u ? (A = t[s + 1]) == null ? void 0 : A.response_id : void 0,
|
|
376
|
+
maxQuestionWidth: q,
|
|
384
377
|
learnosity: p,
|
|
385
|
-
isActive: o ===
|
|
386
|
-
isHidden: !D && o !==
|
|
387
|
-
canRender:
|
|
388
|
-
background: $e,
|
|
378
|
+
isActive: o === w,
|
|
379
|
+
isHidden: !D && o !== w || h,
|
|
380
|
+
canRender: l > -1 && (s === l || m !== "CURRENT" && s === l + 1),
|
|
389
381
|
appended: Z.includes(o),
|
|
390
382
|
behavior: a,
|
|
391
383
|
layout: k,
|
|
392
384
|
actionbarHeight: g,
|
|
393
|
-
intersectionObserver:
|
|
394
|
-
onMarkForReview:
|
|
395
|
-
onMediaStateChange:
|
|
396
|
-
userId:
|
|
397
|
-
isScribblingEnabled:
|
|
398
|
-
onPublishStrokes:
|
|
399
|
-
onReceiveStrokes:
|
|
400
|
-
initialStrokesData:
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
onSubscribeMouseMove: Ve,
|
|
385
|
+
intersectionObserver: X,
|
|
386
|
+
onMarkForReview: tt,
|
|
387
|
+
onMediaStateChange: et,
|
|
388
|
+
userId: we,
|
|
389
|
+
isScribblingEnabled: ie,
|
|
390
|
+
onPublishStrokes: Ne,
|
|
391
|
+
onReceiveStrokes: Be,
|
|
392
|
+
initialStrokesData: Ae,
|
|
393
|
+
onPublishMouseMove: We,
|
|
394
|
+
onSubscribeMouseMove: _e,
|
|
404
395
|
setActiveQuestionId: H,
|
|
405
|
-
canResolveDoubt:
|
|
406
|
-
onResolveDoubt:
|
|
407
|
-
studentId:
|
|
408
|
-
subjectiveProps:
|
|
396
|
+
canResolveDoubt: He,
|
|
397
|
+
onResolveDoubt: Me,
|
|
398
|
+
studentId: Re,
|
|
399
|
+
subjectiveProps: Pe,
|
|
409
400
|
responses: c,
|
|
410
401
|
loggerRef: j
|
|
411
402
|
},
|
|
@@ -414,41 +405,41 @@ const Xt = (pe, ge) => {
|
|
|
414
405
|
}
|
|
415
406
|
),
|
|
416
407
|
h && /* @__PURE__ */ i(
|
|
417
|
-
|
|
408
|
+
Ft,
|
|
418
409
|
{
|
|
419
|
-
worksheetName:
|
|
410
|
+
worksheetName: J,
|
|
420
411
|
questions: t,
|
|
421
412
|
responses: c,
|
|
422
|
-
activeQuestionIndex:
|
|
413
|
+
activeQuestionIndex: l,
|
|
423
414
|
lastUnlockedQuestionIndex: u,
|
|
424
415
|
onItemNumberClick: M,
|
|
425
416
|
behavior: a,
|
|
426
|
-
minHeight:
|
|
427
|
-
summaryDescription:
|
|
417
|
+
minHeight: Le,
|
|
418
|
+
summaryDescription: De,
|
|
428
419
|
summaryVisible: h
|
|
429
420
|
}
|
|
430
421
|
)
|
|
431
422
|
]
|
|
432
423
|
}
|
|
433
424
|
),
|
|
434
|
-
!h &&
|
|
435
|
-
|
|
425
|
+
!h && Ke && /* @__PURE__ */ i(
|
|
426
|
+
_t,
|
|
436
427
|
{
|
|
437
|
-
questionWidth:
|
|
428
|
+
questionWidth: q,
|
|
438
429
|
questions: t,
|
|
439
|
-
activeQuestionIndex:
|
|
430
|
+
activeQuestionIndex: l,
|
|
440
431
|
learnosity: p,
|
|
441
432
|
userType: r,
|
|
442
|
-
height:
|
|
433
|
+
height: te,
|
|
443
434
|
actionbarHeight: g,
|
|
444
|
-
openQuestionFeedbackModal:
|
|
435
|
+
openQuestionFeedbackModal: Oe,
|
|
445
436
|
loggerRef: j
|
|
446
437
|
}
|
|
447
438
|
)
|
|
448
439
|
] })
|
|
449
440
|
] }) : null;
|
|
450
|
-
},
|
|
441
|
+
}, fi = st(at(jt));
|
|
451
442
|
export {
|
|
452
|
-
|
|
443
|
+
fi as default
|
|
453
444
|
};
|
|
454
445
|
//# sourceMappingURL=worksheet.js.map
|