@cuemath/leap 2.9.11-as1 → 2.9.11

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.
Files changed (294) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -9
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/bin2.js +8 -7
  4. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  5. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  6. package/dist/assets/lottie/lottie.js +1 -9
  7. package/dist/assets/lottie/lottie.js.map +1 -1
  8. package/dist/constants/api.js +2 -3
  9. package/dist/constants/api.js.map +1 -1
  10. package/dist/features/analytics-events/platform-events-student.js +3 -3
  11. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  12. package/dist/features/analytics-events/whitelist-events.js +11 -13
  13. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  14. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +33 -99
  15. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  16. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +49 -92
  17. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  18. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  19. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  20. package/dist/features/chapters/chapters-list/chapters-list.js +70 -64
  21. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  22. package/dist/features/communication/pub-sub/constants.js +6 -12
  23. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  24. package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
  25. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  26. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  27. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  28. package/dist/features/journey/use-journey/journey-context-provider.js +28 -36
  29. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  30. package/dist/features/journey/use-journey/journey-styled.js +5 -10
  31. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  32. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  33. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  34. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +49 -42
  35. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  36. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +4 -12
  37. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  38. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +105 -128
  39. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  40. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +92 -0
  41. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -0
  42. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +25 -0
  43. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -0
  44. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +20 -14
  45. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  46. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +50 -26
  47. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  48. package/dist/features/milestone/create/milestone-create.js +43 -49
  49. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  50. package/dist/features/milestone/create/utils/index.js +38 -33
  51. package/dist/features/milestone/create/utils/index.js.map +1 -1
  52. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  53. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  54. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  55. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  56. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +53 -51
  57. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  58. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +40 -42
  59. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  60. package/dist/features/milestone/edit/goal-edit-container.js +62 -64
  61. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  62. package/dist/features/milestone/edit/goal-edit-helpers.js +53 -50
  63. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  64. package/dist/features/milestone/edit/milestone-edit-container.js +52 -54
  65. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  66. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  67. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  68. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +17 -9
  69. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  70. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  71. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  72. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +105 -138
  73. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  74. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +13 -0
  75. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +1 -0
  76. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +38 -0
  77. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +1 -0
  78. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +123 -107
  79. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  80. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +176 -157
  81. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  82. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +10 -24
  83. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  84. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +86 -80
  85. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  86. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +22 -10
  87. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  88. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +53 -0
  89. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +1 -0
  90. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +37 -70
  91. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  92. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +176 -114
  93. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  94. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +25 -0
  95. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +1 -0
  96. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +16 -29
  97. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  98. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +25 -17
  99. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  100. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +35 -23
  101. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  102. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +113 -110
  103. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  104. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
  105. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
  106. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
  107. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
  108. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  109. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  110. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +113 -116
  111. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  112. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
  113. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
  114. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
  115. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +50 -46
  116. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  117. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +71 -0
  118. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +1 -0
  119. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +31 -0
  120. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +1 -0
  121. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +38 -0
  122. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -0
  123. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +79 -0
  124. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +1 -0
  125. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +18 -0
  126. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +1 -0
  127. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +51 -0
  128. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +1 -0
  129. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +11 -0
  130. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +1 -0
  131. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +135 -0
  132. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -0
  133. package/dist/features/post-game-stats/digital-meter/constants.js +11 -11
  134. package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -1
  135. package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +15 -16
  136. package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -1
  137. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  138. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  139. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +3 -4
  140. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  141. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  142. package/dist/features/ui/animated-arc/animated-arc-constants.js +3 -2
  143. package/dist/features/ui/animated-arc/animated-arc-constants.js.map +1 -1
  144. package/dist/features/ui/animated-arc/animated-arc-styled.js +7 -7
  145. package/dist/features/ui/animated-arc/animated-arc-styled.js.map +1 -1
  146. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +29 -30
  147. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  148. package/dist/features/ui/constants/z-index.js +1 -1
  149. package/dist/features/ui/constants/z-index.js.map +1 -1
  150. package/dist/features/ui/context-menu/context-menu-styled.js +14 -28
  151. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  152. package/dist/features/ui/context-menu/context-menu.js +17 -25
  153. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  154. package/dist/features/ui/lottie-animation/lottie-animation.js +24 -32
  155. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  156. package/dist/features/ui/theme/button.js +7 -24
  157. package/dist/features/ui/theme/button.js.map +1 -1
  158. package/dist/index.d.ts +34 -341
  159. package/dist/index.js +425 -447
  160. package/dist/index.js.map +1 -1
  161. package/package.json +1 -1
  162. package/dist/assets/line-icons/icons/exclamation.js +0 -26
  163. package/dist/assets/line-icons/icons/exclamation.js.map +0 -1
  164. package/dist/assets/line-icons/icons/home2.js +0 -25
  165. package/dist/assets/line-icons/icons/home2.js.map +0 -1
  166. package/dist/assets/line-icons/icons/important.js +0 -23
  167. package/dist/assets/line-icons/icons/important.js.map +0 -1
  168. package/dist/assets/line-icons/icons/skip-colored.js +0 -43
  169. package/dist/assets/line-icons/icons/skip-colored.js.map +0 -1
  170. package/dist/assets/line-icons/icons/status.js +0 -41
  171. package/dist/assets/line-icons/icons/status.js.map +0 -1
  172. package/dist/features/chapters-v2/api/chapter.js +0 -10
  173. package/dist/features/chapters-v2/api/chapter.js.map +0 -1
  174. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +0 -112
  175. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +0 -1
  176. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +0 -35
  177. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +0 -1
  178. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +0 -83
  179. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +0 -1
  180. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +0 -90
  181. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +0 -1
  182. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +0 -98
  183. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +0 -1
  184. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +0 -51
  185. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +0 -1
  186. package/dist/features/chapters-v2/chapter-details/chapter-details.js +0 -129
  187. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +0 -1
  188. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +0 -13
  189. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +0 -1
  190. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +0 -159
  191. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +0 -1
  192. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +0 -16
  193. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +0 -1
  194. package/dist/features/chapters-v2/comps/node-card/node-card.js +0 -12
  195. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +0 -1
  196. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +0 -30
  197. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +0 -1
  198. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +0 -32
  199. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +0 -1
  200. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +0 -9
  201. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +0 -1
  202. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +0 -189
  203. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +0 -1
  204. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +0 -194
  205. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +0 -1
  206. package/dist/features/chapters-v2/comps/tag/tag-styled.js +0 -13
  207. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +0 -1
  208. package/dist/features/chapters-v2/comps/tag/tag.js +0 -28
  209. package/dist/features/chapters-v2/comps/tag/tag.js.map +0 -1
  210. package/dist/features/chapters-v2/constants/block-constants.js +0 -20
  211. package/dist/features/chapters-v2/constants/block-constants.js.map +0 -1
  212. package/dist/features/chapters-v2/constants/node-constants.js +0 -14
  213. package/dist/features/chapters-v2/constants/node-constants.js.map +0 -1
  214. package/dist/features/chapters-v2/utils/index.js +0 -45
  215. package/dist/features/chapters-v2/utils/index.js.map +0 -1
  216. package/dist/features/chapters-v2/utils/node-card-utils.js +0 -169
  217. package/dist/features/chapters-v2/utils/node-card-utils.js.map +0 -1
  218. package/dist/features/homework/card-menu-option.js +0 -28
  219. package/dist/features/homework/card-menu-option.js.map +0 -1
  220. package/dist/features/homework/card-menu-options.js +0 -22
  221. package/dist/features/homework/card-menu-options.js.map +0 -1
  222. package/dist/features/homework/card-title.js +0 -16
  223. package/dist/features/homework/card-title.js.map +0 -1
  224. package/dist/features/homework/homework-analytics-events.js +0 -10
  225. package/dist/features/homework/homework-analytics-events.js.map +0 -1
  226. package/dist/features/homework/homework-card-view.js +0 -143
  227. package/dist/features/homework/homework-card-view.js.map +0 -1
  228. package/dist/features/homework/homework-card.js +0 -245
  229. package/dist/features/homework/homework-card.js.map +0 -1
  230. package/dist/features/homework/hw-card-list/api/get-homeworks.js +0 -10
  231. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +0 -1
  232. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +0 -63
  233. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +0 -1
  234. package/dist/features/homework/hw-card-list/hw-card-list-view.js +0 -157
  235. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +0 -1
  236. package/dist/features/homework/hw-card-list/hw-card-list.js +0 -67
  237. package/dist/features/homework/hw-card-list/hw-card-list.js.map +0 -1
  238. package/dist/features/homework/node-progress.js +0 -29
  239. package/dist/features/homework/node-progress.js.map +0 -1
  240. package/dist/features/homework/styles.js +0 -130
  241. package/dist/features/homework/styles.js.map +0 -1
  242. package/dist/features/homework/utils.js +0 -48
  243. package/dist/features/homework/utils.js.map +0 -1
  244. package/dist/features/journey/hooks/use-chapter-journey.js +0 -173
  245. package/dist/features/journey/hooks/use-chapter-journey.js.map +0 -1
  246. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +0 -268
  247. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +0 -1
  248. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +0 -513
  249. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +0 -1
  250. package/dist/features/journey/hooks/use-home-page-journey/styles.js +0 -23
  251. package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +0 -1
  252. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +0 -22
  253. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +0 -1
  254. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +0 -270
  255. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +0 -1
  256. package/dist/features/journey/journey-id/journey-id-teacher.js +0 -5
  257. package/dist/features/journey/journey-id/journey-id-teacher.js.map +0 -1
  258. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +0 -584
  259. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +0 -1
  260. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +0 -165
  261. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +0 -1
  262. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +0 -25
  263. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +0 -1
  264. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +0 -87
  265. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +0 -1
  266. package/dist/features/recent-chapters/api/get-recent-chapters.js +0 -9
  267. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +0 -1
  268. package/dist/features/recent-chapters/recent-chapters-styled.js +0 -16
  269. package/dist/features/recent-chapters/recent-chapters-styled.js.map +0 -1
  270. package/dist/features/recent-chapters/recent-chapters.js +0 -39
  271. package/dist/features/recent-chapters/recent-chapters.js.map +0 -1
  272. package/dist/features/sheet-v2/resource-list/resource-list.js +0 -45
  273. package/dist/features/sheet-v2/resource-list/resource-list.js.map +0 -1
  274. package/dist/features/ui/animated-arc/constants.js +0 -5
  275. package/dist/features/ui/animated-arc/constants.js.map +0 -1
  276. package/dist/node_modules/date-fns/differenceInDays.js +0 -17
  277. package/dist/node_modules/date-fns/differenceInDays.js.map +0 -1
  278. package/dist/static/chapter-header-bg-2.c8d96894.svg +0 -1
  279. package/dist/static/competitive-arena.b9c40801.json +0 -1
  280. package/dist/static/learn.71b13323.json +0 -1
  281. package/dist/static/node-custom-test-bg.d3b757be.svg +0 -1
  282. package/dist/static/node-learn-bg.b61f815c.svg +0 -1
  283. package/dist/static/node-practice-bg.16cbaf2a.svg +0 -1
  284. package/dist/static/node-project-bg.e6a33e28.svg +0 -1
  285. package/dist/static/node-puzzle-bg.3422135c.svg +0 -1
  286. package/dist/static/node-recap-bg.546154e4.svg +0 -1
  287. package/dist/static/node-test-prep-bg.42c0b9c4.svg +0 -1
  288. package/dist/static/node-video-bg.3df3f73a.svg +0 -1
  289. package/dist/static/practice.158dd488.json +0 -1
  290. package/dist/static/project.eb665827.json +0 -1
  291. package/dist/static/puzzle.b298c7e4.json +0 -1
  292. package/dist/static/recap.0dd2c1e2.json +0 -1
  293. package/dist/static/test.803d6036.json +0 -1
  294. package/dist/static/video.b41451e2.json +0 -1
