@magmamath/students-features 1.2.1-rc.39 → 1.2.1-rc.4

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 (507) hide show
  1. package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js +1 -2
  2. package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +1 -2
  4. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  5. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +1 -1
  6. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
  7. package/dist/commonjs/features/voice/constants.js +8 -2
  8. package/dist/commonjs/features/voice/constants.js.map +1 -1
  9. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js +16 -5
  10. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js.map +1 -1
  11. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +68 -20
  12. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  13. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  14. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +2 -2
  15. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  16. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +5 -0
  17. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  18. package/dist/commonjs/features/voice/types.js +6 -0
  19. package/dist/commonjs/features/voice/types.js.map +1 -1
  20. package/dist/commonjs/index.js +3 -15
  21. package/dist/commonjs/index.js.map +1 -1
  22. package/dist/commonjs/shared/translation/localization/ca.json +0 -24
  23. package/dist/commonjs/shared/translation/localization/de.json +0 -24
  24. package/dist/commonjs/shared/translation/localization/en.json +0 -24
  25. package/dist/commonjs/shared/translation/localization/gb.json +0 -24
  26. package/dist/commonjs/shared/translation/localization/sct.json +0 -24
  27. package/dist/commonjs/shared/translation/localization/sw.json +0 -24
  28. package/dist/module/features/chatbot/components/ChatInput/ChatInput.js +1 -2
  29. package/dist/module/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
  30. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +1 -2
  31. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  32. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +2 -2
  33. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
  34. package/dist/module/features/voice/constants.js +8 -2
  35. package/dist/module/features/voice/constants.js.map +1 -1
  36. package/dist/module/features/voice/recording/components/VoiceRecord.js +17 -6
  37. package/dist/module/features/voice/recording/components/VoiceRecord.js.map +1 -1
  38. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +69 -21
  39. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  40. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  41. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js +2 -2
  42. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  43. package/dist/module/features/voice/recording/model/VoiceRecord.model.js +5 -0
  44. package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  45. package/dist/module/features/voice/types.js +5 -1
  46. package/dist/module/features/voice/types.js.map +1 -1
  47. package/dist/module/index.js +0 -1
  48. package/dist/module/index.js.map +1 -1
  49. package/dist/module/shared/translation/localization/ca.json +0 -24
  50. package/dist/module/shared/translation/localization/de.json +0 -24
  51. package/dist/module/shared/translation/localization/en.json +0 -24
  52. package/dist/module/shared/translation/localization/gb.json +0 -24
  53. package/dist/module/shared/translation/localization/sct.json +0 -24
  54. package/dist/module/shared/translation/localization/sw.json +0 -24
  55. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
  56. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  57. package/dist/typescript/commonjs/features/voice/constants.d.ts +8 -2
  58. package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
  59. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  60. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
  61. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  62. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
  63. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  64. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
  65. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  66. package/dist/typescript/commonjs/features/voice/types.d.ts +4 -0
  67. package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
  68. package/dist/typescript/commonjs/index.d.ts +0 -1
  69. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  70. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -144
  71. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  72. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -48
  73. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  74. package/dist/typescript/module/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
  75. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  76. package/dist/typescript/module/features/voice/constants.d.ts +8 -2
  77. package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
  78. package/dist/typescript/module/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  79. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
  80. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  81. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
  82. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  83. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
  84. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  85. package/dist/typescript/module/features/voice/types.d.ts +4 -0
  86. package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
  87. package/dist/typescript/module/index.d.ts +0 -1
  88. package/dist/typescript/module/index.d.ts.map +1 -1
  89. package/dist/typescript/module/shared/translation/constants.d.ts +0 -144
  90. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  91. package/dist/typescript/module/shared/translation/model.d.ts +0 -48
  92. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  93. package/package.json +13 -25
  94. package/src/features/chatbot/components/ChatInput/ChatInput.tsx +1 -2
  95. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +1 -2
  96. package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +2 -2
  97. package/src/features/voice/constants.ts +8 -2
  98. package/src/features/voice/recording/components/VoiceRecord.tsx +26 -5
  99. package/src/features/voice/recording/components/VoiceRecordButton.tsx +91 -29
  100. package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -2
  101. package/src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts +7 -3
  102. package/src/features/voice/recording/model/VoiceRecord.model.ts +7 -0
  103. package/src/features/voice/types.ts +5 -0
  104. package/src/index.ts +0 -1
  105. package/src/shared/translation/localization/ca.json +0 -24
  106. package/src/shared/translation/localization/de.json +0 -24
  107. package/src/shared/translation/localization/en.json +0 -24
  108. package/src/shared/translation/localization/gb.json +0 -24
  109. package/src/shared/translation/localization/sct.json +0 -24
  110. package/src/shared/translation/localization/sw.json +0 -24
  111. package/dist/commonjs/features/pmProgress/PmProgress.js +0 -42
  112. package/dist/commonjs/features/pmProgress/PmProgress.js.map +0 -1
  113. package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js +0 -24
  114. package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js.map +0 -1
  115. package/dist/commonjs/features/pmProgress/components/chart/chart.types.js +0 -2
  116. package/dist/commonjs/features/pmProgress/components/chart/chart.types.js.map +0 -1
  117. package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +0 -44
  118. package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +0 -1
  119. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js +0 -26
  120. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +0 -1
  121. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +0 -87
  122. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js.map +0 -1
  123. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +0 -38
  124. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +0 -1
  125. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +0 -21
  126. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +0 -1
  127. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js +0 -82
  128. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +0 -1
  129. package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js +0 -49
  130. package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +0 -1
  131. package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js +0 -25
  132. package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js.map +0 -1
  133. package/dist/commonjs/features/pmProgress/components/chart/model/SliceHighlight.js +0 -20
  134. package/dist/commonjs/features/pmProgress/components/chart/model/SliceHighlight.js.map +0 -1
  135. package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js +0 -79
  136. package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +0 -1
  137. package/dist/commonjs/features/pmProgress/components/content/PmContent.js +0 -50
  138. package/dist/commonjs/features/pmProgress/components/content/PmContent.js.map +0 -1
  139. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +0 -216
  140. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +0 -1
  141. package/dist/commonjs/features/pmProgress/components/header/StartButton.js +0 -114
  142. package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +0 -1
  143. package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +0 -70
  144. package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js.map +0 -1
  145. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +0 -99
  146. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +0 -1
  147. package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js +0 -72
  148. package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js.map +0 -1
  149. package/dist/commonjs/features/pmProgress/components/list/Fluency.js +0 -80
  150. package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +0 -1
  151. package/dist/commonjs/features/pmProgress/components/list/ListCard.js +0 -197
  152. package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +0 -1
  153. package/dist/commonjs/features/pmProgress/components/list/ListItem.js +0 -140
  154. package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +0 -1
  155. package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +0 -96
  156. package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +0 -1
  157. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +0 -101
  158. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +0 -1
  159. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +0 -134
  160. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +0 -1
  161. package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +0 -203
  162. package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js.map +0 -1
  163. package/dist/commonjs/features/pmProgress/context/PmProgressContext.js +0 -18
  164. package/dist/commonjs/features/pmProgress/context/PmProgressContext.js.map +0 -1
  165. package/dist/commonjs/features/pmProgress/index.js +0 -64
  166. package/dist/commonjs/features/pmProgress/index.js.map +0 -1
  167. package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js +0 -15
  168. package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js.map +0 -1
  169. package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js +0 -22
  170. package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js.map +0 -1
  171. package/dist/commonjs/features/pmProgress/model/PmProgressApi.js +0 -18
  172. package/dist/commonjs/features/pmProgress/model/PmProgressApi.js.map +0 -1
  173. package/dist/commonjs/features/pmProgress/model/PmProgressModel.js +0 -43
  174. package/dist/commonjs/features/pmProgress/model/PmProgressModel.js.map +0 -1
  175. package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js +0 -47
  176. package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js.map +0 -1
  177. package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js +0 -102
  178. package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js.map +0 -1
  179. package/dist/commonjs/features/pmProgress/model/PmTreeModel.js +0 -170
  180. package/dist/commonjs/features/pmProgress/model/PmTreeModel.js.map +0 -1
  181. package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js +0 -52
  182. package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js.map +0 -1
  183. package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +0 -59
  184. package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js.map +0 -1
  185. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +0 -217
  186. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +0 -1
  187. package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js +0 -12
  188. package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js.map +0 -1
  189. package/dist/commonjs/shared/icons/PentagonIcon.js +0 -32
  190. package/dist/commonjs/shared/icons/PentagonIcon.js.map +0 -1
  191. package/dist/commonjs/shared/icons/SketchArrowRight.js +0 -33
  192. package/dist/commonjs/shared/icons/SketchArrowRight.js.map +0 -1
  193. package/dist/commonjs/shared/icons/SliceDiamondIcon.js +0 -32
  194. package/dist/commonjs/shared/icons/SliceDiamondIcon.js.map +0 -1
  195. package/dist/commonjs/shared/icons/StarIcon.js +0 -32
  196. package/dist/commonjs/shared/icons/StarIcon.js.map +0 -1
  197. package/dist/commonjs/shared/icons/TimerIcon.js +0 -35
  198. package/dist/commonjs/shared/icons/TimerIcon.js.map +0 -1
  199. package/dist/module/features/pmProgress/PmProgress.js +0 -36
  200. package/dist/module/features/pmProgress/PmProgress.js.map +0 -1
  201. package/dist/module/features/pmProgress/components/chart/chart.helpers.js +0 -17
  202. package/dist/module/features/pmProgress/components/chart/chart.helpers.js.map +0 -1
  203. package/dist/module/features/pmProgress/components/chart/chart.types.js +0 -2
  204. package/dist/module/features/pmProgress/components/chart/chart.types.js.map +0 -1
  205. package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +0 -38
  206. package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +0 -1
  207. package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js +0 -20
  208. package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +0 -1
  209. package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js +0 -81
  210. package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js.map +0 -1
  211. package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +0 -32
  212. package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +0 -1
  213. package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +0 -15
  214. package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +0 -1
  215. package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js +0 -76
  216. package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +0 -1
  217. package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js +0 -44
  218. package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +0 -1
  219. package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js +0 -20
  220. package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js.map +0 -1
  221. package/dist/module/features/pmProgress/components/chart/model/SliceHighlight.js +0 -15
  222. package/dist/module/features/pmProgress/components/chart/model/SliceHighlight.js.map +0 -1
  223. package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js +0 -74
  224. package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +0 -1
  225. package/dist/module/features/pmProgress/components/content/PmContent.js +0 -44
  226. package/dist/module/features/pmProgress/components/content/PmContent.js.map +0 -1
  227. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +0 -209
  228. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +0 -1
  229. package/dist/module/features/pmProgress/components/header/StartButton.js +0 -107
  230. package/dist/module/features/pmProgress/components/header/StartButton.js.map +0 -1
  231. package/dist/module/features/pmProgress/components/insights/PmInsights.js +0 -63
  232. package/dist/module/features/pmProgress/components/insights/PmInsights.js.map +0 -1
  233. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +0 -94
  234. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +0 -1
  235. package/dist/module/features/pmProgress/components/insights/StatsCard.js +0 -66
  236. package/dist/module/features/pmProgress/components/insights/StatsCard.js.map +0 -1
  237. package/dist/module/features/pmProgress/components/list/Fluency.js +0 -74
  238. package/dist/module/features/pmProgress/components/list/Fluency.js.map +0 -1
  239. package/dist/module/features/pmProgress/components/list/ListCard.js +0 -190
  240. package/dist/module/features/pmProgress/components/list/ListCard.js.map +0 -1
  241. package/dist/module/features/pmProgress/components/list/ListItem.js +0 -133
  242. package/dist/module/features/pmProgress/components/list/ListItem.js.map +0 -1
  243. package/dist/module/features/pmProgress/components/list/PmDomainList.js +0 -90
  244. package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +0 -1
  245. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +0 -95
  246. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +0 -1
  247. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +0 -128
  248. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +0 -1
  249. package/dist/module/features/pmProgress/components/standard/StandardTag.js +0 -197
  250. package/dist/module/features/pmProgress/components/standard/StandardTag.js.map +0 -1
  251. package/dist/module/features/pmProgress/context/PmProgressContext.js +0 -13
  252. package/dist/module/features/pmProgress/context/PmProgressContext.js.map +0 -1
  253. package/dist/module/features/pmProgress/index.js +0 -9
  254. package/dist/module/features/pmProgress/index.js.map +0 -1
  255. package/dist/module/features/pmProgress/model/PmHighlightModel.js +0 -10
  256. package/dist/module/features/pmProgress/model/PmHighlightModel.js.map +0 -1
  257. package/dist/module/features/pmProgress/model/PmInsightsModel.js +0 -17
  258. package/dist/module/features/pmProgress/model/PmInsightsModel.js.map +0 -1
  259. package/dist/module/features/pmProgress/model/PmProgressApi.js +0 -13
  260. package/dist/module/features/pmProgress/model/PmProgressApi.js.map +0 -1
  261. package/dist/module/features/pmProgress/model/PmProgressModel.js +0 -38
  262. package/dist/module/features/pmProgress/model/PmProgressModel.js.map +0 -1
  263. package/dist/module/features/pmProgress/model/PmRecommendationsModel.js +0 -42
  264. package/dist/module/features/pmProgress/model/PmRecommendationsModel.js.map +0 -1
  265. package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js +0 -97
  266. package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js.map +0 -1
  267. package/dist/module/features/pmProgress/model/PmTreeModel.js +0 -165
  268. package/dist/module/features/pmProgress/model/PmTreeModel.js.map +0 -1
  269. package/dist/module/features/pmProgress/shared/TreeNormalizer.js +0 -47
  270. package/dist/module/features/pmProgress/shared/TreeNormalizer.js.map +0 -1
  271. package/dist/module/features/pmProgress/shared/pmProgress.constants.js +0 -56
  272. package/dist/module/features/pmProgress/shared/pmProgress.constants.js.map +0 -1
  273. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +0 -197
  274. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +0 -1
  275. package/dist/module/features/pmProgress/shared/pmProgress.types.js +0 -10
  276. package/dist/module/features/pmProgress/shared/pmProgress.types.js.map +0 -1
  277. package/dist/module/shared/icons/PentagonIcon.js +0 -24
  278. package/dist/module/shared/icons/PentagonIcon.js.map +0 -1
  279. package/dist/module/shared/icons/SketchArrowRight.js +0 -25
  280. package/dist/module/shared/icons/SketchArrowRight.js.map +0 -1
  281. package/dist/module/shared/icons/SliceDiamondIcon.js +0 -24
  282. package/dist/module/shared/icons/SliceDiamondIcon.js.map +0 -1
  283. package/dist/module/shared/icons/StarIcon.js +0 -24
  284. package/dist/module/shared/icons/StarIcon.js.map +0 -1
  285. package/dist/module/shared/icons/TimerIcon.js +0 -27
  286. package/dist/module/shared/icons/TimerIcon.js.map +0 -1
  287. package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts +0 -9
  288. package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts.map +0 -1
  289. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts +0 -4
  290. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts.map +0 -1
  291. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts +0 -36
  292. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts.map +0 -1
  293. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +0 -9
  294. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +0 -1
  295. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +0 -10
  296. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +0 -1
  297. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts +0 -11
  298. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +0 -1
  299. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +0 -12
  300. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +0 -1
  301. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +0 -8
  302. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +0 -1
  303. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +0 -14
  304. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +0 -1
  305. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +0 -12
  306. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +0 -1
  307. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts +0 -16
  308. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +0 -1
  309. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceHighlight.d.ts +0 -10
  310. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceHighlight.d.ts.map +0 -1
  311. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +0 -17
  312. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +0 -1
  313. package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts +0 -3
  314. package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +0 -1
  315. package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts +0 -3
  316. package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts.map +0 -1
  317. package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts +0 -11
  318. package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts.map +0 -1
  319. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts +0 -3
  320. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts.map +0 -1
  321. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts +0 -3
  322. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +0 -1
  323. package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts +0 -12
  324. package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts.map +0 -1
  325. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts +0 -8
  326. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +0 -1
  327. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts +0 -31
  328. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +0 -1
  329. package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts +0 -12
  330. package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts.map +0 -1
  331. package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts +0 -3
  332. package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts.map +0 -1
  333. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts +0 -8
  334. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +0 -1
  335. package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts +0 -3
  336. package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +0 -1
  337. package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +0 -9
  338. package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +0 -1
  339. package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +0 -14
  340. package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +0 -1
  341. package/dist/typescript/commonjs/features/pmProgress/index.d.ts +0 -7
  342. package/dist/typescript/commonjs/features/pmProgress/index.d.ts.map +0 -1
  343. package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts +0 -7
  344. package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts.map +0 -1
  345. package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts +0 -14
  346. package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts.map +0 -1
  347. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts +0 -17
  348. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts.map +0 -1
  349. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts +0 -23
  350. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts.map +0 -1
  351. package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts +0 -102
  352. package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts.map +0 -1
  353. package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts +0 -22
  354. package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +0 -1
  355. package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts +0 -25
  356. package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts.map +0 -1
  357. package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts +0 -17
  358. package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts.map +0 -1
  359. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +0 -44
  360. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +0 -1
  361. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +0 -66
  362. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +0 -1
  363. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts +0 -193
  364. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts.map +0 -1
  365. package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts +0 -4
  366. package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts.map +0 -1
  367. package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts +0 -4
  368. package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts.map +0 -1
  369. package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts +0 -4
  370. package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts.map +0 -1
  371. package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts +0 -4
  372. package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts.map +0 -1
  373. package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts +0 -4
  374. package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts.map +0 -1
  375. package/dist/typescript/module/features/pmProgress/PmProgress.d.ts +0 -9
  376. package/dist/typescript/module/features/pmProgress/PmProgress.d.ts.map +0 -1
  377. package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts +0 -4
  378. package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts.map +0 -1
  379. package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts +0 -36
  380. package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts.map +0 -1
  381. package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +0 -9
  382. package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +0 -1
  383. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +0 -10
  384. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +0 -1
  385. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts +0 -11
  386. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +0 -1
  387. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +0 -12
  388. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +0 -1
  389. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +0 -8
  390. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +0 -1
  391. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +0 -14
  392. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +0 -1
  393. package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +0 -12
  394. package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +0 -1
  395. package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts +0 -16
  396. package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +0 -1
  397. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceHighlight.d.ts +0 -10
  398. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceHighlight.d.ts.map +0 -1
  399. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +0 -17
  400. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +0 -1
  401. package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts +0 -3
  402. package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +0 -1
  403. package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts +0 -3
  404. package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts.map +0 -1
  405. package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts +0 -11
  406. package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts.map +0 -1
  407. package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts +0 -3
  408. package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts.map +0 -1
  409. package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts +0 -3
  410. package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +0 -1
  411. package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts +0 -12
  412. package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts.map +0 -1
  413. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts +0 -8
  414. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +0 -1
  415. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts +0 -31
  416. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +0 -1
  417. package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts +0 -12
  418. package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts.map +0 -1
  419. package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts +0 -3
  420. package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts.map +0 -1
  421. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts +0 -8
  422. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +0 -1
  423. package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts +0 -3
  424. package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +0 -1
  425. package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +0 -9
  426. package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +0 -1
  427. package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +0 -14
  428. package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +0 -1
  429. package/dist/typescript/module/features/pmProgress/index.d.ts +0 -7
  430. package/dist/typescript/module/features/pmProgress/index.d.ts.map +0 -1
  431. package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts +0 -7
  432. package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts.map +0 -1
  433. package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts +0 -14
  434. package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts.map +0 -1
  435. package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts +0 -17
  436. package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts.map +0 -1
  437. package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts +0 -23
  438. package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts.map +0 -1
  439. package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts +0 -102
  440. package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts.map +0 -1
  441. package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts +0 -22
  442. package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +0 -1
  443. package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts +0 -25
  444. package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts.map +0 -1
  445. package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts +0 -17
  446. package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts.map +0 -1
  447. package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +0 -44
  448. package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +0 -1
  449. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +0 -66
  450. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +0 -1
  451. package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts +0 -193
  452. package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts.map +0 -1
  453. package/dist/typescript/module/shared/icons/PentagonIcon.d.ts +0 -4
  454. package/dist/typescript/module/shared/icons/PentagonIcon.d.ts.map +0 -1
  455. package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts +0 -4
  456. package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts.map +0 -1
  457. package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts +0 -4
  458. package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts.map +0 -1
  459. package/dist/typescript/module/shared/icons/StarIcon.d.ts +0 -4
  460. package/dist/typescript/module/shared/icons/StarIcon.d.ts.map +0 -1
  461. package/dist/typescript/module/shared/icons/TimerIcon.d.ts +0 -4
  462. package/dist/typescript/module/shared/icons/TimerIcon.d.ts.map +0 -1
  463. package/src/features/pmProgress/PmProgress.tsx +0 -30
  464. package/src/features/pmProgress/__tests__/.keep +0 -0
  465. package/src/features/pmProgress/components/chart/chart.helpers.ts +0 -16
  466. package/src/features/pmProgress/components/chart/chart.types.ts +0 -37
  467. package/src/features/pmProgress/components/chart/components/PracticeProgressPieChart.tsx +0 -32
  468. package/src/features/pmProgress/components/chart/components/SlicesClipPaths.tsx +0 -22
  469. package/src/features/pmProgress/components/chart/components/SlicesPaths.tsx +0 -90
  470. package/src/features/pmProgress/components/chart/components/layers/SliceArcPattern.tsx +0 -44
  471. package/src/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.tsx +0 -11
  472. package/src/features/pmProgress/components/chart/components/layers/SliceFillColor.tsx +0 -88
  473. package/src/features/pmProgress/components/chart/model/ArcPatternGenerator.ts +0 -48
  474. package/src/features/pmProgress/components/chart/model/PieChartManager.ts +0 -20
  475. package/src/features/pmProgress/components/chart/model/SliceHighlight.ts +0 -17
  476. package/src/features/pmProgress/components/chart/model/SliceShapeGenerator.ts +0 -90
  477. package/src/features/pmProgress/components/content/PmContent.tsx +0 -44
  478. package/src/features/pmProgress/components/header/PmProgressHeader.tsx +0 -211
  479. package/src/features/pmProgress/components/header/StartButton.tsx +0 -141
  480. package/src/features/pmProgress/components/insights/PmInsights.tsx +0 -65
  481. package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +0 -88
  482. package/src/features/pmProgress/components/insights/StatsCard.tsx +0 -54
  483. package/src/features/pmProgress/components/list/Fluency.tsx +0 -69
  484. package/src/features/pmProgress/components/list/ListCard.tsx +0 -230
  485. package/src/features/pmProgress/components/list/ListItem.tsx +0 -161
  486. package/src/features/pmProgress/components/list/PmDomainList.tsx +0 -76
  487. package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +0 -101
  488. package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +0 -127
  489. package/src/features/pmProgress/components/standard/StandardTag.tsx +0 -182
  490. package/src/features/pmProgress/context/PmProgressContext.tsx +0 -25
  491. package/src/features/pmProgress/index.ts +0 -6
  492. package/src/features/pmProgress/model/PmHighlightModel.ts +0 -11
  493. package/src/features/pmProgress/model/PmInsightsModel.ts +0 -23
  494. package/src/features/pmProgress/model/PmProgressApi.ts +0 -34
  495. package/src/features/pmProgress/model/PmProgressModel.ts +0 -48
  496. package/src/features/pmProgress/model/PmRecommendationsModel.ts +0 -47
  497. package/src/features/pmProgress/model/PmSolvingFlowModel.ts +0 -134
  498. package/src/features/pmProgress/model/PmTreeModel.ts +0 -163
  499. package/src/features/pmProgress/shared/TreeNormalizer.ts +0 -64
  500. package/src/features/pmProgress/shared/pmProgress.constants.ts +0 -98
  501. package/src/features/pmProgress/shared/pmProgress.helpers.ts +0 -273
  502. package/src/features/pmProgress/shared/pmProgress.types.ts +0 -218
  503. package/src/shared/icons/PentagonIcon.tsx +0 -17
  504. package/src/shared/icons/SketchArrowRight.tsx +0 -18
  505. package/src/shared/icons/SliceDiamondIcon.tsx +0 -16
  506. package/src/shared/icons/StarIcon.tsx +0 -17
  507. package/src/shared/icons/TimerIcon.tsx +0 -21
