@magmamath/students-features 1.3.4-rc.3 → 1.3.5-rc.0

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 (516) hide show
  1. package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js +2 -1
  2. package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +2 -1
  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/pmProgress/PmProgress.js +41 -0
  8. package/dist/commonjs/features/pmProgress/PmProgress.js.map +1 -0
  9. package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js +24 -0
  10. package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js.map +1 -0
  11. package/dist/commonjs/features/pmProgress/components/chart/chart.types.js +2 -0
  12. package/dist/commonjs/features/pmProgress/components/chart/chart.types.js.map +1 -0
  13. package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +44 -0
  14. package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +1 -0
  15. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js +26 -0
  16. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +1 -0
  17. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +91 -0
  18. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -0
  19. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +38 -0
  20. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +1 -0
  21. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +21 -0
  22. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +1 -0
  23. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js +55 -0
  24. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +1 -0
  25. package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js +49 -0
  26. package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +1 -0
  27. package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js +23 -0
  28. package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js.map +1 -0
  29. package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js +79 -0
  30. package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +1 -0
  31. package/dist/commonjs/features/pmProgress/components/content/PmContent.js +48 -0
  32. package/dist/commonjs/features/pmProgress/components/content/PmContent.js.map +1 -0
  33. package/dist/commonjs/features/pmProgress/components/header/NextUp.js +127 -0
  34. package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -0
  35. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +133 -0
  36. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -0
  37. package/dist/commonjs/features/pmProgress/components/header/StartButton.js +126 -0
  38. package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -0
  39. package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +71 -0
  40. package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js.map +1 -0
  41. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +102 -0
  42. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -0
  43. package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js +72 -0
  44. package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js.map +1 -0
  45. package/dist/commonjs/features/pmProgress/components/list/Fluency.js +82 -0
  46. package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -0
  47. package/dist/commonjs/features/pmProgress/components/list/ListCard.js +207 -0
  48. package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +1 -0
  49. package/dist/commonjs/features/pmProgress/components/list/ListItem.js +141 -0
  50. package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +1 -0
  51. package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +97 -0
  52. package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +1 -0
  53. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +101 -0
  54. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -0
  55. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +135 -0
  56. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -0
  57. package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +203 -0
  58. package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js.map +1 -0
  59. package/dist/commonjs/features/pmProgress/context/PmProgressContext.js +18 -0
  60. package/dist/commonjs/features/pmProgress/context/PmProgressContext.js.map +1 -0
  61. package/dist/commonjs/features/pmProgress/index.js +64 -0
  62. package/dist/commonjs/features/pmProgress/index.js.map +1 -0
  63. package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js +15 -0
  64. package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js.map +1 -0
  65. package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js +22 -0
  66. package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js.map +1 -0
  67. package/dist/commonjs/features/pmProgress/model/PmProgressApi.js +18 -0
  68. package/dist/commonjs/features/pmProgress/model/PmProgressApi.js.map +1 -0
  69. package/dist/commonjs/features/pmProgress/model/PmProgressModel.js +43 -0
  70. package/dist/commonjs/features/pmProgress/model/PmProgressModel.js.map +1 -0
  71. package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js +47 -0
  72. package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js.map +1 -0
  73. package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js +104 -0
  74. package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js.map +1 -0
  75. package/dist/commonjs/features/pmProgress/model/PmTreeModel.js +176 -0
  76. package/dist/commonjs/features/pmProgress/model/PmTreeModel.js.map +1 -0
  77. package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js +52 -0
  78. package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js.map +1 -0
  79. package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +65 -0
  80. package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js.map +1 -0
  81. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +234 -0
  82. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -0
  83. package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js +12 -0
  84. package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js.map +1 -0
  85. package/dist/commonjs/features/voice/constants.js +3 -15
  86. package/dist/commonjs/features/voice/constants.js.map +1 -1
  87. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js +5 -19
  88. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js.map +1 -1
  89. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +26 -81
  90. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  91. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  92. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
  93. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  94. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +0 -5
  95. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  96. package/dist/commonjs/features/voice/types.js +0 -6
  97. package/dist/commonjs/features/voice/types.js.map +1 -1
  98. package/dist/commonjs/index.js +15 -3
  99. package/dist/commonjs/index.js.map +1 -1
  100. package/dist/commonjs/shared/icons/MenuIcon.js +30 -0
  101. package/dist/commonjs/shared/icons/MenuIcon.js.map +1 -0
  102. package/dist/commonjs/shared/icons/PentagonIcon.js +29 -0
  103. package/dist/commonjs/shared/icons/PentagonIcon.js.map +1 -0
  104. package/dist/commonjs/shared/icons/SketchArrowRight.js +33 -0
  105. package/dist/commonjs/shared/icons/SketchArrowRight.js.map +1 -0
  106. package/dist/commonjs/shared/icons/SliceDiamondIcon.js +29 -0
  107. package/dist/commonjs/shared/icons/SliceDiamondIcon.js.map +1 -0
  108. package/dist/commonjs/shared/icons/StarIcon.js +32 -0
  109. package/dist/commonjs/shared/icons/StarIcon.js.map +1 -0
  110. package/dist/commonjs/shared/icons/TimerIcon.js +35 -0
  111. package/dist/commonjs/shared/icons/TimerIcon.js.map +1 -0
  112. package/dist/commonjs/shared/translation/localization/ca.json +24 -0
  113. package/dist/commonjs/shared/translation/localization/de.json +24 -0
  114. package/dist/commonjs/shared/translation/localization/en.json +24 -0
  115. package/dist/commonjs/shared/translation/localization/gb.json +24 -0
  116. package/dist/commonjs/shared/translation/localization/sct.json +24 -0
  117. package/dist/commonjs/shared/translation/localization/sw.json +24 -0
  118. package/dist/module/features/chatbot/components/ChatInput/ChatInput.js +2 -1
  119. package/dist/module/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
  120. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +2 -1
  121. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  122. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +2 -2
  123. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
  124. package/dist/module/features/pmProgress/PmProgress.js +35 -0
  125. package/dist/module/features/pmProgress/PmProgress.js.map +1 -0
  126. package/dist/module/features/pmProgress/components/chart/chart.helpers.js +17 -0
  127. package/dist/module/features/pmProgress/components/chart/chart.helpers.js.map +1 -0
  128. package/dist/module/features/pmProgress/components/chart/chart.types.js +2 -0
  129. package/dist/module/features/pmProgress/components/chart/chart.types.js.map +1 -0
  130. package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +38 -0
  131. package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +1 -0
  132. package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js +20 -0
  133. package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +1 -0
  134. package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js +85 -0
  135. package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -0
  136. package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +32 -0
  137. package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +1 -0
  138. package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +15 -0
  139. package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +1 -0
  140. package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js +49 -0
  141. package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +1 -0
  142. package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js +44 -0
  143. package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +1 -0
  144. package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js +18 -0
  145. package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js.map +1 -0
  146. package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js +74 -0
  147. package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +1 -0
  148. package/dist/module/features/pmProgress/components/content/PmContent.js +42 -0
  149. package/dist/module/features/pmProgress/components/content/PmContent.js.map +1 -0
  150. package/dist/module/features/pmProgress/components/header/NextUp.js +121 -0
  151. package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -0
  152. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +126 -0
  153. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -0
  154. package/dist/module/features/pmProgress/components/header/StartButton.js +119 -0
  155. package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -0
  156. package/dist/module/features/pmProgress/components/insights/PmInsights.js +64 -0
  157. package/dist/module/features/pmProgress/components/insights/PmInsights.js.map +1 -0
  158. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +97 -0
  159. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -0
  160. package/dist/module/features/pmProgress/components/insights/StatsCard.js +66 -0
  161. package/dist/module/features/pmProgress/components/insights/StatsCard.js.map +1 -0
  162. package/dist/module/features/pmProgress/components/list/Fluency.js +76 -0
  163. package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -0
  164. package/dist/module/features/pmProgress/components/list/ListCard.js +200 -0
  165. package/dist/module/features/pmProgress/components/list/ListCard.js.map +1 -0
  166. package/dist/module/features/pmProgress/components/list/ListItem.js +134 -0
  167. package/dist/module/features/pmProgress/components/list/ListItem.js.map +1 -0
  168. package/dist/module/features/pmProgress/components/list/PmDomainList.js +91 -0
  169. package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +1 -0
  170. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +95 -0
  171. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -0
  172. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +129 -0
  173. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -0
  174. package/dist/module/features/pmProgress/components/standard/StandardTag.js +197 -0
  175. package/dist/module/features/pmProgress/components/standard/StandardTag.js.map +1 -0
  176. package/dist/module/features/pmProgress/context/PmProgressContext.js +13 -0
  177. package/dist/module/features/pmProgress/context/PmProgressContext.js.map +1 -0
  178. package/dist/module/features/pmProgress/index.js +9 -0
  179. package/dist/module/features/pmProgress/index.js.map +1 -0
  180. package/dist/module/features/pmProgress/model/PmHighlightModel.js +10 -0
  181. package/dist/module/features/pmProgress/model/PmHighlightModel.js.map +1 -0
  182. package/dist/module/features/pmProgress/model/PmInsightsModel.js +17 -0
  183. package/dist/module/features/pmProgress/model/PmInsightsModel.js.map +1 -0
  184. package/dist/module/features/pmProgress/model/PmProgressApi.js +13 -0
  185. package/dist/module/features/pmProgress/model/PmProgressApi.js.map +1 -0
  186. package/dist/module/features/pmProgress/model/PmProgressModel.js +38 -0
  187. package/dist/module/features/pmProgress/model/PmProgressModel.js.map +1 -0
  188. package/dist/module/features/pmProgress/model/PmRecommendationsModel.js +42 -0
  189. package/dist/module/features/pmProgress/model/PmRecommendationsModel.js.map +1 -0
  190. package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js +99 -0
  191. package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js.map +1 -0
  192. package/dist/module/features/pmProgress/model/PmTreeModel.js +171 -0
  193. package/dist/module/features/pmProgress/model/PmTreeModel.js.map +1 -0
  194. package/dist/module/features/pmProgress/shared/TreeNormalizer.js +47 -0
  195. package/dist/module/features/pmProgress/shared/TreeNormalizer.js.map +1 -0
  196. package/dist/module/features/pmProgress/shared/pmProgress.constants.js +62 -0
  197. package/dist/module/features/pmProgress/shared/pmProgress.constants.js.map +1 -0
  198. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +214 -0
  199. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -0
  200. package/dist/module/features/pmProgress/shared/pmProgress.types.js +8 -0
  201. package/dist/module/features/pmProgress/shared/pmProgress.types.js.map +1 -0
  202. package/dist/module/features/voice/constants.js +2 -14
  203. package/dist/module/features/voice/constants.js.map +1 -1
  204. package/dist/module/features/voice/recording/components/VoiceRecord.js +6 -20
  205. package/dist/module/features/voice/recording/components/VoiceRecord.js.map +1 -1
  206. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +28 -83
  207. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  208. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  209. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
  210. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  211. package/dist/module/features/voice/recording/model/VoiceRecord.model.js +0 -5
  212. package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  213. package/dist/module/features/voice/types.js +1 -5
  214. package/dist/module/features/voice/types.js.map +1 -1
  215. package/dist/module/index.js +1 -0
  216. package/dist/module/index.js.map +1 -1
  217. package/dist/module/shared/icons/MenuIcon.js +22 -0
  218. package/dist/module/shared/icons/MenuIcon.js.map +1 -0
  219. package/dist/module/shared/icons/PentagonIcon.js +21 -0
  220. package/dist/module/shared/icons/PentagonIcon.js.map +1 -0
  221. package/dist/module/shared/icons/SketchArrowRight.js +25 -0
  222. package/dist/module/shared/icons/SketchArrowRight.js.map +1 -0
  223. package/dist/module/shared/icons/SliceDiamondIcon.js +21 -0
  224. package/dist/module/shared/icons/SliceDiamondIcon.js.map +1 -0
  225. package/dist/module/shared/icons/StarIcon.js +24 -0
  226. package/dist/module/shared/icons/StarIcon.js.map +1 -0
  227. package/dist/module/shared/icons/TimerIcon.js +27 -0
  228. package/dist/module/shared/icons/TimerIcon.js.map +1 -0
  229. package/dist/module/shared/translation/localization/ca.json +24 -0
  230. package/dist/module/shared/translation/localization/de.json +24 -0
  231. package/dist/module/shared/translation/localization/en.json +24 -0
  232. package/dist/module/shared/translation/localization/gb.json +24 -0
  233. package/dist/module/shared/translation/localization/sct.json +24 -0
  234. package/dist/module/shared/translation/localization/sw.json +24 -0
  235. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
  236. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  237. package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts +9 -0
  238. package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts.map +1 -0
  239. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts +4 -0
  240. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts.map +1 -0
  241. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts +36 -0
  242. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts.map +1 -0
  243. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +9 -0
  244. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +1 -0
  245. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +10 -0
  246. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +1 -0
  247. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts +11 -0
  248. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +1 -0
  249. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +12 -0
  250. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +1 -0
  251. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +8 -0
  252. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +1 -0
  253. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +14 -0
  254. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +1 -0
  255. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +12 -0
  256. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +1 -0
  257. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts +14 -0
  258. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +1 -0
  259. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +17 -0
  260. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +1 -0
  261. package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts +3 -0
  262. package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +1 -0
  263. package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts +3 -0
  264. package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts.map +1 -0
  265. package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts +3 -0
  266. package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts.map +1 -0
  267. package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts +11 -0
  268. package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts.map +1 -0
  269. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts +3 -0
  270. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts.map +1 -0
  271. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts +3 -0
  272. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +1 -0
  273. package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts +12 -0
  274. package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts.map +1 -0
  275. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts +8 -0
  276. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +1 -0
  277. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts +31 -0
  278. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +1 -0
  279. package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts +12 -0
  280. package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts.map +1 -0
  281. package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts +3 -0
  282. package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts.map +1 -0
  283. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts +8 -0
  284. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -0
  285. package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts +3 -0
  286. package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -0
  287. package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +9 -0
  288. package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -0
  289. package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +15 -0
  290. package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +1 -0
  291. package/dist/typescript/commonjs/features/pmProgress/index.d.ts +7 -0
  292. package/dist/typescript/commonjs/features/pmProgress/index.d.ts.map +1 -0
  293. package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts +7 -0
  294. package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts.map +1 -0
  295. package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts +14 -0
  296. package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts.map +1 -0
  297. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts +17 -0
  298. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts.map +1 -0
  299. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts +23 -0
  300. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts.map +1 -0
  301. package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts +102 -0
  302. package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts.map +1 -0
  303. package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts +22 -0
  304. package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +1 -0
  305. package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts +25 -0
  306. package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts.map +1 -0
  307. package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts +17 -0
  308. package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts.map +1 -0
  309. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +49 -0
  310. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -0
  311. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +73 -0
  312. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -0
  313. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts +193 -0
  314. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts.map +1 -0
  315. package/dist/typescript/commonjs/features/voice/constants.d.ts +2 -12
  316. package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
  317. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  318. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts +3 -1
  319. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  320. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +1 -2
  321. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  322. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts +1 -3
  323. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  324. package/dist/typescript/commonjs/features/voice/types.d.ts +0 -4
  325. package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
  326. package/dist/typescript/commonjs/index.d.ts +1 -0
  327. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  328. package/dist/typescript/commonjs/shared/icons/MenuIcon.d.ts +4 -0
  329. package/dist/typescript/commonjs/shared/icons/MenuIcon.d.ts.map +1 -0
  330. package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts +4 -0
  331. package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts.map +1 -0
  332. package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts +4 -0
  333. package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts +4 -0
  335. package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts +4 -0
  337. package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts +4 -0
  339. package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts.map +1 -0
  340. package/dist/typescript/commonjs/shared/translation/constants.d.ts +144 -0
  341. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  342. package/dist/typescript/commonjs/shared/translation/model.d.ts +48 -0
  343. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  344. package/dist/typescript/module/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
  345. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  346. package/dist/typescript/module/features/pmProgress/PmProgress.d.ts +9 -0
  347. package/dist/typescript/module/features/pmProgress/PmProgress.d.ts.map +1 -0
  348. package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts +4 -0
  349. package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts.map +1 -0
  350. package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts +36 -0
  351. package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts.map +1 -0
  352. package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +9 -0
  353. package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +1 -0
  354. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +10 -0
  355. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +1 -0
  356. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts +11 -0
  357. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +1 -0
  358. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +12 -0
  359. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +1 -0
  360. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +8 -0
  361. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +1 -0
  362. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +14 -0
  363. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +1 -0
  364. package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +12 -0
  365. package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +1 -0
  366. package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts +14 -0
  367. package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +1 -0
  368. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +17 -0
  369. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +1 -0
  370. package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts +3 -0
  371. package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +1 -0
  372. package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts +3 -0
  373. package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts.map +1 -0
  374. package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts +3 -0
  375. package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts.map +1 -0
  376. package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts +11 -0
  377. package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts.map +1 -0
  378. package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts +3 -0
  379. package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts.map +1 -0
  380. package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts +3 -0
  381. package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +1 -0
  382. package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts +12 -0
  383. package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts.map +1 -0
  384. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts +8 -0
  385. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +1 -0
  386. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts +31 -0
  387. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +1 -0
  388. package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts +12 -0
  389. package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts.map +1 -0
  390. package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts +3 -0
  391. package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts.map +1 -0
  392. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts +8 -0
  393. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -0
  394. package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts +3 -0
  395. package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -0
  396. package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +9 -0
  397. package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -0
  398. package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +15 -0
  399. package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +1 -0
  400. package/dist/typescript/module/features/pmProgress/index.d.ts +7 -0
  401. package/dist/typescript/module/features/pmProgress/index.d.ts.map +1 -0
  402. package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts +7 -0
  403. package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts.map +1 -0
  404. package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts +14 -0
  405. package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts.map +1 -0
  406. package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts +17 -0
  407. package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts.map +1 -0
  408. package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts +23 -0
  409. package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts.map +1 -0
  410. package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts +102 -0
  411. package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts.map +1 -0
  412. package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts +22 -0
  413. package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +1 -0
  414. package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts +25 -0
  415. package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts.map +1 -0
  416. package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts +17 -0
  417. package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts.map +1 -0
  418. package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +49 -0
  419. package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -0
  420. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +73 -0
  421. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -0
  422. package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts +193 -0
  423. package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts.map +1 -0
  424. package/dist/typescript/module/features/voice/constants.d.ts +2 -12
  425. package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
  426. package/dist/typescript/module/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  427. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts +3 -1
  428. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  429. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +1 -2
  430. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  431. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts +1 -3
  432. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  433. package/dist/typescript/module/features/voice/types.d.ts +0 -4
  434. package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
  435. package/dist/typescript/module/index.d.ts +1 -0
  436. package/dist/typescript/module/index.d.ts.map +1 -1
  437. package/dist/typescript/module/shared/icons/MenuIcon.d.ts +4 -0
  438. package/dist/typescript/module/shared/icons/MenuIcon.d.ts.map +1 -0
  439. package/dist/typescript/module/shared/icons/PentagonIcon.d.ts +4 -0
  440. package/dist/typescript/module/shared/icons/PentagonIcon.d.ts.map +1 -0
  441. package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts +4 -0
  442. package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts.map +1 -0
  443. package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts +4 -0
  444. package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts.map +1 -0
  445. package/dist/typescript/module/shared/icons/StarIcon.d.ts +4 -0
  446. package/dist/typescript/module/shared/icons/StarIcon.d.ts.map +1 -0
  447. package/dist/typescript/module/shared/icons/TimerIcon.d.ts +4 -0
  448. package/dist/typescript/module/shared/icons/TimerIcon.d.ts.map +1 -0
  449. package/dist/typescript/module/shared/translation/constants.d.ts +144 -0
  450. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  451. package/dist/typescript/module/shared/translation/model.d.ts +48 -0
  452. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  453. package/package.json +21 -13
  454. package/src/features/chatbot/components/ChatInput/ChatInput.tsx +2 -1
  455. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +2 -1
  456. package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +2 -2
  457. package/src/features/pmProgress/PmProgress.tsx +29 -0
  458. package/src/features/pmProgress/__tests__/.keep +0 -0
  459. package/src/features/pmProgress/components/chart/chart.helpers.ts +16 -0
  460. package/src/features/pmProgress/components/chart/chart.types.ts +37 -0
  461. package/src/features/pmProgress/components/chart/components/PracticeProgressPieChart.tsx +32 -0
  462. package/src/features/pmProgress/components/chart/components/SlicesClipPaths.tsx +22 -0
  463. package/src/features/pmProgress/components/chart/components/SlicesPaths.tsx +90 -0
  464. package/src/features/pmProgress/components/chart/components/layers/SliceArcPattern.tsx +44 -0
  465. package/src/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.tsx +11 -0
  466. package/src/features/pmProgress/components/chart/components/layers/SliceFillColor.tsx +60 -0
  467. package/src/features/pmProgress/components/chart/model/ArcPatternGenerator.ts +48 -0
  468. package/src/features/pmProgress/components/chart/model/PieChartManager.ts +17 -0
  469. package/src/features/pmProgress/components/chart/model/SliceShapeGenerator.ts +90 -0
  470. package/src/features/pmProgress/components/content/PmContent.tsx +42 -0
  471. package/src/features/pmProgress/components/header/NextUp.tsx +109 -0
  472. package/src/features/pmProgress/components/header/PmProgressHeader.tsx +135 -0
  473. package/src/features/pmProgress/components/header/StartButton.tsx +160 -0
  474. package/src/features/pmProgress/components/insights/PmInsights.tsx +66 -0
  475. package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +94 -0
  476. package/src/features/pmProgress/components/insights/StatsCard.tsx +54 -0
  477. package/src/features/pmProgress/components/list/Fluency.tsx +72 -0
  478. package/src/features/pmProgress/components/list/ListCard.tsx +231 -0
  479. package/src/features/pmProgress/components/list/ListItem.tsx +167 -0
  480. package/src/features/pmProgress/components/list/PmDomainList.tsx +77 -0
  481. package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +101 -0
  482. package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +129 -0
  483. package/src/features/pmProgress/components/standard/StandardTag.tsx +181 -0
  484. package/src/features/pmProgress/context/PmProgressContext.tsx +26 -0
  485. package/src/features/pmProgress/index.ts +6 -0
  486. package/src/features/pmProgress/model/PmHighlightModel.ts +11 -0
  487. package/src/features/pmProgress/model/PmInsightsModel.ts +23 -0
  488. package/src/features/pmProgress/model/PmProgressApi.ts +34 -0
  489. package/src/features/pmProgress/model/PmProgressModel.ts +48 -0
  490. package/src/features/pmProgress/model/PmRecommendationsModel.ts +47 -0
  491. package/src/features/pmProgress/model/PmSolvingFlowModel.ts +140 -0
  492. package/src/features/pmProgress/model/PmTreeModel.ts +171 -0
  493. package/src/features/pmProgress/shared/TreeNormalizer.ts +64 -0
  494. package/src/features/pmProgress/shared/pmProgress.constants.ts +100 -0
  495. package/src/features/pmProgress/shared/pmProgress.helpers.ts +307 -0
  496. package/src/features/pmProgress/shared/pmProgress.types.ts +217 -0
  497. package/src/features/voice/constants.ts +2 -14
  498. package/src/features/voice/recording/components/VoiceRecord.tsx +5 -28
  499. package/src/features/voice/recording/components/VoiceRecordButton.tsx +30 -114
  500. package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -2
  501. package/src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts +4 -8
  502. package/src/features/voice/recording/model/VoiceRecord.model.ts +0 -7
  503. package/src/features/voice/types.ts +0 -5
  504. package/src/index.ts +1 -0
  505. package/src/shared/icons/MenuIcon.tsx +15 -0
  506. package/src/shared/icons/PentagonIcon.tsx +14 -0
  507. package/src/shared/icons/SketchArrowRight.tsx +18 -0
  508. package/src/shared/icons/SliceDiamondIcon.tsx +14 -0
  509. package/src/shared/icons/StarIcon.tsx +17 -0
  510. package/src/shared/icons/TimerIcon.tsx +21 -0
  511. package/src/shared/translation/localization/ca.json +24 -0
  512. package/src/shared/translation/localization/de.json +24 -0
  513. package/src/shared/translation/localization/en.json +24 -0
  514. package/src/shared/translation/localization/gb.json +24 -0
  515. package/src/shared/translation/localization/sct.json +24 -0
  516. package/src/shared/translation/localization/sw.json +24 -0
