@magmamath/students-features 0.4.5 → 0.5.0-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 (801) hide show
  1. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js +2 -1
  2. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +41 -0
  5. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -0
  6. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +22 -19
  7. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  8. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +32 -32
  9. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  10. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +11 -13
  11. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  12. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js +8 -28
  13. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  14. package/dist/commonjs/features/chatbot/components/Chatbot.js +5 -7
  15. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  16. package/dist/commonjs/features/chatbot/context/ChatBotModelContext.js +17 -0
  17. package/dist/commonjs/features/chatbot/context/ChatBotModelContext.js.map +1 -0
  18. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +51 -0
  19. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -0
  20. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +116 -0
  21. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -0
  22. package/dist/commonjs/features/chatbot/index.js +0 -7
  23. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  24. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +145 -121
  25. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  26. package/dist/commonjs/features/chatbot/model/{ChatBotMessageHandler.js → ChatBotThreadManager.js} +44 -22
  27. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -0
  28. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +22 -0
  29. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -0
  30. package/dist/commonjs/features/chatbot/model/{api.js → ChatbotApi.js} +16 -1
  31. package/dist/commonjs/features/chatbot/model/ChatbotApi.js.map +1 -0
  32. package/dist/commonjs/features/chatbot/model/ChatsCacheModel.js +110 -0
  33. package/dist/commonjs/features/chatbot/model/ChatsCacheModel.js.map +1 -0
  34. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +12 -12
  35. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  36. package/dist/commonjs/features/chatbot/model/ThreadItem.js +16 -8
  37. package/dist/commonjs/features/chatbot/model/ThreadItem.js.map +1 -1
  38. package/dist/commonjs/features/chatbot/model/constants.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/messagesHelper.js +7 -7
  40. package/dist/commonjs/features/chatbot/model/messagesHelper.js.map +1 -1
  41. package/dist/commonjs/features/chatbot/model/t2s.js +18 -13
  42. package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -1
  43. package/dist/commonjs/features/chatbot/model/translation.helpers.js.map +1 -1
  44. package/dist/commonjs/features/chatbot/model/translation.js +54 -45
  45. package/dist/commonjs/features/chatbot/model/translation.js.map +1 -1
  46. package/dist/commonjs/features/chatbot/types/api.types.js +4 -0
  47. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  48. package/dist/commonjs/features/chatbot/types/units.types.js +2 -0
  49. package/dist/commonjs/features/chatbot/types/units.types.js.map +1 -0
  50. package/dist/commonjs/index.js +0 -24
  51. package/dist/commonjs/index.js.map +1 -1
  52. package/dist/commonjs/lib/effector/createEntityFieldStore.js +4 -0
  53. package/dist/commonjs/lib/effector/createEntityFieldStore.js.map +1 -1
  54. package/dist/commonjs/lib/effector/withEvent.js +13 -0
  55. package/dist/commonjs/lib/effector/withEvent.js.map +1 -0
  56. package/dist/commonjs/lib/helpers/helpers.js +1 -3
  57. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  58. package/dist/commonjs/lib/helpers/randomElements.js +24 -0
  59. package/dist/commonjs/lib/helpers/randomElements.js.map +1 -0
  60. package/dist/commonjs/lib/localization/en.json +7 -1
  61. package/dist/commonjs/lib/localization/gb.json +7 -1
  62. package/dist/commonjs/lib/localization/sw.json +7 -1
  63. package/dist/commonjs/lib/types/keys.js +2 -0
  64. package/dist/commonjs/lib/types/keys.js.map +1 -0
  65. package/dist/commonjs/shared/icons/HighlighterIcon.js +36 -0
  66. package/dist/commonjs/shared/icons/HighlighterIcon.js.map +1 -0
  67. package/dist/commonjs/shared/icons/{Valentine.js → StopIcon.js} +12 -9
  68. package/dist/commonjs/shared/icons/StopIcon.js.map +1 -0
  69. package/dist/commonjs/shared/icons/icon.types.js +4 -0
  70. package/dist/commonjs/shared/translation/helpers.js +22 -6
  71. package/dist/commonjs/shared/translation/helpers.js.map +1 -1
  72. package/dist/commonjs/shared/translation/hooks.js +3 -5
  73. package/dist/commonjs/shared/translation/hooks.js.map +1 -1
  74. package/dist/commonjs/shared/translation/model.js +1 -1
  75. package/dist/commonjs/shared/translation/model.js.map +1 -1
  76. package/dist/commonjs/shared/translation/types.js +1 -1
  77. package/dist/commonjs/shared/translation/types.js.map +1 -1
  78. package/dist/commonjs/shared/translation/validation.types.js +6 -0
  79. package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
  80. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js +2 -1
  81. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  82. package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  83. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +35 -0
  84. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -0
  85. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +23 -20
  86. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  87. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +32 -32
  88. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  89. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +11 -13
  90. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  91. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js +8 -28
  92. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  93. package/dist/module/features/chatbot/components/Chatbot.js +6 -8
  94. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  95. package/dist/module/features/chatbot/context/ChatBotModelContext.js +12 -0
  96. package/dist/module/features/chatbot/context/ChatBotModelContext.js.map +1 -0
  97. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +45 -0
  98. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -0
  99. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +111 -0
  100. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -0
  101. package/dist/module/features/chatbot/index.js +0 -1
  102. package/dist/module/features/chatbot/index.js.map +1 -1
  103. package/dist/module/features/chatbot/model/ChatBotModel.js +147 -123
  104. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  105. package/dist/module/features/chatbot/model/{ChatBotMessageHandler.js → ChatBotThreadManager.js} +42 -20
  106. package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -0
  107. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +17 -0
  108. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -0
  109. package/dist/module/features/chatbot/model/{api.js → ChatbotApi.js} +16 -1
  110. package/dist/module/features/chatbot/model/ChatbotApi.js.map +1 -0
  111. package/dist/module/features/chatbot/model/ChatsCacheModel.js +104 -0
  112. package/dist/module/features/chatbot/model/ChatsCacheModel.js.map +1 -0
  113. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +12 -12
  114. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  115. package/dist/module/features/chatbot/model/ThreadItem.js +16 -8
  116. package/dist/module/features/chatbot/model/ThreadItem.js.map +1 -1
  117. package/dist/module/features/chatbot/model/constants.js.map +1 -1
  118. package/dist/module/features/chatbot/model/messagesHelper.js +7 -7
  119. package/dist/module/features/chatbot/model/messagesHelper.js.map +1 -1
  120. package/dist/module/features/chatbot/model/t2s.js +19 -14
  121. package/dist/module/features/chatbot/model/t2s.js.map +1 -1
  122. package/dist/module/features/chatbot/model/translation.helpers.js.map +1 -1
  123. package/dist/module/features/chatbot/model/translation.js +54 -45
  124. package/dist/module/features/chatbot/model/translation.js.map +1 -1
  125. package/dist/module/features/chatbot/types/api.types.js +2 -0
  126. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  127. package/dist/module/features/chatbot/types/units.types.js +2 -0
  128. package/dist/module/features/chatbot/types/units.types.js.map +1 -0
  129. package/dist/module/index.js +0 -2
  130. package/dist/module/index.js.map +1 -1
  131. package/dist/module/lib/effector/createEntityFieldStore.js +4 -0
  132. package/dist/module/lib/effector/createEntityFieldStore.js.map +1 -1
  133. package/dist/module/lib/effector/withEvent.js +9 -0
  134. package/dist/module/lib/effector/withEvent.js.map +1 -0
  135. package/dist/module/lib/helpers/helpers.js +0 -1
  136. package/dist/module/lib/helpers/helpers.js.map +1 -1
  137. package/dist/module/lib/helpers/randomElements.js +20 -0
  138. package/dist/module/lib/helpers/randomElements.js.map +1 -0
  139. package/dist/module/lib/localization/en.json +7 -1
  140. package/dist/module/lib/localization/gb.json +7 -1
  141. package/dist/module/lib/localization/sw.json +7 -1
  142. package/dist/module/lib/types/keys.js +2 -0
  143. package/dist/module/lib/types/keys.js.map +1 -0
  144. package/dist/module/shared/icons/HighlighterIcon.js +29 -0
  145. package/dist/module/shared/icons/HighlighterIcon.js.map +1 -0
  146. package/dist/module/shared/icons/StopIcon.js +26 -0
  147. package/dist/module/shared/icons/StopIcon.js.map +1 -0
  148. package/dist/module/shared/icons/icon.types.js +2 -0
  149. package/dist/module/shared/translation/helpers.js +19 -5
  150. package/dist/module/shared/translation/helpers.js.map +1 -1
  151. package/dist/module/shared/translation/hooks.js +4 -6
  152. package/dist/module/shared/translation/hooks.js.map +1 -1
  153. package/dist/module/shared/translation/model.js +1 -1
  154. package/dist/module/shared/translation/model.js.map +1 -1
  155. package/dist/module/shared/translation/types.js +2 -0
  156. package/dist/module/shared/translation/types.js.map +1 -1
  157. package/dist/module/shared/translation/validation.types.js +4 -0
  158. package/dist/module/shared/translation/validation.types.js.map +1 -0
  159. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts +1 -3
  160. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  161. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +5 -5
  162. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  163. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +11 -0
  164. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -0
  165. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +7 -3
  166. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  167. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  168. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  169. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  170. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  171. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +2 -10
  172. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  173. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts +2 -5
  174. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
  175. package/dist/typescript/commonjs/features/chatbot/context/ChatBotModelContext.d.ts +4 -0
  176. package/dist/typescript/commonjs/features/chatbot/context/ChatBotModelContext.d.ts.map +1 -0
  177. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts +7 -0
  178. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -0
  179. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +30 -0
  180. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -0
  181. package/dist/typescript/commonjs/features/chatbot/index.d.ts +4 -3
  182. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  183. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +24 -18
  184. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  185. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +33 -0
  186. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -0
  187. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +6 -0
  188. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -0
  189. package/dist/typescript/commonjs/features/chatbot/model/{api.d.ts → ChatbotApi.d.ts} +4 -3
  190. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts.map +1 -0
  191. package/dist/typescript/commonjs/features/chatbot/model/ChatsCacheModel.d.ts +27 -0
  192. package/dist/typescript/commonjs/features/chatbot/model/ChatsCacheModel.d.ts.map +1 -0
  193. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +5 -3
  194. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  195. package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts +13 -7
  196. package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts.map +1 -1
  197. package/dist/typescript/commonjs/features/chatbot/model/constants.d.ts.map +1 -1
  198. package/dist/typescript/commonjs/features/chatbot/model/messagesHelper.d.ts +7 -5
  199. package/dist/typescript/commonjs/features/chatbot/model/messagesHelper.d.ts.map +1 -1
  200. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts +16 -6
  201. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -1
  202. package/dist/typescript/commonjs/features/chatbot/model/translation.d.ts +7 -8
  203. package/dist/typescript/commonjs/features/chatbot/model/translation.d.ts.map +1 -1
  204. package/dist/typescript/commonjs/features/chatbot/model/translation.helpers.d.ts +2 -1
  205. package/dist/typescript/commonjs/features/chatbot/model/translation.helpers.d.ts.map +1 -1
  206. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +2 -11
  207. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  208. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +25 -24
  209. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  210. package/dist/typescript/commonjs/features/chatbot/types/t2s.types.d.ts +2 -7
  211. package/dist/typescript/commonjs/features/chatbot/types/t2s.types.d.ts.map +1 -1
  212. package/dist/typescript/commonjs/features/chatbot/types/translation.types.d.ts +2 -1
  213. package/dist/typescript/commonjs/features/chatbot/types/translation.types.d.ts.map +1 -1
  214. package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts +34 -0
  215. package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts.map +1 -0
  216. package/dist/typescript/commonjs/index.d.ts +0 -3
  217. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  218. package/dist/typescript/commonjs/lib/effector/createEntityFieldStore.d.ts +2 -0
  219. package/dist/typescript/commonjs/lib/effector/createEntityFieldStore.d.ts.map +1 -1
  220. package/dist/typescript/commonjs/lib/effector/withEvent.d.ts +2 -0
  221. package/dist/typescript/commonjs/lib/effector/withEvent.d.ts.map +1 -0
  222. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts +0 -1
  223. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  224. package/dist/typescript/commonjs/lib/helpers/randomElements.d.ts +2 -0
  225. package/dist/typescript/commonjs/lib/helpers/randomElements.d.ts.map +1 -0
  226. package/dist/typescript/commonjs/lib/types/keys.d.ts +8 -0
  227. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +1 -0
  228. package/dist/typescript/commonjs/shared/icons/HighlighterIcon.d.ts +4 -0
  229. package/dist/typescript/commonjs/shared/icons/HighlighterIcon.d.ts.map +1 -0
  230. package/dist/typescript/commonjs/shared/icons/StopIcon.d.ts +4 -0
  231. package/dist/typescript/commonjs/shared/icons/StopIcon.d.ts.map +1 -0
  232. package/dist/typescript/commonjs/shared/icons/icon.types.d.ts +2 -0
  233. package/dist/typescript/commonjs/shared/icons/icon.types.d.ts.map +1 -1
  234. package/dist/typescript/commonjs/shared/translation/constants.d.ts +18 -0
  235. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  236. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +3 -2
  237. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -1
  238. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +2 -2
  239. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -1
  240. package/dist/typescript/commonjs/shared/translation/index.d.ts +0 -1
  241. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -1
  242. package/dist/typescript/commonjs/shared/translation/model.d.ts +41 -3
  243. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  244. package/dist/typescript/commonjs/shared/translation/types.d.ts +3 -3
  245. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  246. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +17 -0
  247. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -0
  248. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts +1 -3
  249. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  250. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +5 -5
  251. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  252. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +11 -0
  253. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -0
  254. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +7 -3
  255. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  256. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  257. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  258. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  259. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  260. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +2 -10
  261. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  262. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts +2 -5
  263. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
  264. package/dist/typescript/module/features/chatbot/context/ChatBotModelContext.d.ts +4 -0
  265. package/dist/typescript/module/features/chatbot/context/ChatBotModelContext.d.ts.map +1 -0
  266. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts +7 -0
  267. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -0
  268. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +30 -0
  269. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -0
  270. package/dist/typescript/module/features/chatbot/index.d.ts +4 -3
  271. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  272. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +24 -18
  273. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  274. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +33 -0
  275. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -0
  276. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +6 -0
  277. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -0
  278. package/dist/typescript/module/features/chatbot/model/{api.d.ts → ChatbotApi.d.ts} +4 -3
  279. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts.map +1 -0
  280. package/dist/typescript/module/features/chatbot/model/ChatsCacheModel.d.ts +27 -0
  281. package/dist/typescript/module/features/chatbot/model/ChatsCacheModel.d.ts.map +1 -0
  282. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +5 -3
  283. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  284. package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts +13 -7
  285. package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts.map +1 -1
  286. package/dist/typescript/module/features/chatbot/model/constants.d.ts.map +1 -1
  287. package/dist/typescript/module/features/chatbot/model/messagesHelper.d.ts +7 -5
  288. package/dist/typescript/module/features/chatbot/model/messagesHelper.d.ts.map +1 -1
  289. package/dist/typescript/module/features/chatbot/model/t2s.d.ts +16 -6
  290. package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -1
  291. package/dist/typescript/module/features/chatbot/model/translation.d.ts +7 -8
  292. package/dist/typescript/module/features/chatbot/model/translation.d.ts.map +1 -1
  293. package/dist/typescript/module/features/chatbot/model/translation.helpers.d.ts +2 -1
  294. package/dist/typescript/module/features/chatbot/model/translation.helpers.d.ts.map +1 -1
  295. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +2 -11
  296. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  297. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +25 -24
  298. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  299. package/dist/typescript/module/features/chatbot/types/t2s.types.d.ts +2 -7
  300. package/dist/typescript/module/features/chatbot/types/t2s.types.d.ts.map +1 -1
  301. package/dist/typescript/module/features/chatbot/types/translation.types.d.ts +2 -1
  302. package/dist/typescript/module/features/chatbot/types/translation.types.d.ts.map +1 -1
  303. package/dist/typescript/module/features/chatbot/types/units.types.d.ts +34 -0
  304. package/dist/typescript/module/features/chatbot/types/units.types.d.ts.map +1 -0
  305. package/dist/typescript/module/index.d.ts +0 -3
  306. package/dist/typescript/module/index.d.ts.map +1 -1
  307. package/dist/typescript/module/lib/effector/createEntityFieldStore.d.ts +2 -0
  308. package/dist/typescript/module/lib/effector/createEntityFieldStore.d.ts.map +1 -1
  309. package/dist/typescript/module/lib/effector/withEvent.d.ts +2 -0
  310. package/dist/typescript/module/lib/effector/withEvent.d.ts.map +1 -0
  311. package/dist/typescript/module/lib/helpers/helpers.d.ts +0 -1
  312. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  313. package/dist/typescript/module/lib/helpers/randomElements.d.ts +2 -0
  314. package/dist/typescript/module/lib/helpers/randomElements.d.ts.map +1 -0
  315. package/dist/typescript/module/lib/types/keys.d.ts +8 -0
  316. package/dist/typescript/module/lib/types/keys.d.ts.map +1 -0
  317. package/dist/typescript/module/shared/icons/HighlighterIcon.d.ts +4 -0
  318. package/dist/typescript/module/shared/icons/HighlighterIcon.d.ts.map +1 -0
  319. package/dist/typescript/module/shared/icons/StopIcon.d.ts +4 -0
  320. package/dist/typescript/module/shared/icons/StopIcon.d.ts.map +1 -0
  321. package/dist/typescript/module/shared/icons/icon.types.d.ts +2 -0
  322. package/dist/typescript/module/shared/icons/icon.types.d.ts.map +1 -1
  323. package/dist/typescript/module/shared/translation/constants.d.ts +18 -0
  324. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  325. package/dist/typescript/module/shared/translation/helpers.d.ts +3 -2
  326. package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -1
  327. package/dist/typescript/module/shared/translation/hooks.d.ts +2 -2
  328. package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -1
  329. package/dist/typescript/module/shared/translation/index.d.ts +0 -1
  330. package/dist/typescript/module/shared/translation/index.d.ts.map +1 -1
  331. package/dist/typescript/module/shared/translation/model.d.ts +41 -3
  332. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  333. package/dist/typescript/module/shared/translation/types.d.ts +3 -3
  334. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  335. package/dist/typescript/module/shared/translation/validation.types.d.ts +17 -0
  336. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -0
  337. package/package.json +3 -6
  338. package/src/features/chatbot/components/Alternatives/Alternatives.tsx +2 -4
  339. package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +5 -5
  340. package/src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx +36 -0
  341. package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +27 -20
  342. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +27 -26
  343. package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +9 -9
  344. package/src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx +9 -30
  345. package/src/features/chatbot/components/Chatbot.tsx +5 -11
  346. package/src/features/chatbot/context/ChatBotModelContext.ts +14 -0
  347. package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +48 -0
  348. package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +130 -0
  349. package/src/features/chatbot/index.ts +3 -4
  350. package/src/features/chatbot/model/ChatBotModel.ts +137 -130
  351. package/src/features/chatbot/model/{ChatBotMessageHandler.ts → ChatBotThreadManager.ts} +53 -27
  352. package/src/features/chatbot/model/ChatBoxTextManager.ts +18 -0
  353. package/src/features/chatbot/model/{api.ts → ChatbotApi.ts} +19 -2
  354. package/src/features/chatbot/model/ChatsCacheModel.ts +95 -0
  355. package/src/features/chatbot/model/DefaultMessageCreator.ts +17 -16
  356. package/src/features/chatbot/model/ThreadItem.ts +15 -10
  357. package/src/features/chatbot/model/constants.ts +2 -0
  358. package/src/features/chatbot/model/messagesHelper.ts +12 -7
  359. package/src/features/chatbot/model/t2s.ts +28 -13
  360. package/src/features/chatbot/model/translation.helpers.ts +2 -1
  361. package/src/features/chatbot/model/translation.ts +52 -46
  362. package/src/features/chatbot/types/api.types.ts +2 -12
  363. package/src/features/chatbot/types/model.types.ts +37 -32
  364. package/src/features/chatbot/types/t2s.types.ts +10 -15
  365. package/src/features/chatbot/types/translation.types.ts +2 -1
  366. package/src/features/chatbot/types/units.types.ts +37 -0
  367. package/src/index.ts +0 -3
  368. package/src/lib/effector/createEntityFieldStore.ts +9 -1
  369. package/src/lib/effector/withEvent.ts +7 -0
  370. package/src/lib/helpers/helpers.ts +0 -2
  371. package/src/lib/helpers/randomElements.ts +22 -0
  372. package/src/lib/localization/en.json +7 -1
  373. package/src/lib/localization/gb.json +7 -1
  374. package/src/lib/localization/sw.json +7 -1
  375. package/src/lib/types/keys.ts +18 -0
  376. package/src/shared/icons/HighlighterIcon.tsx +21 -0
  377. package/src/shared/icons/StopIcon.tsx +17 -0
  378. package/src/shared/icons/icon.types.ts +9 -6
  379. package/src/shared/translation/helpers.ts +22 -9
  380. package/src/shared/translation/hooks.ts +12 -16
  381. package/src/shared/translation/index.ts +0 -1
  382. package/src/shared/translation/model.ts +8 -8
  383. package/src/shared/translation/types.ts +10 -7
  384. package/src/shared/translation/validation.types.ts +26 -0
  385. package/dist/commonjs/features/celebrations/components/Celebrations.js +0 -51
  386. package/dist/commonjs/features/celebrations/components/Celebrations.js.map +0 -1
  387. package/dist/commonjs/features/celebrations/components/Particle.js +0 -85
  388. package/dist/commonjs/features/celebrations/components/Particle.js.map +0 -1
  389. package/dist/commonjs/features/celebrations/components/ParticleBatch.js +0 -47
  390. package/dist/commonjs/features/celebrations/components/ParticleBatch.js.map +0 -1
  391. package/dist/commonjs/features/celebrations/components/Spark.js +0 -23
  392. package/dist/commonjs/features/celebrations/components/Spark.js.map +0 -1
  393. package/dist/commonjs/features/celebrations/config.js +0 -224
  394. package/dist/commonjs/features/celebrations/config.js.map +0 -1
  395. package/dist/commonjs/features/celebrations/helpers.js +0 -99
  396. package/dist/commonjs/features/celebrations/helpers.js.map +0 -1
  397. package/dist/commonjs/features/celebrations/index.js +0 -28
  398. package/dist/commonjs/features/celebrations/index.js.map +0 -1
  399. package/dist/commonjs/features/celebrations/types.js +0 -15
  400. package/dist/commonjs/features/celebrations/types.js.map +0 -1
  401. package/dist/commonjs/features/chatbot/model/ChatBotMessageHandler.js.map +0 -1
  402. package/dist/commonjs/features/chatbot/model/api.js.map +0 -1
  403. package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -65
  404. package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +0 -1
  405. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +0 -255
  406. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js.map +0 -1
  407. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -133
  408. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +0 -1
  409. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.js +0 -56
  410. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.js.map +0 -1
  411. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.js +0 -68
  412. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.js.map +0 -1
  413. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/Spark.js +0 -53
  414. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/Spark.js.map +0 -1
  415. package/dist/commonjs/features/endOfAssignment/components/EOAModal.js +0 -47
  416. package/dist/commonjs/features/endOfAssignment/components/EOAModal.js.map +0 -1
  417. package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -76
  418. package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +0 -1
  419. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -62
  420. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +0 -1
  421. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -109
  422. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +0 -1
  423. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js +0 -83
  424. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js.map +0 -1
  425. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/blurred-card.png +0 -0
  426. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +0 -96
  427. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +0 -1
  428. package/dist/commonjs/features/endOfAssignment/components/Modal/ModalBackground.js +0 -44
  429. package/dist/commonjs/features/endOfAssignment/components/Modal/ModalBackground.js.map +0 -1
  430. package/dist/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js +0 -233
  431. package/dist/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js.map +0 -1
  432. package/dist/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.js +0 -63
  433. package/dist/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.js.map +0 -1
  434. package/dist/commonjs/features/endOfAssignment/components/Modal/model.js +0 -34
  435. package/dist/commonjs/features/endOfAssignment/components/Modal/model.js.map +0 -1
  436. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +0 -108
  437. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +0 -1
  438. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswerContent.js +0 -107
  439. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswerContent.js.map +0 -1
  440. package/dist/commonjs/features/endOfAssignment/constants.js +0 -55
  441. package/dist/commonjs/features/endOfAssignment/constants.js.map +0 -1
  442. package/dist/commonjs/features/endOfAssignment/helpers.js +0 -64
  443. package/dist/commonjs/features/endOfAssignment/helpers.js.map +0 -1
  444. package/dist/commonjs/features/endOfAssignment/hooks/useSparkAnimation.js +0 -51
  445. package/dist/commonjs/features/endOfAssignment/hooks/useSparkAnimation.js.map +0 -1
  446. package/dist/commonjs/features/endOfAssignment/index.js +0 -40
  447. package/dist/commonjs/features/endOfAssignment/index.js.map +0 -1
  448. package/dist/commonjs/features/endOfAssignment/model/model.js +0 -53
  449. package/dist/commonjs/features/endOfAssignment/model/model.js.map +0 -1
  450. package/dist/commonjs/features/endOfAssignment/types.js +0 -33
  451. package/dist/commonjs/features/endOfAssignment/types.js.map +0 -1
  452. package/dist/commonjs/features/endOfAssignment/ui/EOABadge.js +0 -43
  453. package/dist/commonjs/features/endOfAssignment/ui/EOABadge.js.map +0 -1
  454. package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +0 -30
  455. package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +0 -1
  456. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -64
  457. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +0 -1
  458. package/dist/commonjs/features/endOfAssignment/ui/SparkIcon.js +0 -29
  459. package/dist/commonjs/features/endOfAssignment/ui/SparkIcon.js.map +0 -1
  460. package/dist/commonjs/features/endOfAssignment/ui/ThumbUpIcon.js +0 -32
  461. package/dist/commonjs/features/endOfAssignment/ui/ThumbUpIcon.js.map +0 -1
  462. package/dist/commonjs/lib/constants.js +0 -11
  463. package/dist/commonjs/lib/constants.js.map +0 -1
  464. package/dist/commonjs/shared/hooks/useKeyDownListener.js +0 -27
  465. package/dist/commonjs/shared/hooks/useKeyDownListener.js.map +0 -1
  466. package/dist/commonjs/shared/hooks/useKeyboard.js +0 -23
  467. package/dist/commonjs/shared/hooks/useKeyboard.js.map +0 -1
  468. package/dist/commonjs/shared/icons/Halloween.js +0 -54
  469. package/dist/commonjs/shared/icons/Halloween.js.map +0 -1
  470. package/dist/commonjs/shared/icons/Pi.js +0 -30
  471. package/dist/commonjs/shared/icons/Pi.js.map +0 -1
  472. package/dist/commonjs/shared/icons/Star.js +0 -30
  473. package/dist/commonjs/shared/icons/Star.js.map +0 -1
  474. package/dist/commonjs/shared/icons/Valentine.js.map +0 -1
  475. package/dist/commonjs/shared/icons/Winter.js +0 -32
  476. package/dist/commonjs/shared/icons/Winter.js.map +0 -1
  477. package/dist/module/features/celebrations/components/Celebrations.js +0 -45
  478. package/dist/module/features/celebrations/components/Celebrations.js.map +0 -1
  479. package/dist/module/features/celebrations/components/Particle.js +0 -77
  480. package/dist/module/features/celebrations/components/Particle.js.map +0 -1
  481. package/dist/module/features/celebrations/components/ParticleBatch.js +0 -40
  482. package/dist/module/features/celebrations/components/ParticleBatch.js.map +0 -1
  483. package/dist/module/features/celebrations/components/Spark.js +0 -17
  484. package/dist/module/features/celebrations/components/Spark.js.map +0 -1
  485. package/dist/module/features/celebrations/config.js +0 -219
  486. package/dist/module/features/celebrations/config.js.map +0 -1
  487. package/dist/module/features/celebrations/helpers.js +0 -92
  488. package/dist/module/features/celebrations/helpers.js.map +0 -1
  489. package/dist/module/features/celebrations/index.js +0 -5
  490. package/dist/module/features/celebrations/index.js.map +0 -1
  491. package/dist/module/features/celebrations/types.js +0 -11
  492. package/dist/module/features/celebrations/types.js.map +0 -1
  493. package/dist/module/features/chatbot/model/ChatBotMessageHandler.js.map +0 -1
  494. package/dist/module/features/chatbot/model/api.js.map +0 -1
  495. package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -59
  496. package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +0 -1
  497. package/dist/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +0 -249
  498. package/dist/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js.map +0 -1
  499. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -126
  500. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +0 -1
  501. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.js +0 -50
  502. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.js.map +0 -1
  503. package/dist/module/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.js +0 -62
  504. package/dist/module/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.js.map +0 -1
  505. package/dist/module/features/endOfAssignment/components/CorrectAnswer/Spark.js +0 -47
  506. package/dist/module/features/endOfAssignment/components/CorrectAnswer/Spark.js.map +0 -1
  507. package/dist/module/features/endOfAssignment/components/EOAModal.js +0 -41
  508. package/dist/module/features/endOfAssignment/components/EOAModal.js.map +0 -1
  509. package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -70
  510. package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +0 -1
  511. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -56
  512. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +0 -1
  513. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -103
  514. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +0 -1
  515. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js +0 -77
  516. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js.map +0 -1
  517. package/dist/module/features/endOfAssignment/components/ExamSubmit/blurred-card.png +0 -0
  518. package/dist/module/features/endOfAssignment/components/Modal/Modal.js +0 -89
  519. package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +0 -1
  520. package/dist/module/features/endOfAssignment/components/Modal/ModalBackground.js +0 -38
  521. package/dist/module/features/endOfAssignment/components/Modal/ModalBackground.js.map +0 -1
  522. package/dist/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js +0 -226
  523. package/dist/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js.map +0 -1
  524. package/dist/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.js +0 -56
  525. package/dist/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.js.map +0 -1
  526. package/dist/module/features/endOfAssignment/components/Modal/model.js +0 -29
  527. package/dist/module/features/endOfAssignment/components/Modal/model.js.map +0 -1
  528. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +0 -102
  529. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +0 -1
  530. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswerContent.js +0 -100
  531. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswerContent.js.map +0 -1
  532. package/dist/module/features/endOfAssignment/constants.js +0 -51
  533. package/dist/module/features/endOfAssignment/constants.js.map +0 -1
  534. package/dist/module/features/endOfAssignment/helpers.js +0 -58
  535. package/dist/module/features/endOfAssignment/helpers.js.map +0 -1
  536. package/dist/module/features/endOfAssignment/hooks/useSparkAnimation.js +0 -46
  537. package/dist/module/features/endOfAssignment/hooks/useSparkAnimation.js.map +0 -1
  538. package/dist/module/features/endOfAssignment/index.js +0 -6
  539. package/dist/module/features/endOfAssignment/index.js.map +0 -1
  540. package/dist/module/features/endOfAssignment/model/model.js +0 -48
  541. package/dist/module/features/endOfAssignment/model/model.js.map +0 -1
  542. package/dist/module/features/endOfAssignment/types.js +0 -29
  543. package/dist/module/features/endOfAssignment/types.js.map +0 -1
  544. package/dist/module/features/endOfAssignment/ui/EOABadge.js +0 -37
  545. package/dist/module/features/endOfAssignment/ui/EOABadge.js.map +0 -1
  546. package/dist/module/features/endOfAssignment/ui/PracticeButton.js +0 -24
  547. package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +0 -1
  548. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -57
  549. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +0 -1
  550. package/dist/module/features/endOfAssignment/ui/SparkIcon.js +0 -21
  551. package/dist/module/features/endOfAssignment/ui/SparkIcon.js.map +0 -1
  552. package/dist/module/features/endOfAssignment/ui/ThumbUpIcon.js +0 -24
  553. package/dist/module/features/endOfAssignment/ui/ThumbUpIcon.js.map +0 -1
  554. package/dist/module/lib/constants.js +0 -7
  555. package/dist/module/lib/constants.js.map +0 -1
  556. package/dist/module/shared/hooks/useKeyDownListener.js +0 -22
  557. package/dist/module/shared/hooks/useKeyDownListener.js.map +0 -1
  558. package/dist/module/shared/hooks/useKeyboard.js +0 -20
  559. package/dist/module/shared/hooks/useKeyboard.js.map +0 -1
  560. package/dist/module/shared/icons/Halloween.js +0 -47
  561. package/dist/module/shared/icons/Halloween.js.map +0 -1
  562. package/dist/module/shared/icons/Pi.js +0 -23
  563. package/dist/module/shared/icons/Pi.js.map +0 -1
  564. package/dist/module/shared/icons/Star.js +0 -23
  565. package/dist/module/shared/icons/Star.js.map +0 -1
  566. package/dist/module/shared/icons/Valentine.js +0 -23
  567. package/dist/module/shared/icons/Valentine.js.map +0 -1
  568. package/dist/module/shared/icons/Winter.js +0 -25
  569. package/dist/module/shared/icons/Winter.js.map +0 -1
  570. package/dist/typescript/commonjs/features/celebrations/components/Celebrations.d.ts +0 -10
  571. package/dist/typescript/commonjs/features/celebrations/components/Celebrations.d.ts.map +0 -1
  572. package/dist/typescript/commonjs/features/celebrations/components/Particle.d.ts +0 -20
  573. package/dist/typescript/commonjs/features/celebrations/components/Particle.d.ts.map +0 -1
  574. package/dist/typescript/commonjs/features/celebrations/components/ParticleBatch.d.ts +0 -26
  575. package/dist/typescript/commonjs/features/celebrations/components/ParticleBatch.d.ts.map +0 -1
  576. package/dist/typescript/commonjs/features/celebrations/components/Spark.d.ts +0 -4
  577. package/dist/typescript/commonjs/features/celebrations/components/Spark.d.ts.map +0 -1
  578. package/dist/typescript/commonjs/features/celebrations/config.d.ts +0 -192
  579. package/dist/typescript/commonjs/features/celebrations/config.d.ts.map +0 -1
  580. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts +0 -6
  581. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +0 -1
  582. package/dist/typescript/commonjs/features/celebrations/index.d.ts +0 -3
  583. package/dist/typescript/commonjs/features/celebrations/index.d.ts.map +0 -1
  584. package/dist/typescript/commonjs/features/celebrations/types.d.ts +0 -11
  585. package/dist/typescript/commonjs/features/celebrations/types.d.ts.map +0 -1
  586. package/dist/typescript/commonjs/features/chatbot/model/ChatBotMessageHandler.d.ts +0 -31
  587. package/dist/typescript/commonjs/features/chatbot/model/ChatBotMessageHandler.d.ts.map +0 -1
  588. package/dist/typescript/commonjs/features/chatbot/model/api.d.ts.map +0 -1
  589. package/dist/typescript/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts +0 -4
  590. package/dist/typescript/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +0 -1
  591. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts +0 -15
  592. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts.map +0 -1
  593. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts +0 -4
  594. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +0 -1
  595. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.d.ts +0 -8
  596. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.d.ts.map +0 -1
  597. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.d.ts +0 -8
  598. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.d.ts.map +0 -1
  599. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/Spark.d.ts +0 -12
  600. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/Spark.d.ts.map +0 -1
  601. package/dist/typescript/commonjs/features/endOfAssignment/components/EOAModal.d.ts +0 -11
  602. package/dist/typescript/commonjs/features/endOfAssignment/components/EOAModal.d.ts.map +0 -1
  603. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts +0 -4
  604. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +0 -1
  605. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts +0 -4
  606. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +0 -1
  607. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts +0 -4
  608. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +0 -1
  609. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.d.ts +0 -8
  610. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.d.ts.map +0 -1
  611. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts +0 -20
  612. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +0 -1
  613. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/ModalBackground.d.ts +0 -3
  614. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/ModalBackground.d.ts.map +0 -1
  615. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts +0 -4
  616. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts.map +0 -1
  617. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts +0 -4
  618. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts.map +0 -1
  619. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/model.d.ts +0 -14
  620. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/model.d.ts.map +0 -1
  621. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts +0 -4
  622. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +0 -1
  623. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswerContent.d.ts +0 -8
  624. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswerContent.d.ts.map +0 -1
  625. package/dist/typescript/commonjs/features/endOfAssignment/constants.d.ts +0 -41
  626. package/dist/typescript/commonjs/features/endOfAssignment/constants.d.ts.map +0 -1
  627. package/dist/typescript/commonjs/features/endOfAssignment/helpers.d.ts +0 -9
  628. package/dist/typescript/commonjs/features/endOfAssignment/helpers.d.ts.map +0 -1
  629. package/dist/typescript/commonjs/features/endOfAssignment/hooks/useSparkAnimation.d.ts +0 -27
  630. package/dist/typescript/commonjs/features/endOfAssignment/hooks/useSparkAnimation.d.ts.map +0 -1
  631. package/dist/typescript/commonjs/features/endOfAssignment/index.d.ts +0 -4
  632. package/dist/typescript/commonjs/features/endOfAssignment/index.d.ts.map +0 -1
  633. package/dist/typescript/commonjs/features/endOfAssignment/model/model.d.ts +0 -14
  634. package/dist/typescript/commonjs/features/endOfAssignment/model/model.d.ts.map +0 -1
  635. package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts +0 -60
  636. package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts.map +0 -1
  637. package/dist/typescript/commonjs/features/endOfAssignment/ui/EOABadge.d.ts +0 -11
  638. package/dist/typescript/commonjs/features/endOfAssignment/ui/EOABadge.d.ts.map +0 -1
  639. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButton.d.ts +0 -10
  640. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButton.d.ts.map +0 -1
  641. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts +0 -14
  642. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +0 -1
  643. package/dist/typescript/commonjs/features/endOfAssignment/ui/SparkIcon.d.ts +0 -4
  644. package/dist/typescript/commonjs/features/endOfAssignment/ui/SparkIcon.d.ts.map +0 -1
  645. package/dist/typescript/commonjs/features/endOfAssignment/ui/ThumbUpIcon.d.ts +0 -4
  646. package/dist/typescript/commonjs/features/endOfAssignment/ui/ThumbUpIcon.d.ts.map +0 -1
  647. package/dist/typescript/commonjs/lib/constants.d.ts +0 -4
  648. package/dist/typescript/commonjs/lib/constants.d.ts.map +0 -1
  649. package/dist/typescript/commonjs/shared/hooks/useKeyDownListener.d.ts +0 -3
  650. package/dist/typescript/commonjs/shared/hooks/useKeyDownListener.d.ts.map +0 -1
  651. package/dist/typescript/commonjs/shared/hooks/useKeyboard.d.ts +0 -11
  652. package/dist/typescript/commonjs/shared/hooks/useKeyboard.d.ts.map +0 -1
  653. package/dist/typescript/commonjs/shared/icons/Halloween.d.ts +0 -5
  654. package/dist/typescript/commonjs/shared/icons/Halloween.d.ts.map +0 -1
  655. package/dist/typescript/commonjs/shared/icons/Pi.d.ts +0 -5
  656. package/dist/typescript/commonjs/shared/icons/Pi.d.ts.map +0 -1
  657. package/dist/typescript/commonjs/shared/icons/Star.d.ts +0 -5
  658. package/dist/typescript/commonjs/shared/icons/Star.d.ts.map +0 -1
  659. package/dist/typescript/commonjs/shared/icons/Valentine.d.ts +0 -5
  660. package/dist/typescript/commonjs/shared/icons/Valentine.d.ts.map +0 -1
  661. package/dist/typescript/commonjs/shared/icons/Winter.d.ts +0 -5
  662. package/dist/typescript/commonjs/shared/icons/Winter.d.ts.map +0 -1
  663. package/dist/typescript/module/features/celebrations/components/Celebrations.d.ts +0 -10
  664. package/dist/typescript/module/features/celebrations/components/Celebrations.d.ts.map +0 -1
  665. package/dist/typescript/module/features/celebrations/components/Particle.d.ts +0 -20
  666. package/dist/typescript/module/features/celebrations/components/Particle.d.ts.map +0 -1
  667. package/dist/typescript/module/features/celebrations/components/ParticleBatch.d.ts +0 -26
  668. package/dist/typescript/module/features/celebrations/components/ParticleBatch.d.ts.map +0 -1
  669. package/dist/typescript/module/features/celebrations/components/Spark.d.ts +0 -4
  670. package/dist/typescript/module/features/celebrations/components/Spark.d.ts.map +0 -1
  671. package/dist/typescript/module/features/celebrations/config.d.ts +0 -192
  672. package/dist/typescript/module/features/celebrations/config.d.ts.map +0 -1
  673. package/dist/typescript/module/features/celebrations/helpers.d.ts +0 -6
  674. package/dist/typescript/module/features/celebrations/helpers.d.ts.map +0 -1
  675. package/dist/typescript/module/features/celebrations/index.d.ts +0 -3
  676. package/dist/typescript/module/features/celebrations/index.d.ts.map +0 -1
  677. package/dist/typescript/module/features/celebrations/types.d.ts +0 -11
  678. package/dist/typescript/module/features/celebrations/types.d.ts.map +0 -1
  679. package/dist/typescript/module/features/chatbot/model/ChatBotMessageHandler.d.ts +0 -31
  680. package/dist/typescript/module/features/chatbot/model/ChatBotMessageHandler.d.ts.map +0 -1
  681. package/dist/typescript/module/features/chatbot/model/api.d.ts.map +0 -1
  682. package/dist/typescript/module/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts +0 -4
  683. package/dist/typescript/module/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +0 -1
  684. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts +0 -15
  685. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts.map +0 -1
  686. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts +0 -4
  687. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +0 -1
  688. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.d.ts +0 -8
  689. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.d.ts.map +0 -1
  690. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.d.ts +0 -8
  691. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.d.ts.map +0 -1
  692. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/Spark.d.ts +0 -12
  693. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/Spark.d.ts.map +0 -1
  694. package/dist/typescript/module/features/endOfAssignment/components/EOAModal.d.ts +0 -11
  695. package/dist/typescript/module/features/endOfAssignment/components/EOAModal.d.ts.map +0 -1
  696. package/dist/typescript/module/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts +0 -4
  697. package/dist/typescript/module/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +0 -1
  698. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts +0 -4
  699. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +0 -1
  700. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts +0 -4
  701. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +0 -1
  702. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.d.ts +0 -8
  703. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.d.ts.map +0 -1
  704. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts +0 -20
  705. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +0 -1
  706. package/dist/typescript/module/features/endOfAssignment/components/Modal/ModalBackground.d.ts +0 -3
  707. package/dist/typescript/module/features/endOfAssignment/components/Modal/ModalBackground.d.ts.map +0 -1
  708. package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts +0 -4
  709. package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts.map +0 -1
  710. package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts +0 -4
  711. package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts.map +0 -1
  712. package/dist/typescript/module/features/endOfAssignment/components/Modal/model.d.ts +0 -14
  713. package/dist/typescript/module/features/endOfAssignment/components/Modal/model.d.ts.map +0 -1
  714. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts +0 -4
  715. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +0 -1
  716. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswerContent.d.ts +0 -8
  717. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswerContent.d.ts.map +0 -1
  718. package/dist/typescript/module/features/endOfAssignment/constants.d.ts +0 -41
  719. package/dist/typescript/module/features/endOfAssignment/constants.d.ts.map +0 -1
  720. package/dist/typescript/module/features/endOfAssignment/helpers.d.ts +0 -9
  721. package/dist/typescript/module/features/endOfAssignment/helpers.d.ts.map +0 -1
  722. package/dist/typescript/module/features/endOfAssignment/hooks/useSparkAnimation.d.ts +0 -27
  723. package/dist/typescript/module/features/endOfAssignment/hooks/useSparkAnimation.d.ts.map +0 -1
  724. package/dist/typescript/module/features/endOfAssignment/index.d.ts +0 -4
  725. package/dist/typescript/module/features/endOfAssignment/index.d.ts.map +0 -1
  726. package/dist/typescript/module/features/endOfAssignment/model/model.d.ts +0 -14
  727. package/dist/typescript/module/features/endOfAssignment/model/model.d.ts.map +0 -1
  728. package/dist/typescript/module/features/endOfAssignment/types.d.ts +0 -60
  729. package/dist/typescript/module/features/endOfAssignment/types.d.ts.map +0 -1
  730. package/dist/typescript/module/features/endOfAssignment/ui/EOABadge.d.ts +0 -11
  731. package/dist/typescript/module/features/endOfAssignment/ui/EOABadge.d.ts.map +0 -1
  732. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButton.d.ts +0 -10
  733. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButton.d.ts.map +0 -1
  734. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts +0 -14
  735. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +0 -1
  736. package/dist/typescript/module/features/endOfAssignment/ui/SparkIcon.d.ts +0 -4
  737. package/dist/typescript/module/features/endOfAssignment/ui/SparkIcon.d.ts.map +0 -1
  738. package/dist/typescript/module/features/endOfAssignment/ui/ThumbUpIcon.d.ts +0 -4
  739. package/dist/typescript/module/features/endOfAssignment/ui/ThumbUpIcon.d.ts.map +0 -1
  740. package/dist/typescript/module/lib/constants.d.ts +0 -4
  741. package/dist/typescript/module/lib/constants.d.ts.map +0 -1
  742. package/dist/typescript/module/shared/hooks/useKeyDownListener.d.ts +0 -3
  743. package/dist/typescript/module/shared/hooks/useKeyDownListener.d.ts.map +0 -1
  744. package/dist/typescript/module/shared/hooks/useKeyboard.d.ts +0 -11
  745. package/dist/typescript/module/shared/hooks/useKeyboard.d.ts.map +0 -1
  746. package/dist/typescript/module/shared/icons/Halloween.d.ts +0 -5
  747. package/dist/typescript/module/shared/icons/Halloween.d.ts.map +0 -1
  748. package/dist/typescript/module/shared/icons/Pi.d.ts +0 -5
  749. package/dist/typescript/module/shared/icons/Pi.d.ts.map +0 -1
  750. package/dist/typescript/module/shared/icons/Star.d.ts +0 -5
  751. package/dist/typescript/module/shared/icons/Star.d.ts.map +0 -1
  752. package/dist/typescript/module/shared/icons/Valentine.d.ts +0 -5
  753. package/dist/typescript/module/shared/icons/Valentine.d.ts.map +0 -1
  754. package/dist/typescript/module/shared/icons/Winter.d.ts +0 -5
  755. package/dist/typescript/module/shared/icons/Winter.d.ts.map +0 -1
  756. package/src/features/celebrations/components/Celebrations.tsx +0 -62
  757. package/src/features/celebrations/components/Particle.tsx +0 -101
  758. package/src/features/celebrations/components/ParticleBatch.tsx +0 -57
  759. package/src/features/celebrations/components/Spark.tsx +0 -14
  760. package/src/features/celebrations/config.ts +0 -224
  761. package/src/features/celebrations/helpers.ts +0 -103
  762. package/src/features/celebrations/index.ts +0 -2
  763. package/src/features/celebrations/types.ts +0 -11
  764. package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +0 -65
  765. package/src/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.tsx +0 -298
  766. package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +0 -141
  767. package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.tsx +0 -39
  768. package/src/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.tsx +0 -40
  769. package/src/features/endOfAssignment/components/CorrectAnswer/Spark.tsx +0 -45
  770. package/src/features/endOfAssignment/components/EOAModal.tsx +0 -64
  771. package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +0 -77
  772. package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +0 -62
  773. package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +0 -110
  774. package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.tsx +0 -69
  775. package/src/features/endOfAssignment/components/ExamSubmit/blurred-card.png +0 -0
  776. package/src/features/endOfAssignment/components/Modal/Modal.tsx +0 -121
  777. package/src/features/endOfAssignment/components/Modal/ModalBackground.tsx +0 -33
  778. package/src/features/endOfAssignment/components/Modal/assets/SunrisingIcon.tsx +0 -196
  779. package/src/features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx +0 -62
  780. package/src/features/endOfAssignment/components/Modal/model.ts +0 -34
  781. package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +0 -103
  782. package/src/features/endOfAssignment/components/NoAnswer/NoAnswerContent.tsx +0 -107
  783. package/src/features/endOfAssignment/constants.ts +0 -53
  784. package/src/features/endOfAssignment/helpers.ts +0 -28
  785. package/src/features/endOfAssignment/hooks/useSparkAnimation.tsx +0 -78
  786. package/src/features/endOfAssignment/index.ts +0 -3
  787. package/src/features/endOfAssignment/model/model.ts +0 -57
  788. package/src/features/endOfAssignment/types.ts +0 -65
  789. package/src/features/endOfAssignment/ui/EOABadge.tsx +0 -47
  790. package/src/features/endOfAssignment/ui/PracticeButton.tsx +0 -27
  791. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +0 -73
  792. package/src/features/endOfAssignment/ui/SparkIcon.tsx +0 -15
  793. package/src/features/endOfAssignment/ui/ThumbUpIcon.tsx +0 -17
  794. package/src/lib/constants.ts +0 -3
  795. package/src/shared/hooks/useKeyDownListener.ts +0 -27
  796. package/src/shared/hooks/useKeyboard.ts +0 -18
  797. package/src/shared/icons/Halloween.tsx +0 -33
  798. package/src/shared/icons/Pi.tsx +0 -16
  799. package/src/shared/icons/Star.tsx +0 -16
  800. package/src/shared/icons/Valentine.tsx +0 -16
  801. package/src/shared/icons/Winter.tsx +0 -19