@@ -1,141 +0,0 @@
1
- import React, { useEffect, useRef, useState } from 'react'
2
- import { Animated, StyleSheet, View } from 'react-native'
3
- import {
4
- Button,
5
- ButtonColor,
6
- ButtonSize,
7
- ButtonVariant,
8
- COLORS,
9
- HeadingVariants,
10
- PlayIcon,
11
- Typography,
12
- } from '@magmamath/react-native-ui'
13
- import { useText } from '../../../../shared/translation'
14
-
15
- type Sizes = {
16
- width: number
17
- height: number
18
- }
19
-
20
- type StartButtonProps = {
21
- onPress: () => void
22
- disabled: boolean
23
- isLoading: boolean
24
- isActive: boolean
25
- withPulsation?: boolean
26
- }
27
-
28
- export const StartButton = ({
29
- onPress,
30
- disabled,
31
- isLoading,
32
- isActive,
33
- withPulsation,
34
- }: StartButtonProps) => {
35
- const t = useText()
36
- const [sizes, setSizes] = useState<Sizes | null>(null)
37
- const [aspectRatio, setAspectRatio] = useState<number | null>(null)
38
- const showPulsation = withPulsation && sizes && aspectRatio
39
-
40
- const scaleAnimValue = useRef(new Animated.Value(0)).current
41
- const fadeAnimValue = useRef(new Animated.Value(1)).current
42
-
43
- const scaleAnimation = Animated.timing(scaleAnimValue, {
44
- toValue: 1,
45
- duration: 1000,
46
- useNativeDriver: true,
47
- })
48
-
49
- const fadeOutAnimation = Animated.timing(fadeAnimValue, {
50
- toValue: 0,
51
- duration: 1000,
52
- useNativeDriver: true,
53
- })
54
-
55
- const pulsationAnimation = Animated.loop(
56
- Animated.sequence([scaleAnimation, Animated.delay(1000), fadeOutAnimation]),
57
- )
58
-
59
- useEffect(() => {
60
- if (sizes && withPulsation) {
61
- pulsationAnimation.start()
62
- }
63
- }, [sizes, withPulsation])
64
-
65
- return (
66
- <View
67
- style={styles.container}
68
- onLayout={(event) => {
69
- setSizes({
70
- width: event.nativeEvent.layout.width + 16,
71
- height: event.nativeEvent.layout.height + 18,
72
- })
73
- setAspectRatio(event.nativeEvent.layout.width / event.nativeEvent.layout.height)
74
- }}
75
- >
76
- {showPulsation && (
77
- <Animated.View
78
- style={[
79
- styles.animatedBackground,
80
- {
81
- width: sizes.width,
82
- height: sizes.height,
83
- top: -6,
84
- left: -8,
85
- transform: [
86
- {
87
- scaleX: scaleAnimValue.interpolate({
88
- inputRange: [0, 1],
89
- outputRange: [aspectRatio / 10 > 0.7 ? 0.7 : aspectRatio / 10, 1],
90
- }),
91
- },
92
- {
93
- scaleY: scaleAnimValue.interpolate({
94
- inputRange: [0, 1],
95
- outputRange: [0, 1],
96
- }),
97
- },
98
- ],
99
- opacity: fadeAnimValue,
100
- },
101
- ]}
102
- />
103
- )}
104
- <Button
105
- onPress={onPress}
106
- disabled={disabled}
107
- isLoading={isLoading}
108
- isActive={isActive}
109
- icon={<PlayIcon size={16} color={COLORS.NEUTRAL_1} />}
110
- variant={ButtonVariant.PRIMARY}
111
- size={ButtonSize.LARGE}
112
- colorScheme={ButtonColor.YELLOW}
113
- raiseLevel={6}
114
- style={{ container: styles.startButton }}
115
- >
116
- <Typography variant={HeadingVariants.H6} style={styles.startButtonText}>
117
- {t('pmProgress.startButton')}
118
- </Typography>
119
- </Button>
120
- </View>
121
- )
122
- }
123
-
124
- const styles = StyleSheet.create({
125
- container: {
126
- marginRight: 8,
127
- },
128
- startButton: {
129
- minWidth: 145,
130
- },
131
- startButtonText: {
132
- fontWeight: '700',
133
- textTransform: 'uppercase',
134
- color: COLORS.NEUTRAL_1,
135
- },
136
- animatedBackground: {
137
- backgroundColor: '#FFBE4E66',
138
- position: 'absolute',
139
- borderRadius: 50,
140
- },
141
- })
@@ -1,65 +0,0 @@
1
- import React, { useMemo, useState } from 'react'
2
- import { useStoreMap } from 'effector-react'
3
- import { LayoutChangeEvent, StyleSheet, View } from 'react-native'
4
- import { BORDER_RADIUS, COLORS, SPACING } from '@magmamath/react-native-ui'
5
- import { PracticeProgressPieChart } from '../chart/components/PracticeProgressPieChart'
6
- import { PmTimeframeStats } from './PmTimeframeStats'
7
- import { usePmProgress } from '../../context/PmProgressContext'
8
- import { createChartConfig } from '../../shared/pmProgress.helpers'
9
- import {
10
- EMPTY_PIE_CHART_DATA,
11
- MAX_PIE_CHART_SIZE,
12
- STATS_MAX_HEIGHT,
13
- } from '../../shared/pmProgress.constants'
14
-
15
- export const PmInsights = () => {
16
- const { model } = usePmProgress()
17
- const [chartSize, setChartSize] = useState(MAX_PIE_CHART_SIZE)
18
- const chartData = useStoreMap(model.tree.$domains, (domains) =>
19
- domains.map((domain) => ({
20
- value: 1,
21
- fillPercent: Math.round(domain.scorePercentage),
22
- fillColor: domain.color,
23
- borderColor: domain.borderColor,
24
- backgroundColor: domain.backgroundColor,
25
- })),
26
- )
27
-
28
- const chartConfig = useMemo(() => {
29
- const size = Math.max(0, chartSize - SPACING[400])
30
- return createChartConfig(size)
31
- }, [chartSize])
32
-
33
- const measureLayout = (event: LayoutChangeEvent) => {
34
- const height = event.nativeEvent.layout.height
35
- const size = Math.min(height - STATS_MAX_HEIGHT - SPACING[800], MAX_PIE_CHART_SIZE)
36
- setChartSize(size)
37
- }
38
-
39
- return (
40
- <View style={styles.container} onLayout={measureLayout}>
41
- <View style={[styles.chart, { width: chartSize, height: chartSize }]}>
42
- <PracticeProgressPieChart
43
- data={chartData.length > 0 ? chartData : EMPTY_PIE_CHART_DATA}
44
- config={chartConfig}
45
- />
46
- </View>
47
- <PmTimeframeStats />
48
- </View>
49
- )
50
- }
51
-
52
- const styles = StyleSheet.create({
53
- container: {
54
- height: '100%',
55
- },
56
- chart: {
57
- alignItems: 'center',
58
- justifyContent: 'center',
59
- backgroundColor: COLORS.NEUTRAL_1,
60
- borderRadius: BORDER_RADIUS[250],
61
- padding: SPACING[400],
62
- marginBottom: SPACING[400],
63
- marginTop: SPACING[400],
64
- },
65
- })
@@ -1,88 +0,0 @@
1
- import React from 'react'
2
- import { StyleSheet, View } from 'react-native'
3
- import {
4
- COLORS,
5
- SelectGroup,
6
- SelectOptionColor,
7
- SelectOptionProps,
8
- SPACING,
9
- } from '@magmamath/react-native-ui'
10
- import { StatsCard } from './StatsCard'
11
- import { StarIcon } from '../../../../shared/icons/StarIcon'
12
- import { TimerIcon } from '../../../../shared/icons/TimerIcon'
13
- import { BORDER_RADIUS } from '@magmamath/react-native-ui'
14
- import { useText } from '../../../../shared/translation'
15
- import { useUnit } from 'effector-react'
16
- import { formatTime } from '../../shared/pmProgress.helpers'
17
- import { InsightsTimeframe, STATS_MAX_HEIGHT } from '../../shared/pmProgress.constants'
18
- import { usePmProgress } from '../../context/PmProgressContext'
19
-
20
- export const PmTimeframeStats = () => {
21
- const t = useText()
22
- const { model } = usePmProgress()
23
- const timeframe = useUnit(model.insights.$timeframe)
24
- const insights = useUnit(model.insights.$insights)
25
-
26
- const OPTIONS: SelectOptionProps[] = [
27
- { key: InsightsTimeframe.WEEK, title: t('pmProgress.thisWeek') },
28
- { key: InsightsTimeframe.LAST_WEEK, title: t('pmProgress.lastWeek') },
29
- { key: InsightsTimeframe.ALL, title: t('pmProgress.allTime') },
30
- ]
31
-
32
- return (
33
- <View style={styles.container}>
34
- <View style={styles.content}>
35
- <View style={styles.cards}>
36
- <StatsCard
37
- value={insights?.numberOfStars ?? 0}
38
- label={t('pmProgress.stars')}
39
- color={COLORS.PRIMARY_YELLOW}
40
- icon={<StarIcon />}
41
- />
42
- <StatsCard
43
- value={formatTime(insights?.timeInPracticeMs ?? 0)}
44
- label={t('pmProgress.time')}
45
- color={COLORS.PRIMARY_PURPLE}
46
- iconStyle={styles.timeIcon}
47
- icon={<TimerIcon />}
48
- />
49
- </View>
50
-
51
- <SelectGroup
52
- color={SelectOptionColor.GREY}
53
- options={OPTIONS}
54
- selectedOptions={OPTIONS.filter(({ key }) => key === timeframe)}
55
- onOptionChange={({ key }) => model.insights.setTimeframe(key as InsightsTimeframe)}
56
- />
57
- </View>
58
- </View>
59
- )
60
- }
61
-
62
- const styles = StyleSheet.create({
63
- container: {
64
- maxHeight: STATS_MAX_HEIGHT,
65
- height: '100%',
66
- padding: SPACING[200],
67
- backgroundColor: COLORS.NEUTRAL_1,
68
- borderRadius: BORDER_RADIUS[300],
69
- shadowColor: COLORS.NEUTRAL_9,
70
- shadowOffset: { width: 0, height: 1 },
71
- shadowOpacity: 0.1,
72
- shadowRadius: 3,
73
- elevation: 2,
74
- },
75
- content: {
76
- gap: SPACING[100],
77
- marginBottom: 4,
78
- },
79
- cards: {
80
- flexDirection: 'row',
81
- justifyContent: 'space-between',
82
- gap: SPACING[300],
83
- },
84
- timeIcon: {
85
- paddingBottom: 2,
86
- paddingLeft: 2,
87
- },
88
- })
@@ -1,54 +0,0 @@
1
- import React, { ReactNode } from 'react'
2
- import { View, StyleSheet, Text, ViewStyle } from 'react-native'
3
- import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui'
4
-
5
- type StatsCardProps = {
6
- value: number | string
7
- label: string
8
- color: string
9
- icon: ReactNode
10
- iconStyle?: ViewStyle
11
- }
12
-
13
- export const StatsCard = ({ value, label, color, icon, iconStyle }: StatsCardProps) => {
14
- return (
15
- <View style={[styles.card, { borderColor: color }]}>
16
- <View style={[styles.iconContainer, { backgroundColor: color }, iconStyle]}>{icon}</View>
17
- <View>
18
- <Text style={[styles.value, { color }]}>{value}</Text>
19
- <Text style={styles.label}>{label}</Text>
20
- </View>
21
- </View>
22
- )
23
- }
24
-
25
- const styles = StyleSheet.create({
26
- card: {
27
- flex: 1,
28
- height: 65,
29
- alignItems: 'center',
30
- flexDirection: 'row',
31
- borderRadius: 12,
32
- borderWidth: 4,
33
- padding: 8,
34
- gap: 8,
35
- },
36
- iconContainer: {
37
- width: 42,
38
- height: 42,
39
- alignItems: 'center',
40
- justifyContent: 'center',
41
- borderRadius: 100,
42
- },
43
- value: {
44
- fontSize: 32,
45
- fontWeight: '700',
46
- fontFamily: FONT_FAMILY.buenosAires,
47
- },
48
- label: {
49
- color: COLORS.NEUTRAL_8,
50
- fontSize: 12,
51
- fontFamily: FONT_FAMILY.buenosAires,
52
- top: -6,
53
- },
54
- })
@@ -1,69 +0,0 @@
1
- import React from 'react'
2
- import { StyleSheet, View } from 'react-native'
3
- import { ListCard } from './ListCard'
4
- import { COLORS, SPACING } from '@magmamath/react-native-ui'
5
- import { SliceDiamondIcon } from '../../../../shared/icons/SliceDiamondIcon'
6
- import { useText } from '../../../../shared/translation'
7
- import { useUnit } from 'effector-react'
8
- import { SolvingFlow } from '../../shared/pmProgress.constants'
9
- import { Domain } from '../../shared/pmProgress.types'
10
- import { usePmProgress } from '../../context/PmProgressContext'
11
-
12
- type FluencyProps = {
13
- data: Domain | undefined
14
- }
15
-
16
- export const Fluency = ({ data }: FluencyProps) => {
17
- const t = useText()
18
- const { model, onStandardPress } = usePmProgress()
19
- const expandedId = useUnit(model.highlight.$expandedId)
20
- const hoveredId = useUnit(model.highlight.$hoveredId)
21
- const loaderOpeningId = useUnit(model.solving.$loaderOpeningId)
22
-
23
- if (!data) return null
24
-
25
- return (
26
- <View style={styles.container}>
27
- <View style={styles.separator} />
28
- <ListCard
29
- title={t('pmProgress.fluency')}
30
- items={data.standards.map((standard) => ({ ...standard, id: standard.standardId }))}
31
- progress={data.scorePercentage}
32
- color={COLORS.PRIMARY_ORANGE}
33
- onPress={() => model.highlight.expand(data.domainId)}
34
- onHoverIn={() => model.highlight.hover(data.domainId)}
35
- onHoverOut={() => model.highlight.hover(null)}
36
- onItemPress={async (item) => {
37
- try {
38
- model.solving.setLoaderOpeningId(item.id)
39
- const skill = await model.solving.start({
40
- type: SolvingFlow.STANDARD,
41
- standardId: item.standardId,
42
- })
43
- await onStandardPress?.(skill)
44
- } finally {
45
- model.solving.setLoaderOpeningId(null)
46
- }
47
- }}
48
- loadingItemId={loaderOpeningId}
49
- isFirst
50
- isLast
51
- isExpanded={expandedId === data.domainId}
52
- isHighlighted={hoveredId === data.domainId || expandedId === data.domainId}
53
- icon={<SliceDiamondIcon color={COLORS.PRIMARY_ORANGE} />}
54
- />
55
- </View>
56
- )
57
- }
58
-
59
- const styles = StyleSheet.create({
60
- container: {
61
- marginBottom: SPACING[800],
62
- },
63
- separator: {
64
- height: 1,
65
- marginHorizontal: SPACING[100],
66
- marginVertical: SPACING[200],
67
- backgroundColor: COLORS.NEUTRAL_4,
68
- },
69
- })
@@ -1,230 +0,0 @@
1
- import React, { useState } from 'react'
2
- import { Pressable, View, StyleSheet } from 'react-native'
3
- import {
4
- BORDER_RADIUS,
5
- CaretDownIcon,
6
- CaretRightIcon,
7
- COLORS,
8
- HeadingVariants,
9
- SPACING,
10
- Typography,
11
- } from '@magmamath/react-native-ui'
12
- import { ListItem } from './ListItem'
13
- import { useText } from '../../../../shared/translation'
14
- const HEADER_HEIGHT = 60
15
- const PROGRESS_BAR_WIDTH = 50
16
- const PROGRESS_BAR_HEIGHT = 10
17
-
18
- export type ListCardItem = {
19
- id: string
20
- title: string
21
- subtitle: string
22
- isCompleted: boolean
23
- skillsLeft: number
24
- }
25
-
26
- function getVisibleItems<T>(items: T[], maxItems?: number) {
27
- const visible = maxItems != null ? items.slice(0, maxItems) : items
28
- const remainingCount = maxItems != null ? Math.max(0, items.length - maxItems) : 0
29
- return { visible, remainingCount }
30
- }
31
-
32
- type ListCardProps<T extends ListCardItem> = {
33
- title: string
34
- icon: React.ReactElement
35
- color: string
36
- items: T[]
37
- onItemPress?: (item: T) => void
38
- isExpanded?: boolean
39
- onPress?: () => void
40
- onHoverIn?: () => void
41
- onHoverOut?: () => void
42
- progress?: number
43
- rightContent?: React.ReactNode
44
- isFirst?: boolean
45
- isLast?: boolean
46
- maxItems?: number
47
- expandedColor?: string
48
- isSkillsLeftHidden?: boolean
49
- isHighlighted?: boolean
50
- loadingItemId?: string | null
51
- }
52
-
53
- export const ListCard = <T extends ListCardItem>({
54
- title,
55
- icon,
56
- color,
57
- items,
58
- isExpanded = false,
59
- isHighlighted = false,
60
- onPress,
61
- onHoverIn,
62
- onHoverOut,
63
- onItemPress,
64
- progress = 0,
65
- rightContent,
66
- isFirst,
67
- isLast,
68
- maxItems,
69
- expandedColor = COLORS.NEUTRAL_3,
70
- isSkillsLeftHidden = false,
71
- loadingItemId = null,
72
- }: ListCardProps<T>) => {
73
- const t = useText()
74
- const [isHovered, setIsHovered] = useState(false)
75
-
76
- const { visible: standards, remainingCount } = getVisibleItems(items, maxItems)
77
- const withHighlight = isHovered || isExpanded || isHighlighted
78
-
79
- const Caret = isExpanded ? CaretDownIcon : CaretRightIcon
80
-
81
- return (
82
- <View
83
- style={[
84
- styles.container,
85
- !isFirst && styles.containerCollapsed,
86
- isFirst && styles.containerFirst,
87
- isLast && styles.containerLast,
88
- withHighlight && { backgroundColor: expandedColor },
89
- ]}
90
- >
91
- <Pressable
92
- style={[
93
- styles.header,
94
- isFirst && styles.headerFirst,
95
- isLast && !isExpanded && styles.headerLast,
96
- withHighlight && { backgroundColor: expandedColor },
97
- ]}
98
- onPress={onPress}
99
- onHoverIn={() => {
100
- setIsHovered(true)
101
- onHoverIn?.()
102
- }}
103
- onHoverOut={() => {
104
- setIsHovered(false)
105
- onHoverOut?.()
106
- }}
107
- >
108
- {icon}
109
- <View style={styles.caret}>
110
- <Caret color={COLORS.NEUTRAL_9} />
111
- </View>
112
- <Typography variant={HeadingVariants.H6} style={styles.title}>
113
- {title}
114
- </Typography>
115
- {rightContent ?? (
116
- <View style={styles.progress}>
117
- <Typography variant={HeadingVariants.H7} style={[styles.percentage, { color }]}>
118
- {Math.round(progress)}%
119
- </Typography>
120
- <View style={styles.track}>
121
- <View
122
- style={[styles.fill, { width: `${Math.round(progress)}%`, backgroundColor: color }]}
123
- />
124
- </View>
125
- </View>
126
- )}
127
- </Pressable>
128
- {isExpanded && (
129
- <View style={[styles.items, isLast && styles.itemsLast]}>
130
- {standards.map((standard) => (
131
- <ListItem
132
- key={standard.id}
133
- title={standard.title}
134
- skillsLeft={standard.skillsLeft}
135
- subtitle={standard.subtitle}
136
- isFinished={standard.isCompleted}
137
- isLoading={loadingItemId === standard.id}
138
- isSkillsLeftHidden={isSkillsLeftHidden}
139
- onPress={() => onItemPress?.(standard)}
140
- />
141
- ))}
142
- {remainingCount > 0 && (
143
- <Typography variant={HeadingVariants.H8} style={styles.moreText}>
144
- {t('pmProgress.andMore', { count: `${remainingCount}` })}
145
- </Typography>
146
- )}
147
- </View>
148
- )}
149
- </View>
150
- )
151
- }
152
-
153
- const styles = StyleSheet.create({
154
- container: {
155
- justifyContent: 'center',
156
- backgroundColor: COLORS.NEUTRAL_2,
157
- overflow: 'hidden',
158
- cursor: 'pointer',
159
- },
160
- containerCollapsed: {
161
- marginTop: -1,
162
- },
163
- containerFirst: {
164
- borderTopLeftRadius: BORDER_RADIUS[200],
165
- borderTopRightRadius: BORDER_RADIUS[200],
166
- },
167
- containerLast: {
168
- borderBottomLeftRadius: BORDER_RADIUS[200],
169
- borderBottomRightRadius: BORDER_RADIUS[200],
170
- },
171
- header: {
172
- flexDirection: 'row',
173
- alignItems: 'center',
174
- height: HEADER_HEIGHT,
175
- padding: SPACING[400],
176
- backgroundColor: COLORS.NEUTRAL_2,
177
- borderWidth: 1,
178
- borderColor: COLORS.NEUTRAL_4,
179
- cursor: 'pointer',
180
- },
181
- headerFirst: {
182
- borderTopLeftRadius: BORDER_RADIUS[200],
183
- borderTopRightRadius: BORDER_RADIUS[200],
184
- },
185
- headerLast: {
186
- borderBottomLeftRadius: BORDER_RADIUS[200],
187
- borderBottomRightRadius: BORDER_RADIUS[200],
188
- },
189
- caret: {
190
- marginLeft: SPACING[400],
191
- },
192
- title: {
193
- color: COLORS.NEUTRAL_9,
194
- marginLeft: SPACING[200],
195
- flex: 1,
196
- },
197
- progress: {
198
- flexDirection: 'row',
199
- alignItems: 'center',
200
- gap: SPACING[200],
201
- },
202
- percentage: {
203
- textAlign: 'right',
204
- },
205
- track: {
206
- width: PROGRESS_BAR_WIDTH,
207
- height: PROGRESS_BAR_HEIGHT,
208
- backgroundColor: COLORS.NEUTRAL_4,
209
- borderRadius: BORDER_RADIUS[200],
210
- overflow: 'hidden',
211
- },
212
- fill: {
213
- height: '100%',
214
- borderRadius: BORDER_RADIUS[200],
215
- },
216
- items: {
217
- gap: SPACING[200],
218
- padding: SPACING[200],
219
- backgroundColor: COLORS.NEUTRAL_1,
220
- },
221
- itemsLast: {
222
- borderBottomLeftRadius: BORDER_RADIUS[200],
223
- borderBottomRightRadius: BORDER_RADIUS[200],
224
- },
225
- moreText: {
226
- textAlign: 'center',
227
- color: COLORS.NEUTRAL_7,
228
- marginVertical: SPACING[200],
229
- },
230
- })