@@ -12,6 +12,7 @@ var _ChatBotModelContext = require("../../context/ChatBotModelContext.js");
12
12
  var _styleTypes = require("../../types/style.types.js");
13
13
  var _RequestHintButton = require("./RequestHintButton.js");
14
14
  var _FreeTextInputBlock = require("./FreeText/FreeTextInputBlock.js");
15
+ var _reactNativeUi = require("@magmamath/react-native-ui");
15
16
  var _jsxRuntime = require("react/jsx-runtime");
16
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
18
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -67,7 +68,7 @@ const styles = _reactNative.StyleSheet.create({
67
68
  width: _constants.INPUT_WIDTH,
68
69
  alignItems: 'flex-end',
69
70
  justifyContent: 'center',
70
- marginLeft: 6
71
+ marginLeft: _reactNativeUi.SPACING[150]
71
72
  }
72
73
  });
73
74
  //# sourceMappingURL=ChatInput.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_constants","_effectorReact","_ChatBotModelContext","_styleTypes","_RequestHintButton","_FreeTextInputBlock","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ChatInput","isHintFeedback","hasMessages","colorScheme","ColorScheme","Blue","model","useChatModel","alternatives","useUnit","$alternatives","isTranslated","translation","$isTranslated","isTranslationPending","translateAllMessagesFx","pending","isHelpRequestPending","sendHelpRequestFx","lastMessageOptions","useStoreMap","$currentChatData","messages","lastMessage","at","options","option","useMemo","length","shouldShowNextHintOption","hints","optionLabel","translatedText","text","sendMessage","useCallback","message","translatedMessage","shouldDisableInput","jsx","View","style","styles","container","children","isOpenChatEnabled","FreeTextInputBlock","onOptionPress","disabled","RequestHintButton","onPress","label","variant","HintButtonVariant","DEFAULT","exports","StyleSheet","create","width","INPUT_WIDTH","alignItems","justifyContent","marginLeft"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatInput/ChatInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAJ,OAAA;AACA,IAAAK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d,SAAS,EAAE;IACTe,KAAK,EAAEC,sBAAW;IAClBC,UAAU,EAAE,UAAU;IACtBC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_constants","_effectorReact","_ChatBotModelContext","_styleTypes","_RequestHintButton","_FreeTextInputBlock","_reactNativeUi","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ChatInput","isHintFeedback","hasMessages","colorScheme","ColorScheme","Blue","model","useChatModel","alternatives","useUnit","$alternatives","isTranslated","translation","$isTranslated","isTranslationPending","translateAllMessagesFx","pending","isHelpRequestPending","sendHelpRequestFx","lastMessageOptions","useStoreMap","$currentChatData","messages","lastMessage","at","options","option","useMemo","length","shouldShowNextHintOption","hints","optionLabel","translatedText","text","sendMessage","useCallback","message","translatedMessage","shouldDisableInput","jsx","View","style","styles","container","children","isOpenChatEnabled","FreeTextInputBlock","onOptionPress","disabled","RequestHintButton","onPress","label","variant","HintButtonVariant","DEFAULT","exports","StyleSheet","create","width","INPUT_WIDTH","alignItems","justifyContent","marginLeft","SPACING"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatInput/ChatInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AAAoD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAU,yBAAAC,CAAA,6BA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AAC","ignoreList":[]}
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
9
9
  var _styleTypes = require("../../types/style.types.js");
