@cuemath/leap 3.5.32 → 3.5.33

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 (248) hide show
  1. package/dist/assets/illustrations/illustrations.js +35 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/images/images.js +0 -12
  4. package/dist/assets/images/images.js.map +1 -1
  5. package/dist/assets/line-icons/icons/carat-right.js +26 -0
  6. package/dist/assets/line-icons/icons/carat-right.js.map +1 -0
  7. package/dist/features/analytics-events/whitelist-events.js +10 -8
  8. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  9. package/dist/features/chapters/chapters-list/chapter-item/chapter-circular-progress/chapter-circular-progress.js +3 -3
  10. package/dist/features/chapters/chapters-list/chapter-item/chapter-circular-progress/chapter-circular-progress.js.map +1 -1
  11. package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal-constants.js +7 -7
  12. package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal-constants.js.map +1 -1
  13. package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal.js +13 -13
  14. package/dist/features/timeline/comps/new-progress-intro-modal/new-progress-intro-modal.js.map +1 -1
  15. package/dist/features/timeline/{api → daily-timeline/api}/use-daily-timeline-get.js +2 -2
  16. package/dist/features/timeline/daily-timeline/api/use-daily-timeline-get.js.map +1 -0
  17. package/dist/features/timeline/{comps → daily-timeline/comps}/accordion-item/accordion-item.js +6 -6
  18. package/dist/features/timeline/daily-timeline/comps/accordion-item/accordion-item.js.map +1 -0
  19. package/dist/features/timeline/daily-timeline/comps/constants.js +22 -0
  20. package/dist/features/timeline/daily-timeline/comps/constants.js.map +1 -0
  21. package/dist/features/timeline/{comps → daily-timeline/comps}/daily-timeline-items/daily-timeline-items-styled.js +1 -1
  22. package/dist/features/timeline/daily-timeline/comps/daily-timeline-items/daily-timeline-items-styled.js.map +1 -0
  23. package/dist/features/timeline/{comps → daily-timeline/comps}/daily-timeline-items/daily-timeline-items.js +18 -18
  24. package/dist/features/timeline/daily-timeline/comps/daily-timeline-items/daily-timeline-items.js.map +1 -0
  25. package/dist/features/timeline/{comps → daily-timeline/comps}/month-break/month-break-styled.js +1 -1
  26. package/dist/features/timeline/daily-timeline/comps/month-break/month-break-styled.js.map +1 -0
  27. package/dist/features/timeline/daily-timeline/comps/month-break/month-break.js.map +1 -0
  28. package/dist/features/timeline/{comps → daily-timeline/comps}/no-activity.js +4 -4
  29. package/dist/features/timeline/daily-timeline/comps/no-activity.js.map +1 -0
  30. package/dist/features/timeline/{comps → daily-timeline/comps}/utils.js +5 -5
  31. package/dist/features/timeline/daily-timeline/comps/utils.js.map +1 -0
  32. package/dist/features/timeline/{comps → daily-timeline/comps}/year-break/year-break-styled.js +1 -1
  33. package/dist/features/timeline/daily-timeline/comps/year-break/year-break-styled.js.map +1 -0
  34. package/dist/features/timeline/{comps → daily-timeline/comps}/year-break/year-break.js +2 -2
  35. package/dist/features/timeline/daily-timeline/comps/year-break/year-break.js.map +1 -0
  36. package/dist/features/timeline/{daily-timeline-events.js → daily-timeline/daily-timeline-events.js} +1 -1
  37. package/dist/features/timeline/daily-timeline/daily-timeline-events.js.map +1 -0
  38. package/dist/features/timeline/daily-timeline/daily-timeline-styled.js +25 -0
  39. package/dist/features/timeline/daily-timeline/daily-timeline-styled.js.map +1 -0
  40. package/dist/features/timeline/daily-timeline/daily-timeline-types.js +7 -0
  41. package/dist/features/timeline/daily-timeline/daily-timeline-types.js.map +1 -0
  42. package/dist/features/timeline/{daily-timeline-view.js → daily-timeline/daily-timeline-view.js} +24 -25
  43. package/dist/features/timeline/daily-timeline/daily-timeline-view.js.map +1 -0
  44. package/dist/features/timeline/{daily-timeline.js → daily-timeline/daily-timeline.js} +23 -23
  45. package/dist/features/timeline/daily-timeline/daily-timeline.js.map +1 -0
  46. package/dist/features/timeline/monthly-timeline/api/use-monthly-timeline-get.js +10 -0
  47. package/dist/features/timeline/monthly-timeline/api/use-monthly-timeline-get.js.map +1 -0
  48. package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.js +87 -0
  49. package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.js.map +1 -0
  50. package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.styled.js +9 -0
  51. package/dist/features/timeline/monthly-timeline/comps/monthly-card/monthly-card.styled.js.map +1 -0
  52. package/dist/features/timeline/monthly-timeline/constants.js +40 -0
  53. package/dist/features/timeline/monthly-timeline/constants.js.map +1 -0
  54. package/dist/features/timeline/monthly-timeline/monthly-report/api/use-monthly-report-api.js +13 -0
  55. package/dist/features/timeline/monthly-timeline/monthly-report/api/use-monthly-report-api.js.map +1 -0
  56. package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.js +59 -0
  57. package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.js.map +1 -0
  58. package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.styled.js +15 -0
  59. package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/achievements.styled.js.map +1 -0
  60. package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/constant.js +16 -0
  61. package/dist/features/timeline/monthly-timeline/monthly-report/comps/achievements/constant.js.map +1 -0
  62. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.js +128 -0
  63. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.js.map +1 -0
  64. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.styled.js +53 -0
  65. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card/activities-card.styled.js.map +1 -0
  66. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.js +75 -0
  67. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.js.map +1 -0
  68. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.js +58 -0
  69. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.js.map +1 -0
  70. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activity-puzzle-card.js +66 -0
  71. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activity-puzzle-card.js.map +1 -0
  72. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities.js +27 -0
  73. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/activities.js.map +1 -0
  74. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/constants.js +102 -0
  75. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/constants.js.map +1 -0
  76. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/utils.js +9 -0
  77. package/dist/features/timeline/monthly-timeline/monthly-report/comps/activities/utils.js.map +1 -0
  78. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-constants.js +29 -0
  79. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-constants.js.map +1 -0
  80. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-utils.js +123 -0
  81. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-utils.js.map +1 -0
  82. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.js +49 -0
  83. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.js.map +1 -0
  84. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.styled.js +48 -0
  85. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.styled.js.map +1 -0
  86. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendence-view.js +56 -0
  87. package/dist/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendence-view.js.map +1 -0
  88. package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback-styled.js +9 -0
  89. package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback-styled.js.map +1 -0
  90. package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback.js +85 -0
  91. package/dist/features/timeline/monthly-timeline/monthly-report/comps/feedback/feedback.js.map +1 -0
  92. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goal-chapter-card.js +48 -0
  93. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goal-chapter-card.js.map +1 -0
  94. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card-styled.js +28 -0
  95. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card-styled.js.map +1 -0
  96. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card.js +118 -0
  97. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-card/goals-card.js.map +1 -0
  98. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-constants.js +30 -0
  99. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals-constants.js.map +1 -0
  100. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals.js +22 -0
  101. package/dist/features/timeline/monthly-timeline/monthly-report/comps/goals/goals.js.map +1 -0
  102. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-events.js +11 -0
  103. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-events.js.map +1 -0
  104. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-styled.js +14 -0
  105. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-styled.js.map +1 -0
  106. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-types.js +5 -0
  107. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report-types.js.map +1 -0
  108. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report.js +79 -0
  109. package/dist/features/timeline/monthly-timeline/monthly-report/monthly-report.js.map +1 -0
  110. package/dist/features/timeline/monthly-timeline/monthly-timeline-styled.js +13 -0
  111. package/dist/features/timeline/monthly-timeline/monthly-timeline-styled.js.map +1 -0
  112. package/dist/features/timeline/monthly-timeline/monthly-timeline-types.js +6 -0
  113. package/dist/features/timeline/monthly-timeline/monthly-timeline-types.js.map +1 -0
  114. package/dist/features/timeline/monthly-timeline/monthly-timeline-view.js +28 -0
  115. package/dist/features/timeline/monthly-timeline/monthly-timeline-view.js.map +1 -0
  116. package/dist/features/timeline/monthly-timeline/monthly-timeline.js +65 -0
  117. package/dist/features/timeline/monthly-timeline/monthly-timeline.js.map +1 -0
  118. package/dist/features/timeline/monthly-timeline/ptm-report/api/use-ptm-report-get.js +9 -0
  119. package/dist/features/timeline/monthly-timeline/ptm-report/api/use-ptm-report-get.js.map +1 -0
  120. package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need-styled.js +9 -0
  121. package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need-styled.js.map +1 -0
  122. package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need.js +35 -0
  123. package/dist/features/timeline/monthly-timeline/ptm-report/comps/key-need/key-need.js.map +1 -0
  124. package/dist/features/timeline/monthly-timeline/ptm-report/comps/parent-support/parent-support.js +53 -0
  125. package/dist/features/timeline/monthly-timeline/ptm-report/comps/parent-support/parent-support.js.map +1 -0
  126. package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects-styled.js +19 -0
  127. package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects-styled.js.map +1 -0
  128. package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects.js +50 -0
  129. package/dist/features/timeline/monthly-timeline/ptm-report/comps/real-world-projects/real-world-projects.js.map +1 -0
  130. package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card-styled.js +9 -0
  131. package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card-styled.js.map +1 -0
  132. package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card.js +22 -0
  133. package/dist/features/timeline/monthly-timeline/ptm-report/comps/report-card/report-card.js.map +1 -0
  134. package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support-styled.js +9 -0
  135. package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support-styled.js.map +1 -0
  136. package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support.js +84 -0
  137. package/dist/features/timeline/monthly-timeline/ptm-report/comps/school-support/school-support.js.map +1 -0
  138. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies-constant.js +11 -0
  139. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies-constant.js.map +1 -0
  140. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies.js +36 -0
  141. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategies/strategies.js.map +1 -0
  142. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card-styled.js +55 -0
  143. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card-styled.js.map +1 -0
  144. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card.js +35 -0
  145. package/dist/features/timeline/monthly-timeline/ptm-report/comps/strategy-card/strategy-card.js.map +1 -0
  146. package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info-styled.js +21 -0
  147. package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info-styled.js.map +1 -0
  148. package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info.js +21 -0
  149. package/dist/features/timeline/monthly-timeline/ptm-report/comps/student-info/student-info.js.map +1 -0
  150. package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card-styled.js +9 -0
  151. package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card-styled.js.map +1 -0
  152. package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card.js +30 -0
  153. package/dist/features/timeline/monthly-timeline/ptm-report/comps/support-card/support-card.js.map +1 -0
  154. package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations-constant.js +9 -0
  155. package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations-constant.js.map +1 -0
  156. package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations.js +56 -0
  157. package/dist/features/timeline/monthly-timeline/ptm-report/comps/teacher-observations/teacher-observations.js.map +1 -0
  158. package/dist/features/timeline/monthly-timeline/ptm-report/comps/upcoming-chapters/upcoming-chapters.js +15 -0
  159. package/dist/features/timeline/monthly-timeline/ptm-report/comps/upcoming-chapters/upcoming-chapters.js.map +1 -0
  160. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-constants.js +16 -0
  161. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-constants.js.map +1 -0
  162. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-helpers.js +8 -0
  163. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-helpers.js.map +1 -0
  164. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-styled.js +11 -0
  165. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-styled.js.map +1 -0
  166. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-types.js +5 -0
  167. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report-types.js.map +1 -0
  168. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report.js +113 -0
  169. package/dist/features/timeline/monthly-timeline/ptm-report/ptm-report.js.map +1 -0
  170. package/dist/features/timeline/timeline-tabs/constants.js +17 -0
  171. package/dist/features/timeline/timeline-tabs/constants.js.map +1 -0
  172. package/dist/features/timeline/timeline-tabs/timeline-tabs-types.js +5 -0
  173. package/dist/features/timeline/timeline-tabs/timeline-tabs-types.js.map +1 -0
  174. package/dist/features/timeline/timeline-tabs/timeline-tabs.js +28 -0
  175. package/dist/features/timeline/timeline-tabs/timeline-tabs.js.map +1 -0
  176. package/dist/features/timeline/timeline-tabs/timeline-tabs.styled.js +37 -0
  177. package/dist/features/timeline/timeline-tabs/timeline-tabs.styled.js.map +1 -0
  178. package/dist/index.d.ts +156 -13
  179. package/dist/index.js +281 -271
  180. package/dist/index.js.map +1 -1
  181. package/dist/static/2021.2a1a2ec9.svg +1 -0
  182. package/dist/static/2022.2091553a.svg +1 -0
  183. package/dist/static/2023.ed718b4e.svg +1 -0
  184. package/dist/static/2024.aa60edc5.svg +1 -0
  185. package/dist/static/2025.014a8ad3.svg +1 -0
  186. package/dist/static/2026.95d70f27.svg +1 -0
  187. package/dist/static/2027.fe83a41c.svg +1 -0
  188. package/dist/static/2028.b1c253ef.svg +1 -0
  189. package/dist/static/apr.cd56f13d.svg +1 -0
  190. package/dist/static/aug.3ceade02.svg +1 -0
  191. package/dist/static/coding-report-icon.91a1e900.svg +1 -0
  192. package/dist/static/dec.90729a5e.svg +1 -0
  193. package/dist/static/elp-icon.d45b457d.svg +1 -0
  194. package/dist/static/empty-reports.fe92faad.svg +1 -0
  195. package/dist/static/english-icon.50c2e005.svg +1 -0
  196. package/dist/static/feb.a9ecd320.svg +1 -0
  197. package/dist/static/full-report.00112c74.svg +1 -0
  198. package/dist/static/jan.f8fb9c39.svg +1 -0
  199. package/dist/static/jul.04a98cf0.svg +1 -0
  200. package/dist/static/jun.9b6ab6bf.svg +1 -0
  201. package/dist/static/mar.f8b372ef.svg +1 -0
  202. package/dist/static/math-fit-grey.c32f37b3.svg +1 -0
  203. package/dist/static/may.23adae48.svg +1 -0
  204. package/dist/static/no-report.4158fad3.svg +1 -0
  205. package/dist/static/node-learn-large-bg.faa03631.svg +1 -0
  206. package/dist/static/node-puzzle-large-bg.ba23382e.svg +1 -0
  207. package/dist/static/node-test-large-bg.e9120fd1.svg +1 -0
  208. package/dist/static/nov.c44e4739.svg +1 -0
  209. package/dist/static/oct.856b3b3f.svg +1 -0
  210. package/dist/static/ptm-report-icon.5089218f.svg +1 -0
  211. package/dist/static/sat-report-icon.4331be86.svg +1 -0
  212. package/dist/static/science-report-icon.a0014c40.svg +1 -0
  213. package/dist/static/sep.2d547b31.svg +1 -0
  214. package/dist/static/thumps-down.a1192a62.svg +1 -0
  215. package/dist/static/thumps-up.caa35a98.svg +1 -0
  216. package/package.json +1 -1
  217. package/dist/features/timeline/api/use-daily-timeline-get.js.map +0 -1
  218. package/dist/features/timeline/comps/accordion-item/accordion-item.js.map +0 -1
  219. package/dist/features/timeline/comps/constants.js +0 -22
  220. package/dist/features/timeline/comps/constants.js.map +0 -1
  221. package/dist/features/timeline/comps/daily-timeline-items/daily-timeline-items-styled.js.map +0 -1
  222. package/dist/features/timeline/comps/daily-timeline-items/daily-timeline-items.js.map +0 -1
  223. package/dist/features/timeline/comps/month-break/month-break-styled.js.map +0 -1
  224. package/dist/features/timeline/comps/month-break/month-break.js.map +0 -1
  225. package/dist/features/timeline/comps/no-activity.js.map +0 -1
  226. package/dist/features/timeline/comps/utils.js.map +0 -1
  227. package/dist/features/timeline/comps/year-break/year-break-styled.js.map +0 -1
  228. package/dist/features/timeline/comps/year-break/year-break.js.map +0 -1
  229. package/dist/features/timeline/daily-timeline-events.js.map +0 -1
  230. package/dist/features/timeline/daily-timeline-styled.js +0 -21
  231. package/dist/features/timeline/daily-timeline-styled.js.map +0 -1
  232. package/dist/features/timeline/daily-timeline-types.js +0 -7
  233. package/dist/features/timeline/daily-timeline-types.js.map +0 -1
  234. package/dist/features/timeline/daily-timeline-view.js.map +0 -1
  235. package/dist/features/timeline/daily-timeline.js.map +0 -1
  236. package/dist/static/apr.09a50ff7.png +0 -0
  237. package/dist/static/aug.7179d37e.png +0 -0
  238. package/dist/static/dec.09f7e315.png +0 -0
  239. package/dist/static/feb.9e72504d.png +0 -0
  240. package/dist/static/jan.da91944a.png +0 -0
  241. package/dist/static/jul.5a1c4932.png +0 -0
  242. package/dist/static/jun.62639c2f.png +0 -0
  243. package/dist/static/mar.f51bcfa6.png +0 -0
  244. package/dist/static/may.7c542020.png +0 -0
  245. package/dist/static/nov.058343e7.png +0 -0
  246. package/dist/static/oct.573ee19d.png +0 -0
  247. package/dist/static/sep.3ccb6468.png +0 -0
  248. /package/dist/features/timeline/{comps → daily-timeline/comps}/month-break/month-break.js +0 -0