@@ -1,51 +0,0 @@
1
- "use strict";
2
-
3
- import { COLORS } from '@magmamath/react-native-ui';
4
- import { AnimatedCardVariant, EOAModalVariant } from "./types.js";
5
- export const SPARKS_ANIMATION_DELAY = 2000;
6
- export const GOOD_DRAWING_CARD_APPEARENCE_DELAY = 1800;
7
- export const MODALS_WITH_BACKGROUND = [EOAModalVariant.HAS_CORRECT_ANSWERS, EOAModalVariant.HAS_GOOD_DRAWING, EOAModalVariant.EXAM_FINISHED_HAS_CORRECT_ANSWERS];
8
- export const VARIANT_COLORS = {
9
- [AnimatedCardVariant.CORRECT_ANSWER]: {
10
- initial: COLORS.GREEN_2,
11
- final: COLORS.GREEN_4,
12
- primary: COLORS.PRIMARY_GREEN
13
- },
14
- [AnimatedCardVariant.GOOD_DRAWING]: {
15
- initial: COLORS.ORANGE_2,
16
- final: COLORS.ORANGE_4,
17
- primary: COLORS.PRIMARY_ORANGE
18
- }
19
- };
20
- export const ANIMATION_DELAYS = {
21
- step3: 500,
22
- celebrations: 140
23
- };
24
- export const CARD_DIMENSIONS = {
25
- initialWidth: 85,
26
- finalWidth: 375,
27
- initialHeight: 85,
28
- finalHeight: 175
29
- };
30
- export const OPACITY = {
31
- initial: 0,
32
- final: 1
33
- };
34
- export const BADGE_PARAMS = {
35
- initialTranslateX: -9,
36
- intermediateTranslateX: 230,
37
- finalTranslateX: 40,
38
- initialRotation: -180,
39
- initialScale: 0.5
40
- };
41
- export const SPRING_CONFIG = {
42
- stiffness: 241,
43
- damping: 18,
44
- mass: 0.75
45
- };
46
- export const SPRING_CONFIG_STEP_3 = {
47
- stiffness: 168.8,
48
- damping: 15,
49
- mass: 0.75
50
- };
51
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["COLORS","AnimatedCardVariant","EOAModalVariant","SPARKS_ANIMATION_DELAY","GOOD_DRAWING_CARD_APPEARENCE_DELAY","MODALS_WITH_BACKGROUND","HAS_CORRECT_ANSWERS","HAS_GOOD_DRAWING","EXAM_FINISHED_HAS_CORRECT_ANSWERS","VARIANT_COLORS","CORRECT_ANSWER","initial","GREEN_2","final","GREEN_4","primary","PRIMARY_GREEN","GOOD_DRAWING","ORANGE_2","ORANGE_4","PRIMARY_ORANGE","ANIMATION_DELAYS","step3","celebrations","CARD_DIMENSIONS","initialWidth","finalWidth","initialHeight","finalHeight","OPACITY","BADGE_PARAMS","initialTranslateX","intermediateTranslateX","finalTranslateX","initialRotation","initialScale","SPRING_CONFIG","stiffness","damping","mass","SPRING_CONFIG_STEP_3"],"sourceRoot":"../../../../src","sources":["features/endOfAssignment/constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,4BAA4B;AAEnD,SAASC,mBAAmB,EAAEC,eAAe,QAAQ,YAAS;AAE9D,OAAO,MAAMC,sBAAsB,GAAG,IAAI;AAC1C,OAAO,MAAMC,kCAAkC,GAAG,IAAI;AAEtD,OAAO,MAAMC,sBAAsB,GAAG,CACpCH,eAAe,CAACI,mBAAmB,EACnCJ,eAAe,CAACK,gBAAgB,EAChCL,eAAe,CAACM,iCAAiC,CAClD;AAED,OAAO,MAAMC,cAAgG,GAAG;EAC9G,CAACR,mBAAmB,CAACS,cAAc,GAAG;IACpCC,OAAO,EAAEX,MAAM,CAACY,OAAO;IACvBC,KAAK,EAAEb,MAAM,CAACc,OAAO;IACrBC,OAAO,EAAEf,MAAM,CAACgB;EAClB,CAAC;EACD,CAACf,mBAAmB,CAACgB,YAAY,GAAG;IAClCN,OAAO,EAAEX,MAAM,CAACkB,QAAQ;IACxBL,KAAK,EAAEb,MAAM,CAACmB,QAAQ;IACtBJ,OAAO,EAAEf,MAAM,CAACoB;EAClB;AACF,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAG;EAC9BC,KAAK,EAAE,GAAG;EACVC,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,eAAe,GAAG;EAC7BC,YAAY,EAAE,EAAE;EAChBC,UAAU,EAAE,GAAG;EACfC,aAAa,EAAE,EAAE;EACjBC,WAAW,EAAE;AACf,CAAC;AAED,OAAO,MAAMC,OAAO,GAAG;EACrBlB,OAAO,EAAE,CAAC;EACVE,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMiB,YAAY,GAAG;EAC1BC,iBAAiB,EAAE,CAAC,CAAC;EACrBC,sBAAsB,EAAE,GAAG;EAC3BC,eAAe,EAAE,EAAE;EACnBC,eAAe,EAAE,CAAC,GAAG;EACrBC,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,aAAa,GAAG;EAAEC,SAAS,EAAE,GAAG;EAAEC,OAAO,EAAE,EAAE;EAAEC,IAAI,EAAE;AAAK,CAAC;AACxE,OAAO,MAAMC,oBAAoB,GAAG;EAAEH,SAAS,EAAE,KAAK;EAAEC,OAAO,EAAE,EAAE;EAAEC,IAAI,EAAE;AAAK,CAAC","ignoreList":[]}
@@ -1,58 +0,0 @@
1
- "use strict";
2
-
3
- import { MODALS_WITH_BACKGROUND } from "./constants.js";
4
- import { EOAModalVariant } from "./types.js";
5
- export const getModalContainerSize = modalVariant => {
6
- switch (modalVariant) {
7
- case EOAModalVariant.EXAM_SUBMIT:
8
- case EOAModalVariant.EXAM_SAFE_MODE_SUBMIT:
9
- return {
10
- container: {
11
- width: 600,
12
- height: 384
13
- }
14
- };
15
- case EOAModalVariant.EXAM_PAUSED:
16
- case EOAModalVariant.EXAM_SAFE_MODE_CHEAT_DETECTED:
17
- return {
18
- container: {
19
- width: 560,
20
- height: 338
21
- }
22
- };
23
- case EOAModalVariant.EXAM_SAFE_MODE_LEAVE:
24
- return {
25
- container: {
26
- width: 550,
27
- height: 280
28
- }
29
- };
30
- case EOAModalVariant.HAS_GOOD_DRAWING:
31
- return {
32
- container: {
33
- width: 957,
34
- height: 550
35
- }
36
- };
37
- case EOAModalVariant.HAS_CORRECT_ANSWERS:
38
- case EOAModalVariant.EXAM_FINISHED_HAS_CORRECT_ANSWERS:
39
- return {
40
- container: {
41
- width: 957,
42
- height: 550
43
- }
44
- };
45
- default:
46
- return {
47
- container: {
48
- width: 600,
49
- height: 429
50
- }
51
- };
52
- }
53
- };
54
- export const shouldDisplayModalBackground = modalVariant => {
55
- if (!modalVariant) return false;
56
- return MODALS_WITH_BACKGROUND.includes(modalVariant);
57
- };
58
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["MODALS_WITH_BACKGROUND","EOAModalVariant","getModalContainerSize","modalVariant","EXAM_SUBMIT","EXAM_SAFE_MODE_SUBMIT","container","width","height","EXAM_PAUSED","EXAM_SAFE_MODE_CHEAT_DETECTED","EXAM_SAFE_MODE_LEAVE","HAS_GOOD_DRAWING","HAS_CORRECT_ANSWERS","EXAM_FINISHED_HAS_CORRECT_ANSWERS","shouldDisplayModalBackground","includes"],"sourceRoot":"../../../../src","sources":["features/endOfAssignment/helpers.ts"],"mappings":";;AAAA,SAASA,sBAAsB,QAAQ,gBAAa;AACpD,SAASC,eAAe,QAAQ,YAAS;AAEzC,OAAO,MAAMC,qBAAqB,GAAIC,YAA6B,IAAK;EACtE,QAAQA,YAAY;IAClB,KAAKF,eAAe,CAACG,WAAW;IAChC,KAAKH,eAAe,CAACI,qBAAqB;MACxC,OAAO;QAAEC,SAAS,EAAE;UAAEC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAI;MAAE,CAAC;IACnD,KAAKP,eAAe,CAACQ,WAAW;IAChC,KAAKR,eAAe,CAACS,6BAA6B;MAChD,OAAO;QAAEJ,SAAS,EAAE;UAAEC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAI;MAAE,CAAC;IACnD,KAAKP,eAAe,CAACU,oBAAoB;MACvC,OAAO;QAAEL,SAAS,EAAE;UAAEC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAI;MAAE,CAAC;IACnD,KAAKP,eAAe,CAACW,gBAAgB;MACnC,OAAO;QAAEN,SAAS,EAAE;UAAEC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAI;MAAE,CAAC;IACnD,KAAKP,eAAe,CAACY,mBAAmB;IACxC,KAAKZ,eAAe,CAACa,iCAAiC;MACpD,OAAO;QAAER,SAAS,EAAE;UAAEC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAI;MAAE,CAAC;IACnD;MACE,OAAO;QAAEF,SAAS,EAAE;UAAEC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAI;MAAE,CAAC;EACrD;AACF,CAAC;AAED,OAAO,MAAMO,4BAA4B,GAAIZ,YAAoC,IAAK;EACpF,IAAI,CAACA,YAAY,EAAE,OAAO,KAAK;EAE/B,OAAOH,sBAAsB,CAACgB,QAAQ,CAACb,YAAY,CAAC;AACtD,CAAC","ignoreList":[]}
@@ -1,46 +0,0 @@
1
- "use strict";
2
-
3
- import { useEffect } from 'react';
4
- import { useSharedValue, withDelay, withRepeat, withSequence, withSpring, useAnimatedReaction, useAnimatedStyle, interpolate } from 'react-native-reanimated';
5
- export const useSparkAnimation = ({
6
- id,
7
- initialDelay,
8
- rotationAngle,
9
- holdDelay,
10
- springConfig,
11
- x,
12
- y,
13
- size
14
- }) => {
15
- const progress = useSharedValue(0);
16
- const rotation = useSharedValue(0);
17
- useAnimatedReaction(() => progress.value, (current, previous) => {
18
- if (typeof previous === 'number' && current < previous * 0.95) {
19
- rotation.value = id === '2' ? -rotationAngle : rotationAngle;
20
- } else {
21
- rotation.value = current * (id === '2' ? -rotationAngle : rotationAngle);
22
- }
23
- }, [rotation, progress]);
24
- useEffect(() => {
25
- progress.value = withDelay(initialDelay, withRepeat(withSequence(withSpring(1, springConfig), withDelay(holdDelay, withSpring(0, springConfig))), -1));
26
- }, []);
27
- const animatedStyle = useAnimatedStyle(() => {
28
- const opacity = interpolate(progress.value, [0, 1], [0, 1]);
29
- return {
30
- position: 'absolute',
31
- top: y,
32
- left: x,
33
- width: size,
34
- height: size,
35
- opacity,
36
- transform: [{
37
- rotate: `${rotation.value}deg`
38
- }],
39
- zIndex: 10
40
- };
41
- }, [progress, rotation]);
42
- return {
43
- animatedStyle
44
- };
45
- };
46
- //# sourceMappingURL=useSparkAnimation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useEffect","useSharedValue","withDelay","withRepeat","withSequence","withSpring","useAnimatedReaction","useAnimatedStyle","interpolate","useSparkAnimation","id","initialDelay","rotationAngle","holdDelay","springConfig","x","y","size","progress","rotation","value","current","previous","animatedStyle","opacity","position","top","left","width","height","transform","rotate","zIndex"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/hooks/useSparkAnimation.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SACEC,cAAc,EACdC,SAAS,EACTC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,mBAAmB,EACnBC,gBAAgB,EAChBC,WAAW,QACN,yBAAyB;AAchC,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,EAAE;EACFC,YAAY;EACZC,aAAa;EACbC,SAAS;EACTC,YAAY;EACZC,CAAC;EACDC,CAAC;EACDC;AACsB,CAAC,KAAK;EAC5B,MAAMC,QAAQ,GAAGjB,cAAc,CAAC,CAAC,CAAC;EAClC,MAAMkB,QAAQ,GAAGlB,cAAc,CAAC,CAAC,CAAC;EAElCK,mBAAmB,CACjB,MAAMY,QAAQ,CAACE,KAAK,EACpB,CAACC,OAAO,EAAEC,QAAQ,KAAK;IACrB,IAAI,OAAOA,QAAQ,KAAK,QAAQ,IAAID,OAAO,GAAGC,QAAQ,GAAG,IAAI,EAAE;MAC7DH,QAAQ,CAACC,KAAK,GAAGV,EAAE,KAAK,GAAG,GAAG,CAACE,aAAa,GAAGA,aAAa;IAC9D,CAAC,MAAM;MACLO,QAAQ,CAACC,KAAK,GAAGC,OAAO,IAAIX,EAAE,KAAK,GAAG,GAAG,CAACE,aAAa,GAAGA,aAAa,CAAC;IAC1E;EACF,CAAC,EACD,CAACO,QAAQ,EAAED,QAAQ,CACrB,CAAC;EAEDlB,SAAS,CAAC,MAAM;IACdkB,QAAQ,CAACE,KAAK,GAAGlB,SAAS,CACxBS,YAAY,EACZR,UAAU,CACRC,YAAY,CACVC,UAAU,CAAC,CAAC,EAAES,YAAY,CAAC,EAC3BZ,SAAS,CAACW,SAAS,EAAER,UAAU,CAAC,CAAC,EAAES,YAAY,CAAC,CAClD,CAAC,EACD,CAAC,CACH,CACF,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMS,aAAa,GAAGhB,gBAAgB,CAAC,MAAM;IAC3C,MAAMiB,OAAO,GAAGhB,WAAW,CAACU,QAAQ,CAACE,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3D,OAAO;MACLK,QAAQ,EAAE,UAAU;MACpBC,GAAG,EAAEV,CAAC;MACNW,IAAI,EAAEZ,CAAC;MACPa,KAAK,EAAEX,IAAI;MACXY,MAAM,EAAEZ,IAAI;MACZO,OAAO;MACPM,SAAS,EAAE,CAAC;QAAEC,MAAM,EAAE,GAAGZ,QAAQ,CAACC,KAAK;MAAM,CAAC,CAAC;MAC/CY,MAAM,EAAE;IACV,CAAC;EACH,CAAC,EAAE,CAACd,QAAQ,EAAEC,QAAQ,CAAC,CAAC;EAExB,OAAO;IAAEI;EAAc,CAAC;AAC1B,CAAC","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- export { EOAModal } from "./components/EOAModal.js";
4
- export * from "./types.js";
5
- export * from "./model/model.js";
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["EOAModal"],"sourceRoot":"../../../../src","sources":["features/endOfAssignment/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,0BAAuB;AAChD,cAAc,YAAS;AACvB,cAAc,kBAAe","ignoreList":[]}
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- import { createStore, createEvent } from 'effector';
4
- import { EOAModalVariant, EOAEventType } from "../types.js";
5
- export class EOAModel {
6
- showPopUp = createEvent();
7
- hidePopUp = createEvent();
8
- practicePressed = createEvent();
9
- leavePressed = createEvent();
10
- goToFirstProblemPressed = createEvent();
11
- recommendationsUpdated = createEvent();
12
- popUpTriggered = createEvent();
13
- $popUpData = createStore(null).on(this.showPopUp, (_, payload) => payload).on(this.recommendationsUpdated, (state, hasRecommendations) => state ? {
14
- ...state,
15
- hasRecommendations
16
- } : state).reset(this.hidePopUp);
17
- $modalVariant = createStore(null).on(this.showPopUp, (_, popUpData) => {
18
- if (!popUpData) return null;
19
- const {
20
- isExam,
21
- stats,
22
- examFinished,
23
- eventType,
24
- cheatDetection
25
- } = popUpData;
26
- const solvedAmount = stats?.solvedAmount ?? 0;
27
- const goodDrawingAmount = stats?.goodDrawingAmount ?? 0;
28
- if (!isExam) {
29
- if (solvedAmount === 0) return EOAModalVariant.NO_CORRECT_ANSWERS;
30
- if (solvedAmount > 0 && goodDrawingAmount > 0) return EOAModalVariant.HAS_GOOD_DRAWING;
31
- return EOAModalVariant.HAS_CORRECT_ANSWERS;
32
- }
33
- if (eventType === EOAEventType.EXAM_PAUSED) return EOAModalVariant.EXAM_PAUSED;
34
- if (eventType === EOAEventType.CHEAT_DETECTED) return EOAModalVariant.EXAM_SAFE_MODE_CHEAT_DETECTED;
35
- if (eventType === EOAEventType.SUBMIT && !examFinished) {
36
- return cheatDetection ? EOAModalVariant.EXAM_SAFE_MODE_SUBMIT : EOAModalVariant.EXAM_SUBMIT;
37
- }
38
- if (examFinished || eventType === EOAEventType.EXAM_FINISHED) {
39
- return solvedAmount > 0 ? EOAModalVariant.EXAM_FINISHED_HAS_CORRECT_ANSWERS : EOAModalVariant.EXAM_FINISHED_NO_CORRECT_ANSWERS;
40
- }
41
- return EOAModalVariant.EXAM_SAFE_MODE_LEAVE;
42
- }).reset(this.hidePopUp);
43
- hidePopUpAndLeave = () => {
44
- this.leavePressed();
45
- this.hidePopUp();
46
- };
47
- }
48
- //# sourceMappingURL=model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createStore","createEvent","EOAModalVariant","EOAEventType","EOAModel","showPopUp","hidePopUp","practicePressed","leavePressed","goToFirstProblemPressed","recommendationsUpdated","popUpTriggered","$popUpData","on","_","payload","state","hasRecommendations","reset","$modalVariant","popUpData","isExam","stats","examFinished","eventType","cheatDetection","solvedAmount","goodDrawingAmount","NO_CORRECT_ANSWERS","HAS_GOOD_DRAWING","HAS_CORRECT_ANSWERS","EXAM_PAUSED","CHEAT_DETECTED","EXAM_SAFE_MODE_CHEAT_DETECTED","SUBMIT","EXAM_SAFE_MODE_SUBMIT","EXAM_SUBMIT","EXAM_FINISHED","EXAM_FINISHED_HAS_CORRECT_ANSWERS","EXAM_FINISHED_NO_CORRECT_ANSWERS","EXAM_SAFE_MODE_LEAVE","hidePopUpAndLeave"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/model/model.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,WAAW,QAAQ,UAAU;AACnD,SAASC,eAAe,EAAgBC,YAAY,QAAQ,aAAU;AAEtE,OAAO,MAAMC,QAAQ,CAAC;EACJC,SAAS,GAAGJ,WAAW,CAAe,CAAC;EACvCK,SAAS,GAAGL,WAAW,CAAC,CAAC;EAEzBM,eAAe,GAAGN,WAAW,CAAC,CAAC;EAC/BO,YAAY,GAAGP,WAAW,CAAC,CAAC;EAC5BQ,uBAAuB,GAAGR,WAAW,CAAC,CAAC;EACvCS,sBAAsB,GAAGT,WAAW,CAAU,CAAC;EAC/CU,cAAc,GAAGV,WAAW,CAAe,CAAC;EAE5CW,UAAU,GAAGZ,WAAW,CAAsB,IAAI,CAAC,CAChEa,EAAE,CAAC,IAAI,CAACR,SAAS,EAAE,CAACS,CAAC,EAAEC,OAAO,KAAKA,OAAO,CAAC,CAC3CF,EAAE,CAAC,IAAI,CAACH,sBAAsB,EAAE,CAACM,KAAK,EAAEC,kBAAkB,KAAMD,KAAK,GAAG;IAAE,GAAGA,KAAK;IAAEC;EAAmB,CAAC,GAAGD,KAAM,CAAC,CAClHE,KAAK,CAAC,IAAI,CAACZ,SAAS,CAAC;EAENa,aAAa,GAAGnB,WAAW,CAAyB,IAAI,CAAC,CACxEa,EAAE,CAAC,IAAI,CAACR,SAAS,EAAE,CAACS,CAAC,EAAEM,SAAS,KAAK;IACpC,IAAI,CAACA,SAAS,EAAE,OAAO,IAAI;IAE3B,MAAM;MAAEC,MAAM;MAAEC,KAAK;MAAEC,YAAY;MAAEC,SAAS;MAAEC;IAAe,CAAC,GAAGL,SAAS;IAC5E,MAAMM,YAAY,GAAGJ,KAAK,EAAEI,YAAY,IAAI,CAAC;IAC7C,MAAMC,iBAAiB,GAAGL,KAAK,EAAEK,iBAAiB,IAAI,CAAC;IAEvD,IAAI,CAACN,MAAM,EAAE;MACX,IAAIK,YAAY,KAAK,CAAC,EAAE,OAAOxB,eAAe,CAAC0B,kBAAkB;MACjE,IAAIF,YAAY,GAAG,CAAC,IAAIC,iBAAiB,GAAG,CAAC,EAAE,OAAOzB,eAAe,CAAC2B,gBAAgB;MACtF,OAAO3B,eAAe,CAAC4B,mBAAmB;IAC5C;IAEA,IAAIN,SAAS,KAAKrB,YAAY,CAAC4B,WAAW,EAAE,OAAO7B,eAAe,CAAC6B,WAAW;IAC9E,IAAIP,SAAS,KAAKrB,YAAY,CAAC6B,cAAc,EAAE,OAAO9B,eAAe,CAAC+B,6BAA6B;IACnG,IAAIT,SAAS,KAAKrB,YAAY,CAAC+B,MAAM,IAAI,CAACX,YAAY,EAAE;MACtD,OAAOE,cAAc,GACjBvB,eAAe,CAACiC,qBAAqB,GACrCjC,eAAe,CAACkC,WAAW;IACjC;IAEA,IAAIb,YAAY,IAAIC,SAAS,KAAKrB,YAAY,CAACkC,aAAa,EAAE;MAC5D,OAAOX,YAAY,GAAG,CAAC,GACnBxB,eAAe,CAACoC,iCAAiC,GACjDpC,eAAe,CAACqC,gCAAgC;IACtD;IAEA,OAAOrC,eAAe,CAACsC,oBAAoB;EAC7C,CAAC,CAAC,CACDtB,KAAK,CAAC,IAAI,CAACZ,SAAS,CAAC;EAGRmC,iBAAiB,GAAGA,CAAA,KAAM;IACxC,IAAI,CAACjC,YAAY,CAAC,CAAC;IACnB,IAAI,CAACF,SAAS,CAAC,CAAC;EAClB,CAAC;AAEH","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- export let EOAEventType = /*#__PURE__*/function (EOAEventType) {
4
- EOAEventType["SUBMIT"] = "SUBMIT";
5
- EOAEventType["EXAM_LEAVE"] = "EXAM_LEAVE";
6
- EOAEventType["EXAM_PAUSED"] = "EXAM_PAUSED";
7
- EOAEventType["EXAM_FINISHED"] = "EXAM_FINISHED";
8
- EOAEventType["CHEAT_DETECTED"] = "CHEAT_DETECTED";
9
- return EOAEventType;
10
- }({});
11
- export let EOAModalVariant = /*#__PURE__*/function (EOAModalVariant) {
12
- EOAModalVariant["NO_CORRECT_ANSWERS"] = "NO_CORRECT_ANSWERS";
13
- EOAModalVariant["HAS_CORRECT_ANSWERS"] = "HAS_CORRECT_ANSWERS";
14
- EOAModalVariant["HAS_GOOD_DRAWING"] = "HAS_GOOD_DRAWING";
15
- EOAModalVariant["EXAM_PAUSED"] = "EXAM_PAUSED";
16
- EOAModalVariant["EXAM_SUBMIT"] = "EXAM_SUBMIT";
17
- EOAModalVariant["EXAM_SAFE_MODE_SUBMIT"] = "EXAM_SAFE_MODE_SUBMIT";
18
- EOAModalVariant["EXAM_SAFE_MODE_LEAVE"] = "EXAM_SAFE_MODE_LEAVE";
19
- EOAModalVariant["EXAM_SAFE_MODE_CHEAT_DETECTED"] = "EXAM_SAFE_MODE_CHEAT_DETECTED";
20
- EOAModalVariant["EXAM_FINISHED_HAS_CORRECT_ANSWERS"] = "EXAM_FINISHED_HAS_CORRECT_ANSWERS";
21
- EOAModalVariant["EXAM_FINISHED_NO_CORRECT_ANSWERS"] = "EXAM_FINISHED_NO_CORRECT_ANSWERS";
22
- return EOAModalVariant;
23
- }({});
24
- export let AnimatedCardVariant = /*#__PURE__*/function (AnimatedCardVariant) {
25
- AnimatedCardVariant["GOOD_DRAWING"] = "goodDrawing";
26
- AnimatedCardVariant["CORRECT_ANSWER"] = "correctAnswers";
27
- return AnimatedCardVariant;
28
- }({});
29
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["EOAEventType","EOAModalVariant","AnimatedCardVariant"],"sourceRoot":"../../../../src","sources":["features/endOfAssignment/types.ts"],"mappings":";;AAEA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAQxB,WAAYC,eAAe,0BAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA;AAgB3B,WAAYC,mBAAmB,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { View, StyleSheet } from 'react-native';
5
- import { CorrectIcon, COLORS } from '@magmamath/react-native-ui';
6
- import { ThumbUpIcon } from "./ThumbUpIcon.js";
7
- import { AnimatedCardVariant } from "../types.js";
8
- import { jsx as _jsx } from "react/jsx-runtime";
9
- export const EOABadge = ({
10
- variant,
11
- size = 70,
12
- iconSize = 45,
13
- color = COLORS.PRIMARY_GREEN
14
- }) => {
15
- return /*#__PURE__*/_jsx(View, {
16
- style: [styles.container, {
17
- width: size,
18
- height: size,
19
- backgroundColor: color
20
- }],
21
- children: variant === AnimatedCardVariant.CORRECT_ANSWER ? /*#__PURE__*/_jsx(CorrectIcon, {
22
- size: iconSize,
23
- color: COLORS.NEUTRAL_1
24
- }) : /*#__PURE__*/_jsx(ThumbUpIcon, {
25
- size: iconSize,
26
- color: COLORS.NEUTRAL_1
27
- })
28
- });
29
- };
30
- const styles = StyleSheet.create({
31
- container: {
32
- justifyContent: 'center',
33
- alignItems: 'center',
34
- borderRadius: 50
35
- }
36
- });
37
- //# sourceMappingURL=EOABadge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","StyleSheet","CorrectIcon","COLORS","ThumbUpIcon","AnimatedCardVariant","jsx","_jsx","EOABadge","variant","size","iconSize","color","PRIMARY_GREEN","style","styles","container","width","height","backgroundColor","children","CORRECT_ANSWER","NEUTRAL_1","create","justifyContent","alignItems","borderRadius"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/EOABadge.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAE/C,SAASC,WAAW,EAAEC,MAAM,QAAQ,4BAA4B;AAChE,SAASC,WAAW,QAAQ,kBAAe;AAC3C,SAASC,mBAAmB,QAAQ,aAAU;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAS9C,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,OAAO;EACPC,IAAI,GAAG,EAAE;EACTC,QAAQ,GAAG,EAAE;EACbC,KAAK,GAAGT,MAAM,CAACU;AACF,CAAC,KAAK;EACnB,oBACEN,IAAA,CAACP,IAAI;IACHc,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MACEC,KAAK,EAAEP,IAAI;MACXQ,MAAM,EAAER,IAAI;MACZS,eAAe,EAAEP;IACnB,CAAC,CACD;IAAAQ,QAAA,EAEDX,OAAO,KAAKJ,mBAAmB,CAACgB,cAAc,gBAC7Cd,IAAA,CAACL,WAAW;MAACQ,IAAI,EAAEC,QAAS;MAACC,KAAK,EAAET,MAAM,CAACmB;IAAU,CAAE,CAAC,gBAExDf,IAAA,CAACH,WAAW;MAACM,IAAI,EAAEC,QAAS;MAACC,KAAK,EAAET,MAAM,CAACmB;IAAU,CAAE;EACxD,CACG,CAAC;AAEX,CAAC;AAED,MAAMP,MAAM,GAAGd,UAAU,CAACsB,MAAM,CAAC;EAC/BP,SAAS,EAAE;IACTQ,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { Button, ButtonColor } from '@magmamath/react-native-ui';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export const PracticeButton = ({
7
- onPress,
8
- text = '',
9
- colorScheme = ButtonColor.YELLOW
10
- }) => {
11
- return /*#__PURE__*/_jsx(Button, {
12
- variant: "primary",
13
- colorScheme: colorScheme,
14
- size: "large",
15
- style: {
16
- text: {
17
- textTransform: 'uppercase'
18
- }
19
- },
20
- onPress: onPress,
21
- children: text
22
- });
23
- };
24
- //# sourceMappingURL=PracticeButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Button","ButtonColor","jsx","_jsx","PracticeButton","onPress","text","colorScheme","YELLOW","variant","size","style","textTransform","children"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/PracticeButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,MAAM,EAAEC,WAAW,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAQhE,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,OAAO;EACPC,IAAI,GAAG,EAAE;EACTC,WAAW,GAAGN,WAAW,CAACO;AACP,CAAC,KAAK;EACzB,oBACEL,IAAA,CAACH,MAAM;IACLS,OAAO,EAAC,SAAS;IACjBF,WAAW,EAAEA,WAAY;IACzBG,IAAI,EAAC,OAAO;IACZC,KAAK,EAAE;MAAEL,IAAI,EAAE;QAAEM,aAAa,EAAE;MAAY;IAAE,CAAE;IAChDP,OAAO,EAAEA,OAAQ;IAAAQ,QAAA,EAEhBP;EAAI,CACC,CAAC;AAEb,CAAC","ignoreList":[]}
@@ -1,57 +0,0 @@
1
- "use strict";
2
-
3
- import React, { useEffect } from 'react';
4
- import { StyleSheet } from 'react-native';
5
- import Animated, { useSharedValue, withDelay, FadeInRight, Easing, FadeInUp, withTiming } from 'react-native-reanimated';
6
- import { ButtonVariant, SPACING, Button, ButtonSize, ButtonColor } from '@magmamath/react-native-ui';
7
- import { PracticeButton } from "./PracticeButton.js";
8
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- export const PracticeButtonGroup = ({
10
- textContent,
11
- isPracticeButtonVisible,
12
- onLeftButtonPress,
13
- onRightButtonPress,
14
- isExam
15
- }) => {
16
- const buttonsContainerOpacity = useSharedValue(0);
17
- useEffect(() => {
18
- buttonsContainerOpacity.value = withDelay(1000, withTiming(1, {
19
- duration: 500
20
- }));
21
- }, []);
22
- return /*#__PURE__*/_jsxs(Animated.View, {
23
- style: [styles.buttonsContainer, {
24
- opacity: buttonsContainerOpacity
25
- }],
26
- children: [/*#__PURE__*/_jsx(Animated.View, {
27
- entering: isPracticeButtonVisible ? FadeInRight.delay(1000).duration(500).easing(Easing.ease) : FadeInUp.duration(500),
28
- children: /*#__PURE__*/_jsx(Button, {
29
- variant: isPracticeButtonVisible ? ButtonVariant.TERTIARY : ButtonVariant.PRIMARY,
30
- size: ButtonSize.LARGE,
31
- colorScheme: isExam ? ButtonColor.PURPLE : ButtonColor.BLUE,
32
- style: {
33
- text: {
34
- textTransform: 'uppercase'
35
- }
36
- },
37
- onPress: onLeftButtonPress,
38
- children: textContent.leftButtonText
39
- })
40
- }), /*#__PURE__*/_jsx(Animated.View, {
41
- children: isPracticeButtonVisible && /*#__PURE__*/_jsx(PracticeButton, {
42
- onPress: onRightButtonPress,
43
- text: textContent.rightButtonText
44
- })
45
- })]
46
- });
47
- };
48
- const styles = StyleSheet.create({
49
- buttonsContainer: {
50
- height: 62,
51
- flexDirection: 'row',
52
- alignItems: 'center',
53
- justifyContent: 'center',
54
- paddingHorizontal: SPACING[300]
55
- }
56
- });
57
- //# sourceMappingURL=PracticeButtonGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useEffect","StyleSheet","Animated","useSharedValue","withDelay","FadeInRight","Easing","FadeInUp","withTiming","ButtonVariant","SPACING","Button","ButtonSize","ButtonColor","PracticeButton","jsx","_jsx","jsxs","_jsxs","PracticeButtonGroup","textContent","isPracticeButtonVisible","onLeftButtonPress","onRightButtonPress","isExam","buttonsContainerOpacity","value","duration","View","style","styles","buttonsContainer","opacity","children","entering","delay","easing","ease","variant","TERTIARY","PRIMARY","size","LARGE","colorScheme","PURPLE","BLUE","text","textTransform","onPress","leftButtonText","rightButtonText","create","height","flexDirection","alignItems","justifyContent","paddingHorizontal"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/PracticeButtonGroup.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,UAAU,QAAQ,cAAc;AAEzC,OAAOC,QAAQ,IACbC,cAAc,EACdC,SAAS,EACTC,WAAW,EACXC,MAAM,EACNC,QAAQ,EACRC,UAAU,QACL,yBAAyB;AAChC,SAASC,aAAa,EAAEC,OAAO,EAAEC,MAAM,EAAEC,UAAU,EAAEC,WAAW,QAAQ,4BAA4B;AAEpG,SAASC,cAAc,QAAQ,qBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAUjD,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,uBAAuB;EACvBC,iBAAiB;EACjBC,kBAAkB;EAClBC;AACwB,CAAC,KAAK;EAC9B,MAAMC,uBAAuB,GAAGtB,cAAc,CAAC,CAAC,CAAC;EAEjDH,SAAS,CAAC,MAAM;IACdyB,uBAAuB,CAACC,KAAK,GAAGtB,SAAS,CAAC,IAAI,EAAEI,UAAU,CAAC,CAAC,EAAE;MAAEmB,QAAQ,EAAE;IAAI,CAAC,CAAC,CAAC;EACnF,CAAC,EAAE,EAAE,CAAC;EAEN,oBACET,KAAA,CAAChB,QAAQ,CAAC0B,IAAI;IAACC,KAAK,EAAE,CAACC,MAAM,CAACC,gBAAgB,EAAE;MAAEC,OAAO,EAAEP;IAAwB,CAAC,CAAE;IAAAQ,QAAA,gBACpFjB,IAAA,CAACd,QAAQ,CAAC0B,IAAI;MACZM,QAAQ,EACNb,uBAAuB,GACnBhB,WAAW,CAAC8B,KAAK,CAAC,IAAI,CAAC,CAACR,QAAQ,CAAC,GAAG,CAAC,CAACS,MAAM,CAAC9B,MAAM,CAAC+B,IAAI,CAAC,GACzD9B,QAAQ,CAACoB,QAAQ,CAAC,GAAG,CAC1B;MAAAM,QAAA,eAEDjB,IAAA,CAACL,MAAM;QACL2B,OAAO,EAAEjB,uBAAuB,GAAGZ,aAAa,CAAC8B,QAAQ,GAAG9B,aAAa,CAAC+B,OAAQ;QAClFC,IAAI,EAAE7B,UAAU,CAAC8B,KAAM;QACvBC,WAAW,EAAEnB,MAAM,GAAGX,WAAW,CAAC+B,MAAM,GAAG/B,WAAW,CAACgC,IAAK;QAC5DhB,KAAK,EAAE;UAAEiB,IAAI,EAAE;YAAEC,aAAa,EAAE;UAAY;QAAE,CAAE;QAChDC,OAAO,EAAE1B,iBAAkB;QAAAW,QAAA,EAE1Bb,WAAW,CAAC6B;MAAc,CACrB;IAAC,CACI,CAAC,eAChBjC,IAAA,CAACd,QAAQ,CAAC0B,IAAI;MAAAK,QAAA,EACXZ,uBAAuB,iBACtBL,IAAA,CAACF,cAAc;QAACkC,OAAO,EAAEzB,kBAAmB;QAACuB,IAAI,EAAE1B,WAAW,CAAC8B;MAAgB,CAAE;IAClF,CACY,CAAC;EAAA,CACH,CAAC;AAEpB,CAAC;AAED,MAAMpB,MAAM,GAAG7B,UAAU,CAACkD,MAAM,CAAC;EAC/BpB,gBAAgB,EAAE;IAChBqB,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,iBAAiB,EAAE9C,OAAO,CAAC,GAAG;EAChC;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export const SparkIcon = ({
7
- size = 12,
8
- color
9
- }) => {
10
- return /*#__PURE__*/_jsx(Svg, {
11
- width: size,
12
- height: size,
13
- viewBox: "0 0 22 22",
14
- fill: "none",
15
- children: /*#__PURE__*/_jsx(Path, {
16
- d: "M20.563 12.363c-3.688 1.348-6.782 4.42-8.24 8.244-.505 1.19-2.111 1.19-2.587 0-1.517-3.793-4.61-6.864-8.299-8.18-1.25-.502-1.25-2.352 0-2.79 3.688-1.348 6.782-4.42 8.24-8.244.505-1.19 2.111-1.19 2.587 0 1.517 3.793 4.61 6.864 8.299 8.18 1.25.502 1.25 2.352 0 2.79z",
17
- fill: color
18
- })
19
- });
20
- };
21
- //# sourceMappingURL=SparkIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","jsx","_jsx","SparkIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/SparkIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAGzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,OAAO,MAAMC,SAAS,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC5D,oBACEH,IAAA,CAACH,GAAG;IAACO,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DR,IAAA,CAACF,IAAI;MACHW,CAAC,EAAC,0QAA0Q;MAC5QF,IAAI,EAAEJ;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { COLORS } from '@magmamath/react-native-ui';
5
- import Svg, { Path } from 'react-native-svg';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- export const ThumbUpIcon = ({
8
- size = 57,
9
- color = COLORS.NEUTRAL_1
10
- }) => {
11
- return /*#__PURE__*/_jsx(Svg, {
12
- width: size,
13
- height: size,
14
- viewBox: "0 0 57 57",
15
- fill: "none",
16
- children: /*#__PURE__*/_jsx(Path, {
17
- fillRule: "evenodd",
18
- clipRule: "evenodd",
19
- d: "M23.22 49.594c-2.143 0-4.284-.72-6.027-1.862l-.071-.048-.296-.197-.158.319a4.28 4.28 0 01-3.837 2.382H9.466a4.279 4.279 0 01-4.278-4.28V23.306a4.279 4.279 0 014.278-4.279h3.365c1.479 0 2.782.75 3.551 1.89l.19.282.265-.212c5.975-4.77 8.052-10.642 8.495-13.38.277-1.717 1.289-2.983 2.692-3.609 1.329-.593 2.835-.542 4.145-.08 2.702.951 4.96 3.765 4.472 7.79-.403 3.328-1.348 6.402-2.075 8.692l-.129.407h10.805c3.133 0 5.975 2.24 6.322 5.54.239 2.271.405 5.292.016 7.948-.35 2.397-.956 6.096-2.536 9.219-1.62 3.203-4.436 6.08-9.153 6.08h-16.67zm7.662-42.021c-.566-.2-1.025-.15-1.279-.036a.636.636 0 00-.262.201c-.091.12-.15.279-.184.486-.621 3.847-3.536 11.617-11.909 17.265l-.138.093v16.407l.025.058c.363.867 1.115 1.744 2.184 2.445 1.184.777 2.596 1.227 3.902 1.227h16.67c1.36 0 2.483-.376 3.422-1.07.932-.69 1.665-1.681 2.273-2.884 1.263-2.497 1.807-5.619 2.16-8.031.318-2.173.192-4.812-.035-6.981-.12-1.141-1.125-2.071-2.47-2.071h-11.91c-1.994 0-3.56-1.904-2.936-3.938.123-.4.255-.817.393-1.252l.003-.009c.737-2.327 1.627-5.14 2.003-8.242.13-1.066-.08-1.894-.465-2.506a2.835 2.835 0 00-1.447-1.162zM9.466 22.903a.404.404 0 00-.403.403v22.602c0 .224.18.404.403.404h3.365a.403.403 0 00.404-.403V23.306a.404.404 0 00-.404-.404H9.466z",
20
- fill: color
21
- })
22
- });
23
- };
24
- //# sourceMappingURL=ThumbUpIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","COLORS","Svg","Path","jsx","_jsx","ThumbUpIcon","size","color","NEUTRAL_1","width","height","viewBox","fill","children","fillRule","clipRule","d"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/ThumbUpIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,MAAM,QAAmB,4BAA4B;AAC9D,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE5C,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGP,MAAM,CAACQ;AAAqB,CAAC,KAAK;EACjF,oBACEJ,IAAA,CAACH,GAAG;IAACQ,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DT,IAAA,CAACF,IAAI;MACHY,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,itCAAitC;MACntCJ,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- export let KeyboardKeys = /*#__PURE__*/function (KeyboardKeys) {
4
- KeyboardKeys["ENTER"] = "Enter";
5
- return KeyboardKeys;
6
- }({});
7
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["KeyboardKeys"],"sourceRoot":"../../../src","sources":["lib/constants.ts"],"mappings":";;AAAA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- import { useEffect, useRef } from 'react';
4
- import { KeyboardKeys } from "../../lib/constants.js";
5
- export const useKeyDownListener = (callback, overrideKeys = [KeyboardKeys.ENTER]) => {
6
- const callbackRef = useRef(callback);
7
- callbackRef.current = callback;
8
- useEffect(() => {
9
- const eventHandler = event => {
10
- if (overrideKeys.includes(event.key)) {
11
- event.preventDefault();
12
- event.stopPropagation();
13
- }
14
- callbackRef.current(event);
15
- };
16
- document.addEventListener('keydown', eventHandler, true);
17
- return () => {
18
- document.removeEventListener('keydown', eventHandler, true);
19
- };
20
- }, []);
21
- };
22
- //# sourceMappingURL=useKeyDownListener.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useEffect","useRef","KeyboardKeys","useKeyDownListener","callback","overrideKeys","ENTER","callbackRef","current","eventHandler","event","includes","key","preventDefault","stopPropagation","document","addEventListener","removeEventListener"],"sourceRoot":"../../../../src","sources":["shared/hooks/useKeyDownListener.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAEzC,SAASC,YAAY,QAAQ,wBAAqB;AAElD,OAAO,MAAMC,kBAAkB,GAAGA,CAChCC,QAAwC,EACxCC,YAAY,GAAG,CAACH,YAAY,CAACI,KAAK,CAAC,KAChC;EACH,MAAMC,WAAW,GAAGN,MAAM,CAACG,QAAQ,CAAC;EACpCG,WAAW,CAACC,OAAO,GAAGJ,QAAQ;EAE9BJ,SAAS,CAAC,MAAM;IACd,MAAMS,YAAY,GAAIC,KAAoB,IAAK;MAC7C,IAAIL,YAAY,CAACM,QAAQ,CAACD,KAAK,CAACE,GAAmB,CAAC,EAAE;QACpDF,KAAK,CAACG,cAAc,CAAC,CAAC;QACtBH,KAAK,CAACI,eAAe,CAAC,CAAC;MACzB;MAEAP,WAAW,CAACC,OAAO,CAACE,KAAK,CAAC;IAC5B,CAAC;IAEDK,QAAQ,CAACC,gBAAgB,CAAC,SAAS,EAAEP,YAAY,EAAE,IAAI,CAAC;IACxD,OAAO,MAAM;MACXM,QAAQ,CAACE,mBAAmB,CAAC,SAAS,EAAER,YAAY,EAAE,IAAI,CAAC;IAC7D,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;AACR,CAAC","ignoreList":[]}
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- import { Platform } from 'react-native';
4
- import { useKeyDownListener } from "./useKeyDownListener.js";
5
- import { noop } from "../../lib/helpers/helpers.js";
6
-
7
- /**
8
- * A cross-platform hook for handling keyboard events.
9
- *
10
- * - On native platforms (iOS, Android), it returns a no-op function because
11
- * keyboard events are generally not applicable.
12
- *
13
- * - On web (default), it returns the `useKeyDownListener` hook, which allows you
14
- * to register a callback that is triggered on keydown events.
15
- */
16
- export const useKeyBoard = Platform.select({
17
- native: noop,
18
- default: useKeyDownListener
19
- });
20
- //# sourceMappingURL=useKeyboard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Platform","useKeyDownListener","noop","useKeyBoard","select","native","default"],"sourceRoot":"../../../../src","sources":["shared/hooks/useKeyboard.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,SAASC,kBAAkB,QAAQ,yBAAsB;AACzD,SAASC,IAAI,QAAQ,8BAA2B;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAGH,QAAQ,CAACI,MAAM,CAAC;EACzCC,MAAM,EAAEH,IAAI;EACZI,OAAO,EAAEL;AACX,CAAC,CAAC","ignoreList":[]}
@@ -1,47 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { ClipPath, Defs, G, Path } from 'react-native-svg';
5
- import { COLORS } from '@magmamath/react-native-ui';
6
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- function Halloween({
8
- size = 57,
9
- color = COLORS.NEUTRAL_8
10
- }) {
11
- return /*#__PURE__*/_jsxs(Svg, {
12
- width: size,
13
- height: size,
14
- viewBox: "0 0 57 57",
15
- fill: "none",
16
- children: [/*#__PURE__*/_jsxs(G, {
17
- clipPath: "url(#clip0_1279_48)",
18
- fill: color,
19
- children: [/*#__PURE__*/_jsx(Path, {
20
- fillRule: "evenodd",
21
- clipRule: "evenodd",
22
- d: "M48.971 21.733c-1.01-1.794.252-4.058 1.819-2.723 3.607 3.075 5.986 8.345 5.986 14.33 0 9.305-5.75 16.881-12.928 17.167 4.706-2.896 7.993-9.493 7.993-17.167 0-4.384-1.073-8.416-2.87-11.608zM8.58 21.733c1.01-1.794-.25-4.058-1.818-2.723C3.155 22.085.776 27.355.776 33.34c0 9.305 5.75 16.881 12.928 17.167-4.706-2.896-7.993-9.493-7.993-17.167 0-4.384 1.073-8.416 2.87-11.608z"
23
- }), /*#__PURE__*/_jsx(Path, {
24
- d: "M37.368 52.077c7.373 0 13.35-8.389 13.35-18.737 0-10.348-5.977-18.737-13.35-18.737-1.584 0-1.692 2.13-.517 3.191a15.07 15.07 0 012.386 2.786c2.38 3.539 3.717 8.338 3.717 13.343 0 5.005-1.337 9.805-3.717 13.343a15.084 15.084 0 01-2.36 2.763c-.772.7-.55 2.048.491 2.048zM20.184 52.077c-7.373 0-13.35-8.389-13.35-18.737 0-10.348 5.977-18.737 13.35-18.737 1.584 0 1.692 2.13.517 3.191a15.07 15.07 0 00-2.386 2.786c-2.38 3.539-3.717 8.338-3.717 13.343 0 5.005 1.337 9.805 3.717 13.343a15.084 15.084 0 002.36 2.763c.772.7.55 2.048-.491 2.048z"
25
- }), /*#__PURE__*/_jsx(Path, {
26
- d: "M28.776 15.592c0-.298.242-.541.539-.523 3.17.2 6.182 2.161 8.434 5.51 2.38 3.54 3.717 8.34 3.717 13.344 0 5.005-1.337 9.805-3.717 13.343-2.252 3.35-5.264 5.31-8.434 5.51a.514.514 0 01-.539-.522V15.592z"
27
- }), /*#__PURE__*/_jsx(Path, {
28
- d: "M28.776 15.592a.514.514 0 00-.539-.523c-3.17.2-6.182 2.161-8.434 5.51-2.38 3.54-3.717 8.34-3.717 13.344 0 5.005 1.337 9.805 3.717 13.343 2.252 3.35 5.264 5.31 8.434 5.51a.514.514 0 00.539-.522V15.592z"
29
- }), /*#__PURE__*/_jsx(Path, {
30
- fillRule: "evenodd",
31
- clipRule: "evenodd",
32
- d: "M30.231 10.322c.091.551.228.912.273.999a1.887 1.887 0 11-3.35 1.737c-.289-.556-.516-1.334-.646-2.12-.134-.808-.193-1.793-.032-2.772.16-.974.566-2.098 1.503-2.955.975-.893 2.277-1.272 3.762-1.187a1.887 1.887 0 01-.215 3.768c-.706-.04-.933.142-.999.202-.104.096-.25.316-.327.784-.076.462-.056 1.014.031 1.544z"
33
- })]
34
- }), /*#__PURE__*/_jsx(Defs, {
35
- children: /*#__PURE__*/_jsx(ClipPath, {
36
- id: "clip0_1279_48",
37
- children: /*#__PURE__*/_jsx(Path, {
38
- fill: "#fff",
39
- transform: "translate(.776 .26)",
40
- d: "M0 0H56V56H0z"
41
- })
42
- })
43
- })]
44
- });
45
- }
46
- export default Halloween;
47
- //# sourceMappingURL=Halloween.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","ClipPath","Defs","G","Path","COLORS","jsx","_jsx","jsxs","_jsxs","Halloween","size","color","NEUTRAL_8","width","height","viewBox","fill","children","clipPath","fillRule","clipRule","d","id","transform"],"sourceRoot":"../../../../src","sources":["shared/icons/Halloween.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,QAAQ,EAAEC,IAAI,EAAEC,CAAC,EAAEC,IAAI,QAAQ,kBAAkB;AAE/D,SAASC,MAAM,QAAmB,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9D,SAASC,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGP,MAAM,CAACQ;AAAqB,CAAC,EAAE;EACrE,oBACEJ,KAAA,CAACT,GAAG;IAACc,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DT,KAAA,CAACN,CAAC;MAACgB,QAAQ,EAAC,qBAAqB;MAACF,IAAI,EAAEL,KAAM;MAAAM,QAAA,gBAC5CX,IAAA,CAACH,IAAI;QACHgB,QAAQ,EAAC,SAAS;QAClBC,QAAQ,EAAC,SAAS;QAClBC,CAAC,EAAC;MAAqX,CACxX,CAAC,eACFf,IAAA,CAACH,IAAI;QAACkB,CAAC,EAAC;MAA0hB,CAAE,CAAC,eACriBf,IAAA,CAACH,IAAI;QAACkB,CAAC,EAAC;MAA2M,CAAE,CAAC,eACtNf,IAAA,CAACH,IAAI;QAACkB,CAAC,EAAC;MAA0M,CAAE,CAAC,eACrNf,IAAA,CAACH,IAAI;QACHgB,QAAQ,EAAC,SAAS;QAClBC,QAAQ,EAAC,SAAS;QAClBC,CAAC,EAAC;MAAqT,CACxT,CAAC;IAAA,CACD,CAAC,eACJf,IAAA,CAACL,IAAI;MAAAgB,QAAA,eACHX,IAAA,CAACN,QAAQ;QAACsB,EAAE,EAAC,eAAe;QAAAL,QAAA,eAC1BX,IAAA,CAACH,IAAI;UAACa,IAAI,EAAC,MAAM;UAACO,SAAS,EAAC,qBAAqB;UAACF,CAAC,EAAC;QAAe,CAAE;MAAC,CAC9D;IAAC,CACP,CAAC;EAAA,CACJ,CAAC;AAEV;AAEA,eAAeZ,SAAS","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import Svg, { Path } from 'react-native-svg';
5
- import { COLORS } from '@magmamath/react-native-ui';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- function Pi({
8
- size = 57,
9
- color = COLORS.NEUTRAL_8
10
- }) {
11
- return /*#__PURE__*/_jsx(Svg, {
12
- width: 57,
13
- height: size * 0.8421,
14
- viewBox: "0 0 57 48",
15
- fill: "none",
16
- children: /*#__PURE__*/_jsx(Path, {
17
- d: "M2.311 10.528a5.23 5.23 0 00.244 7.63c2.166 1.926 5.52 1.836 7.572-.23l4.685-4.719a5.09 5.09 0 01.04-.04c.557-.55 1.37-.044 1.302.735a96.284 96.284 0 01-.666 5.732c-.546 3.688-1.358 7.523-2.543 10.924-1.209 3.468-2.669 6.084-4.272 7.7a5.23 5.23 0 00.246 7.63c2.167 1.925 5.52 1.835 7.572-.233 3.195-3.219 5.307-7.505 6.759-11.67 1.475-4.232 2.41-8.76 3.012-12.831.483-3.272.763-6.327.926-8.813a1.006 1.006 0 011.002-.942h2.357a1 1 0 011 1v23.505c0 6.436 5.464 11.367 11.84 11.367 7.233 0 13.389-5.587 13.389-12.831v-.872c0-3.093-2.6-5.315-5.443-5.315-2.843 0-5.443 2.222-5.443 5.315v.872c0 1.058-.958 2.202-2.502 2.202-.69 0-.955-.489-.955-.738V12.401a1 1 0 011-1h7.9c2.844 0 5.443-2.221 5.443-5.315 0-3.093-2.6-5.315-5.443-5.315H19.267c-4.614 0-9.059 1.803-12.27 5.038L2.31 10.528z",
18
- fill: color
19
- })
20
- });
21
- }
22
- export default Pi;
23
- //# sourceMappingURL=Pi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Pi","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Pi.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAmB,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAE9D,SAASC,EAAEA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,EAAE;EAC9D,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAE,EAAG;IAACC,MAAM,EAAEJ,IAAI,GAAG,MAAO;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eACpET,IAAA,CAACH,IAAI;MACHa,CAAC,EAAC,gxBAAgxB;MAClxBF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV;AAEA,eAAeF,EAAE","ignoreList":[]}