10
10
  var _MessageButtonsBlock = require("./MessageButtonsBlock.js");
11
11
  var _helpers = require("./helpers.js");
12
+ var _reactNativeUi = require("@magmamath/react-native-ui");
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
15
  const MessageContentWeb = ({
@@ -82,7 +83,7 @@ const styles = _reactNative.StyleSheet.create({
82
83
  flex: 1,
83
84
  fontSize: 20,
84
85
  fontWeight: 400,
85
- fontFamily: 'Buenos Aires',
86
+ fontFamily: _reactNativeUi.FONT_FAMILY.buenosAires,
86
87
  color: '#33334D',
87
88
  width: '100%'
88
89
  },
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_styleTypes","_MessageButtonsBlock","_helpers","_jsxRuntime","e","__esModule","default","MessageContentWeb","message","text","t2sState","variant","colorScheme","ColorScheme","Blue","withErrorSpotting","highlightedWordIndex","TTSHighlightRenderer","TTSHighlightComponent","jsxs","Fragment","children","Text","style","styles","messageText","jsx","highlightedIndex","View","width","getSpacerSize","MessageButtonsBlock","MessageContentMobile","mobileMessageText","MessageContent","exports","Platform","select","web","StyleSheet","create","flex","fontSize","fontWeight","fontFamily","color","lineHeight"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/MessageContent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,oBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAAyC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF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,iBAAiB,EAAE;IACjBa,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_styleTypes","_MessageButtonsBlock","_helpers","_reactNativeUi","_jsxRuntime","e","__esModule","default","MessageContentWeb","message","text","t2sState","variant","colorScheme","ColorScheme","Blue","withErrorSpotting","highlightedWordIndex","TTSHighlightRenderer","TTSHighlightComponent","jsxs","Fragment","children","Text","style","styles","messageText","jsx","highlightedIndex","View","width","getSpacerSize","MessageButtonsBlock","MessageContentMobile","mobileMessageText","MessageContent","exports","Platform","select","web","StyleSheet","create","flex","fontSize","fontWeight","fontFamily","FONT_FAMILY","buenosAires","color","lineHeight"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/MessageContent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,oBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAEA,IAAAK,cAAA,GAAAL,OAAA;AAAwD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAaxD,MAAMG,iBAAiB,GAAGA,CAAC;EACzBC,OAAO;EACPC,IAAI;EACJC,QAAQ;EACRC,OAAO;EACPC,WAAW,GAAGC,uBAAW,CAACC,IAAI;EAC9BC,iBAAiB;EACjBC,oBAAoB;EACpBC,oBAAoB,EAAEC;AACH,CAAC,KAAK;EACzB,oBACE,IAAAf,WAAA,CAAAgB,IAAA,EAAAhB,WAAA,CAAAiB,QAAA;IAAAC,QAAA,gBACE,IAAAlB,WAAA,CAAAgB,IAAA,EAACrB,YAAA,CAAAwB,IAAI;MAACC,KAAK,EAAEC,MAA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CJ,WAAW,EAAEA;MAAY,CAC1B,CAAC,GAEFH,IACD,eACD,IAAAN,WAAA,CAAAuB,GAAA,EAAC5B,YAAA,CAAA8B,IAAI;QAACL,KAAK,EAAE;UAAEM,KAAK,EAAE,IAAAC,sBAAa,EAACtB,OAAO,EAAEE,QAAQ;QAAE;MAAE,CAAE,CAAC;IAAA,CACxD,CAAC,eACP,IAAAP,WAAA,CAAAuB,GAAA,EAAC1B,oBAAA,CAAA+B,mBAAmB;MAClBvB,OAAO,EAAEA,OAAQ;MACjBE,QAAQ,EAAEA,QAAS;MACnBC,OAAO,EAAEA,OAAQ;MACjBC,WAAW,EAAEA,WAAY;MACzBG,iBAAiB,EAAEA;IAAkB,CACtC,CAAC;EAAA,CACF,CAAC;AAEP,CAAC;AAEM,MAAMmB,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAGE,qBAAQ,CAACC,MAAM,CAAC;EAC5CC,GAAG,EAAE/B,iBAAiB;EACtBD,OAAO,EAAE0B;AACX,CAAC,CAAC;AAEF,MAAMR,MAAM,GAAGe,uBAAU,CAACC,MAAM,CAAC;EAC/Bf,WAAW,EAAE;IACXgB,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,GAAG;IACfC,UAAU,EAAEC,0BAAW,CAACC,WAAW;IACnCC,KAAK,EAAE,SAAS;IAChBlB,KAAK,EAAE;EACT,CAAC;EACDI,iBAAiB,EAAE;IACjBe,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -38,7 +38,7 @@ const styles = _reactNative.StyleSheet.create({
38
38
  fontSize: 96,
39
39
  fontWeight: '700',
40
40
  color: _reactNativeUi.COLORS.NEUTRAL_9,
41
- fontFamily: 'Buenos Aires'
41
+ fontFamily: _reactNativeUi.FONT_FAMILY.buenosAires
42
42
  }
43
43
  });
44
44
  //# sourceMappingURL=AssessmentScoreCard.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_jsxRuntime","e","__esModule","default","AssessmentScoreCard","textContent","solvedAmount","problemsAmount","jsx","View","style","styles","container","children","jsxs","Text","text","stats","score","exports","StyleSheet","create","alignItems","justifyContent","minHeight","minWidth","padding","SPACING","borderRadius","BORDER_RADIUS","backgroundColor","COLORS","NEUTRAL_1","SHADOWS","fontSize","fontWeight","color","NEUTRAL_9","fontFamily"],"sourceRoot":"../../../../../../src","sources":["features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAAoF,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAS7E,MAAMG,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,YAAY,GAAG,CAAC;EAChBC,cAAc,GAAG;AACO,CAAC,KAAK;EAC9B,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACV,YAAA,CAAAW,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5B,IAAAb,WAAA,CAAAc,IAAA,EAAChB,YAAA,CAAAiB,IAAI;MAACL,KAAK,EAAEC,MAAM,CAACK,IAAK;MAAAH,QAAA,GACtBP,YAAY,EAAC,KAAG,EAACC,cAAc,EAAC,GAAC,EAACF,WAAW,CAACY,KAAK,EAAEC,KAAK,IAAI,IAAI;IAAA,CAC/D;EAAC,CACH,CAAC;AAEX,CAAC;AAAAC,OAAA,CAAAf,mBAAA,GAAAA,mBAAA;AAED,MAAMO,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE,GAAG;IACdC,QAAQ,EAAE,GAAG;IACbC,OAAO,EAAEC,sBAAO,CAAC,KAAK,CAAC;IACvBC,YAAY,EAAEC,4BAAa,CAAC,KAAK,CAAC;IAClCC,eAAe,EAAEC,qBAAM,CAACC,SAAS;IACjC,GAAGC,sBAAO,CAAC,GAAG;EAChB,CAAC;EACDjB,IAAI,EAAE;IACJkB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEL,qBAAM,CAACM,SAAS;IACvBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_jsxRuntime","e","__esModule","default","AssessmentScoreCard","textContent","solvedAmount","problemsAmount","jsx","View","style","styles","container","children","jsxs","Text","text","stats","score","exports","StyleSheet","create","alignItems","justifyContent","minHeight","minWidth","padding","SPACING","borderRadius","BORDER_RADIUS","backgroundColor","COLORS","NEUTRAL_1","SHADOWS","fontSize","fontWeight","color","NEUTRAL_9","fontFamily","FONT_FAMILY","buenosAires"],"sourceRoot":"../../../../../../src","sources":["features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAAiG,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAS1F,MAAMG,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,YAAY,GAAG,CAAC;EAChBC,cAAc,GAAG;AACO,CAAC,KAAK;EAC9B,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACV,YAAA,CAAAW,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5B,IAAAb,WAAA,CAAAc,IAAA,EAAChB,YAAA,CAAAiB,IAAI;MAACL,KAAK,EAAEC,MAAM,CAACK,IAAK;MAAAH,QAAA,GACtBP,YAAY,EAAC,KAAG,EAACC,cAAc,EAAC,GAAC,EAACF,WAAW,CAACY,KAAK,EAAEC,KAAK,IAAI,IAAI;IAAA,CAC/D;EAAC,CACH,CAAC;AAEX,CAAC;AAAAC,OAAA,CAAAf,mBAAA,GAAAA,mBAAA;AAED,MAAMO,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE,GAAG;IACdC,QAAQ,EAAE,GAAG;IACbC,OAAO,EAAEC,sBAAO,CAAC,KAAK,CAAC;IACvBC,YAAY,EAAEC,4BAAa,CAAC,KAAK,CAAC;IAClCC,eAAe,EAAEC,qBAAM,CAACC,SAAS;IACjC,GAAGC,sBAAO,CAAC,GAAG;EAChB,CAAC;EACDjB,IAAI,EAAE;IACJkB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEL,qBAAM,CAACM,SAAS;IACvBC,UAAU,EAAEC,0BAAW,CAACC;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PmProgress = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _effectorReact = require("effector-react");
10
+ var _PmProgressHeader = require("./components/header/PmProgressHeader.js");
11
+ var _PmProgressContext = require("./context/PmProgressContext.js");
12
+ var _PmContent = require("./components/content/PmContent.js");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
+ const PmProgress = exports.PmProgress = /*#__PURE__*/(0, _react.memo)(({
17
+ model,
18
+ user,
19
+ ...props
20
+ }) => {
21
+ (0, _effectorReact.useGate)(model.gate, {
22
+ user
23
+ });
24
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PmProgressContext.PmProgressProvider, {
25
+ value: {
26
+ model,
27
+ ...props
28
+ },
29
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
30
+ style: styles.container,
31
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_PmProgressHeader.PmProgressHeader, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PmContent.PmProgressContent, {})]
32
+ })
33
+ });
34
+ });
35
+ const styles = _reactNative.StyleSheet.create({
36
+ container: {
37
+ flex: 1,
38
+ height: '100%'
39
+ }
40
+ });
41
+ //# sourceMappingURL=PmProgress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_effectorReact","_PmProgressHeader","_PmProgressContext","_PmContent","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","PmProgress","exports","memo","model","user","props","useGate","gate","jsx","PmProgressProvider","value","children","jsxs","View","style","styles","container","PmProgressHeader","PmProgressContent","StyleSheet","create","flex","height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AAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAI3D,MAAMW,UAAU,GAAAC,OAAA,CAAAD,UAAA,gBAAG,IAAAE,WAAI,EAAC,CAAC;EAAEC,KAAK;EAAEC,IAAI;EAAE,GAAGC;AAAuB,CAAC,KAAK;EAC7E,IAAAC,sBAAO,EAACH,KAAK,CAACI,IAAI,EAAE;IAAEH;EAAK,CAAC,CAAC;EAE7B,oBACE,IAAAzB,WAAA,CAAA6B,GAAA,EAAC/B,kBAAA,CAAAgC,kBAAkB;IAACC,KAAK,EAAE;MAAEP,KAAK;MAAE,GAAGE;IAAM,CAAE;IAAAM,QAAA,eAC7C,IAAAhC,WAAA,CAAAiC,IAAA,EAACtC,YAAA,CAAAuC,IAAI;MAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;MAAAL,QAAA,gBAC5B,IAAAhC,WAAA,CAAA6B,GAAA,EAAChC,iBAAA,CAAAyC,gBAAgB,IAAE,CAAC,eACpB,IAAAtC,WAAA,CAAA6B,GAAA,EAAC9B,UAAA,CAAAwC,iBAAiB,IAAE,CAAC;IAAA,CACjB;EAAC,CACW,CAAC;AAEzB,CAAC,CAAC;AAEF,MAAMH,MAAM,GAAGI,uBAAU,CAACC,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,IAAI,EAAE,CAAC;IACPC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getSliceClipId = exports.dynamicInnerRadius = exports.dynamicCornerRadius = void 0;
7
+ const getSliceClipId = index => `slice-clip-${index}`;
8
+ exports.getSliceClipId = getSliceClipId;
9
+ const dynamicInnerRadius = sliceCount => {
10
+ if (sliceCount >= 5) return 14;
11
+ if (sliceCount === 4) return 8;
12
+ if (sliceCount === 3) return 6;
13
+ if (sliceCount === 2) return 4;
14
+ if (sliceCount === 1) return 0;
15
+ return 30;
16
+ };
17
+ exports.dynamicInnerRadius = dynamicInnerRadius;
18
+ const dynamicCornerRadius = fillPercent => {
19
+ if (fillPercent >= 30) return 8;
20
+ if (fillPercent >= 5) return 6;
21
+ return 4;
22
+ };
23
+ exports.dynamicCornerRadius = dynamicCornerRadius;
24
+ //# sourceMappingURL=chart.helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getSliceClipId","index","exports","dynamicInnerRadius","sliceCount","dynamicCornerRadius","fillPercent"],"sourceRoot":"../../../../../../src","sources":["features/pmProgress/components/chart/chart.helpers.ts"],"mappings":";;;;;;AAAO,MAAMA,cAAc,GAAIC,KAAsB,IAAK,cAAcA,KAAK,EAAE;AAAAC,OAAA,CAAAF,cAAA,GAAAA,cAAA;AAExE,MAAMG,kBAAkB,GAAIC,UAAkB,IAAa;EAChE,IAAIA,UAAU,IAAI,CAAC,EAAE,OAAO,EAAE;EAC9B,IAAIA,UAAU,KAAK,CAAC,EAAE,OAAO,CAAC;EAC9B,IAAIA,UAAU,KAAK,CAAC,EAAE,OAAO,CAAC;EAC9B,IAAIA,UAAU,KAAK,CAAC,EAAE,OAAO,CAAC;EAC9B,IAAIA,UAAU,KAAK,CAAC,EAAE,OAAO,CAAC;EAC9B,OAAO,EAAE;AACX,CAAC;AAAAF,OAAA,CAAAC,kBAAA,GAAAA,kBAAA;AAEM,MAAME,mBAAmB,GAAIC,WAAmB,IAAa;EAClE,IAAIA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC;EAC/B,IAAIA,WAAW,IAAI,CAAC,EAAE,OAAO,CAAC;EAC9B,OAAO,CAAC;AACV,CAAC;AAAAJ,OAAA,CAAAG,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=chart.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["features/pmProgress/components/chart/chart.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PracticeProgressPieChart = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
10
+ var _PieChartManager = require("../model/PieChartManager.js");
11
+ var _SlicesClipPaths = require("./SlicesClipPaths.js");
12
+ var _SlicesPaths = require("./SlicesPaths.js");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
+ const PracticeProgressPieChart = exports.PracticeProgressPieChart = /*#__PURE__*/(0, _react.memo)(({
17
+ data,
18
+ config
19
+ }) => {
20
+ const pieChartManager = (0, _react.useMemo)(() => new _PieChartManager.PieChartManager(config), [config]);
21
+ const center = pieChartManager.getCenter();
22
+ const slices = (0, _react.useMemo)(() => {
23
+ return pieChartManager.shape.generateSlices(data);
24
+ }, [data, pieChartManager]);
25
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
26
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.default, {
27
+ width: config.size,
28
+ height: config.size,
29
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
30
+ x: center.x,
31
+ y: center.y,
32
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SlicesClipPaths.SlicesClipPaths, {
33
+ slices: slices,
34
+ pieChartManager: pieChartManager
35
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SlicesPaths.SlicesPaths, {
36
+ slices: slices,
37
+ pieChartManager: pieChartManager,
38
+ config: config
39
+ })]
40
+ })
41
+ })
42
+ });
43
+ });
44
+ //# sourceMappingURL=PracticeProgressPieChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeSvg","_PieChartManager","_SlicesClipPaths","_SlicesPaths","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","PracticeProgressPieChart","exports","memo","data","config","pieChartManager","useMemo","PieChartManager","center","getCenter","slices","shape","generateSlices","jsx","View","children","width","size","height","jsxs","G","x","y","SlicesClipPaths","SlicesPaths"],"sourceRoot":"../../../../../../../src","sources":["features/pmProgress/components/chart/components/PracticeProgressPieChart.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAH,uBAAA,CAAAC,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AAA2C,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAA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C,MAAM,GAAG,IAAAJ,cAAO,EAAC,MAAM;IAC3B,OAAOD,eAAe,CAACM,KAAK,CAACC,cAAc,CAACT,IAAI,CAAC;EACnD,CAAC,EAAE,CAACA,IAAI,EAAEE,eAAe,CAAC,CAAC;EAE3B,oBACE,IAAA1B,WAAA,CAAAkC,GAAA,EAACvC,YAAA,CAAAwC,IAAI;IAAAC,QAAA,eACH,IAAApC,WAAA,CAAAkC,GAAA,EAACtC,eAAA,CAAAW,OAAG;MAAC8B,KAAK,EAAEZ,MAAM,CAACa,IAAK;MAACC,MAAM,EAAEd,MAAM,CAACa,IAAK;MAAAF,QAAA,eAC3C,IAAApC,WAAA,CAAAwC,IAAA,EAAC5C,eAAA,CAAA6C,CAAC;QAACC,CAAC,EAAEb,MAAM,CAACa,CAAE;QAACC,CAAC,EAAEd,MAAM,CAACc,CAAE;QAAAP,QAAA,gBAC1B,IAAApC,WAAA,CAAAkC,GAAA,EAACpC,gBAAA,CAAA8C,eAAe;UAACb,MAAM,EAAEA,MAAO;UAACL,eAAe,EAAEA;QAAgB,CAAE,CAAC,eACrE,IAAA1B,WAAA,CAAAkC,GAAA,EAACnC,YAAA,CAAA8C,WAAW;UAACd,MAAM,EAAEA,MAAO;UAACL,eAAe,EAAEA,eAAgB;UAACD,MAAM,EAAEA;QAAO,CAAE,CAAC;MAAA,CAChF;IAAC,CACD;EAAC,CACF,CAAC;AAEX,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SlicesClipPaths = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ var _chartHelpers = require("../chart.helpers.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ const SlicesClipPaths = ({
13
+ slices,
14
+ pieChartManager
15
+ }) => {
16
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Defs, {
17
+ children: slices.map(slice => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.ClipPath, {
18
+ id: (0, _chartHelpers.getSliceClipId)(slice.index),
19
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
20
+ d: pieChartManager.shape.generateSlicePath(slice)
21
+ })
22
+ }, slice.index))
23
+ });
24
+ };
25
+ exports.SlicesClipPaths = SlicesClipPaths;
26
+ //# sourceMappingURL=SlicesClipPaths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_chartHelpers","_jsxRuntime","e","__esModule","default","SlicesClipPaths","slices","pieChartManager","jsx","Defs","children","map","slice","ClipPath","id","getSliceClipId","index","Path","d","shape","generateSlicePath","exports"],"sourceRoot":"../../../../../../../src","sources":["features/pmProgress/components/chart/components/SlicesClipPaths.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAAiD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAS1C,MAAMG,eAAe,GAAGA,CAAC;EAAEC,MAAM;EAAEC;AAAsC,CAAC,KAAK;EACpF,oBACE,IAAAN,WAAA,CAAAO,GAAA,EAACT,eAAA,CAAAU,IAAI;IAAAC,QAAA,EACFJ,MAAM,CAACK,GAAG,CAAEC,KAAK,iBAChB,IAAAX,WAAA,CAAAO,GAAA,EAACT,eAAA,CAAAc,QAAQ;MAAmBC,EAAE,EAAE,IAAAC,4BAAc,EAACH,KAAK,CAACI,KAAK,CAAE;MAAAN,QAAA,eAC1D,IAAAT,WAAA,CAAAO,GAAA,EAACT,eAAA,CAAAkB,IAAI;QAACC,CAAC,EAAEX,eAAe,CAACY,KAAK,CAACC,iBAAiB,CAACR,KAAK;MAAE,CAAE;IAAC,GAD9CA,KAAK,CAACI,KAEX,CACX;EAAC,CACE,CAAC;AAEX,CAAC;AAAAK,OAAA,CAAAhB,eAAA,GAAAA,eAAA","ignoreList":[]}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SlicesPaths = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactNativeSvg = require("react-native-svg");
10
+ var _effectorReact = require("effector-react");
11
+ var _SliceBackgroundColor = require("./layers/SliceBackgroundColor.js");
12
+ var _SliceFillColor = require("./layers/SliceFillColor.js");
13
+ var _SliceArcPattern = require("./layers/SliceArcPattern.js");
14
+ var _PmProgressContext = require("../../../context/PmProgressContext.js");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
+ const SlicesPaths = ({
18
+ slices,
19
+ pieChartManager,
20
+ config
21
+ }) => {
22
+ const {
23
+ model
24
+ } = (0, _PmProgressContext.usePmProgress)();
25
+ const [hoveredId, expandedId, domains] = (0, _effectorReact.useUnit)([model.highlight.$hoveredId, model.highlight.$expandedId, model.tree.$domains]);
26
+ const highlightedId = hoveredId ?? expandedId;
27
+ const highlightedIndex = highlightedId ? domains.findIndex(({
28
+ domainId
29
+ }) => domainId === highlightedId) : null;
30
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
31
+ children: slices.map(slice => {
32
+ const id = `${slice.index}`;
33
+ const shapeSvg = pieChartManager.shape.generateSlicePath(slice);
34
+ const fillSvg = pieChartManager.shape.generateFillPath(slice);
35
+ const fillBorderSvg = pieChartManager.shape.generateFillBorderPath(slice);
36
+ const isHighlighted = highlightedIndex === slice.index;
37
+ const translateY = isHighlighted ? -config.pressOffset : 0;
38
+ const borderWidth = isHighlighted ? config.borderWidth : 0;
39
+ const domainId = domains[slice.index]?.domainId;
40
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
41
+ style: styles.container,
42
+ onPress: () => domainId && model.highlight.expand(domainId),
43
+ onMouseEnter: () => domainId && model.highlight.hover(domainId),
44
+ onMouseLeave: () => model.highlight.hover(null),
45
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
46
+ d: shapeSvg,
47
+ fill: "transparent"
48
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
49
+ style: styles.visual,
50
+ transform: `translate(0, ${translateY})`,
51
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SliceBackgroundColor.SliceBackgroundColor, {
52
+ path: shapeSvg,
53
+ color: isHighlighted ? config.colors.highlightedBackground : slice.backgroundColor
54
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SliceFillColor.SliceFillColor, {
55
+ clipPathId: id,
56
+ shapeSvg: shapeSvg,
57
+ fillSvg: fillSvg,
58
+ fillBorderSvg: fillBorderSvg,
59
+ color: slice.fillColor,
60
+ percent: slice.fillPercent,
61
+ borderColor: isHighlighted ? slice.borderColor : undefined,
62
+ borderWidth: borderWidth
63
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SliceArcPattern.SliceArcPattern, {
64
+ clipPathId: id,
65
+ slice: slice,
66
+ config: config,
67
+ pieChartManager: pieChartManager
68
+ })]
69
+ })]
70
+ }, id);
71
+ })
72
+ });
73
+ };
74
+ exports.SlicesPaths = SlicesPaths;
75
+ const styles = _reactNative.StyleSheet.create({
76
+ container: {
77
+ ..._reactNative.Platform.select({
78
+ web: {
79
+ cursor: 'pointer'
80
+ }
81
+ })
82
+ },
83
+ visual: {
84
+ ..._reactNative.Platform.select({
85
+ web: {
86
+ transition: 'transform 0.1s ease-in-out'
87
+ }
88
+ })
89
+ }
90
+ });
91
+ //# sourceMappingURL=SlicesPaths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeSvg","_effectorReact","_SliceBackgroundColor","_SliceFillColor","_SliceArcPattern","_PmProgressContext","_jsxRuntime","e","__esModule","default","SlicesPaths","slices","pieChartManager","config","model","usePmProgress","hoveredId","expandedId","domains","useUnit","highlight","$hoveredId","$expandedId","tree","$domains","highlightedId","highlightedIndex","findIndex","domainId","jsx","Fragment","children","map","slice","id","index","shapeSvg","shape","generateSlicePath","fillSvg","generateFillPath","fillBorderSvg","generateFillBorderPath","isHighlighted","translateY","pressOffset","borderWidth","jsxs","G","style","styles","container","onPress","expand","onMouseEnter","hover","onMouseLeave","Path","d","fill","visual","transform","SliceBackgroundColor","path","color","colors","highlightedBackground","backgroundColor","SliceFillColor","clipPathId","fillColor","percent","fillPercent","borderColor","undefined","SliceArcPattern","exports","StyleSheet","create","Platform","select","web","cursor","transition"],"sourceRoot":"../../../../../../../src","sources":["features/pmProgress/components/chart/components/SlicesPaths.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AAAkE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAU3D,MAAMG,WAAW,GAAGA,CAAC;EAAEC,MAAM;EAAEC,eAAe;EAAEC;AAAyB,CAAC,KAAK;EACpF,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAA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E,eAAe;YACdN,UAAU,EAAEnC,EAAG;YACfD,KAAK,EAAEA,KAAM;YACbpB,MAAM,EAAEA,MAAO;YACfD,eAAe,EAAEA;UAAgB,CAClC,CAAC;QAAA,CACD,CAAC;MAAA,GA9BCsB,EA+BJ,CAAC;IAER,CAAC;EAAC,CACF,CAAC;AAEP,CAAC;AAAA0C,OAAA,CAAAlE,WAAA,GAAAA,WAAA;AAED,MAAMwC,MAAM,GAAG2B,uBAAU,CAACC,MAAM,CAAC;EAC/B3B,SAAS,EAAE;IACT,GAAG4B,qBAAQ,CAACC,MAAM,CAAC;MAAEC,GAAG,EAAE;QAAEC,MAAM,EAAE;MAAU;IAAe,CAAC;EAChE,CAAC;EACDtB,MAAM,EAAE;IACN,GAAGmB,qBAAQ,CAACC,MAAM,CAAC;MAAEC,GAAG,EAAE;QAAEE,UAAU,EAAE;MAA6B;IAAe,CAAC;EACvF;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SliceArcPattern = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ var _chartHelpers = require("../../chart.helpers.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ const SliceArcPattern = ({
13
+ clipPathId,
14
+ slice,
15
+ pieChartManager,
16
+ config
17
+ }) => {
18
+ const patternSizes = pieChartManager.pattern.getPatternTrackSizes();
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.G, {
20
+ clipPath: `url(#${(0, _chartHelpers.getSliceClipId)(clipPathId)})`,
21
+ children: patternSizes.map((radius, rowIndex) => {
22
+ const arcPath = pieChartManager.pattern.generateArcPath(slice, radius);
23
+ const dashWidth = pieChartManager.pattern.getDashWidthForRadius(radius);
24
+ const dashOffset = pieChartManager.pattern.getDashOffset(rowIndex, radius);
25
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
26
+ d: arcPath,
27
+ fill: "none",
28
+ stroke: config.outerArc.color,
29
+ strokeWidth: config.outerArc.strokeWidth,
30
+ strokeDasharray: [dashWidth, dashWidth],
31
+ strokeDashoffset: dashOffset,
32
+ strokeLinecap: "butt"
33
+ }, rowIndex);
34
+ })
35
+ });
36
+ };
37
+ exports.SliceArcPattern = SliceArcPattern;
38
+ //# sourceMappingURL=SliceArcPattern.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_chartHelpers","_jsxRuntime","e","__esModule","default","SliceArcPattern","clipPathId","slice","pieChartManager","config","patternSizes","pattern","getPatternTrackSizes","jsx","G","clipPath","getSliceClipId","children","map","radius","rowIndex","arcPath","generateArcPath","dashWidth","getDashWidthForRadius","dashOffset","getDashOffset","Path","d","fill","stroke","outerArc","color","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","exports"],"sourceRoot":"../../../../../../../../src","sources":["features/pmProgress/components/chart/components/layers/SliceArcPattern.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAAoD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAW7C,MAAMG,eAAe,GAAGA,CAAC;EAC9BC,UAAU;EACVC,KAAK;EACLC,eAAe;EACfC;AACoB,CAAC,KAAK;EAC1B,MAAMC,YAAY,GAAGF,eAAe,CAACG,OAAO,CAACC,oBAAoB,CAAC,CAAC;EAEnE,oBACE,IAAAX,WAAA,CAAAY,GAAA,EAACd,eAAA,CAAAe,CAAC;IAACC,QAAQ,EAAE,QAAQ,IAAAC,4BAAc,EAACV,UAAU,CAAC,GAAI;IAAAW,QAAA,EAChDP,YAAY,CAACQ,GAAG,CAAC,CAACC,MAAM,EAAEC,QAAQ,KAAK;MACtC,MAAMC,OAAO,GAAGb,eAAe,CAACG,OAAO,CAACW,eAAe,CAACf,KAAK,EAAEY,MAAM,CAAC;MACtE,MAAMI,SAAS,GAAGf,eAAe,CAACG,OAAO,CAACa,qBAAqB,CAACL,MAAM,CAAC;MACvE,MAAMM,UAAU,GAAGjB,eAAe,CAACG,OAAO,CAACe,aAAa,CAACN,QAAQ,EAAED,MAAM,CAAC;MAE1E,oBACE,IAAAlB,WAAA,CAAAY,GAAA,EAACd,eAAA,CAAA4B,IAAI;QAEHC,CAAC,EAAEP,OAAQ;QACXQ,IAAI,EAAC,MAAM;QACXC,MAAM,EAAErB,MAAM,CAACsB,QAAQ,CAACC,KAAM;QAC9BC,WAAW,EAAExB,MAAM,CAACsB,QAAQ,CAACE,WAAY;QACzCC,eAAe,EAAE,CAACX,SAAS,EAAEA,SAAS,CAAE;QACxCY,gBAAgB,EAAEV,UAAW;QAC7BW,aAAa,EAAC;MAAM,GAPfhB,QAQN,CAAC;IAEN,CAAC;EAAC,CACD,CAAC;AAER,CAAC;AAAAiB,OAAA,CAAAhC,eAAA,GAAAA,eAAA","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SliceBackgroundColor = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ const SliceBackgroundColor = ({
12
+ path,
13
+ color
14
+ }) => {
15
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
16
+ d: path,
17
+ fill: color
18
+ });
19
+ };
20
+ exports.SliceBackgroundColor = SliceBackgroundColor;
21
+ //# sourceMappingURL=SliceBackgroundColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_jsxRuntime","e","__esModule","default","SliceBackgroundColor","path","color","jsx","Path","d","fill","exports"],"sourceRoot":"../../../../../../../../src","sources":["features/pmProgress/components/chart/components/layers/SliceBackgroundColor.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAAuC,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOhC,MAAMG,oBAAoB,GAAGA,CAAC;EAAEC,IAAI;EAAEC;AAA4B,CAAC,KAAK;EAC7E,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACR,eAAA,CAAAS,IAAI;IAACC,CAAC,EAAEJ,IAAK;IAACK,IAAI,EAAEJ;EAAM,CAAE,CAAC;AACvC,CAAC;AAAAK,OAAA,CAAAP,oBAAA,GAAAA,oBAAA","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SliceFillColor = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ var _chartHelpers = require("../../chart.helpers.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ const SliceFillColor = ({
13
+ clipPathId,
14
+ shapeSvg,
15
+ fillSvg,
16
+ fillBorderSvg,
17
+ color,
18
+ percent,
19
+ borderColor,
20
+ borderWidth = 0
21
+ }) => {
22
+ const isFullyFilled = percent >= 100;
23
+ const isPartiallyFilled = percent > 0;
24
+ const hasBorder = borderColor != null && borderWidth != null && borderWidth > 0;
25
+ if (!isPartiallyFilled && !isFullyFilled) return null;
26
+ const sliceClipId = (0, _chartHelpers.getSliceClipId)(clipPathId);
27
+ const borderClipId = `${sliceClipId}-border`;
28
+ const fillPath = isFullyFilled ? shapeSvg : fillSvg;
29
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
30
+ children: [hasBorder && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Defs, {
31
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.ClipPath, {
32
+ id: borderClipId,
33
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
34
+ d: fillBorderSvg
35
+ })
36
+ })
37
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
38
+ clipPath: `url(#${sliceClipId})`,
39
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
40
+ d: fillPath,
41
+ fill: color
42
+ }), hasBorder && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.G, {
43
+ clipPath: `url(#${borderClipId})`,
44
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
45
+ d: fillBorderSvg,
46
+ fill: "none",
47
+ stroke: borderColor,
48
+ strokeWidth: borderWidth * 2
49
+ })
50
+ })]
51
+ })]
52
+ });
53
+ };
54
+ exports.SliceFillColor = SliceFillColor;
55
+ //# sourceMappingURL=SliceFillColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_chartHelpers","_jsxRuntime","e","__esModule","default","SliceFillColor","clipPathId","shapeSvg","fillSvg","fillBorderSvg","color","percent","borderColor","borderWidth","isFullyFilled","isPartiallyFilled","hasBorder","sliceClipId","getSliceClipId","borderClipId","fillPath","jsxs","Fragment","children","jsx","Defs","ClipPath","id","Path","d","G","clipPath","fill","stroke","strokeWidth","exports"],"sourceRoot":"../../../../../../../../src","sources":["features/pmProgress/components/chart/components/layers/SliceFillColor.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAAoD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAa7C,MAAMG,cAAc,GAAGA,CAAC;EAC7BC,UAAU;EACVC,QAAQ;EACRC,OAAO;EACPC,aAAa;EACbC,KAAK;EACLC,OAAO;EACPC,WAAW;EACXC,WAAW,GAAG;AACK,CAAC,KAAK;EACzB,MAAMC,aAAa,GAAGH,OAAO,IAAI,GAAG;EACpC,MAAMI,iBAAiB,GAAGJ,OAAO,GAAG,CAAC;EACrC,MAAMK,SAAS,GAAGJ,WAAW,IAAI,IAAI,IAAIC,WAAW,IAAI,IAAI,IAAIA,WAAW,GAAG,CAAC;EAE/E,IAAI,CAACE,iBAAiB,IAAI,CAACD,aAAa,EAAE,OAAO,IAAI;EAErD,MAAMG,WAAW,GAAG,IAAAC,4BAAc,EAACZ,UAAU,CAAC;EAC9C,MAAMa,YAAY,GAAG,GAAGF,WAAW,SAAS;EAC5C,MAAMG,QAAQ,GAAGN,aAAa,GAAGP,QAAQ,GAAGC,OAAO;EAEnD,oBACE,IAAAP,WAAA,CAAAoB,IAAA,EAAApB,WAAA,CAAAqB,QAAA;IAAAC,QAAA,GACGP,SAAS,iBACR,IAAAf,WAAA,CAAAuB,GAAA,EAACzB,eAAA,CAAA0B,IAAI;MAAAF,QAAA,eACH,IAAAtB,WAAA,CAAAuB,GAAA,EAACzB,eAAA,CAAA2B,QAAQ;QAACC,EAAE,EAAER,YAAa;QAAAI,QAAA,eACzB,IAAAtB,WAAA,CAAAuB,GAAA,EAACzB,eAAA,CAAA6B,IAAI;UAACC,CAAC,EAAEpB;QAAc,CAAE;MAAC,CAClB;IAAC,CACP,CACP,eACD,IAAAR,WAAA,CAAAoB,IAAA,EAACtB,eAAA,CAAA+B,CAAC;MAACC,QAAQ,EAAE,QAAQd,WAAW,GAAI;MAAAM,QAAA,gBAClC,IAAAtB,WAAA,CAAAuB,GAAA,EAACzB,eAAA,CAAA6B,IAAI;QAACC,CAAC,EAAET,QAAS;QAACY,IAAI,EAAEtB;MAAM,CAAE,CAAC,EACjCM,SAAS,iBACR,IAAAf,WAAA,CAAAuB,GAAA,EAACzB,eAAA,CAAA+B,CAAC;QAACC,QAAQ,EAAE,QAAQZ,YAAY,GAAI;QAAAI,QAAA,eACnC,IAAAtB,WAAA,CAAAuB,GAAA,EAACzB,eAAA,CAAA6B,IAAI;UACHC,CAAC,EAAEpB,aAAc;UACjBuB,IAAI,EAAC,MAAM;UACXC,MAAM,EAAErB,WAAY;UACpBsB,WAAW,EAAErB,WAAW,GAAG;QAAE,CAC9B;MAAC,CACD,CACJ;IAAA,CACA,CAAC;EAAA,CACJ,CAAC;AAEP,CAAC;AAAAsB,OAAA,CAAA9B,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.OuterArcPatternGenerator = void 0;
7
+ class OuterArcPatternGenerator {
8
+ constructor(config) {
9
+ this.config = config;
10
+ }
11
+ generateArcPath(slice, radius) {
12
+ const gapAngle = this.config.gapBetweenSlices / (2 * radius);
13
+ const startAngle = slice.startAngle + gapAngle;
14
+ const endAngle = slice.endAngle - gapAngle;
15
+ const startPoint = this.polarToCartesian(radius, startAngle);
16
+ const endPoint = this.polarToCartesian(radius, endAngle);
17
+ const largeArcFlag = endAngle - startAngle > Math.PI ? 1 : 0;
18
+ return `M ${startPoint.x} ${startPoint.y} A ${radius} ${radius} 0 ${largeArcFlag} 1 ${endPoint.x} ${endPoint.y}`;
19
+ }
20
+
21
+ /** Returns the sizes of the two rings where the checkerboard dashes are drawn. */
22
+ getPatternTrackSizes() {
23
+ const {
24
+ outerRadius,
25
+ outerArc
26
+ } = this.config;
27
+ return [outerRadius - outerArc.strokeWidth / 2, outerRadius - outerArc.strokeWidth * 1.5];
28
+ }
29
+ getDashWidthForRadius(radius) {
30
+ return this.config.outerArc.dashWidth * (radius / this.config.outerRadius);
31
+ }
32
+ getDashOffset(rowIndex, radius) {
33
+ const dashAngle = this.config.outerArc.dashWidth / this.config.outerRadius;
34
+ const dashWidthAtRadius = dashAngle * radius;
35
+ const baseOffset = dashWidthAtRadius / 2;
36
+ if (rowIndex === 1) {
37
+ return baseOffset - dashWidthAtRadius;
38
+ }
39
+ return baseOffset;
40
+ }
41
+ polarToCartesian(radius, angleInRadians) {
42
+ return {
43
+ x: radius * Math.sin(angleInRadians),
44
+ y: -radius * Math.cos(angleInRadians)
45
+ };
46
+ }
47
+ }
48
+ exports.OuterArcPatternGenerator = OuterArcPatternGenerator;
49
+ //# sourceMappingURL=ArcPatternGenerator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["OuterArcPatternGenerator","constructor","config","generateArcPath","slice","radius","gapAngle","gapBetweenSlices","startAngle","endAngle","startPoint","polarToCartesian","endPoint","largeArcFlag","Math","PI","x","y","getPatternTrackSizes","outerRadius","outerArc","strokeWidth","getDashWidthForRadius","dashWidth","getDashOffset","rowIndex","dashAngle","dashWidthAtRadius","baseOffset","angleInRadians","sin","cos","exports"],"sourceRoot":"../../../../../../../src","sources":["features/pmProgress/components/chart/model/ArcPatternGenerator.ts"],"mappings":";;;;;;AAEO,MAAMA,wBAAwB,CAAC;EACpCC,WAAWA,CAAkBC,MAA6B,EAAE;IAAA,KAA/BA,MAA6B,GAA7BA,MAA6B;EAAG;EAEtDC,eAAeA,CAACC,KAAiB,EAAEC,MAAc,EAAE;IACxD,MAAMC,QAAQ,GAAG,IAAI,CAACJ,MAAM,CAACK,gB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AAG,CAAC;IAExC,IAAIF,QAAQ,KAAK,CAAC,EAAE;MAClB,OAAOG,UAAU,GAAGD,iBAAiB;IACvC;IACA,OAAOC,UAAU;EACnB;EAEQjB,gBAAgBA,CAACN,MAAc,EAAEwB,cAAsB,EAAE;IAC/D,OAAO;MACLb,CAAC,EAAEX,MAAM,GAAGS,IAAI,CAACgB,GAAG,CAACD,cAAc,CAAC;MACpCZ,CAAC,EAAE,CAACZ,MAAM,GAAGS,IAAI,CAACiB,GAAG,CAACF,cAAc;IACtC,CAAC;EACH;AACF;AAACG,OAAA,CAAAhC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PieChartManager = void 0;
7
+ var _SliceShapeGenerator = require("./SliceShapeGenerator.js");
8
+ var _ArcPatternGenerator = require("./ArcPatternGenerator.js");
9
+ class PieChartManager {
10
+ constructor(config) {
11
+ this.config = config;
12
+ this.shape = new _SliceShapeGenerator.SliceShapeGenerator(config);
13
+ this.pattern = new _ArcPatternGenerator.OuterArcPatternGenerator(config);
14
+ }
15
+ getCenter() {
16
+ return {
17
+ x: this.config.size / 2,
18
+ y: this.config.size / 2
19
+ };
20
+ }
21
+ }
22
+ exports.PieChartManager = PieChartManager;
23
+ //# sourceMappingURL=PieChartManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_SliceShapeGenerator","require","_ArcPatternGenerator","PieChartManager","constructor","config","shape","SliceShapeGenerator","pattern","OuterArcPatternGenerator","getCenter","x","size","y","exports"],"sourceRoot":"../../../../../../../src","sources":["features/pmProgress/components/chart/model/PieChartManager.ts"],"mappings":";;;;;;AAAA,IAAAA,oBAAA,GAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAD,OAAA;AAGO,MAAME,eAAe,CAAC;EAI3BC,WAAWA,CAAiBC,MAA6B,EAAE;IAAA,KAA/BA,MAA6B,GAA7BA,MAA6B;IACvD,IAAI,CAACC,KAAK,GAAG,IAAIC,wCAAmB,CAACF,MAAM,CAAC;IAC5C,IAAI,CAACG,OAAO,GAAG,IAAIC,6CAAwB,CAACJ,MAAM,CAAC;EACrD;EAEOK,SAASA,CAAA,EAAG;IACjB,OAAO;MAAEC,CAAC,EAAE,IAAI,CAACN,MAAM,CAACO,IAAI,GAAG,CAAC;MAAEC,CAAC,EAAE,IAAI,CAACR,MAAM,CAACO,IAAI,GAAG;IAAE,CAAC;EAC7D;AACF;AAACE,OAAA,CAAAX,eAAA,GAAAA,eAAA","ignoreList":[]}