@@ -1,130 +0,0 @@
1
- import r from "styled-components";
2
- import n from "../../assets/line-icons/icons/minus2.js";
3
- import t from "../ui/layout/flex-view.js";
4
- import i from "../ui/text/text.js";
5
- const l = r(t)(({ theme: o }) => `
6
- cursor: pointer;
7
- width: 24px;
8
- height: 24px;
9
-
10
-
11
- &:hover {
12
- border-radius: 50%;
13
- background: ${o.colors.WHITE_5};
14
- }
15
- `), d = r(i)`
16
- display: -webkit-box;
17
- -webkit-line-clamp: 1;
18
- -webkit-box-orient: vertical;
19
- overflow: hidden;
20
- text-overflow: ellipsis;
21
- `, x = r(t)(({
22
- $shouldopenonright: o,
23
- $visible: e
24
- }) => `
25
- cursor: pointer;
26
- position: absolute;
27
- z-index: 6;
28
- top: calc(100% + 4px);
29
- right: ${o ? 0 : "auto"};
30
- transform-origin: top;
31
- transform: scaleY(${e ? 1 : 0});
32
- opacity: ${e ? 1 : 0};
33
- transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
34
- box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.4);
35
- z-index: 10;
36
- `), u = r(t)`
37
- border: 1px solid ${({ theme: o }) => o.colors.BLACK_T_15};
38
- &:hover {
39
- border: 1px solid ${({ theme: o }) => o.colors.BLACK};
40
- border-top-width: 2px;
41
- }
42
- `, b = r(t)(({ $bgImage: o }) => o ? `
43
- background-image: url(${o});
44
- background-repeat: no-repeat;
45
- background-size: cover;
46
- background-position: center;
47
- overflow: hidden;
48
- ` : "overflow: hidden;"), h = r(t)`
49
- display: flex;
50
- align-items: center;
51
- justify-content: center;
52
- `, w = r(t)`
53
- position: absolute;
54
- right: -18px;
55
- top: -4px;
56
- `, f = r.img(({ theme: o }) => {
57
- const { gutter: e } = o.layout;
58
- return `
59
- border: 1px solid ${o.colors.BLACK_T_15};
60
- width: ${e * 4}px;
61
- height: ${e * 4}px;
62
- border-radius: 50%;
63
- `;
64
- }), g = r(n)`
65
- path {
66
- stroke: ${({ theme: o }) => o.colors.WHITE};
67
- }
68
- `, m = r(i)`
69
- display: -webkit-box;
70
- -webkit-line-clamp: 2;
71
- -webkit-box-orient: vertical;
72
- overflow: hidden;
73
- text-overflow: ellipsis;
74
- white-space: break-spaces;
75
- `;
76
- r(t)``;
77
- const k = r(t)(({
78
- theme: o,
79
- $disabled: e
80
- }) => `
81
- cursor: ${e ? "not-allowed" : "pointer"};
82
-
83
- &:hover {
84
- background: ${e ? "transparent" : o.colors.BLACK};
85
- };
86
-
87
- path {
88
- fill: ${o.colors.WHITE_1};
89
- }
90
- `), v = r(i)`
91
- white-space: nowrap;
92
- overflow: hidden;
93
- text-overflow: ellipsis;
94
- `, C = r(t)`
95
- position: absolute;
96
- z-index: 6;
97
- top: calc(100% - 36px);
98
- right: 12px;
99
- transform-origin: top;
100
- transform: scaleY(1);
101
- `, $ = r(t)`
102
- position: absolute;
103
- top: 0;
104
- left: 0;
105
- width: 100%;
106
- height: 100%;
107
- opacity: 0.5;
108
- `, y = r(t)`
109
- position: absolute;
110
- right: 42px;
111
- top: 24px;
112
- `;
113
- export {
114
- f as BannerImage,
115
- w as BannerImageWrapper,
116
- $ as BlurContainer,
117
- y as BlurFlexView,
118
- u as CardContainer,
119
- l as CardKebabMenuWrapper,
120
- x as CardMenuOptionsWrapper,
121
- k as CardOptionWrapper,
122
- b as CardWrapper,
123
- m as HeaderText,
124
- h as IconWrapper,
125
- C as MenuWrapper,
126
- v as OptionText,
127
- g as StyledMinus2Icon,
128
- d as SubHeaderText
129
- };
130
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sources":["../../../src/features/homework/styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport Minus2Icon from '../../assets/line-icons/icons/minus2';\nimport FlexView from '../ui/layout/flex-view';\nimport Text from '../ui/text/text';\n\ninterface ICardWrapperProps {\n $bgImage: string;\n}\ninterface ICardOptionsMenuWrapperProps {\n $visible: boolean;\n $shouldopenonright: boolean;\n}\n\nexport const CardKebabMenuWrapper = styled(FlexView)(({ theme }) => {\n return `\n cursor: pointer;\n width: 24px;\n height: 24px;\n \n \n &:hover {\n border-radius: 50%;\n background: ${theme.colors.WHITE_5}; \n }\n `;\n});\n\nexport const SubHeaderText = styled(Text)`\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport const CardMenuOptionsWrapper = styled(FlexView)<ICardOptionsMenuWrapperProps>(({\n $shouldopenonright,\n $visible,\n}) => {\n return `\n cursor: pointer;\n position: absolute;\n z-index: 6;\n top: calc(100% + 4px);\n right: ${$shouldopenonright ? 0 : 'auto'};\n transform-origin: top;\n transform: scaleY(${$visible ? 1 : 0});\n opacity: ${$visible ? 1 : 0};\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.4);\n z-index: 10;\n `;\n});\n\nexport const CardContainer = styled(FlexView)`\n border: 1px solid ${({ theme }) => theme.colors.BLACK_T_15};\n &:hover {\n border: 1px solid ${({ theme }) => theme.colors.BLACK};\n border-top-width: 2px;\n }\n`;\n\nexport const CardWrapper = styled(FlexView)<ICardWrapperProps>(({ $bgImage }) => {\n if ($bgImage) {\n return `\n background-image: url(${$bgImage});\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n overflow: hidden;\n `;\n }\n\n return 'overflow: hidden;';\n});\n\nexport const IconWrapper = styled(FlexView)`\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nexport const BannerImageWrapper = styled(FlexView)`\n position: absolute;\n right: -18px;\n top: -4px;\n`;\n\nexport const BannerImage = styled.img(({ theme }) => {\n const { gutter } = theme.layout;\n\n return `\n border: 1px solid ${theme.colors.BLACK_T_15};\n width: ${gutter * 4}px;\n height: ${gutter * 4}px;\n border-radius: 50%;\n `;\n});\n\nexport const StyledMinus2Icon = styled(Minus2Icon)`\n path {\n stroke: ${({ theme }) => theme.colors.WHITE};\n }\n`;\n\nexport const HeaderText = styled(Text)`\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: break-spaces;\n`;\n\ninterface ICardOptionWrapperProps {\n $disabled?: boolean;\n}\ninterface ICardOptionsProps {\n $top: number;\n $left: number;\n}\n\nexport const CardOptions = styled(FlexView)<ICardOptionsProps>``;\n\nexport const CardOptionWrapper = styled(FlexView)<ICardOptionWrapperProps>(({\n theme,\n $disabled,\n}) => {\n return `\n cursor: ${$disabled ? 'not-allowed' : 'pointer'};\n \n &:hover {\n background: ${$disabled ? 'transparent' : theme.colors.BLACK};\n };\n \n path {\n fill: ${theme.colors.WHITE_1};\n }\n `;\n});\n\nexport const OptionText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport const MenuWrapper = styled(FlexView)`\n position: absolute;\n z-index: 6;\n top: calc(100% - 36px);\n right: 12px;\n transform-origin: top;\n transform: scaleY(1);\n`;\n\nexport const BlurContainer = styled(FlexView)`\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0.5;\n`;\n\nexport const BlurFlexView = styled(FlexView)`\n position: absolute;\n right: 42px;\n top: 24px;\n`;\n"],"names":["CardKebabMenuWrapper","styled","FlexView","theme","SubHeaderText","Text","CardMenuOptionsWrapper","$shouldopenonright","$visible","CardContainer","CardWrapper","$bgImage","IconWrapper","BannerImageWrapper","BannerImage","gutter","StyledMinus2Icon","Minus2Icon","HeaderText","CardOptionWrapper","$disabled","OptionText","MenuWrapper","BlurContainer","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M,OAAO,KAAK;AAAA;AAAA,GAIlCe,IAAajB,EAAOI,CAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBVJ,EAAOC,CAAQ;AAEnC,MAAMiB,IAAoBlB,EAAOC,CAAQ,EAA2B,CAAC;AAAA,EAC1E,OAAAC;AAAA,EACA,WAAAiB;AACF,MACS;AAAA,cACKA,IAAY,gBAAgB,SAAS;AAAA;AAAA;AAAA,oBAG/BA,IAAY,gBAAgBjB,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA,cAIpDA,EAAM,OAAO,OAAO;AAAA;AAAA,GAGjC,GAEYkB,IAAapB,EAAOI,CAAI;AAAA;AAAA;AAAA;AAAA,GAMxBiB,IAAcrB,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAS7BqB,IAAgBtB,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAS/BsB,IAAevB,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,48 +0,0 @@
1
- import { TESTS_CREATION_ANALYTICS_EVENTS as l } from "../milestone/milestone-tests/tests-creation/tests-creation-analytics-events.js";
2
- import { NODE_TYPE as E } from "../sheets/constants/sheet.js";
3
- import { HOMEWORK_ANALYTICS_EVENTS as c } from "./homework-analytics-events.js";
4
- const y = ({
5
- canResume: a,
6
- canStart: i,
7
- homeworkId: e,
8
- isHomeWork: _,
9
- isStudent: o,
10
- milestoneId: n,
11
- nodeType: t,
12
- studentId: r,
13
- userNodeId: s
14
- }) => {
15
- if (o) {
16
- if (_)
17
- return i || a ? {
18
- analyticsLabel: c.HOMEWORK_ATTEMPTED,
19
- analyticsProps: { student_id: r, node_type: t, homework_id: e }
20
- } : {
21
- analyticsLabel: "homework-student-menu",
22
- analyticsProps: { student_id: r, node_type: t, homework_id: e }
23
- };
24
- if (i || a)
25
- return {
26
- analyticsLabel: t === E.DYNAMIC ? l.CUSTOM_TEST_ATTEMPTED : "node-attempted",
27
- analyticsProps: {
28
- student_id: r,
29
- node_type: t,
30
- user_node_id: s,
31
- milestone_id: n,
32
- can_start: i,
33
- can_resume: a
34
- }
35
- };
36
- }
37
- return _ ? {
38
- analyticsLabel: "homework-card-teacher",
39
- analyticsProps: { student_id: r, node_type: t }
40
- } : {
41
- analyticsLabel: "goals-card-teacher",
42
- analyticsProps: { student_id: r, node_type: t }
43
- };
44
- };
45
- export {
46
- y as getCardAnalyticProps
47
- };
48
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/features/homework/utils.ts"],"sourcesContent":["import type { TNodeTypes } from '../chapters-v2/comps/node-card/node-card-types';\n\nimport { TESTS_CREATION_ANALYTICS_EVENTS } from '../milestone/milestone-tests/tests-creation/tests-creation-analytics-events';\nimport { NODE_TYPE } from '../sheets/constants/sheet';\nimport { HOMEWORK_ANALYTICS_EVENTS } from './homework-analytics-events';\n\ninterface IGetCardAnalyticProps {\n canResume: boolean;\n canStart: boolean;\n homeworkId?: string;\n isHomeWork: boolean;\n isStudent: boolean;\n milestoneId?: string;\n nodeType: TNodeTypes;\n studentId: string;\n userNodeId: string | null;\n}\n\nconst getCardAnalyticProps = ({\n canResume,\n canStart,\n homeworkId,\n isHomeWork,\n isStudent,\n milestoneId,\n nodeType,\n studentId,\n userNodeId,\n}: IGetCardAnalyticProps) => {\n if (isStudent) {\n if (isHomeWork) {\n if (canStart || canResume) {\n return {\n analyticsLabel: HOMEWORK_ANALYTICS_EVENTS.HOMEWORK_ATTEMPTED,\n analyticsProps: { student_id: studentId, node_type: nodeType, homework_id: homeworkId },\n };\n }\n\n return {\n analyticsLabel: 'homework-student-menu',\n analyticsProps: { student_id: studentId, node_type: nodeType, homework_id: homeworkId },\n };\n }\n\n if (canStart || canResume) {\n return {\n analyticsLabel:\n nodeType === NODE_TYPE.DYNAMIC\n ? TESTS_CREATION_ANALYTICS_EVENTS.CUSTOM_TEST_ATTEMPTED\n : 'node-attempted',\n analyticsProps: {\n student_id: studentId,\n node_type: nodeType,\n user_node_id: userNodeId,\n milestone_id: milestoneId,\n can_start: canStart,\n can_resume: canResume,\n },\n };\n }\n }\n\n if (isHomeWork) {\n return {\n analyticsLabel: 'homework-card-teacher',\n analyticsProps: { student_id: studentId, node_type: nodeType },\n };\n }\n\n return {\n analyticsLabel: 'goals-card-teacher',\n analyticsProps: { student_id: studentId, node_type: nodeType },\n };\n};\n\nexport { getCardAnalyticProps };\n"],"names":["getCardAnalyticProps","canResume","canStart","homeworkId","isHomeWork","isStudent","milestoneId","nodeType","studentId","userNodeId","HOMEWORK_ANALYTICS_EVENTS","NODE_TYPE","TESTS_CREATION_ANALYTICS_EVENTS"],"mappings":";;;AAkBA,MAAMA,IAAuB,CAAC;AAAA,EAC5B,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AACF,MAA6B;AAC3B,MAAIJ,GAAW;AACb,QAAID;AACF,aAAIF,KAAYD,IACP;AAAA,QACL,gBAAgBS,EAA0B;AAAA,QAC1C,gBAAgB,EAAE,YAAYF,GAAW,WAAWD,GAAU,aAAaJ,EAAW;AAAA,MAAA,IAInF;AAAA,QACL,gBAAgB;AAAA,QAChB,gBAAgB,EAAE,YAAYK,GAAW,WAAWD,GAAU,aAAaJ,EAAW;AAAA,MAAA;AAI1F,QAAID,KAAYD;AACP,aAAA;AAAA,QACL,gBACEM,MAAaI,EAAU,UACnBC,EAAgC,wBAChC;AAAA,QACN,gBAAgB;AAAA,UACd,YAAYJ;AAAA,UACZ,WAAWD;AAAA,UACX,cAAcE;AAAA,UACd,cAAcH;AAAA,UACd,WAAWJ;AAAA,UACX,YAAYD;AAAA,QACd;AAAA,MAAA;AAAA,EAGN;AAEA,SAAIG,IACK;AAAA,IACL,gBAAgB;AAAA,IAChB,gBAAgB,EAAE,YAAYI,GAAW,WAAWD,EAAS;AAAA,EAAA,IAI1D;AAAA,IACL,gBAAgB;AAAA,IAChB,gBAAgB,EAAE,YAAYC,GAAW,WAAWD,EAAS;AAAA,EAAA;AAEjE;"}
@@ -1,173 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { useRef as n, useCallback as p, useMemo as S, useEffect as x } from "react";
3
- import N from "../../chapters-v2/chapter-details/block-sections/block-sections.js";
4
- import L from "../../chapters-v2/chapter-details/chapter-banner/chapter-banner.js";
5
- import P from "../../chapters-v2/chapter-details/chapter-details.js";
6
- import _ from "../../ui/layout/flex-view.js";
7
- import { JOURNEY_ID_STUDENT as I } from "../journey-id/journey-id-student.js";
8
- import { PROGRESS_STAT_MOCK as k, BLOCK_MOCKS as K } from "../mocks/chapter-page-journey-mock-data.js";
9
- import { IndicatorType as l } from "../use-journey/constants.js";
10
- import { useJourney as H } from "../use-journey/use-journey.js";
11
- import a from "./use-home-page-journey/tooltip-item.js";
12
- const F = () => {
13
- const t = I.CHAPTER_PAGE_JOURNEY, e = n(null), r = n(null), s = n(null), c = n([]), { nextCoachmark: d, setJourney: h, endJourney: C } = H(), i = p(() => {
14
- d(t, !1, 0, !0);
15
- }, [t, d]), g = p(() => {
16
- document.body.style.overflow = "unset", C(t);
17
- }, [C, t]), f = p(
18
- ({ chapterDetails: u, userChapterId: A, studentId: B, userType: T }) => {
19
- const { name: O, image_hue: m, image_url: b } = u;
20
- if (!(e != null && e.current) || !(r != null && r.current) || !s.current)
21
- return;
22
- const E = e.current.getBoundingClientRect(), R = [
23
- {
24
- originalElementToHighlightRef: e,
25
- isActive: !1,
26
- type: l.TOOLTIP,
27
- elementToHighlight: /* @__PURE__ */ o(
28
- P,
29
- {
30
- userChapterId: A,
31
- studentId: B,
32
- userType: T,
33
- onBlockSkipUnskip: () => null,
34
- onNodeAttempt: () => null,
35
- onNodeAttemptLocationChange: () => null,
36
- onNodeMarkAsDone: () => null,
37
- onNodeReattempt: () => null,
38
- onNodeReview: () => null,
39
- onNodeView: () => null,
40
- onExit: () => null
41
- }
42
- ),
43
- indicator: {
44
- position: "left",
45
- tooltipYCoOrdinates: -(E.height / 2) + 178,
46
- backgroundColor: "BLUE_4",
47
- borderColor: "BLACK",
48
- arrowColor: "BLACK",
49
- arrowSize: 12,
50
- width: 264,
51
- tooltipItem: /* @__PURE__ */ o(
52
- a,
53
- {
54
- text: "Welcome to the all new chapter experience.",
55
- buttonLabel: "Next",
56
- onButtonClick: i
57
- }
58
- )
59
- }
60
- },
61
- {
62
- originalElementToHighlightRef: r,
63
- elementToHighlight: /* @__PURE__ */ o(
64
- L,
65
- {
66
- title: O,
67
- progressStats: k,
68
- imageUrl: b,
69
- imageHue: m
70
- }
71
- ),
72
- type: l.TOOLTIP,
73
- indicator: {
74
- position: "bottom",
75
- tooltipXCoOrdinates: -45,
76
- tooltipYCoOrdinates: -40,
77
- backgroundColor: "ORANGE_4",
78
- borderColor: "BLACK",
79
- arrowColor: "BLACK",
80
- width: 264,
81
- arrowSize: 12,
82
- tooltipItem: /* @__PURE__ */ o(
83
- a,
84
- {
85
- text: "A chapter is divided into *core sheets (compulsory), and supplementary sheets.",
86
- buttonLabel: "Next",
87
- onButtonClick: i
88
- }
89
- )
90
- },
91
- isActive: !1
92
- },
93
- {
94
- originalElementToHighlightRef: r,
95
- elementToHighlight: /* @__PURE__ */ o(
96
- L,
97
- {
98
- title: O,
99
- progressStats: k,
100
- imageUrl: b,
101
- imageHue: m
102
- }
103
- ),
104
- type: l.TOOLTIP,
105
- indicator: {
106
- position: "bottom",
107
- tooltipXCoOrdinates: -275,
108
- tooltipYCoOrdinates: -15,
109
- backgroundColor: "PURPLE_4",
110
- borderColor: "BLACK",
111
- arrowColor: "BLACK",
112
- arrowSize: 12,
113
- width: 264,
114
- tooltipItem: /* @__PURE__ */ o(
115
- a,
116
- {
117
- text: "Easily track the progress of the core sheets.",
118
- buttonLabel: "Next",
119
- onButtonClick: i
120
- }
121
- )
122
- },
123
- isActive: !1
124
- },
125
- {
126
- originalElementToHighlightRef: s,
127
- elementToHighlight: /* @__PURE__ */ o(_, { $widthX: 50, children: /* @__PURE__ */ o(N, { userType: T, blocks: K, imageHue: m }) }),
128
- type: l.TOOLTIP,
129
- indicator: {
130
- position: "top",
131
- tooltipXCoOrdinates: -150,
132
- tooltipYCoOrdinates: -260,
133
- backgroundColor: "PURPLE_4",
134
- borderColor: "BLACK",
135
- arrowColor: "BLACK",
136
- arrowSize: 12,
137
- width: 264,
138
- tooltipItem: /* @__PURE__ */ o(
139
- a,
140
- {
141
- text: "Core sheets are marked to help you find them faster.",
142
- buttonLabel: "Got it",
143
- onButtonClick: g
144
- }
145
- )
146
- },
147
- isActive: !1
148
- }
149
- ];
150
- h(t, R);
151
- const w = setTimeout(() => {
152
- clearTimeout(w), window.scrollTo(0, 0), document.body.style.overflow = "hidden", i();
153
- }, 500);
154
- c.current.push(w);
155
- },
156
- [i, g, h, t]
157
- ), y = S(
158
- () => ({
159
- chapterPageRef: e,
160
- bannerRef: r,
161
- coreBlocksRef: s,
162
- startJourney: f
163
- }),
164
- [f]
165
- );
166
- return x(() => () => {
167
- c.current.forEach((u) => clearTimeout(u)), c.current = [];
168
- }, []), y;
169
- };
170
- export {
171
- F as useChapterPageJourney
172
- };
173
- //# sourceMappingURL=use-chapter-journey.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-chapter-journey.js","sources":["../../../../src/features/journey/hooks/use-chapter-journey.tsx"],"sourcesContent":["import type { IUserChapterData } from '../../chapters-v2/chapter-details/chapter-details-types';\nimport type { IArrowTooltipProps } from '../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { TUserTypes } from '../../ui/types';\nimport type { ICoachmarkProps } from '../use-journey/journey-context-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport BlockSections from '../../chapters-v2/chapter-details/block-sections/block-sections';\nimport ChapterBanner from '../../chapters-v2/chapter-details/chapter-banner/chapter-banner';\nimport ChapterDetails from '../../chapters-v2/chapter-details/chapter-details';\nimport FlexView from '../../ui/layout/flex-view';\nimport { JOURNEY_ID_STUDENT } from '../journey-id/journey-id-student';\nimport { BLOCK_MOCKS, PROGRESS_STAT_MOCK } from '../mocks/chapter-page-journey-mock-data';\nimport { IndicatorType } from '../use-journey/constants';\nimport { useJourney } from '../use-journey/use-journey';\nimport TooltipItem from './use-home-page-journey/tooltip-item';\n\ninterface IChapterStartJourneyProps {\n chapterDetails: IUserChapterData;\n userChapterId: string;\n studentId: string;\n userType: TUserTypes;\n}\n\nexport const useChapterPageJourney = () => {\n const journeyId = JOURNEY_ID_STUDENT.CHAPTER_PAGE_JOURNEY;\n\n const chapterPageRef = useRef<HTMLDivElement>(null);\n const bannerRef = useRef<HTMLDivElement>(null);\n const coreBlocksRef = useRef<HTMLDivElement>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n\n const handleNextCoachmark = useCallback(() => {\n nextCoachmark(journeyId, false, 0, true);\n }, [journeyId, nextCoachmark]);\n\n const handleEndJourney = useCallback(() => {\n document.body.style.overflow = 'unset';\n endJourney(journeyId);\n }, [endJourney, journeyId]);\n\n const startJourney = useCallback(\n ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => {\n const { name, image_hue: imageHue, image_url: imageUrl } = chapterDetails;\n\n if (!chapterPageRef?.current || !bannerRef?.current || !coreBlocksRef.current) {\n return;\n }\n\n const chapterPageRect = chapterPageRef.current.getBoundingClientRect();\n\n const chapterPageSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: chapterPageRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <ChapterDetails\n userChapterId={userChapterId}\n studentId={studentId}\n userType={userType}\n onBlockSkipUnskip={() => null}\n onNodeAttempt={() => null}\n onNodeAttemptLocationChange={() => null}\n onNodeMarkAsDone={() => null}\n onNodeReattempt={() => null}\n onNodeReview={() => null}\n onNodeView={() => null}\n onExit={() => null}\n />\n ),\n indicator: {\n position: 'left',\n tooltipYCoOrdinates: -(chapterPageRect.height / 2) + 178,\n backgroundColor: 'BLUE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <TooltipItem\n text=\"Welcome to the all new chapter experience.\"\n buttonLabel=\"Next\"\n onButtonClick={handleNextCoachmark}\n />\n ),\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -45,\n tooltipYCoOrdinates: -40,\n backgroundColor: 'ORANGE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n width: 264,\n arrowSize: 12,\n tooltipItem: (\n <TooltipItem\n text=\"A chapter is divided into *core sheets (compulsory), and supplementary sheets.\"\n buttonLabel=\"Next\"\n onButtonClick={handleNextCoachmark}\n />\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -275,\n tooltipYCoOrdinates: -15,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <TooltipItem\n text=\"Easily track the progress of the core sheets.\"\n buttonLabel=\"Next\"\n onButtonClick={handleNextCoachmark}\n />\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: coreBlocksRef,\n elementToHighlight: (\n <FlexView $widthX={50}>\n <BlockSections userType={userType} blocks={BLOCK_MOCKS} imageHue={imageHue} />\n </FlexView>\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: -150,\n tooltipYCoOrdinates: -260,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <TooltipItem\n text=\"Core sheets are marked to help you find them faster.\"\n buttonLabel=\"Got it\"\n onButtonClick={handleEndJourney}\n />\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n ];\n\n setJourney(journeyId, chapterPageSteps);\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n window.scrollTo(0, 0);\n document.body.style.overflow = 'hidden';\n handleNextCoachmark();\n }, 500);\n\n timerRefs.current.push(delayBeforeStart);\n },\n [handleNextCoachmark, handleEndJourney, setJourney, journeyId],\n );\n\n const data = useMemo(\n () => ({\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n startJourney,\n }),\n [startJourney],\n );\n\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, []);\n\n return data;\n};\n"],"names":["useChapterPageJourney","journeyId","JOURNEY_ID_STUDENT","chapterPageRef","useRef","bannerRef","coreBlocksRef","timerRefs","nextCoachmark","setJourney","endJourney","useJourney","handleNextCoachmark","useCallback","handleEndJourney","startJourney","chapterDetails","userChapterId","studentId","userType","name","imageHue","imageUrl","chapterPageRect","chapterPageSteps","IndicatorType","jsx","ChapterDetails","TooltipItem","ChapterBanner","PROGRESS_STAT_MOCK","FlexView","BlockSections","BLOCK_MOCKS","delayBeforeStart","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;AAwBO,MAAMA,IAAwB,MAAM;AACzC,QAAMC,IAAYC,EAAmB,sBAE/BC,IAAiBC,EAAuB,IAAI,GAC5CC,IAAYD,EAAuB,IAAI,GACvCE,IAAgBF,EAAuB,IA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60 * 60, _ = [
2
- {
3
- accuracy: null,
4
- attempt_location: "ANY",
5
- attempt_state: null,
6
- block_id: "23a4e676-7094-11ed-87bc-6ec30f5d70bb",
7
- break_interval: 0,
8
- card_header: "PUZZLE",
9
- ceremony_completed_on_ts: null,
10
- chapter_id: "8b0d5af7-3d47-4888-acef-920069c6ae13",
11
- completed_on_ts: null,
12
- course_type: "PROGRAM",
13
- desmos_calculator_enabled: !1,
14
- due_date_ts: 1748241531,
15
- generic_node_type: null,
16
- homework_created_on_ts: 1747636732547152e-6,
17
- homework_id: "ede761ea-347b-11f0-b9d2-5e3c498fca42",
18
- image_hue: "BLUE",
19
- image_url: "https://dw7j1ezsvbafb.cloudfront.net/media/chapter-images/Default.jpg",
20
- is_core_lesson_node: null,
21
- is_irrelevant: !1,
22
- is_lesson_primary_node: null,
23
- is_lesson_v3_enabled: !1,
24
- is_optional: !0,
25
- is_timed: !1,
26
- is_worksheet_v3: null,
27
- learnosity_activity_ref: "CR_G4L1 Sum of Three Cubes",
28
- lesson_id: null,
29
- marked_as_completed: !1,
30
- mini_goal_code: null,
31
- node_group: null,
32
- node_id: "1de6ac4a-8e41-4446-9a07-a93d5713a2ff",
33
- node_sub_group: null,
34
- node_type: "PUZZLE_EASY",
35
- permissions: {
36
- can_assign_as_homework: !1,
37
- can_attempt: !1,
38
- can_change_attempt_location: !1,
39
- can_mark_familiar: !1,
40
- can_reattempt: !1,
41
- can_reset: !1,
42
- can_resume: !1,
43
- can_review: !1,
44
- can_start: !0,
45
- can_teacher_review: !1,
46
- can_teacher_score: !1,
47
- can_unassign: !1,
48
- can_unlock: !1,
49
- can_view_solution: !1,
50
- is_review_disabled: !1
51
- },
52
- position: 7,
53
- program_id: "1f7eee07-9e8f-423f-8c3a-690c42cdb6b6",
54
- rewards: [],
55
- scheduled_end_ts: null,
56
- scheduled_start_ts: null,
57
- sheet_statement: "Yet to start",
58
- sheet_time: 2400,
59
- started_on_ts: null,
60
- state: "NOT_STARTED",
61
- subtext: "Puzzle Cards",
62
- target_accuracy: 100,
63
- timer_type: null,
64
- title: "Sum of Three Cubes",
65
- total_questions: 0,
66
- unlocked_on_ts: 1747636731,
67
- user_attempt_id: null,
68
- user_block_id: "a021e0e2-b6f6-4bf0-84d2-dd7b603b89d4",
69
- user_milestone_id: null,
70
- user_node_id: "147520a0-2f62-11f0-876b-da0546594b04",
71
- worksheet_id: "c4e1035a-d3e5-11eb-8971-6296551a51ec"
72
- },
73
- {
74
- accuracy: null,
75
- attempt_location: "ANY",
76
- attempt_state: null,
77
- block_id: "",
78
- break_interval: 0,
79
- card_header: "SMART PRACTICE",
80
- ceremony_completed_on_ts: null,
81
- chapter_id: null,
82
- completed_on_ts: null,
83
- course_type: "PROGRAM",
84
- desmos_calculator_enabled: !1,
85
- due_date_ts: a,
86
- generic_node_type: null,
87
- homework_created_on_ts: 1747751314184602e-6,
88
- homework_id: "b5e1bf00-3586-11f0-a22a-9207bc065284",
89
- image_hue: "PURPLE",
90
- image_url: null,
91
- is_core_lesson_node: null,
92
- is_irrelevant: !1,
93
- is_lesson_primary_node: null,
94
- is_lesson_v3_enabled: !1,
95
- is_optional: !1,
96
- is_timed: !1,
97
- is_worksheet_v3: null,
98
- learnosity_activity_ref: "mastery-6f8b199b-9c54-40dc-833e-69db342fec26",
99
- lesson_id: null,
100
- marked_as_completed: !1,
101
- mini_goal_code: null,
102
- node_group: null,
103
- node_id: "307b7775-98fd-4831-bd2f-e87403db7da7",
104
- node_sub_group: null,
105
- node_type: "MASTERY",
106
- permissions: {
107
- can_assign_as_homework: !1,
108
- can_attempt: !1,
109
- can_change_attempt_location: !1,
110
- can_mark_familiar: !1,
111
- can_reattempt: !1,
112
- can_reset: !1,
113
- can_resume: !1,
114
- can_review: !1,
115
- can_start: !0,
116
- can_teacher_review: !1,
117
- can_teacher_score: !1,
118
- can_unassign: !1,
119
- can_unlock: !1,
120
- can_view_solution: !1,
121
- is_review_disabled: !1
122
- },
123
- position: 1,
124
- program_id: null,
125
- rewards: [],
126
- scheduled_end_ts: null,
127
- scheduled_start_ts: null,
128
- sheet_statement: "Yet to start",
129
- sheet_time: 0,
130
- started_on_ts: null,
131
- state: "IN_PROGRESS",
132
- subtext: "10 Questions",
133
- target_accuracy: null,
134
- timer_type: null,
135
- title: "Identify Types of Polygons • Understand Decimal Numbers • Convert Improper Fractions to Decimals",
136
- total_questions: 10,
137
- unlocked_on_ts: 1747751086,
138
- user_attempt_id: null,
139
- user_block_id: null,
140
- user_milestone_id: null,
141
- user_node_id: "2e715efe-3586-11f0-be8b-526b31ab17cd",
142
- worksheet_id: "b70c4195-2727-415e-b3a0-f9c0672103dc"
143
- },
144
- {
145
- accuracy: null,
146
- attempt_location: "ANY",
147
- attempt_state: null,
148
- block_id: "6c30d4f0-4bb0-4fc2-9dac-f7016f1bd589",
149
- break_interval: 0,
150
- card_header: "LEARN",
151
- ceremony_completed_on_ts: null,
152
- chapter_id: "8ac6c4a0-931c-4bd3-80f4-30b1c13cb8f4",
153
- completed_on_ts: null,
154
- course_type: "PROGRAM",
155
- desmos_calculator_enabled: !1,
156
- due_date_ts: 1747765021,
157
- generic_node_type: null,
158
- homework_created_on_ts: 1747763568498342e-6,
159
- homework_id: "3e05a164-35a3-11f0-b52f-9207bc065284",
160
- image_hue: "BLUE",
161
- image_url: "https://dw7j1ezsvbafb.cloudfront.net/media/chapter-images/Measurement_G4.jpg",
162
- is_core_lesson_node: null,
163
- is_irrelevant: !1,
164
- is_lesson_primary_node: null,
165
- is_lesson_v3_enabled: !1,
166
- is_optional: !1,
167
- is_timed: !1,
168
- is_worksheet_v3: null,
169
- learnosity_activity_ref: "G4-Length-Weight-Capacity-W01.vxp",
170
- lesson_id: null,
171
- marked_as_completed: !1,
172
- mini_goal_code: "MEA059-A",
173
- node_group: null,
174
- node_id: "ee7b2e69-fd74-4311-a378-8bb4e45449a6",
175
- node_sub_group: null,
176
- node_type: "LEARNING",
177
- permissions: {
178
- can_assign_as_homework: !1,
179
- can_attempt: !1,
180
- can_change_attempt_location: !1,
181
- can_mark_familiar: !0,
182
- can_reattempt: !1,
183
- can_reset: !1,
184
- can_resume: !1,
185
- can_review: !1,
186
- can_start: !0,
187
- can_teacher_review: !1,
188
- can_teacher_score: !1,
189
- can_unassign: !1,
190
- can_unlock: !1,
191
- can_view_solution: !1,
192
- is_review_disabled: !1
193
- },
194
- position: 1,
195
- program_id: "1f7eee07-9e8f-423f-8c3a-690c42cdb6b6",
196
- rewards: [],
197
- scheduled_end_ts: null,
198
- scheduled_start_ts: null,
199
- sheet_statement: "Yet to start",
200
- sheet_time: 0,
201
- started_on_ts: null,
202
- state: "NOT_STARTED",
203
- subtext: "Measurement",
204
- target_accuracy: 0,
205
- timer_type: null,
206
- title: "Solve Problems on Conversion of Units of Length",
207
- total_questions: 34,
208
- unlocked_on_ts: 1747160221,
209
- user_attempt_id: null,
210
- user_block_id: "83d76c9d-5d2f-49a9-9a3e-fed0293a08ab",
211
- user_milestone_id: null,
212
- user_node_id: "76f860b0-3026-11f0-8945-925795afcf7c",
213
- worksheet_id: "8b9bc1d6-0d7b-11ed-bf5b-4eea17b71ce5"
214
- },
215
- {
216
- accuracy: null,
217
- attempt_location: "ANY",
218
- block_id: "",
219
- card_header: "TEST",
220
- chapter_id: null,
221
- course_type: "EXAM",
222
- desmos_calculator_enabled: !1,
223
- due_date_ts: 1748368416713071e-6,
224
- homework_id: "5ac50966-35a3-11f0-b52f-9207bc065284",
225
- image_hue: "YELLOW",
226
- image_url: null,
227
- is_lesson_v3_enabled: !1,
228
- is_optional: !1,
229
- is_timed: !0,
230
- is_worksheet_v3: null,
231
- learnosity_activity_ref: null,
232
- marked_as_completed: !1,
233
- node_id: "bbcb2c1a-3289-11ed-b746-6237f2d293d9",
234
- node_type: "DYNAMIC",
235
- permissions: {
236
- can_assign_as_homework: !1,
237
- can_attempt: !1,
238
- can_change_attempt_location: !1,
239
- can_mark_familiar: !1,
240
- can_reattempt: !1,
241
- can_reset: !1,
242
- can_resume: !1,
243
- can_review: !1,
244
- can_start: !0,
245
- can_teacher_review: !1,
246
- can_teacher_score: !1,
247
- can_unassign: !1,
248
- can_unlock: !1,
249
- can_view_solution: !1,
250
- is_review_disabled: !1
251
- },
252
- sheet_statement: "Yet to start",
253
- sheet_time: 2700,
254
- state: "NOT_STARTED",
255
- subtext: "17 Questions, 45 Mins",
256
- title: "Factors, Multiples, and Primes • Time • An Introduction to Decimal Numbers • Fractions",
257
- total_questions: 17,
258
- unlocked_on_ts: 1747763616713071e-6,
259
- user_attempt_id: null,
260
- user_milestone_id: "f091d182-30fa-44b6-b7c5-6ecdc2c1592a",
261
- user_node_id: "5ac2b404-35a3-11f0-b52f-9207bc065284",
262
- worksheet_id: "bbbfd900-3289-11ed-b746-6237f2d293d9"
263
- }
264
- ];
265
- export {
266
- _ as HOMEWORK_DETAILS
267
- };
268
- //# sourceMappingURL=home-page-homeworks-mock.js.map