@@ -0,0 +1,58 @@
1
+ import t from "styled-components";
2
+ import i from "../../../../../../ui/layout/flex-view.js";
3
+ import { EDeviceType as r } from "../../../../../../ui/theme/constants.js";
4
+ import { getPuzzleCardPattern as n } from "../../../../../../puzzles/utils/puzzle-pattern.js";
5
+ const c = t(i)`
6
+ position: relative;
7
+ min-width: 126px;
8
+ max-width: 126px;
9
+ margin-top: 6px;
10
+ border: 2px solid ${({ theme: o, $imageHue: e }) => o.colors[`${e || "BLUE"}_4`]};
11
+
12
+ &::before {
13
+ content: '';
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ right: 0;
18
+ bottom: 0;
19
+ background-image: ${({ $imageHue: o }) => `url(${n(o)})`};
20
+ background-size: cover;
21
+ opacity: 0.4;
22
+ }
23
+ `, d = t(i)`
24
+ width: 100%;
25
+ max-width: 512px;
26
+ position: relative;
27
+ `, m = t(i)`
28
+ position: absolute;
29
+ right: ${({ $right: o }) => o};
30
+ left: ${({ $left: o }) => o};
31
+ cursor: pointer;
32
+ transition: opacity 0.3s ease-in-out;
33
+ opacity: ${({ $visible: o }) => o ? 1 : 0};
34
+ pointer-events: ${({ $visible: o }) => o ? "auto" : "none"};
35
+ z-index: 10;
36
+ path {
37
+ fill: ${({ theme: o }) => o.colors.WHITE};
38
+ }
39
+ `, u = t(i)`
40
+ overflow-x: ${({ theme: o }) => o.device <= r.TABLET ? "scroll" : "hidden"};
41
+ overflow-y: visible;
42
+ scroll-behavior: smooth;
43
+ &::-webkit-scrollbar {
44
+ display: none;
45
+ }
46
+ `, x = t(i)`
47
+ position: absolute;
48
+ right: -8px;
49
+ top: -8px;
50
+ `;
51
+ export {
52
+ d as ContentWrapper,
53
+ c as PuzzleContainer,
54
+ m as ScrollButton,
55
+ u as ScrollContainer,
56
+ x as StatusIcon
57
+ };
58
+ //# sourceMappingURL=activities-card-puzzles.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activities-card-puzzles.styled.js","sources":["../../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activities-card-puzzles.styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../../../ui/layout/flex-view';\nimport { type THueNames } from '../../../../../../ui/types';\nimport { EDeviceType } from '../../../../../../ui/theme/constants';\nimport { getPuzzleCardPattern } from '../../../../../../puzzles/utils/puzzle-pattern';\n\nexport const PuzzleContainer = styled(FlexView)<{\n $imageHue: THueNames;\n}>`\n position: relative;\n min-width: 126px;\n max-width: 126px;\n margin-top: 6px;\n border: 2px solid ${({ theme, $imageHue }) => theme.colors[`${$imageHue || 'BLUE'}_4`]};\n\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: ${({ $imageHue }) => `url(${getPuzzleCardPattern($imageHue)})`};\n background-size: cover;\n opacity: 0.4;\n }\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n width: 100%;\n max-width: 512px;\n position: relative;\n`;\n\nexport const ScrollButton = styled(FlexView)<{\n $visible?: boolean;\n $left: string;\n $right: string;\n}>`\n position: absolute;\n right: ${({ $right }) => $right};\n left: ${({ $left }) => $left};\n cursor: pointer;\n transition: opacity 0.3s ease-in-out;\n opacity: ${({ $visible }) => ($visible ? 1 : 0)};\n pointer-events: ${({ $visible }) => ($visible ? 'auto' : 'none')};\n z-index: 10;\n path {\n fill: ${({ theme }) => theme.colors.WHITE};\n }\n`;\n\nexport const ScrollContainer = styled(FlexView)`\n overflow-x: ${({ theme }) => (theme.device <= EDeviceType.TABLET ? 'scroll' : 'hidden')};\n overflow-y: visible;\n scroll-behavior: smooth;\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n\nexport const StatusIcon = styled(FlexView)`\n position: absolute;\n right: -8px;\n top: -8px;\n`;\n"],"names":["PuzzleContainer","styled","FlexView","theme","$imageHue","getPuzzleCardPattern","ContentWrapper","ScrollButton","$right","$left","$visible","ScrollContainer","EDeviceType","StatusIcon"],"mappings":";;;;AAOa,MAAAA,IAAkBC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,sBAOxB,CAAC,EAAE,OAAAC,GAAO,WAAAC,EAAU,MAAMD,EAAM,OAAO,GAAGC,KAAa,MAAM,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAShE,CAAC,EAAE,WAAAA,EAAU,MAAM,OAAOC,EAAqBD,CAAS,CAAC,GAAG;AAAA;AAAA;AAAA;AAAA,GAMvEE,IAAiBL,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMhCK,IAAeN,EAAOC,CAAQ;AAAA;AAAA,WAMhC,CAAC,EAAE,QAAAM,EAAO,MAAMA,CAAM;AAAA,UACvB,CAAC,EAAE,OAAAC,EAAM,MAAMA,CAAK;AAAA;AAAA;AAAA,aAGjB,CAAC,EAAE,UAAAC,EAAA,MAAgBA,IAAW,IAAI,CAAE;AAAA,oBAC7B,CAAC,EAAE,UAAAA,EAAA,MAAgBA,IAAW,SAAS,MAAO;AAAA;AAAA;AAAA,YAGtD,CAAC,EAAE,OAAAP,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA,GAIhCQ,IAAkBV,EAAOC,CAAQ;AAAA,gBAC9B,CAAC,EAAE,OAAAC,EAAM,MAAOA,EAAM,UAAUS,EAAY,SAAS,WAAW,QAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQ5EC,IAAaZ,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;"}
@@ -0,0 +1,66 @@
1
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
+ import { memo as f, useCallback as p } from "react";
3
+ import { PuzzleContainer as E, StatusIcon as T } from "./activities-card-puzzles.styled.js";
4
+ import g from "../../../../../../ui/layout/flex-view.js";
5
+ import _ from "../../../../../../ui/image/image.js";
6
+ import A from "../../../../../../ui/separator/separator.js";
7
+ import b from "../../../../../../ui/text/text.js";
8
+ import { NODE_STATE as o } from "../../../../../daily-timeline/daily-timeline-types.js";
9
+ import { stateIcon as h } from "../constants.js";
10
+ function I({ puzzle: u, onPuzzleClick: e }) {
11
+ const {
12
+ image_url: m,
13
+ state: r,
14
+ item_ref: n,
15
+ feedback_comments: c,
16
+ image_hue: i,
17
+ title: a,
18
+ tip: s
19
+ } = u, $ = p(() => {
20
+ e == null || e({ item_ref: n, feedback_comments: c, image_hue: i, title: a, tip: s });
21
+ }, [e, n, c, i, a, s]), l = r === o.PENDING || r === o.NOT_STARTED ? "RED" : "BLACK_1";
22
+ return /* @__PURE__ */ d(
23
+ E,
24
+ {
25
+ $gapX: 1,
26
+ $imageHue: i || "BLUE",
27
+ $width: 146,
28
+ $height: 162,
29
+ $background: `${i || "BLUE"}_2`,
30
+ onClick: $,
31
+ children: [
32
+ /* @__PURE__ */ t(
33
+ T,
34
+ {
35
+ $borderRadiusX: 1,
36
+ $background: l,
37
+ $widthX: 1,
38
+ $heightX: 1,
39
+ $alignItems: "center",
40
+ $justifyContent: "center",
41
+ children: r && (h[r] || h[o.COMPLETED])
42
+ }
43
+ ),
44
+ /* @__PURE__ */ d(g, { $background: "TRANSPARENT", $alignItems: "center", children: [
45
+ m && /* @__PURE__ */ t(
46
+ _,
47
+ {
48
+ src: m ?? "",
49
+ alt: "Puzzle illustration",
50
+ width: 68,
51
+ height: 68,
52
+ withLoader: !0
53
+ }
54
+ ),
55
+ /* @__PURE__ */ t(A, { heightX: 1 }),
56
+ /* @__PURE__ */ t(g, { $gutterX: 0.25, children: /* @__PURE__ */ t(b, { $renderAs: "ab3", $align: "center", children: a }) })
57
+ ] })
58
+ ]
59
+ }
60
+ );
61
+ }
62
+ const C = f(I);
63
+ export {
64
+ C as default
65
+ };
66
+ //# sourceMappingURL=activity-puzzle-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activity-puzzle-card.js","sources":["../../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/activities/activities-card-puzzles/activity-puzzle-card.tsx"],"sourcesContent":["import { memo, useCallback } from 'react';\n\nimport * as Styled from './activities-card-puzzles.styled';\nimport FlexView from '../../../../../../ui/layout/flex-view';\nimport Image from '../../../../../../ui/image/image';\nimport Separator from '../../../../../../ui/separator/separator';\nimport Text from '../../../../../../ui/text/text';\nimport { NODE_STATE } from '../../../../../daily-timeline/daily-timeline-types';\nimport { stateIcon } from '../constants';\nimport { type IActivityPuzzleCardProps } from './activities-card-puzzles-types';\n\nfunction ActivityPuzzleCard({ puzzle, onPuzzleClick }: IActivityPuzzleCardProps) {\n const {\n image_url: imageUrl,\n state,\n item_ref,\n feedback_comments,\n image_hue: imageHue,\n title,\n tip,\n } = puzzle;\n\n const handlePuzzleClick = useCallback(() => {\n onPuzzleClick?.({ item_ref, feedback_comments, image_hue: imageHue, title, tip });\n }, [onPuzzleClick, item_ref, feedback_comments, imageHue, title, tip]);\n const statusBg =\n state === NODE_STATE.PENDING || state === NODE_STATE.NOT_STARTED ? 'RED' : 'BLACK_1';\n\n return (\n <Styled.PuzzleContainer\n $gapX={1}\n $imageHue={imageHue || 'BLUE'}\n $width={146}\n $height={162}\n $background={`${imageHue || 'BLUE'}_2`}\n onClick={handlePuzzleClick}\n >\n <Styled.StatusIcon\n $borderRadiusX={1}\n $background={statusBg}\n $widthX={1}\n $heightX={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n {state && (stateIcon[state as NODE_STATE] || stateIcon[NODE_STATE.COMPLETED])}\n </Styled.StatusIcon>\n <FlexView $background=\"TRANSPARENT\" $alignItems=\"center\">\n {imageUrl && (\n <Image\n src={imageUrl ?? ''}\n alt=\"Puzzle illustration\"\n width={68}\n height={68}\n withLoader={true}\n />\n )}\n <Separator heightX={1} />\n <FlexView $gutterX={0.25}>\n <Text $renderAs=\"ab3\" $align=\"center\">\n {title}\n </Text>\n </FlexView>\n </FlexView>\n </Styled.PuzzleContainer>\n );\n}\n\nexport default memo(ActivityPuzzleCard);\n"],"names":["ActivityPuzzleCard","puzzle","onPuzzleClick","imageUrl","state","item_ref","feedback_comments","imageHue","title","tip","handlePuzzleClick","useCallback","statusBg","NODE_STATE","jsxs","Styled.PuzzleContainer","jsx","Styled.StatusIcon","stateIcon","FlexView","Image","Separator","Text","ActivityPuzzleCard$1","memo"],"mappings":";;;;;;;;;AAWA,SAASA,EAAmB,EAAE,QAAAC,GAAQ,eAAAC,KAA2C;AACzE,QAAA;AAAA,IACJ,WAAWC;AAAA,IACX,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,WAAWC;AAAA,IACX,OAAAC;AAAA,IACA,KAAAC;AAAA,EACE,IAAAR,GAEES,IAAoBC,EAAY,MAAM;AAC1C,IAAAT,KAAA,QAAAA,EAAgB,EAAE,UAAAG,GAAU,mBAAAC,GAAmB,WAAWC,GAAU,OAAAC,GAAO,KAAAC;EAAK,GAC/E,CAACP,GAAeG,GAAUC,GAAmBC,GAAUC,GAAOC,CAAG,CAAC,GAC/DG,IACJR,MAAUS,EAAW,WAAWT,MAAUS,EAAW,cAAc,QAAQ;AAG3E,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,WAAWR,KAAY;AAAA,MACvB,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,aAAa,GAAGA,KAAY,MAAM;AAAA,MAClC,SAASG;AAAA,MAET,UAAA;AAAA,QAAA,gBAAAM;AAAA,UAACC;AAAAA,UAAA;AAAA,YACC,gBAAgB;AAAA,YAChB,aAAaL;AAAA,YACb,SAAS;AAAA,YACT,UAAU;AAAA,YACV,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAEf,gBAAUM,EAAUd,CAAmB,KAAKc,EAAUL,EAAW,SAAS;AAAA,UAAA;AAAA,QAC7E;AAAA,QACC,gBAAAC,EAAAK,GAAA,EAAS,aAAY,eAAc,aAAY,UAC7C,UAAA;AAAA,UACChB,KAAA,gBAAAa;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,KAAKjB,KAAY;AAAA,cACjB,KAAI;AAAA,cACJ,OAAO;AAAA,cACP,QAAQ;AAAA,cACR,YAAY;AAAA,YAAA;AAAA,UACd;AAAA,UAEF,gBAAAa,EAACK,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,UACvB,gBAAAL,EAACG,GAAS,EAAA,UAAU,MAClB,UAAA,gBAAAH,EAACM,GAAK,EAAA,WAAU,OAAM,QAAO,UAC1B,UAAAd,EACH,CAAA,GACF;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;AAEA,MAAee,IAAAC,EAAKxB,CAAkB;"}
@@ -0,0 +1,27 @@
1
+ import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
+ import { memo as t } from "react";
3
+ import d from "./activities-card/activities-card.js";
4
+ import l from "../../../../../ui/layout/flex-view.js";
5
+ import h from "../../../../../ui/text/text.js";
6
+ import u from "../../../../../ui/separator/separator.js";
7
+ const x = ({ activities: o, onPuzzleClick: p }) => !o || Object.keys(o).length === 0 ? null : /* @__PURE__ */ f(l, { children: [
8
+ /* @__PURE__ */ e(h, { $renderAs: "ab1-bold", $color: "BLACK_1", children: "Activities" }),
9
+ /* @__PURE__ */ e(u, { heightX: 1 }),
10
+ /* @__PURE__ */ e(l, { $flexRowGapX: 1.5, children: Object.entries(o).map(([n, r]) => {
11
+ var m;
12
+ return r != null && r.length ? /* @__PURE__ */ e(
13
+ d,
14
+ {
15
+ nodeType: (m = r[0]) == null ? void 0 : m.node_type,
16
+ cardType: n,
17
+ activitiesList: r,
18
+ onPuzzleClick: p
19
+ },
20
+ n
21
+ ) : null;
22
+ }) })
23
+ ] }), w = t(x);
24
+ export {
25
+ w as default
26
+ };
27
+ //# sourceMappingURL=activities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activities.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/activities/activities.tsx"],"sourcesContent":["import { memo, type FC } from 'react';\n\nimport { type IActivitiesProps } from './activities-types';\nimport { type TNodeTypes } from '../../../../../chapters-v2/comps/node-card/node-card-types';\nimport ActivitiesCard from './activities-card/activities-card';\nimport { type CARD_TYPE } from '../../monthly-report-types';\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport Text from '../../../../../ui/text/text';\nimport Separator from '../../../../../ui/separator/separator';\n\nconst Activities: FC<IActivitiesProps> = ({ activities, onPuzzleClick }) => {\n if (!activities || Object.keys(activities).length === 0) return null;\n\n return (\n <FlexView>\n <Text $renderAs=\"ab1-bold\" $color=\"BLACK_1\">\n Activities\n </Text>\n <Separator heightX={1} />\n <FlexView $flexRowGapX={1.5}>\n {Object.entries(activities).map(([cardType, activitiesList]) => {\n if (!activitiesList?.length) return null;\n\n return (\n <ActivitiesCard\n key={cardType}\n nodeType={activitiesList[0]?.node_type as TNodeTypes}\n cardType={cardType as CARD_TYPE}\n activitiesList={activitiesList}\n onPuzzleClick={onPuzzleClick}\n />\n );\n })}\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(Activities);\n"],"names":["Activities","activities","onPuzzleClick","FlexView","jsx","Text","Separator","cardType","activitiesList","ActivitiesCard","_a","Activities$1","memo"],"mappings":";;;;;;AAUA,MAAMA,IAAmC,CAAC,EAAE,YAAAC,GAAY,eAAAC,QAClD,CAACD,KAAc,OAAO,KAAKA,CAAU,EAAE,WAAW,IAAU,yBAG7DE,GACC,EAAA,UAAA;AAAA,EAAA,gBAAAC,EAACC,GAAK,EAAA,WAAU,YAAW,QAAO,WAAU,UAE5C,cAAA;AAAA,EACA,gBAAAD,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACtB,gBAAAF,EAAAD,GAAA,EAAS,cAAc,KACrB,UAAO,OAAA,QAAQF,CAAU,EAAE,IAAI,CAAC,CAACM,GAAUC,CAAc,MAAM;;AAC1D,WAACA,KAAA,QAAAA,EAAgB,SAGnB,gBAAAJ;AAAA,MAACK;AAAA,MAAA;AAAA,QAEC,WAAUC,IAAAF,EAAe,CAAC,MAAhB,gBAAAE,EAAmB;AAAA,QAC7B,UAAAH;AAAA,QACA,gBAAAC;AAAA,QACA,eAAAN;AAAA,MAAA;AAAA,MAJKK;AAAA,IAAA,IAJ2B;AAAA,EAWrC,CAAA,GACH;AACF,EAAA,CAAA,GAIWI,IAAAC,EAAKZ,CAAU;"}
@@ -0,0 +1,102 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { LOTTIE as r } from "../../../../../../assets/lottie/lottie.js";
3
+ import e from "../../../../../../assets/line-icons/icons/check2.js";
4
+ import T from "../../../../../../assets/line-icons/icons/status.js";
5
+ import _ from "../../../../../../assets/line-icons/icons/exclamation.js";
6
+ import { NODE_STATE as c } from "../../../../daily-timeline/daily-timeline-types.js";
7
+ import { ILLUSTRATIONS as E } from "../../../../../../assets/illustrations/illustrations.js";
8
+ import { CARD_TYPE as o } from "../../monthly-report-types.js";
9
+ function R(a) {
10
+ switch (a) {
11
+ case o.learn:
12
+ return {
13
+ lottie: r.LEARN,
14
+ color: "YELLOW_2",
15
+ background: E.NODE_LEARN_LARGE_BG
16
+ };
17
+ case o.practice:
18
+ case o.smart_practice:
19
+ case o.sat_mock_test:
20
+ return {
21
+ lottie: r.PRACTICE,
22
+ color: "PURPLE_2",
23
+ background: E.NODE_PRACTICE_BG
24
+ };
25
+ case o.puzzle:
26
+ return {
27
+ lottie: r.PUZZLE,
28
+ color: "PURPLE_2",
29
+ background: E.NODE_PUZZLE_LARGE_BG
30
+ };
31
+ case o.test:
32
+ case o.diagnostic:
33
+ return {
34
+ lottie: r.TEST,
35
+ color: "ORANGE_2",
36
+ background: E.NODE_TEST_LARGE_BG
37
+ };
38
+ case o.challenge:
39
+ return {
40
+ lottie: r.COMPETITIVE_ARENA,
41
+ color: "ORANGE_2",
42
+ background: E.NODE_TEST_PREP_BG
43
+ };
44
+ case o.advanced:
45
+ return {
46
+ lottie: r.TEST,
47
+ color: "GREEN_2",
48
+ background: E.NODE_TEST_LARGE_BG
49
+ };
50
+ case o.subjective:
51
+ return {
52
+ lottie: r.SUBJECTIVE,
53
+ color: "BLUE_2",
54
+ background: E.NODE_SUBJECTIVE_BG
55
+ };
56
+ case o.recap:
57
+ case o.remedial:
58
+ case o.revision:
59
+ return {
60
+ lottie: r.RECAP,
61
+ color: "BLUE_2",
62
+ background: E.NODE_RECAP_BG
63
+ };
64
+ case o.activity:
65
+ case o.wb_activity:
66
+ return {
67
+ lottie: r.ACTIVITY,
68
+ color: "ORANGE_2",
69
+ background: E.NODE_ACTIVITY_BG
70
+ };
71
+ case o.video:
72
+ return {
73
+ lottie: r.VIDEO,
74
+ color: "GREEN_2",
75
+ background: E.NODE_VIDEO_BG
76
+ };
77
+ case o.pdf:
78
+ return {
79
+ lottie: r.DOWNLOAD,
80
+ color: "BLUE_2",
81
+ background: E.NODE_DOWNLOAD_BG
82
+ };
83
+ default:
84
+ return {
85
+ lottie: r.PROJECT,
86
+ color: "GREEN_2",
87
+ background: E.NODE_PROJECT_BG
88
+ };
89
+ }
90
+ }
91
+ const A = {
92
+ [c.COMPLETED]: /* @__PURE__ */ t(e, { color: "WHITE" }),
93
+ [c.IN_PROGRESS]: /* @__PURE__ */ t(T, { color: "WHITE" }),
94
+ [c.PENDING]: /* @__PURE__ */ t(_, { color: "WHITE" }),
95
+ [c.NOT_STARTED]: /* @__PURE__ */ t(_, { color: "WHITE" }),
96
+ [c.WAIT_FOR_REVIEW]: /* @__PURE__ */ t(e, { color: "WHITE" })
97
+ };
98
+ export {
99
+ R as getCardTypeIconMap,
100
+ A as stateIcon
101
+ };
102
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/activities/constants.tsx"],"sourcesContent":["import { LOTTIE } from '../../../../../../assets/lottie/lottie';\nimport Check2Icon from '../../../../../../assets/line-icons/icons/check2';\nimport StatusIcon from '../../../../../../assets/line-icons/icons/status';\nimport ExclamationIcon from '../../../../../../assets/line-icons/icons/exclamation';\nimport { NODE_STATE } from '../../../../daily-timeline/daily-timeline-types';\nimport { ILLUSTRATIONS } from '../../../../../../assets/illustrations/illustrations';\nimport { CARD_TYPE } from '../../monthly-report-types';\n\nexport function getCardTypeIconMap(cardType: CARD_TYPE) {\n switch (cardType) {\n case CARD_TYPE.learn:\n return {\n lottie: LOTTIE.LEARN,\n color: 'YELLOW_2',\n background: ILLUSTRATIONS.NODE_LEARN_LARGE_BG,\n };\n case CARD_TYPE.practice:\n case CARD_TYPE.smart_practice:\n case CARD_TYPE.sat_mock_test:\n return {\n lottie: LOTTIE.PRACTICE,\n color: 'PURPLE_2',\n background: ILLUSTRATIONS.NODE_PRACTICE_BG,\n };\n case CARD_TYPE.puzzle:\n return {\n lottie: LOTTIE.PUZZLE,\n color: 'PURPLE_2',\n background: ILLUSTRATIONS.NODE_PUZZLE_LARGE_BG,\n };\n case CARD_TYPE.test:\n case CARD_TYPE.diagnostic:\n return {\n lottie: LOTTIE.TEST,\n color: 'ORANGE_2',\n background: ILLUSTRATIONS.NODE_TEST_LARGE_BG,\n };\n case CARD_TYPE.challenge:\n return {\n lottie: LOTTIE.COMPETITIVE_ARENA,\n color: 'ORANGE_2',\n background: ILLUSTRATIONS.NODE_TEST_PREP_BG,\n };\n case CARD_TYPE.advanced:\n return {\n lottie: LOTTIE.TEST,\n color: 'GREEN_2',\n background: ILLUSTRATIONS.NODE_TEST_LARGE_BG,\n };\n case CARD_TYPE.subjective:\n return {\n lottie: LOTTIE.SUBJECTIVE,\n color: 'BLUE_2',\n background: ILLUSTRATIONS.NODE_SUBJECTIVE_BG,\n };\n case CARD_TYPE.recap:\n case CARD_TYPE.remedial:\n case CARD_TYPE.revision:\n return {\n lottie: LOTTIE.RECAP,\n color: 'BLUE_2',\n background: ILLUSTRATIONS.NODE_RECAP_BG,\n };\n\n case CARD_TYPE.activity:\n case CARD_TYPE.wb_activity:\n return {\n lottie: LOTTIE.ACTIVITY,\n color: 'ORANGE_2',\n background: ILLUSTRATIONS.NODE_ACTIVITY_BG,\n };\n\n case CARD_TYPE.video:\n return {\n lottie: LOTTIE.VIDEO,\n color: 'GREEN_2',\n background: ILLUSTRATIONS.NODE_VIDEO_BG,\n };\n\n case CARD_TYPE.pdf:\n return {\n lottie: LOTTIE.DOWNLOAD,\n color: 'BLUE_2',\n background: ILLUSTRATIONS.NODE_DOWNLOAD_BG,\n };\n\n default:\n return {\n lottie: LOTTIE.PROJECT,\n color: 'GREEN_2',\n background: ILLUSTRATIONS.NODE_PROJECT_BG,\n };\n }\n}\n\nexport const stateIcon = {\n [NODE_STATE.COMPLETED]: <Check2Icon color=\"WHITE\" />,\n [NODE_STATE.IN_PROGRESS]: <StatusIcon color=\"WHITE\" />,\n [NODE_STATE.PENDING]: <ExclamationIcon color=\"WHITE\" />,\n [NODE_STATE.NOT_STARTED]: <ExclamationIcon color=\"WHITE\" />,\n [NODE_STATE.WAIT_FOR_REVIEW]: <Check2Icon color=\"WHITE\" />,\n};\n"],"names":["getCardTypeIconMap","cardType","CARD_TYPE","LOTTIE","ILLUSTRATIONS","stateIcon","NODE_STATE","jsx","Check2Icon","StatusIcon","ExclamationIcon"],"mappings":";;;;;;;;AAQO,SAASA,EAAmBC,GAAqB;AACtD,UAAQA,GAAU;AAAA,IAChB,KAAKC,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AAAA,IACf,KAAKA,EAAU;AAAA,IACf,KAAKA,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AAAA,IACf,KAAKA,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAE9B,KAAKF,EAAU;AAAA,IACf,KAAKA,EAAU;AAAA,IACf,KAAKA,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAG9B,KAAKF,EAAU;AAAA,IACf,KAAKA,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAG9B,KAAKF,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAG9B,KAAKF,EAAU;AACN,aAAA;AAAA,QACL,QAAQC,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,IAG9B;AACS,aAAA;AAAA,QACL,QAAQD,EAAO;AAAA,QACf,OAAO;AAAA,QACP,YAAYC,EAAc;AAAA,MAAA;AAAA,EAEhC;AACF;AAEO,MAAMC,IAAY;AAAA,EACvB,CAACC,EAAW,SAAS,GAAI,gBAAAC,EAAAC,GAAA,EAAW,OAAM,SAAQ;AAAA,EAClD,CAACF,EAAW,WAAW,GAAI,gBAAAC,EAAAE,GAAA,EAAW,OAAM,SAAQ;AAAA,EACpD,CAACH,EAAW,OAAO,GAAI,gBAAAC,EAAAG,GAAA,EAAgB,OAAM,SAAQ;AAAA,EACrD,CAACJ,EAAW,WAAW,GAAI,gBAAAC,EAAAG,GAAA,EAAgB,OAAM,SAAQ;AAAA,EACzD,CAACJ,EAAW,eAAe,GAAI,gBAAAC,EAAAC,GAAA,EAAW,OAAM,SAAQ;AAC1D;"}
@@ -0,0 +1,9 @@
1
+ import { NODE_STATE as o } from "../../../../daily-timeline/daily-timeline-types.js";
2
+ const E = (i) => i.reduce(
3
+ (t, { state: e }) => (e === o.COMPLETED || e === o.WAIT_FOR_REVIEW ? t.totalDone++ : e === o.IN_PROGRESS ? t.totalPending++ : (e === o.PENDING || e === o.NOT_STARTED) && t.totalOverdue++, t),
4
+ { totalDone: 0, totalPending: 0, totalOverdue: 0 }
5
+ );
6
+ export {
7
+ E as countActivitiesByState
8
+ };
9
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/activities/utils.ts"],"sourcesContent":["import { type IMonthlyActivity } from '../../monthly-report-types';\nimport { NODE_STATE } from '../../../../daily-timeline/daily-timeline-types';\n\nexport const countActivitiesByState = (activitiesList: IMonthlyActivity[]) =>\n activitiesList.reduce(\n (acc, { state }) => {\n if (state === NODE_STATE.COMPLETED || state === NODE_STATE.WAIT_FOR_REVIEW) {\n acc.totalDone++;\n } else if (state === NODE_STATE.IN_PROGRESS) {\n acc.totalPending++;\n } else if (state === NODE_STATE.PENDING || state === NODE_STATE.NOT_STARTED) {\n acc.totalOverdue++;\n }\n\n return acc;\n },\n { totalDone: 0, totalPending: 0, totalOverdue: 0 },\n );\n"],"names":["countActivitiesByState","activitiesList","acc","state","NODE_STATE"],"mappings":";AAGa,MAAAA,IAAyB,CAACC,MACrCA,EAAe;AAAA,EACb,CAACC,GAAK,EAAE,OAAAC,SACFA,MAAUC,EAAW,aAAaD,MAAUC,EAAW,kBACrDF,EAAA,cACKC,MAAUC,EAAW,cAC1BF,EAAA,kBACKC,MAAUC,EAAW,WAAWD,MAAUC,EAAW,gBAC1DF,EAAA,gBAGCA;AAAA,EAET,EAAE,WAAW,GAAG,cAAc,GAAG,cAAc,EAAE;AACnD;"}
@@ -0,0 +1,29 @@
1
+ const E = {
2
+ ATTENDED: "attended",
3
+ MISSED: "missed",
4
+ PAUSED: "paused"
5
+ }, A = {
6
+ DAYS_PER_WEEK: 7,
7
+ DAY_HEADERS: ["S", "M", "Tu", "W", "Th", "F", "S"],
8
+ FIRST_DAY_OF_WEEK: 0
9
+ // Sunday = 0
10
+ }, S = [
11
+ "Jan",
12
+ "Feb",
13
+ "Mar",
14
+ "Apr",
15
+ "May",
16
+ "Jun",
17
+ "Jul",
18
+ "Aug",
19
+ "Sep",
20
+ "Oct",
21
+ "Nov",
22
+ "Dec"
23
+ ];
24
+ export {
25
+ E as ATTENDANCE_STATUS,
26
+ A as CALENDAR_CONFIG,
27
+ S as MONTH_NAMES
28
+ };
29
+ //# sourceMappingURL=attendance-constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attendance-constants.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-constants.ts"],"sourcesContent":["export const ATTENDANCE_STATUS = {\n ATTENDED: 'attended',\n MISSED: 'missed',\n PAUSED: 'paused',\n} as const;\n\nexport const CALENDAR_CONFIG = {\n DAYS_PER_WEEK: 7,\n DAY_HEADERS: ['S', 'M', 'Tu', 'W', 'Th', 'F', 'S'],\n FIRST_DAY_OF_WEEK: 0, // Sunday = 0\n} as const;\n\nexport const MONTH_NAMES = [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec',\n];\n"],"names":["ATTENDANCE_STATUS","CALENDAR_CONFIG","MONTH_NAMES"],"mappings":"AAAO,MAAMA,IAAoB;AAAA,EAC/B,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,QAAQ;AACV,GAEaC,IAAkB;AAAA,EAC7B,eAAe;AAAA,EACf,aAAa,CAAC,KAAK,KAAK,MAAM,KAAK,MAAM,KAAK,GAAG;AAAA,EACjD,mBAAmB;AAAA;AACrB,GAEaC,IAAc;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
@@ -0,0 +1,123 @@
1
+ import { jsx as d, jsxs as C } from "react/jsx-runtime";
2
+ import b from "../../../../../../assets/line-icons/icons/check2.js";
3
+ import A from "../../../../../../assets/line-icons/icons/cross.js";
4
+ import y from "../../../../../../assets/line-icons/icons/dots-icon.js";
5
+ import l from "../../../../../../assets/line-icons/icons/pause-icon.js";
6
+ import { ATTENDANCE_STATUS as m } from "./attendance-constants.js";
7
+ import { StatusSymbol as S } from "./attendance.styled.js";
8
+ import I from "../../../../../ui/theme/clrs.js";
9
+ const p = I(), P = (t, o) => {
10
+ var n;
11
+ if (!(t != null && t.length)) return "";
12
+ const e = t.map((i) => h(i.time));
13
+ return t.every(
14
+ (i) => {
15
+ var r, a;
16
+ return i.is_present === ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.is_present) && i.is_paused === ((a = t == null ? void 0 : t[0]) == null ? void 0 : a.is_paused);
17
+ }
18
+ ) ? `${o} / ${e.join(" / ")}
19
+ ${((n = t == null ? void 0 : t[0]) == null ? void 0 : n.status) || ""}` : [o, ...t.map(E)].join(`
20
+ `);
21
+ }, N = (t) => t.is_present ? m.ATTENDED : t.is_paused ? m.PAUSED : m.MISSED, W = (t) => {
22
+ let o = 0, e = 0, u = 0;
23
+ Object.values(t).forEach((i) => {
24
+ i.forEach((r) => {
25
+ switch (N(r)) {
26
+ case m.ATTENDED:
27
+ o++;
28
+ break;
29
+ case m.PAUSED:
30
+ u++;
31
+ break;
32
+ default:
33
+ e++;
34
+ break;
35
+ }
36
+ });
37
+ });
38
+ const n = [];
39
+ return o > 0 && n.push(`${o} attended`), e > 0 && n.push(`${e} missed`), u > 0 && n.push(`${u} paused`), `${n.join(", ")}.`;
40
+ }, B = (t) => {
41
+ if (t.length === 0)
42
+ return {
43
+ status: null,
44
+ themeColor: null,
45
+ statusSymbol: ""
46
+ };
47
+ const o = t.every((n) => n.is_present), e = t.every((n) => n.is_paused), u = t.every((n) => !n.is_present && !n.is_paused);
48
+ return o ? {
49
+ status: m.ATTENDED,
50
+ themeColor: "GREEN_1",
51
+ statusSymbol: /* @__PURE__ */ d(b, { color: p.GREEN_6, width: 14, height: 14 }),
52
+ tooltipBgColor: "GREEN_2",
53
+ snackbarBg: p.GREEN_2
54
+ } : e ? {
55
+ status: m.PAUSED,
56
+ themeColor: "WHITE_4",
57
+ statusSymbol: /* @__PURE__ */ C(S, { $top: "2px", $right: "2px", children: [
58
+ /* @__PURE__ */ d(l, { color: p.BLACK_T_60, width: 8, height: 8 }),
59
+ ","
60
+ ] }),
61
+ tooltipBgColor: "WHITE_5",
62
+ snackbarBg: p.WHITE_5
63
+ } : u ? {
64
+ status: m.MISSED,
65
+ themeColor: "ORANGE_1",
66
+ statusSymbol: /* @__PURE__ */ d(A, { color: p.RED, width: 12, height: 12 }),
67
+ tooltipBgColor: "ORANGE_2",
68
+ snackbarBg: p.ORANGE_2
69
+ } : {
70
+ status: m.PAUSED,
71
+ themeColor: "WHITE_4",
72
+ statusSymbol: /* @__PURE__ */ d(S, { $top: "2px", $right: "2px", children: /* @__PURE__ */ d(y, { color: "GREEN_6", width: 8, height: 8 }) }),
73
+ tooltipBgColor: "WHITE_5",
74
+ snackbarBg: p.WHITE_5
75
+ };
76
+ }, U = (t, o, e) => {
77
+ const u = new Date(e, o - 1, 1).getDay(), n = new Date(e, o, 0).getDate(), i = [];
78
+ for (let r = 0; r < u; r++)
79
+ i.push(null);
80
+ for (let r = 1; r <= n; r++) {
81
+ const a = `${e}-${o.toString().padStart(2, "0")}-${r.toString().padStart(2, "0")}`, g = t[a] || [], { status: _, themeColor: f, statusSymbol: T, tooltipBgColor: $, snackbarBg: D } = B(g);
82
+ i.push({
83
+ date: r,
84
+ status: _,
85
+ hasClasses: g.length > 0,
86
+ classes: g,
87
+ themeColor: f,
88
+ statusSymbol: T,
89
+ tooltipBgColor: $,
90
+ snackbarBg: D
91
+ });
92
+ }
93
+ return i;
94
+ }, h = (t) => {
95
+ const o = new Date(t * 1e3).getHours();
96
+ return `${o % 12 || 12} ${o >= 12 ? "PM" : "AM"}`;
97
+ }, E = (t) => t.status ? `${h(t.time)}: ${t.status}` : "", O = (t, o, e) => {
98
+ var i;
99
+ if (!(t != null && t.length)) return null;
100
+ const u = t.map((r) => h(r.time));
101
+ return t.every(
102
+ (r) => {
103
+ var a, g;
104
+ return r.is_present === ((a = t == null ? void 0 : t[0]) == null ? void 0 : a.is_present) && r.is_paused === ((g = t == null ? void 0 : t[0]) == null ? void 0 : g.is_paused);
105
+ }
106
+ ) ? {
107
+ dateAndTime: `${o} ${e} / ${u.join(" / ")}`,
108
+ statusLines: [((i = t == null ? void 0 : t[0]) == null ? void 0 : i.status) || ""]
109
+ } : {
110
+ dateAndTime: `${o} ${e}`,
111
+ statusLines: t.map((r) => E(r))
112
+ };
113
+ };
114
+ export {
115
+ W as attendanceStatsText,
116
+ U as generateCalendarGrid,
117
+ N as getClassStatus,
118
+ B as getDayStatusInfo,
119
+ P as getSnackbarMsg,
120
+ E as getStatusText,
121
+ O as getTooltipContent
122
+ };
123
+ //# sourceMappingURL=attendance-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attendance-utils.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance-utils.tsx"],"sourcesContent":["import type { JSX } from 'react';\n\nimport Check2Icon from '../../../../../../assets/line-icons/icons/check2';\nimport CrossIcon from '../../../../../../assets/line-icons/icons/cross';\nimport DotIcon from '../../../../../../assets/line-icons/icons/dots-icon';\nimport PauseIcon from '../../../../../../assets/line-icons/icons/pause-icon';\nimport type { TColorNames } from '../../../../../ui/types';\nimport type { IClassEvent, TCalendarData } from '../../monthly-report-types';\nimport { ATTENDANCE_STATUS } from './attendance-constants';\nimport type { ICalendarDay, TAttendanceStatus } from './attendance-types';\nimport * as Styled from './attendance.styled';\nimport getColors from '../../../../../ui/theme/clrs';\n\nconst colors = getColors();\n\nexport const getSnackbarMsg = (classes: IClassEvent[] | undefined, date: string) => {\n if (!classes?.length) return '';\n\n const timings = classes.map(cls => formatTimeFromTimestamp(cls.time));\n\n const allSame = classes.every(\n cls => cls.is_present === classes?.[0]?.is_present && cls.is_paused === classes?.[0]?.is_paused,\n );\n\n if (allSame) {\n return `${date} / ${timings.join(' / ')}\\n${classes?.[0]?.status || ''}`;\n }\n\n return [date, ...classes.map(getStatusText)].join('\\n');\n};\n\nexport const getClassStatus = (classEvent: IClassEvent): TAttendanceStatus => {\n if (classEvent.is_present) {\n return ATTENDANCE_STATUS.ATTENDED;\n }\n\n if (classEvent.is_paused) {\n return ATTENDANCE_STATUS.PAUSED;\n }\n\n return ATTENDANCE_STATUS.MISSED;\n};\n\nexport const attendanceStatsText = (calendarData: TCalendarData) => {\n let attended = 0;\n let missed = 0;\n let paused = 0;\n\n Object.values(calendarData).forEach(dayClasses => {\n dayClasses.forEach(classEvent => {\n const status = getClassStatus(classEvent);\n\n switch (status) {\n case ATTENDANCE_STATUS.ATTENDED:\n attended++;\n break;\n case ATTENDANCE_STATUS.PAUSED:\n paused++;\n break;\n default:\n missed++;\n break;\n }\n });\n });\n\n const parts: string[] = [];\n\n if (attended > 0) parts.push(`${attended} attended`);\n\n if (missed > 0) parts.push(`${missed} missed`);\n\n if (paused > 0) parts.push(`${paused} paused`);\n\n return `${parts.join(', ')}.`;\n};\n\nexport const getDayStatusInfo = (dayClasses: IClassEvent[]) => {\n if (dayClasses.length === 0) {\n return {\n status: null,\n themeColor: null,\n statusSymbol: '',\n };\n }\n\n const attendedClass = dayClasses.every(cls => cls.is_present);\n const pausedClass = dayClasses.every(cls => cls.is_paused);\n const missedClass = dayClasses.every(cls => !cls.is_present && !cls.is_paused);\n\n if (attendedClass) {\n return {\n status: ATTENDANCE_STATUS.ATTENDED,\n themeColor: 'GREEN_1',\n statusSymbol: <Check2Icon color={colors.GREEN_6} width={14} height={14} />,\n tooltipBgColor: 'GREEN_2',\n snackbarBg: colors.GREEN_2,\n };\n }\n\n if (pausedClass) {\n return {\n status: ATTENDANCE_STATUS.PAUSED,\n themeColor: 'WHITE_4',\n statusSymbol: (\n <Styled.StatusSymbol $top=\"2px\" $right=\"2px\">\n <PauseIcon color={colors.BLACK_T_60} width={8} height={8} />,\n </Styled.StatusSymbol>\n ),\n tooltipBgColor: 'WHITE_5',\n snackbarBg: colors.WHITE_5,\n };\n }\n\n if (missedClass) {\n return {\n status: ATTENDANCE_STATUS.MISSED,\n themeColor: 'ORANGE_1',\n statusSymbol: <CrossIcon color={colors.RED} width={12} height={12} />,\n tooltipBgColor: 'ORANGE_2',\n snackbarBg: colors.ORANGE_2,\n };\n }\n\n return {\n status: ATTENDANCE_STATUS.PAUSED,\n themeColor: 'WHITE_4',\n statusSymbol: (\n <Styled.StatusSymbol $top=\"2px\" $right=\"2px\">\n <DotIcon color=\"GREEN_6\" width={8} height={8} />\n </Styled.StatusSymbol>\n ),\n tooltipBgColor: 'WHITE_5',\n snackbarBg: colors.WHITE_5,\n };\n};\n\nexport const generateCalendarGrid = (\n calendarData: TCalendarData,\n reportMonth: number,\n reportYear: number,\n): (ICalendarDay | null)[] => {\n const firstDay = new Date(reportYear, reportMonth - 1, 1).getDay();\n const daysInMonth = new Date(reportYear, reportMonth, 0).getDate();\n const grid: (ICalendarDay | null)[] = [];\n\n // Add empty cells for days before the first day of the month\n for (let i = 0; i < firstDay; i++) {\n grid.push(null);\n }\n\n // Add all days of the month\n for (let day = 1; day <= daysInMonth; day++) {\n const dateString = `${reportYear}-${reportMonth.toString().padStart(2, '0')}-${day\n .toString()\n .padStart(2, '0')}`;\n const dayClasses = calendarData[dateString] || [];\n const { status, themeColor, statusSymbol, tooltipBgColor, snackbarBg } =\n getDayStatusInfo(dayClasses);\n\n grid.push({\n date: day,\n status,\n hasClasses: dayClasses.length > 0,\n classes: dayClasses,\n themeColor: themeColor as TColorNames | null,\n statusSymbol: statusSymbol as JSX.Element,\n tooltipBgColor: tooltipBgColor as TColorNames | null,\n snackbarBg,\n });\n }\n\n return grid;\n};\n\nconst formatTimeFromTimestamp = (timestamp: number): string => {\n const hours = new Date(timestamp * 1000).getHours();\n\n return `${hours % 12 || 12} ${hours >= 12 ? 'PM' : 'AM'}`;\n};\n\nexport const getStatusText = (classEvent: IClassEvent) => {\n if (!classEvent.status) return '';\n\n const timeStr = formatTimeFromTimestamp(classEvent.time);\n\n return `${timeStr}: ${classEvent.status}`;\n};\n\nexport const getTooltipContent = (classes: IClassEvent[], currentMonth: string, date: number) => {\n if (!classes?.length) return null;\n\n const timings = classes.map(cls => formatTimeFromTimestamp(cls.time));\n\n const allSame = classes.every(\n cls => cls.is_present === classes?.[0]?.is_present && cls.is_paused === classes?.[0]?.is_paused,\n );\n\n if (allSame) {\n return {\n dateAndTime: `${currentMonth} ${date} / ${timings.join(' / ')}`,\n statusLines: [classes?.[0]?.status || ''],\n };\n }\n\n return {\n dateAndTime: `${currentMonth} ${date}`,\n statusLines: classes.map(classEvent => getStatusText(classEvent)),\n };\n};\n"],"names":["colors","getColors","getSnackbarMsg","classes","date","timings","formatTimeFromTimestamp","cls","_a","_b","getStatusText","getClassStatus","classEvent","ATTENDANCE_STATUS","attendanceStatsText","calendarData","attended","missed","paused","dayClasses","parts","getDayStatusInfo","attendedClass","pausedClass","missedClass","Check2Icon","Styled.StatusSymbol","jsx","PauseIcon","CrossIcon","DotIcon","generateCalendarGrid","reportMonth","reportYear","firstDay","daysInMonth","grid","i","day","dateString","status","themeColor","statusSymbol","tooltipBgColor","snackbarBg","timestamp","hours","getTooltipContent","currentMonth"],"mappings":"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"}
@@ -0,0 +1,49 @@
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import { memo as C, useMemo as i } from "react";
3
+ import d from "../../../../../ui/layout/flex-view.js";
4
+ import b from "../../../../../ui/separator/separator.js";
5
+ import m from "../../../../../ui/text/text.js";
6
+ import { CALENDAR_CONFIG as _ } from "./attendance-constants.js";
7
+ import { attendanceStatsText as g, generateCalendarGrid as w } from "./attendance-utils.js";
8
+ import { CalendarHeader as R, CalendarBody as S } from "./attendance.styled.js";
9
+ import T from "./attendence-view.js";
10
+ const j = ({
11
+ calendarData: e,
12
+ reportMonth: t,
13
+ reportYear: c,
14
+ onDateClick: f
15
+ }) => {
16
+ const u = i(
17
+ () => !!e && g(e),
18
+ [e]
19
+ ), n = i(
20
+ () => !!e && w(e, t, c),
21
+ [e, t, c]
22
+ ), A = i(() => e ? Object.values(e).some((o) => o.length > 0) : !1, [e]);
23
+ return !e || Object.keys(e).length === 0 || !A || !n ? null : /* @__PURE__ */ l(d, { children: [
24
+ /* @__PURE__ */ r(m, { $renderAs: "ab1-bold", $color: "BLACK_1", children: "Attendance" }),
25
+ /* @__PURE__ */ r(m, { $renderAs: "ub2-bold", $color: "BLACK_T_60", children: u }),
26
+ /* @__PURE__ */ r(b, { heightX: 1 }),
27
+ /* @__PURE__ */ l(d, { $borderColor: "WHITE_5", children: [
28
+ /* @__PURE__ */ r(R, { children: _.DAY_HEADERS.map((o) => /* @__PURE__ */ r(m, { $align: "center", $renderAs: "ub3", $color: "BLACK_T_60", children: o }, o)) }),
29
+ /* @__PURE__ */ r(S, { children: n.map((o, s) => {
30
+ const h = s % 7 === 6, p = Math.ceil(n.length / 7), $ = Math.floor(s / 7) + 1 === p;
31
+ return /* @__PURE__ */ r(
32
+ T,
33
+ {
34
+ day: o,
35
+ reportMonth: t,
36
+ onDateClick: f,
37
+ isSunday: h,
38
+ isLastRow: $
39
+ },
40
+ o ? `day-${o.date}` : `empty-${s}`
41
+ );
42
+ }) })
43
+ ] })
44
+ ] });
45
+ }, I = C(j);
46
+ export {
47
+ I as default
48
+ };
49
+ //# sourceMappingURL=attendance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attendance.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.tsx"],"sourcesContent":["import { memo, useMemo, type FC } from 'react';\n\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport Separator from '../../../../../ui/separator/separator';\nimport Text from '../../../../../ui/text/text';\nimport { CALENDAR_CONFIG } from './attendance-constants';\nimport type { IAttendanceProps } from './attendance-types';\nimport { attendanceStatsText, generateCalendarGrid } from './attendance-utils';\nimport * as Styled from './attendance.styled';\nimport AttendenceView from './attendence-view';\n\nconst Attendance: FC<IAttendanceProps> = ({\n calendarData,\n reportMonth,\n reportYear,\n onDateClick,\n}) => {\n const attendanceStats = useMemo(\n () => !!calendarData && attendanceStatsText(calendarData),\n [calendarData],\n );\n const calendarGrid = useMemo(\n () => !!calendarData && generateCalendarGrid(calendarData, reportMonth, reportYear),\n [calendarData, reportMonth, reportYear],\n );\n\n const hasClasses = useMemo(() => {\n if (!calendarData) return false;\n\n return Object.values(calendarData).some(dayClasses => dayClasses.length > 0);\n }, [calendarData]);\n\n if (!calendarData || Object.keys(calendarData).length === 0 || !hasClasses || !calendarGrid) {\n return null;\n }\n\n return (\n <FlexView>\n <Text $renderAs=\"ab1-bold\" $color=\"BLACK_1\">\n Attendance\n </Text>\n <Text $renderAs=\"ub2-bold\" $color=\"BLACK_T_60\">\n {attendanceStats}\n </Text>\n <Separator heightX={1} />\n <FlexView $borderColor=\"WHITE_5\">\n <Styled.CalendarHeader>\n {CALENDAR_CONFIG.DAY_HEADERS.map(dayLetter => (\n <Text $align=\"center\" $renderAs=\"ub3\" $color=\"BLACK_T_60\" key={dayLetter}>\n {dayLetter}\n </Text>\n ))}\n </Styled.CalendarHeader>\n <Styled.CalendarBody>\n {calendarGrid.map((day, index) => {\n const isSunday = index % 7 === 6;\n const totalRows = Math.ceil(calendarGrid.length / 7);\n const currentRow = Math.floor(index / 7) + 1;\n const isLastRow = currentRow === totalRows;\n\n return (\n <AttendenceView\n day={day}\n key={day ? `day-${day.date}` : `empty-${index}`}\n reportMonth={reportMonth}\n onDateClick={onDateClick}\n isSunday={isSunday}\n isLastRow={isLastRow}\n />\n );\n })}\n </Styled.CalendarBody>\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(Attendance);\n"],"names":["Attendance","calendarData","reportMonth","reportYear","onDateClick","attendanceStats","useMemo","attendanceStatsText","calendarGrid","generateCalendarGrid","hasClasses","dayClasses","FlexView","jsx","Text","Separator","jsxs","Styled.CalendarHeader","dayLetter","Styled.CalendarBody","day","index","isSunday","totalRows","isLastRow","AttendenceView","Attendance$1","memo"],"mappings":";;;;;;;;;AAWA,MAAMA,IAAmC,CAAC;AAAA,EACxC,cAAAC;AAAA,EACA,aAAAC;AAAA,EACA,YAAAC;AAAA,EACA,aAAAC;AACF,MAAM;AACJ,QAAMC,IAAkBC;AAAA,IACtB,MAAM,CAAC,CAACL,KAAgBM,EAAoBN,CAAY;AAAA,IACxD,CAACA,CAAY;AAAA,EAAA,GAETO,IAAeF;AAAA,IACnB,MAAM,CAAC,CAACL,KAAgBQ,EAAqBR,GAAcC,GAAaC,CAAU;AAAA,IAClF,CAACF,GAAcC,GAAaC,CAAU;AAAA,EAAA,GAGlCO,IAAaJ,EAAQ,MACpBL,IAEE,OAAO,OAAOA,CAAY,EAAE,KAAK,CAAcU,MAAAA,EAAW,SAAS,CAAC,IAFjD,IAGzB,CAACV,CAAY,CAAC;AAEb,SAAA,CAACA,KAAgB,OAAO,KAAKA,CAAY,EAAE,WAAW,KAAK,CAACS,KAAc,CAACF,IACtE,yBAINI,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAK,EAAA,WAAU,YAAW,QAAO,WAAU,UAE5C,cAAA;AAAA,sBACCA,GAAK,EAAA,WAAU,YAAW,QAAO,cAC/B,UACHT,GAAA;AAAA,IACA,gBAAAQ,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,IACvB,gBAAAC,EAACJ,GAAS,EAAA,cAAa,WACrB,UAAA;AAAA,MAAA,gBAAAC,EAACI,GAAA,EACE,YAAgB,YAAY,IAAI,OAC9B,gBAAAJ,EAAAC,GAAA,EAAK,QAAO,UAAS,WAAU,OAAM,QAAO,cAC1C,UAD4DI,EAAA,GAAAA,CAE/D,CACD,GACH;AAAA,MACA,gBAAAL,EAACM,GAAA,EACE,YAAa,IAAI,CAACC,GAAKC,MAAU;AAC1B,cAAAC,IAAWD,IAAQ,MAAM,GACzBE,IAAY,KAAK,KAAKf,EAAa,SAAS,CAAC,GAE7CgB,IADa,KAAK,MAAMH,IAAQ,CAAC,IAAI,MACVE;AAG/B,eAAA,gBAAAV;AAAA,UAACY;AAAA,UAAA;AAAA,YACC,KAAAL;AAAA,YAEA,aAAAlB;AAAA,YACA,aAAAE;AAAA,YACA,UAAAkB;AAAA,YACA,WAAAE;AAAA,UAAA;AAAA,UAJKJ,IAAM,OAAOA,EAAI,IAAI,KAAK,SAASC,CAAK;AAAA,QAAA;AAAA,MAOlD,CAAA,GACH;AAAA,IAAA,GACF;AAAA,EACF,EAAA,CAAA;AAEJ,GAEeK,IAAAC,EAAK3B,CAAU;"}
@@ -0,0 +1,48 @@
1
+ import e from "styled-components";
2
+ import i from "../../../../../ui/layout/flex-view.js";
3
+ const l = e.div`
4
+ display: grid;
5
+ grid-template-columns: repeat(7, 1fr);
6
+ padding: 4px 0;
7
+ background-color: ${({ theme: t }) => t.colors.WHITE_2};
8
+ border-bottom: 1px solid ${({ theme: t }) => t.colors.WHITE_5};
9
+ `, n = e.div`
10
+ display: grid;
11
+ grid-template-columns: repeat(7, 1fr);
12
+ gap: 0;
13
+ `, s = e(i)(({ theme: { mediaQueries: t, colors: o }, $isSunday: r, $isLastRow: d }) => `
14
+ position: relative;
15
+ aspect-ratio: 7/6;
16
+ border-right: ${r ? "none" : `1px solid ${o.WHITE_5}`};
17
+ border-bottom: ${d ? "none" : `1px solid ${o.WHITE_5}`};
18
+
19
+ ${t.minWidthTablet} {
20
+ aspect-ratio: 3/2;
21
+ }
22
+ `), m = e(i)(({
23
+ theme: { mediaQueries: t },
24
+ $top: o,
25
+ $right: r
26
+ }) => `
27
+ position: absolute;
28
+ top: ${o || "0px"};
29
+ right: ${r || "0px"};
30
+
31
+ ${t.minWidthTablet} {
32
+ top: ${o || "2px"};
33
+ right: ${r || "2px"};
34
+ }
35
+ `), c = e.div`
36
+ > div {
37
+ width: 100%;
38
+ height: 100%;
39
+ }
40
+ `;
41
+ export {
42
+ n as CalendarBody,
43
+ s as CalendarDay,
44
+ l as CalendarHeader,
45
+ m as StatusSymbol,
46
+ c as TooltipWrapper
47
+ };
48
+ //# sourceMappingURL=attendance.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attendance.styled.js","sources":["../../../../../../../src/features/timeline/monthly-timeline/monthly-report/comps/attendance/attendance.styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../../ui/layout/flex-view';\n\nexport const CalendarHeader = styled.div`\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n padding: 4px 0;\n background-color: ${({ theme }) => theme.colors.WHITE_2};\n border-bottom: 1px solid ${({ theme }) => theme.colors.WHITE_5};\n`;\n\nexport const CalendarBody = styled.div`\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 0;\n`;\n\nexport const CalendarDay = styled(FlexView)<{\n $isSunday: boolean;\n $isLastRow: boolean;\n}>(({ theme: { mediaQueries, colors }, $isSunday, $isLastRow }) => {\n return `\n position: relative;\n aspect-ratio: 7/6;\n border-right: ${$isSunday ? 'none' : `1px solid ${colors.WHITE_5}`};\n border-bottom: ${$isLastRow ? 'none' : `1px solid ${colors.WHITE_5}`};\n\n ${mediaQueries.minWidthTablet} {\n aspect-ratio: 3/2;\n }\n`;\n});\n\nexport const StatusSymbol = styled(FlexView)<{ $top?: string; $right?: string }>(({\n theme: { mediaQueries },\n $top,\n $right,\n}) => {\n return `\n position: absolute;\n top: ${$top || '0px'};\n right: ${$right || '0px'};\n \n ${mediaQueries.minWidthTablet} {\n top: ${$top || '2px'};\n right: ${$right || '2px'};\n }\n`;\n});\n\nexport const TooltipWrapper = styled.div`\n > div {\n width: 100%;\n height: 100%;\n }\n`;\n"],"names":["CalendarHeader","styled","theme","CalendarBody","CalendarDay","FlexView","mediaQueries","colors","$isSunday","$isLastRow","StatusSymbol","$top","$right","TooltipWrapper"],"mappings":";;AAIO,MAAMA,IAAiBC,EAAO;AAAA;AAAA;AAAA;AAAA,sBAIf,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,6BAC5B,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,GAGnDC,IAAeF,EAAO;AAAA;AAAA;AAAA;AAAA,GAMtBG,IAAcH,EAAOI,CAAQ,EAGvC,CAAC,EAAE,OAAO,EAAE,cAAAC,GAAc,QAAAC,EAAA,GAAU,WAAAC,GAAW,YAAAC,QACzC;AAAA;AAAA;AAAA,oBAGWD,IAAY,SAAS,aAAaD,EAAO,OAAO,EAAE;AAAA,qBACjDE,IAAa,SAAS,aAAaF,EAAO,OAAO,EAAE;AAAA;AAAA,MAElED,EAAa,cAAc;AAAA;AAAA;AAAA,CAIhC,GAEYI,IAAeT,EAAOI,CAAQ,EAAsC,CAAC;AAAA,EAChF,OAAO,EAAE,cAAAC,EAAa;AAAA,EACtB,MAAAK;AAAA,EACA,QAAAC;AACF,MACS;AAAA;AAAA,YAEGD,KAAQ,KAAK;AAAA,aACZC,KAAU,KAAK;AAAA;AAAA,MAEtBN,EAAa,cAAc;AAAA,aACpBK,KAAQ,KAAK;AAAA,eACXC,KAAU,KAAK;AAAA;AAAA,CAG7B,GAEYC,IAAiBZ,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;"}