@magmamath/students-features 0.6.1-8.rc-3 → 0.6.2

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 (585) hide show
  1. package/README.md +5 -14
  2. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js +2 -6
  3. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js +24 -27
  5. package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
  6. package/dist/commonjs/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +4 -9
  8. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
  9. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +5 -18
  10. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  11. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +3 -10
  12. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  13. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +12 -16
  14. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  15. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +4 -13
  16. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  17. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +8 -14
  18. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  19. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js +4 -14
  20. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  21. package/dist/commonjs/features/chatbot/components/Chatbot.js +2 -5
  22. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  23. package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +1 -2
  24. package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
  25. package/dist/commonjs/features/chatbot/constants.js +1 -36
  26. package/dist/commonjs/features/chatbot/constants.js.map +1 -1
  27. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +0 -8
  28. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  29. package/dist/commonjs/features/chatbot/index.js +0 -7
  30. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  31. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +36 -64
  32. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  33. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +8 -3
  34. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  35. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +0 -9
  36. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  37. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +0 -1
  38. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/translation.js +1 -9
  40. package/dist/commonjs/features/chatbot/model/translation.js.map +1 -1
  41. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  42. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +0 -2
  43. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  44. package/dist/commonjs/features/feedback/model/comments.js +3 -5
  45. package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
  46. package/dist/commonjs/features/feedback/model/model.js +9 -7
  47. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  48. package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +4 -5
  49. package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
  50. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +9 -12
  51. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  52. package/dist/commonjs/features/problemSelector/constants.js +6 -3
  53. package/dist/commonjs/features/problemSelector/constants.js.map +1 -1
  54. package/dist/commonjs/index.js +0 -36
  55. package/dist/commonjs/index.js.map +1 -1
  56. package/dist/commonjs/lib/effector/createControllerEffect.js.map +1 -1
  57. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  58. package/dist/commonjs/shared/icons/LockIcon.js +31 -0
  59. package/dist/commonjs/shared/icons/LockIcon.js.map +1 -0
  60. package/dist/commonjs/shared/translation/constants.js +1 -5
  61. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  62. package/dist/commonjs/shared/translation/localization/en.json +0 -11
  63. package/dist/commonjs/shared/translation/localization/gb.json +0 -11
  64. package/dist/commonjs/shared/translation/localization/sw.json +0 -11
  65. package/dist/commonjs/shared/translation/types.js +0 -2
  66. package/dist/commonjs/shared/translation/types.js.map +1 -1
  67. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js +2 -6
  68. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  69. package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js +27 -29
  70. package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
  71. package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  72. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +4 -9
  73. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
  74. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +5 -18
  75. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  76. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +3 -10
  77. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  78. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +12 -16
  79. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  80. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +4 -13
  81. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  82. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +8 -14
  83. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  84. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js +4 -14
  85. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  86. package/dist/module/features/chatbot/components/Chatbot.js +2 -5
  87. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  88. package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +3 -3
  89. package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
  90. package/dist/module/features/chatbot/constants.js +0 -35
  91. package/dist/module/features/chatbot/constants.js.map +1 -1
  92. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +1 -9
  93. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  94. package/dist/module/features/chatbot/index.js +0 -1
  95. package/dist/module/features/chatbot/index.js.map +1 -1
  96. package/dist/module/features/chatbot/model/ChatBotModel.js +37 -65
  97. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  98. package/dist/module/features/chatbot/model/ChatBotThreadManager.js +8 -3
  99. package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  100. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +0 -9
  101. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  102. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +0 -1
  103. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  104. package/dist/module/features/chatbot/model/translation.js +1 -9
  105. package/dist/module/features/chatbot/model/translation.js.map +1 -1
  106. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  107. package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -3
  108. package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  109. package/dist/module/features/feedback/model/comments.js +3 -5
  110. package/dist/module/features/feedback/model/comments.js.map +1 -1
  111. package/dist/module/features/feedback/model/model.js +9 -7
  112. package/dist/module/features/feedback/model/model.js.map +1 -1
  113. package/dist/module/features/formulaSheet/components/FormulaSheet.js +4 -5
  114. package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
  115. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +10 -13
  116. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  117. package/dist/module/features/problemSelector/constants.js +5 -2
  118. package/dist/module/features/problemSelector/constants.js.map +1 -1
  119. package/dist/module/index.js +0 -3
  120. package/dist/module/index.js.map +1 -1
  121. package/dist/module/lib/effector/createControllerEffect.js.map +1 -1
  122. package/dist/module/shared/icons/LockIcon.js +23 -0
  123. package/dist/module/shared/icons/LockIcon.js.map +1 -0
  124. package/dist/module/shared/translation/constants.js +1 -5
  125. package/dist/module/shared/translation/constants.js.map +1 -1
  126. package/dist/module/shared/translation/localization/en.json +0 -11
  127. package/dist/module/shared/translation/localization/gb.json +0 -11
  128. package/dist/module/shared/translation/localization/sw.json +0 -11
  129. package/dist/module/shared/translation/types.js +0 -2
  130. package/dist/module/shared/translation/types.js.map +1 -1
  131. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts +1 -3
  132. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  133. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +1 -2
  134. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
  135. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +1 -5
  136. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  137. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +1 -6
  138. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
  139. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts +2 -7
  140. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  141. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts +1 -6
  142. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  143. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +1 -5
  144. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  145. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  146. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  147. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  148. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  149. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +1 -3
  150. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  151. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts +3 -4
  152. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
  153. package/dist/typescript/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
  154. package/dist/typescript/commonjs/features/chatbot/constants.d.ts +0 -33
  155. package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
  156. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +0 -4
  157. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  158. package/dist/typescript/commonjs/features/chatbot/index.d.ts +0 -1
  159. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  160. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +2 -7
  161. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  162. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +3 -1
  163. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  164. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +0 -5
  165. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  166. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  167. package/dist/typescript/commonjs/features/chatbot/model/translation.d.ts.map +1 -1
  168. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +2 -5
  169. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  170. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  171. package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
  172. package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  173. package/dist/typescript/commonjs/features/problemSelector/constants.d.ts +5 -2
  174. package/dist/typescript/commonjs/features/problemSelector/constants.d.ts.map +1 -1
  175. package/dist/typescript/commonjs/index.d.ts +0 -3
  176. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  177. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts +1 -1
  178. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts.map +1 -1
  179. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  180. package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts +4 -0
  181. package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts.map +1 -0
  182. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -99
  183. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  184. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -22
  185. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  186. package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -3
  187. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  188. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +1 -5
  189. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -1
  190. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts +1 -3
  191. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  192. package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +1 -2
  193. package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
  194. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +1 -5
  195. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  196. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +1 -6
  197. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
  198. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts +2 -7
  199. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  200. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts +1 -6
  201. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  202. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +1 -5
  203. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  204. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  205. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  206. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  207. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  208. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +1 -3
  209. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  210. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts +3 -4
  211. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
  212. package/dist/typescript/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
  213. package/dist/typescript/module/features/chatbot/constants.d.ts +0 -33
  214. package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
  215. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +0 -4
  216. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  217. package/dist/typescript/module/features/chatbot/index.d.ts +0 -1
  218. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  219. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +2 -7
  220. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  221. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +3 -1
  222. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  223. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +0 -5
  224. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  225. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  226. package/dist/typescript/module/features/chatbot/model/translation.d.ts.map +1 -1
  227. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +2 -5
  228. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  229. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  230. package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
  231. package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  232. package/dist/typescript/module/features/problemSelector/constants.d.ts +5 -2
  233. package/dist/typescript/module/features/problemSelector/constants.d.ts.map +1 -1
  234. package/dist/typescript/module/index.d.ts +0 -3
  235. package/dist/typescript/module/index.d.ts.map +1 -1
  236. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts +1 -1
  237. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts.map +1 -1
  238. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  239. package/dist/typescript/module/shared/icons/LockIcon.d.ts +4 -0
  240. package/dist/typescript/module/shared/icons/LockIcon.d.ts.map +1 -0
  241. package/dist/typescript/module/shared/translation/constants.d.ts +0 -99
  242. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  243. package/dist/typescript/module/shared/translation/model.d.ts +0 -22
  244. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  245. package/dist/typescript/module/shared/translation/types.d.ts +1 -3
  246. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  247. package/dist/typescript/module/shared/translation/validation.types.d.ts +1 -5
  248. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -1
  249. package/package.json +7 -11
  250. package/src/features/chatbot/components/Alternatives/Alternatives.tsx +0 -6
  251. package/src/features/chatbot/components/Alternatives/HelpRequestOption.tsx +29 -28
  252. package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +1 -6
  253. package/src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx +4 -24
  254. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +6 -39
  255. package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +3 -11
  256. package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +7 -28
  257. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +5 -25
  258. package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +13 -24
  259. package/src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx +3 -13
  260. package/src/features/chatbot/components/Chatbot.tsx +2 -6
  261. package/src/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.tsx +10 -7
  262. package/src/features/chatbot/constants.ts +0 -37
  263. package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +1 -11
  264. package/src/features/chatbot/index.ts +0 -1
  265. package/src/features/chatbot/model/ChatBotModel.ts +41 -65
  266. package/src/features/chatbot/model/ChatBotThreadManager.ts +10 -4
  267. package/src/features/chatbot/model/ChatBoxTextManager.ts +0 -11
  268. package/src/features/chatbot/model/DefaultMessageCreator.ts +0 -1
  269. package/src/features/chatbot/model/translation.ts +1 -11
  270. package/src/features/chatbot/types/model.types.ts +2 -5
  271. package/src/features/endOfAssignment/components/Modal/Modal.tsx +0 -3
  272. package/src/features/feedback/model/comments.ts +7 -7
  273. package/src/features/feedback/model/model.ts +6 -6
  274. package/src/features/formulaSheet/components/FormulaSheet.tsx +4 -6
  275. package/src/features/problemSelector/components/ProblemSelectorButton.tsx +10 -17
  276. package/src/features/problemSelector/constants.ts +2 -3
  277. package/src/index.ts +0 -3
  278. package/src/lib/effector/createControllerEffect.ts +41 -41
  279. package/src/lib/helpers/helpers.ts +1 -1
  280. package/src/shared/icons/LockIcon.tsx +16 -0
  281. package/src/shared/translation/constants.ts +0 -4
  282. package/src/shared/translation/localization/en.json +0 -11
  283. package/src/shared/translation/localization/gb.json +0 -11
  284. package/src/shared/translation/localization/sw.json +0 -11
  285. package/src/shared/translation/types.ts +0 -6
  286. package/src/shared/translation/validation.types.ts +1 -9
  287. package/dist/commonjs/features/chatbot/types/style.types.js +0 -12
  288. package/dist/commonjs/features/chatbot/types/style.types.js.map +0 -1
  289. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js +0 -29
  290. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js.map +0 -1
  291. package/dist/commonjs/features/exampleSolution/assets/grid.webp +0 -0
  292. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -104
  293. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +0 -1
  294. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js +0 -44
  295. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js.map +0 -1
  296. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js +0 -61
  297. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js.map +0 -1
  298. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +0 -68
  299. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +0 -1
  300. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +0 -101
  301. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +0 -1
  302. package/dist/commonjs/features/exampleSolution/constants.js +0 -13
  303. package/dist/commonjs/features/exampleSolution/constants.js.map +0 -1
  304. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js +0 -61
  305. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js.map +0 -1
  306. package/dist/commonjs/features/exampleSolution/index.js +0 -39
  307. package/dist/commonjs/features/exampleSolution/index.js.map +0 -1
  308. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js +0 -24
  309. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js.map +0 -1
  310. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +0 -32
  311. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +0 -1
  312. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js +0 -18
  313. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js.map +0 -1
  314. package/dist/commonjs/features/exampleSolution/types.js +0 -6
  315. package/dist/commonjs/features/exampleSolution/types.js.map +0 -1
  316. package/dist/commonjs/features/gifCelebrations/GifCelebrations.js +0 -62
  317. package/dist/commonjs/features/gifCelebrations/GifCelebrations.js.map +0 -1
  318. package/dist/commonjs/features/gifCelebrations/assets/confetti.webp +0 -0
  319. package/dist/commonjs/features/gifCelebrations/assets/gifFallback.gif +0 -0
  320. package/dist/commonjs/features/gifCelebrations/components/Backdrop.js +0 -44
  321. package/dist/commonjs/features/gifCelebrations/components/Backdrop.js.map +0 -1
  322. package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js +0 -46
  323. package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js.map +0 -1
  324. package/dist/commonjs/features/gifCelebrations/components/Gif.js +0 -90
  325. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +0 -1
  326. package/dist/commonjs/features/gifCelebrations/components/Progress.js +0 -96
  327. package/dist/commonjs/features/gifCelebrations/components/Progress.js.map +0 -1
  328. package/dist/commonjs/features/gifCelebrations/constants.js +0 -34
  329. package/dist/commonjs/features/gifCelebrations/constants.js.map +0 -1
  330. package/dist/commonjs/features/gifCelebrations/helpers.js +0 -114
  331. package/dist/commonjs/features/gifCelebrations/helpers.js.map +0 -1
  332. package/dist/commonjs/features/gifCelebrations/index.js +0 -20
  333. package/dist/commonjs/features/gifCelebrations/index.js.map +0 -1
  334. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js +0 -136
  335. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js.map +0 -1
  336. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js +0 -27
  337. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js.map +0 -1
  338. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js +0 -30
  339. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js.map +0 -1
  340. package/dist/commonjs/features/gifCelebrations/types/model.types.js +0 -6
  341. package/dist/commonjs/features/gifCelebrations/types/model.types.js.map +0 -1
  342. package/dist/commonjs/lib/effector/ControlledSample.js +0 -40
  343. package/dist/commonjs/lib/effector/ControlledSample.js.map +0 -1
  344. package/dist/commonjs/react-app-env.d.js +0 -2
  345. package/dist/commonjs/react-app-env.d.js.map +0 -1
  346. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js +0 -681
  347. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js.map +0 -1
  348. package/dist/commonjs/shared/icons/LavaIconInGlasses.js +0 -616
  349. package/dist/commonjs/shared/icons/LavaIconInGlasses.js.map +0 -1
  350. package/dist/commonjs/shared/icons/index.js +0 -204
  351. package/dist/commonjs/shared/icons/index.js.map +0 -1
  352. package/dist/commonjs/shared/translation/localization/ca.json +0 -33
  353. package/dist/commonjs/shared/translation/localization/sct.json +0 -33
  354. package/dist/commonjs/types/common.types.js +0 -2
  355. package/dist/commonjs/types/common.types.js.map +0 -1
  356. package/dist/module/features/chatbot/types/style.types.js +0 -8
  357. package/dist/module/features/chatbot/types/style.types.js.map +0 -1
  358. package/dist/module/features/exampleSolution/ExampleSolutionModal.js +0 -23
  359. package/dist/module/features/exampleSolution/ExampleSolutionModal.js.map +0 -1
  360. package/dist/module/features/exampleSolution/assets/grid.webp +0 -0
  361. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -98
  362. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +0 -1
  363. package/dist/module/features/exampleSolution/components/LavaIcon.js +0 -36
  364. package/dist/module/features/exampleSolution/components/LavaIcon.js.map +0 -1
  365. package/dist/module/features/exampleSolution/components/MessageBlock.js +0 -53
  366. package/dist/module/features/exampleSolution/components/MessageBlock.js.map +0 -1
  367. package/dist/module/features/exampleSolution/components/QuestionSection.js +0 -60
  368. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +0 -1
  369. package/dist/module/features/exampleSolution/components/SolutionSection.js +0 -93
  370. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +0 -1
  371. package/dist/module/features/exampleSolution/constants.js +0 -9
  372. package/dist/module/features/exampleSolution/constants.js.map +0 -1
  373. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js +0 -56
  374. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js.map +0 -1
  375. package/dist/module/features/exampleSolution/index.js +0 -6
  376. package/dist/module/features/exampleSolution/index.js.map +0 -1
  377. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js +0 -19
  378. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js.map +0 -1
  379. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +0 -27
  380. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +0 -1
  381. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js +0 -13
  382. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js.map +0 -1
  383. package/dist/module/features/exampleSolution/types.js +0 -4
  384. package/dist/module/features/exampleSolution/types.js.map +0 -1
  385. package/dist/module/features/gifCelebrations/GifCelebrations.js +0 -55
  386. package/dist/module/features/gifCelebrations/GifCelebrations.js.map +0 -1
  387. package/dist/module/features/gifCelebrations/assets/confetti.webp +0 -0
  388. package/dist/module/features/gifCelebrations/assets/gifFallback.gif +0 -0
  389. package/dist/module/features/gifCelebrations/components/Backdrop.js +0 -36
  390. package/dist/module/features/gifCelebrations/components/Backdrop.js.map +0 -1
  391. package/dist/module/features/gifCelebrations/components/ContentContainer.js +0 -38
  392. package/dist/module/features/gifCelebrations/components/ContentContainer.js.map +0 -1
  393. package/dist/module/features/gifCelebrations/components/Gif.js +0 -82
  394. package/dist/module/features/gifCelebrations/components/Gif.js.map +0 -1
  395. package/dist/module/features/gifCelebrations/components/Progress.js +0 -88
  396. package/dist/module/features/gifCelebrations/components/Progress.js.map +0 -1
  397. package/dist/module/features/gifCelebrations/constants.js +0 -30
  398. package/dist/module/features/gifCelebrations/constants.js.map +0 -1
  399. package/dist/module/features/gifCelebrations/helpers.js +0 -103
  400. package/dist/module/features/gifCelebrations/helpers.js.map +0 -1
  401. package/dist/module/features/gifCelebrations/index.js +0 -5
  402. package/dist/module/features/gifCelebrations/index.js.map +0 -1
  403. package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js +0 -131
  404. package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js.map +0 -1
  405. package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js +0 -22
  406. package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js.map +0 -1
  407. package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js +0 -25
  408. package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js.map +0 -1
  409. package/dist/module/features/gifCelebrations/types/model.types.js +0 -4
  410. package/dist/module/features/gifCelebrations/types/model.types.js.map +0 -1
  411. package/dist/module/lib/effector/ControlledSample.js +0 -35
  412. package/dist/module/lib/effector/ControlledSample.js.map +0 -1
  413. package/dist/module/react-app-env.d.js +0 -2
  414. package/dist/module/react-app-env.d.js.map +0 -1
  415. package/dist/module/shared/icons/ExcitedLavaIcon.js +0 -673
  416. package/dist/module/shared/icons/ExcitedLavaIcon.js.map +0 -1
  417. package/dist/module/shared/icons/LavaIconInGlasses.js +0 -608
  418. package/dist/module/shared/icons/LavaIconInGlasses.js.map +0 -1
  419. package/dist/module/shared/icons/index.js +0 -21
  420. package/dist/module/shared/icons/index.js.map +0 -1
  421. package/dist/module/shared/translation/localization/ca.json +0 -33
  422. package/dist/module/shared/translation/localization/sct.json +0 -33
  423. package/dist/module/types/common.types.js +0 -2
  424. package/dist/module/types/common.types.js.map +0 -1
  425. package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts +0 -5
  426. package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts.map +0 -1
  427. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts +0 -11
  428. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts.map +0 -1
  429. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +0 -8
  430. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +0 -1
  431. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts +0 -10
  432. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts.map +0 -1
  433. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts +0 -10
  434. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts.map +0 -1
  435. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts +0 -10
  436. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +0 -1
  437. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts +0 -9
  438. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +0 -1
  439. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts +0 -6
  440. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts.map +0 -1
  441. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts +0 -9
  442. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts.map +0 -1
  443. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts +0 -4
  444. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts.map +0 -1
  445. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts +0 -10
  446. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts.map +0 -1
  447. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts +0 -13
  448. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +0 -1
  449. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts +0 -11
  450. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +0 -1
  451. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts +0 -27
  452. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts.map +0 -1
  453. package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts +0 -10
  454. package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts.map +0 -1
  455. package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts +0 -10
  456. package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts.map +0 -1
  457. package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts +0 -10
  458. package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts.map +0 -1
  459. package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts +0 -10
  460. package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts.map +0 -1
  461. package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts +0 -10
  462. package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts.map +0 -1
  463. package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts +0 -26
  464. package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts.map +0 -1
  465. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +0 -29
  466. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +0 -1
  467. package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts +0 -3
  468. package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts.map +0 -1
  469. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts +0 -25
  470. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +0 -1
  471. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts +0 -7
  472. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +0 -1
  473. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts +0 -18
  474. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +0 -1
  475. package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts +0 -45
  476. package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts.map +0 -1
  477. package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts +0 -17
  478. package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts.map +0 -1
  479. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts +0 -4
  480. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts.map +0 -1
  481. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts +0 -4
  482. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts.map +0 -1
  483. package/dist/typescript/commonjs/shared/icons/index.d.ts +0 -19
  484. package/dist/typescript/commonjs/shared/icons/index.d.ts.map +0 -1
  485. package/dist/typescript/commonjs/types/common.types.d.ts +0 -5
  486. package/dist/typescript/commonjs/types/common.types.d.ts.map +0 -1
  487. package/dist/typescript/module/features/chatbot/types/style.types.d.ts +0 -5
  488. package/dist/typescript/module/features/chatbot/types/style.types.d.ts.map +0 -1
  489. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts +0 -11
  490. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts.map +0 -1
  491. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +0 -8
  492. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +0 -1
  493. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts +0 -10
  494. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts.map +0 -1
  495. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts +0 -10
  496. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts.map +0 -1
  497. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts +0 -10
  498. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +0 -1
  499. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts +0 -9
  500. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +0 -1
  501. package/dist/typescript/module/features/exampleSolution/constants.d.ts +0 -6
  502. package/dist/typescript/module/features/exampleSolution/constants.d.ts.map +0 -1
  503. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts +0 -9
  504. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts.map +0 -1
  505. package/dist/typescript/module/features/exampleSolution/index.d.ts +0 -4
  506. package/dist/typescript/module/features/exampleSolution/index.d.ts.map +0 -1
  507. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts +0 -10
  508. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts.map +0 -1
  509. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts +0 -13
  510. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +0 -1
  511. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts +0 -11
  512. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +0 -1
  513. package/dist/typescript/module/features/exampleSolution/types.d.ts +0 -27
  514. package/dist/typescript/module/features/exampleSolution/types.d.ts.map +0 -1
  515. package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts +0 -10
  516. package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts.map +0 -1
  517. package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts +0 -10
  518. package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts.map +0 -1
  519. package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts +0 -10
  520. package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts.map +0 -1
  521. package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts +0 -10
  522. package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts.map +0 -1
  523. package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts +0 -10
  524. package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts.map +0 -1
  525. package/dist/typescript/module/features/gifCelebrations/constants.d.ts +0 -26
  526. package/dist/typescript/module/features/gifCelebrations/constants.d.ts.map +0 -1
  527. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +0 -29
  528. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +0 -1
  529. package/dist/typescript/module/features/gifCelebrations/index.d.ts +0 -3
  530. package/dist/typescript/module/features/gifCelebrations/index.d.ts.map +0 -1
  531. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts +0 -25
  532. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +0 -1
  533. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts +0 -7
  534. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +0 -1
  535. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts +0 -18
  536. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +0 -1
  537. package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts +0 -45
  538. package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts.map +0 -1
  539. package/dist/typescript/module/lib/effector/ControlledSample.d.ts +0 -17
  540. package/dist/typescript/module/lib/effector/ControlledSample.d.ts.map +0 -1
  541. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts +0 -4
  542. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts.map +0 -1
  543. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts +0 -4
  544. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts.map +0 -1
  545. package/dist/typescript/module/shared/icons/index.d.ts +0 -19
  546. package/dist/typescript/module/shared/icons/index.d.ts.map +0 -1
  547. package/dist/typescript/module/types/common.types.d.ts +0 -5
  548. package/dist/typescript/module/types/common.types.d.ts.map +0 -1
  549. package/src/features/chatbot/types/style.types.ts +0 -4
  550. package/src/features/exampleSolution/ExampleSolutionModal.tsx +0 -23
  551. package/src/features/exampleSolution/assets/grid.webp +0 -0
  552. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +0 -83
  553. package/src/features/exampleSolution/components/LavaIcon.tsx +0 -35
  554. package/src/features/exampleSolution/components/MessageBlock.tsx +0 -67
  555. package/src/features/exampleSolution/components/QuestionSection.tsx +0 -60
  556. package/src/features/exampleSolution/components/SolutionSection.tsx +0 -112
  557. package/src/features/exampleSolution/constants.ts +0 -5
  558. package/src/features/exampleSolution/hooks/useExampleSolution.ts +0 -66
  559. package/src/features/exampleSolution/index.ts +0 -3
  560. package/src/features/exampleSolution/model/ExampleSolution.model.ts +0 -15
  561. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +0 -33
  562. package/src/features/exampleSolution/model/ExampleSolutionCache.ts +0 -20
  563. package/src/features/exampleSolution/types.ts +0 -27
  564. package/src/features/gifCelebrations/GifCelebrations.tsx +0 -75
  565. package/src/features/gifCelebrations/assets/confetti.webp +0 -0
  566. package/src/features/gifCelebrations/assets/gifFallback.gif +0 -0
  567. package/src/features/gifCelebrations/components/Backdrop.tsx +0 -41
  568. package/src/features/gifCelebrations/components/ContentContainer.tsx +0 -44
  569. package/src/features/gifCelebrations/components/Gif.tsx +0 -88
  570. package/src/features/gifCelebrations/components/Progress.tsx +0 -106
  571. package/src/features/gifCelebrations/constants.ts +0 -32
  572. package/src/features/gifCelebrations/helpers.ts +0 -144
  573. package/src/features/gifCelebrations/index.ts +0 -2
  574. package/src/features/gifCelebrations/model/GifCelebrations.model.ts +0 -167
  575. package/src/features/gifCelebrations/model/GifCelebrationsApi.ts +0 -26
  576. package/src/features/gifCelebrations/model/GifCelebrationsCache.ts +0 -41
  577. package/src/features/gifCelebrations/types/model.types.ts +0 -53
  578. package/src/lib/effector/ControlledSample.ts +0 -40
  579. package/src/react-app-env.d.ts +0 -6
  580. package/src/shared/icons/ExcitedLavaIcon.tsx +0 -541
  581. package/src/shared/icons/LavaIconInGlasses.tsx +0 -489
  582. package/src/shared/icons/index.ts +0 -18
  583. package/src/shared/translation/localization/ca.json +0 -33
  584. package/src/shared/translation/localization/sct.json +0 -33
  585. package/src/types/common.types.ts +0 -4
@@ -1,11 +1,6 @@
1
- import { DefaultMessagesCreator } from './DefaultMessageCreator';
2
- import { TranslationKeys } from '../../../shared/translation/types';
3
1
  import { ChatbotMessages } from '../types/model.types';
4
2
  export declare class ChatBotTextManager {
5
3
  private readonly messagesCreator;
6
4
  readonly messages: ChatbotMessages;
7
- private readonly defaultMessages;
8
- update(cb: (manager: DefaultMessagesCreator<TranslationKeys>) => Partial<ChatbotMessages>): void;
9
- restore(): void;
10
5
  }
11
6
  //# sourceMappingURL=ChatBoxTextManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBoxTextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBoxTextManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAEe;IAE/C,SAAgB,QAAQ,EAAE,eAAe,CAOxC;IACD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuB;IAEhD,MAAM,CACX,EAAE,EAAE,CAAC,OAAO,EAAE,sBAAsB,CAAC,eAAe,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC;IAK7E,OAAO;CAGf"}
1
+ {"version":3,"file":"ChatBoxTextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBoxTextManager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAEe;IAE/C,SAAgB,QAAQ,EAAE,eAAe,CAOxC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultMessageCreator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/DefaultMessageCreator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI;IAClD,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAA;CAC/B,CAAA;AAED,qBAAa,sBAAsB,CAAC,CAAC,SAAS,MAAM;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAA;gBAEX,EAAE,UAAU,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAIlD,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAa,EAAE,OAAY,EAAE,GAAE,sBAA2B;IAWlF,YAAY,CAAC,GAAG,EAAE,CAAC;IAUnB,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;CAYnD"}
1
+ {"version":3,"file":"DefaultMessageCreator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/DefaultMessageCreator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI;IAClD,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAA;CAC/B,CAAA;AAED,qBAAa,sBAAsB,CAAC,CAAC,SAAS,MAAM;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAA;gBAEX,EAAE,UAAU,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAIlD,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAa,EAAE,OAAY,EAAE,GAAE,sBAA2B;IAWlF,YAAY,CAAC,GAAG,EAAE,CAAC;IASnB,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;CAYnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,aAAa,EAAmB,KAAK,EAAE,MAAM,UAAU,CAAA;AAOnG,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAOzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,UAAU,CAAA;IACf,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACnB,eAAe,EAAE,eAAe,CAAA;IAChC,QAAQ,EAAE,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACtC,iBAAiB,EAAE;QACjB,GAAG,EAAE,aAAa,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;QAClD,MAAM,EAAE,KAAK,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;KAC9C,CAAA;IACD,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAA;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAA;IACzB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAA;IAChC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAA;IAElC,QAAQ,CAAC,eAAe,yBAAyB;IACjD,QAAQ,CAAC,aAAa,4CAAuC;IAE7D,SAAgB,sBAAsB,gEAAA;IACtC,SAAgB,kBAAkB,iFAAA;gBAEtB,EACV,GAAG,EACH,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,KAAK,GACN,EAAE,uBAAuB;YA0CZ,gBAAgB;IAmB9B,OAAO,CAAC,4BAA4B;IAIpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAyDhC;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CA4BnC;IAEM,KAAK;CAGb"}
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,aAAa,EAAmB,KAAK,EAAE,MAAM,UAAU,CAAA;AAOnG,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAOzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,UAAU,CAAA;IACf,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACnB,eAAe,EAAE,eAAe,CAAA;IAChC,QAAQ,EAAE,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACtC,iBAAiB,EAAE;QACjB,GAAG,EAAE,aAAa,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;QAClD,MAAM,EAAE,KAAK,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;KAC9C,CAAA;IACD,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAA;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAA;IACzB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAA;IAChC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAA;IAElC,QAAQ,CAAC,eAAe,yBAAyB;IACjD,QAAQ,CAAC,aAAa,4CAAuC;IAE7D,SAAgB,sBAAsB,gEAAA;IACtC,SAAgB,kBAAkB,iFAAA;gBAEtB,EACV,GAAG,EACH,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,KAAK,GACN,EAAE,uBAAuB;YAyCZ,gBAAgB;IAmB9B,OAAO,CAAC,4BAA4B;IAIpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAgDhC;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CA4BnC;IAEM,KAAK;CAGb"}
@@ -41,11 +41,8 @@ export type StartConversationProps = {
41
41
  initOnly?: boolean;
42
42
  };
43
43
  export type StartConversationFxData = {
44
- currentChatData: {
45
- key: string;
46
- messages: ConversationMessage[];
47
- };
48
- alternatives?: GetAlternativesResponse | null;
44
+ key: string;
45
+ messages: ConversationMessage[];
49
46
  } & StartConversationProps;
50
47
  export declare enum MessageVariant {
51
48
  SENT = "sent",
@@ -1 +1 @@
1
- {"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAIL,SAAS,EAET,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;AAwBrB,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,SAAS,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAC9B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAChC,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,CAAA;QACpD,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,CAAA;QACrD,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAC7B,WAAW,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;KACnC,CAAA;CACF,CAAA;AAED,eAAO,MAAM,KAAK,2EAOf,UAAU,6BAiCZ,CAAA"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAGL,SAAS,EAET,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;AAwBrB,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,SAAS,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAC9B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAChC,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,CAAA;QACpD,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,CAAA;QACrD,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAC7B,WAAW,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;KACnC,CAAA;CACF,CAAA;AAED,eAAO,MAAM,KAAK,2EAOf,UAAU,6BA+BZ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormulaSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/components/FormulaSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAa,MAAM,OAAO,CAAA;AAE/D,OAAO,EAEL,WAAW,EACX,UAAU,EAIV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGlD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAA;IACzC,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,4FAoDxB,CAAA"}
1
+ {"version":3,"file":"FormulaSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/components/FormulaSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAa,MAAM,OAAO,CAAA;AAE/D,OAAO,EAEL,WAAW,EACX,UAAU,EAIV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGlD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAA;IACzC,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,4FAkDxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProblemSelectorButton.d.ts","sourceRoot":"","sources":["../../../../../../src/features/problemSelector/components/ProblemSelectorButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgBzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAErD,eAAO,MAAM,qBAAqB,kDAM/B,0BAA0B,sBAgD5B,CAAA"}
1
+ {"version":3,"file":"ProblemSelectorButton.d.ts","sourceRoot":"","sources":["../../../../../../src/features/problemSelector/components/ProblemSelectorButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAErD,eAAO,MAAM,qBAAqB,kDAM/B,0BAA0B,sBA+C5B,CAAA"}
@@ -1,11 +1,14 @@
1
1
  import { ButtonColorPreset } from '@magmamath/react-native-ui';
2
2
  import { ProblemSelectorButtonState } from './types';
3
- export declare const BUTTON_SIZE = 49;
4
- export declare const BUTTON_BORDER_WIDTH = 3;
3
+ export declare const BUTTON_SIZE = 49.5;
5
4
  export declare const BADGE_COORDINATES: {
6
5
  top: number;
7
6
  right: number;
8
7
  };
8
+ export declare const ICON_SIZE: {
9
+ width: number;
10
+ height: number;
11
+ };
9
12
  export declare const PROBLEM_SELECTOR_CONTENT_WIDTH = 265;
10
13
  export declare const PROBLEM_SELECTOR_BUTTON_STATE: {
11
14
  readonly SELECTED: "selected";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/problemSelector/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAwB,MAAM,4BAA4B,CAAA;AAEpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpD,eAAO,MAAM,WAAW,KAAK,CAAA;AAC7B,eAAO,MAAM,mBAAmB,IAAI,CAAA;AACpC,eAAO,MAAM,iBAAiB;;;CAAuB,CAAA;AACrD,eAAO,MAAM,8BAA8B,MAAM,CAAA;AAEjD,eAAO,MAAM,6BAA6B;;;;;;;;CAQhC,CAAA;AASV,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,0BAA0B,EAAE,iBAAiB,CAgFlF,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/problemSelector/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAwB,MAAM,4BAA4B,CAAA;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpD,eAAO,MAAM,WAAW,OAAO,CAAA;AAC/B,eAAO,MAAM,iBAAiB;;;CAAuB,CAAA;AACrD,eAAO,MAAM,SAAS;;;CAA4B,CAAA;AAClD,eAAO,MAAM,8BAA8B,MAAM,CAAA;AAEjD,eAAO,MAAM,6BAA6B;;;;;;;;CAQhC,CAAA;AASV,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,0BAA0B,EAAE,iBAAiB,CAgFlF,CAAA"}
@@ -6,7 +6,4 @@ export * from './features/celebrations';
6
6
  export * from './features/endOfAssignment';
7
7
  export * from './features/formulaSheet';
8
8
  export * from './features/problemSelector';
9
- export * from './features/gifCelebrations';
10
- export * from './features/exampleSolution';
11
- export * from './shared/icons';
12
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA"}
@@ -11,6 +11,6 @@ type RequestOptionalConfig = {
11
11
  signal?: AbortSignal;
12
12
  };
13
13
  export declare function controlledRequest<R = void, P = void>(request: (props: P, config?: RequestOptionalConfig) => Promise<R>): ({ data, controller, abortAfter, }: ControlledRequestProps<P>) => Promise<R>;
14
- export declare const createControllerEffect: <T, P = void>(fn: (props: P, config?: RequestOptionalConfig) => Promise<T>) => ControlledEffect<P, T>;
14
+ export declare const createControllerEffect: <T, P>(fn: (props: P, config?: RequestOptionalConfig) => Promise<T>) => ControlledEffect<P, T>;
15
15
  export {};
16
16
  //# sourceMappingURL=createControllerEffect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createControllerEffect.d.ts","sourceRoot":"","sources":["../../../../../src/lib/effector/createControllerEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAMpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAClD,UAAU,EAAE,eAAe,CAAA;CAC5B,CAAA;AAED,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC/B,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA;AAErD,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,IAAI,EAClD,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,uCAM9D,sBAAsB,CAAC,CAAC,CAAC,gBAwB7B;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,EAAE,CAAC,aACrC,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,2BAa7D,CAAA"}
1
+ {"version":3,"file":"createControllerEffect.d.ts","sourceRoot":"","sources":["../../../../../src/lib/effector/createControllerEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAMpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAChD,UAAU,EAAE,eAAe,CAAA;CAC9B,CAAA;AAED,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC7B,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA;AAErD,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,IAAI,EAChD,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,uCAM9D,sBAAsB,CAAC,CAAC,CAAC,gBAwB/B;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,EAAE,CAAC,MACnC,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,2BAa/D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAuB7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAC;AAE7B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAuB7C,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './icon.types';
3
+ export declare const LockIcon: ({ width, height, color }: IconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=LockIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LockIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/LockIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,eAAO,MAAM,QAAQ,6BAA2D,SAAS,sBASxF,CAAA"}
@@ -20,17 +20,6 @@ export declare const LOCALIZATION_CONFIGS: {
20
20
  howCanIHelp: string;
21
21
  showError: string;
22
22
  };
23
- gifCelebrations: {
24
- greatStart: string;
25
- onTheWay: string;
26
- almostThere: string;
27
- };
28
- exampleSolution: {
29
- exampleSolution: string;
30
- letMeThink: string;
31
- aha: string;
32
- errorMessage: string;
33
- };
34
23
  };
35
24
  "en-GB": {
36
25
  "teacherFeedback.noComments": string;
@@ -53,17 +42,6 @@ export declare const LOCALIZATION_CONFIGS: {
53
42
  howCanIHelp: string;
54
43
  showError: string;
55
44
  };
56
- gifCelebrations: {
57
- greatStart: string;
58
- onTheWay: string;
59
- almostThere: string;
60
- };
61
- exampleSolution: {
62
- exampleSolution: string;
63
- letMeThink: string;
64
- aha: string;
65
- errorMessage: string;
66
- };
67
45
  };
68
46
  "sv-SE": {
69
47
  "teacherFeedback.noComments": string;
@@ -86,83 +64,6 @@ export declare const LOCALIZATION_CONFIGS: {
86
64
  howCanIHelp: string;
87
65
  showError: string;
88
66
  };
89
- gifCelebrations: {
90
- greatStart: string;
91
- onTheWay: string;
92
- almostThere: string;
93
- };
94
- exampleSolution: {
95
- exampleSolution: string;
96
- letMeThink: string;
97
- aha: string;
98
- errorMessage: string;
99
- };
100
- };
101
- "en-CA": {
102
- "teacherFeedback.noComments": string;
103
- "time.justNow": string;
104
- "time.minuteAgo": string;
105
- "time.minutesAgo": string;
106
- "time.hourAgo": string;
107
- "time.hoursAgo": string;
108
- "time.dayAgo": string;
109
- "time.daysAgo": string;
110
- "time.monthAgo": string;
111
- "time.monthsAgo": string;
112
- "time.yearAgo": string;
113
- "time.yearsAgo": string;
114
- chat: {
115
- anotherHint: string;
116
- giveHint: string;
117
- answerAgain: string;
118
- errorMessage: string;
119
- howCanIHelp: string;
120
- showError: string;
121
- };
122
- gifCelebrations: {
123
- greatStart: string;
124
- onTheWay: string;
125
- almostThere: string;
126
- };
127
- exampleSolution: {
128
- exampleSolution: string;
129
- letMeThink: string;
130
- aha: string;
131
- errorMessage: string;
132
- };
133
- };
134
- "en-SCT": {
135
- "teacherFeedback.noComments": string;
136
- "time.justNow": string;
137
- "time.minuteAgo": string;
138
- "time.minutesAgo": string;
139
- "time.hourAgo": string;
140
- "time.hoursAgo": string;
141
- "time.dayAgo": string;
142
- "time.daysAgo": string;
143
- "time.monthAgo": string;
144
- "time.monthsAgo": string;
145
- "time.yearAgo": string;
146
- "time.yearsAgo": string;
147
- chat: {
148
- anotherHint: string;
149
- giveHint: string;
150
- answerAgain: string;
151
- errorMessage: string;
152
- howCanIHelp: string;
153
- showError: string;
154
- };
155
- gifCelebrations: {
156
- greatStart: string;
157
- onTheWay: string;
158
- almostThere: string;
159
- };
160
- exampleSolution: {
161
- exampleSolution: string;
162
- letMeThink: string;
163
- aha: string;
164
- errorMessage: string;
165
- };
166
67
  };
167
68
  };
168
69
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA"}
@@ -21,17 +21,6 @@ export declare const setLocalization: import("effector").EventCallable<{
21
21
  howCanIHelp: string;
22
22
  showError: string;
23
23
  };
24
- gifCelebrations: {
25
- greatStart: string;
26
- onTheWay: string;
27
- almostThere: string;
28
- };
29
- exampleSolution: {
30
- exampleSolution: string;
31
- letMeThink: string;
32
- aha: string;
33
- errorMessage: string;
34
- };
35
24
  } | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
36
25
  export declare const $localization: import("effector").StoreWritable<{
37
26
  "teacherFeedback.noComments": string;
@@ -54,16 +43,5 @@ export declare const $localization: import("effector").StoreWritable<{
54
43
  howCanIHelp: string;
55
44
  showError: string;
56
45
  };
57
- gifCelebrations: {
58
- greatStart: string;
59
- onTheWay: string;
60
- almostThere: string;
61
- };
62
- exampleSolution: {
63
- exampleSolution: string;
64
- letMeThink: string;
65
- aha: string;
66
- errorMessage: string;
67
- };
68
46
  }>;
69
47
  //# sourceMappingURL=model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
@@ -6,8 +6,6 @@ export type GetText = (key: TranslationKeys, args?: Record<string, string> | nul
6
6
  export declare enum Locale {
7
7
  EN = "en-SE",
8
8
  SW = "sv-SE",
9
- GB = "en-GB",
10
- CA = "en-CA",
11
- SCT = "en-SCT"
9
+ GB = "en-GB"
12
10
  }
13
11
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAGnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;CACb"}
@@ -1,8 +1,6 @@
1
1
  import enTranslations from './localization/en.json';
2
2
  import swTranslations from './localization/sw.json';
3
3
  import gbTranslations from './localization/gb.json';
4
- import caTranslations from './localization/ca.json';
5
- import sctTranslations from './localization/sct.json';
6
4
  type Extends<T, U> = T extends U ? true : false;
7
5
  type ExtendsAll<Candidate, Types extends unknown[]> = Types extends [infer Head, ...infer Tail] ? Extends<Candidate, Head> extends true ? ExtendsAll<Candidate, Tail> : false : true;
8
6
  type FindDominantType<Types extends unknown[]> = Types extends [
@@ -12,9 +10,7 @@ type FindDominantType<Types extends unknown[]> = Types extends [
12
10
  type DominantTranslation = FindDominantType<[
13
11
  typeof enTranslations,
14
12
  typeof swTranslations,
15
- typeof gbTranslations,
16
- typeof caTranslations,
17
- typeof sctTranslations
13
+ typeof gbTranslations
18
14
  ]>;
19
15
  export type ISValidTranslation<T extends DominantTranslation> = T;
20
16
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,eAAe,MAAM,yBAAyB,CAAA;AAErD,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE/C,KAAK,UAAU,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAC3F,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,GACnC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,CAAA;AAER,KAAK,gBAAgB,CAAC,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI,SAAS,OAAO,EAAE;CAChC,GACG,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,GAClC,KAAK,GACL,gBAAgB,CAAC,IAAI,CAAC,GACxB,KAAK,CAAA;AAET,KAAK,mBAAmB,GAAG,gBAAgB,CACzC;IACE,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,eAAe;CACvB,CACF,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAEnD,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE/C,KAAK,UAAU,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAC3F,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,GACnC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,CAAA;AAER,KAAK,gBAAgB,CAAC,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI,SAAS,OAAO,EAAE;CAChC,GACG,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,GAClC,KAAK,GACL,gBAAgB,CAAC,IAAI,CAAC,GACxB,KAAK,CAAA;AAET,KAAK,mBAAmB,GAAG,gBAAgB,CACzC;IAAC,OAAO,cAAc;IAAE,OAAO,cAAc;IAAE,OAAO,cAAc;CAAC,CACtE,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,IAAI,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmamath/students-features",
3
- "version": "0.6.18.rc-3",
3
+ "version": "0.6.2",
4
4
  "description": "Magmamath features library",
5
5
  "source": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -17,21 +17,19 @@
17
17
  "prepare": "bob build",
18
18
  "release": "release-it"
19
19
  },
20
+ "dependencies": {
21
+ "effector": "^23.2.3",
22
+ "effector-react": "^23.2.1"
23
+ },
20
24
  "peerDependencies": {
21
25
  "@magmamath/react-native-ui": "*",
22
- "effector": "^23.2.3",
23
- "effector-react": "^23.2.1",
24
26
  "react": "*",
25
27
  "react-native": "*",
26
28
  "react-native-reanimated": ">=0.3.16",
27
- "react-native-svg": "^15.10.0",
28
- "react-native-gesture-handler": "*",
29
- "react-native-modalfy": "*"
29
+ "react-native-svg": "^15.10.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@magmamath/react-native-ui": "0.4.44",
33
- "effector": "^23.2.3",
34
- "effector-react": "^23.2.1",
32
+ "@magmamath/react-native-ui": "0.4.17",
35
33
  "@react-native/eslint-config": "^0.73.1",
36
34
  "@release-it/conventional-changelog": "^9.0.2",
37
35
  "@types/jest": "^29.5.5",
@@ -47,8 +45,6 @@
47
45
  "react-native-builder-bob": "^0.33.3",
48
46
  "react-native-reanimated": "^3.17.2",
49
47
  "react-native-svg": "^15.10.0",
50
- "react-native-gesture-handler": "^2.28.0",
51
- "react-native-modalfy": "^3.7.0",
52
48
  "release-it": "^17.10.0",
53
49
  "typescript": "^5.2.2"
54
50
  },
@@ -1,24 +1,19 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, View } from 'react-native'
3
3
  import { useStoreMap, useUnit } from 'effector-react'
4
-
5
4
  import { HelpRequestOption } from './HelpRequestOption'
6
5
  import { useChatModel } from '../../context/ChatBotModelContext'
7
- import { ColorScheme } from '../../types/style.types'
8
- import { CONTROLS_COLORS_MAP } from '../../constants'
9
6
 
10
7
  type AlternativesProps = {
11
8
  onPressAlternative: (message: string, translatedMessage?: string) => void
12
9
  hasMessages: boolean
13
10
  isHintFeedback: boolean
14
- colorScheme?: ColorScheme
15
11
  }
16
12
 
17
13
  export const Alternatives = ({
18
14
  onPressAlternative,
19
15
  hasMessages,
20
16
  isHintFeedback,
21
- colorScheme = ColorScheme.Blue,
22
17
  }: AlternativesProps) => {
23
18
  const model = useChatModel()
24
19
  const isTranslated = useUnit(model.translation.$isTranslated)
@@ -43,7 +38,6 @@ export const Alternatives = ({
43
38
  onPress={() => onPressAlternative(text, translatedText)}
44
39
  message={isTranslated ? (translatedText as string) : text}
45
40
  disabled={isTranslationPending}
46
- hoverColor={CONTROLS_COLORS_MAP[colorScheme].hover}
47
41
  />
48
42
  ))}
49
43
  </View>
@@ -1,40 +1,44 @@
1
- import React, { useEffect, useRef, useState } from 'react'
2
- import { Animated, Pressable, StyleSheet } from 'react-native'
3
- import { COLORS, FONT_FAMILY, SPACING } from '@magmamath/react-native-ui'
1
+ import React from 'react'
2
+ import { useEffect, useRef, useState } from 'react'
3
+ import { Animated, Platform, Pressable, StyleSheet } from 'react-native'
4
4
  import { ArrowRightIcon } from '../../../../shared/icons/ArrowRightIcon'
5
5
 
6
+ const transitionColor = (isHovered: boolean, value: Animated.Value) =>
7
+ Animated.timing(value, {
8
+ toValue: isHovered ? 1 : 0,
9
+ duration: 200,
10
+ useNativeDriver: Platform.OS !== 'web',
11
+ }).start()
12
+
6
13
  type HelpRequestOptionProps = {
7
14
  onPress: () => void
8
15
  message: string
9
16
  disabled: boolean
10
- hoverColor?: string
11
17
  }
12
18
 
13
19
  export const HelpRequestOption = ({
14
20
  onPress,
15
21
  message,
16
22
  disabled = false,
17
- hoverColor = COLORS.PRIMARY_BLUE,
18
23
  }: HelpRequestOptionProps) => {
19
24
  const [isHovered, setIsHovered] = useState(false)
20
- const hoverAnim = useRef(new Animated.Value(0)).current
21
25
 
22
- const backgroundColor = hoverAnim.interpolate({
26
+ const backgroundColor = useRef(new Animated.Value(0)).current
27
+ const backgroundInterpolation = backgroundColor.interpolate({
23
28
  inputRange: [0, 1],
24
- outputRange: [COLORS.NEUTRAL_1, hoverColor],
29
+ outputRange: ['#FFFFFF', '#55ABE0'],
25
30
  })
26
- const textColor = hoverAnim.interpolate({
31
+
32
+ const textColor = useRef(new Animated.Value(0)).current
33
+ const textInterpolation = textColor.interpolate({
27
34
  inputRange: [0, 1],
28
- outputRange: [COLORS.NEUTRAL_10, COLORS.NEUTRAL_1],
35
+ outputRange: ['#33334D', '#FFFFFF'],
29
36
  })
30
37
 
31
38
  useEffect(() => {
32
- Animated.timing(hoverAnim, {
33
- toValue: isHovered ? 1 : 0,
34
- duration: 200,
35
- useNativeDriver: false,
36
- }).start()
37
- }, [isHovered, hoverAnim])
39
+ transitionColor(isHovered, backgroundColor)
40
+ transitionColor(isHovered, textColor)
41
+ }, [isHovered])
38
42
 
39
43
  return (
40
44
  <Pressable
@@ -43,16 +47,12 @@ export const HelpRequestOption = ({
43
47
  onPress={onPress}
44
48
  style={styles.button}
45
49
  disabled={disabled}
46
- accessibilityState={{ disabled }}
47
- accessibilityRole="button"
48
50
  >
49
- <Animated.View
50
- style={[styles.textWrapper, { backgroundColor, borderColor: backgroundColor }]}
51
- >
52
- <Animated.Text numberOfLines={1} style={[styles.text, { color: textColor }]}>
51
+ <Animated.View style={[styles.textWrapper, { backgroundColor: backgroundInterpolation }]}>
52
+ <Animated.Text numberOfLines={1} style={[styles.text, { color: textInterpolation }]}>
53
53
  {message}
54
54
  </Animated.Text>
55
- <ArrowRightIcon color={isHovered ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_10} />
55
+ <ArrowRightIcon color={isHovered ? '#FFFFFF' : '#33334D'} />
56
56
  </Animated.View>
57
57
  </Pressable>
58
58
  )
@@ -68,8 +68,8 @@ const styles = StyleSheet.create({
68
68
  text: {
69
69
  fontSize: 20,
70
70
  fontWeight: 400,
71
- fontFamily: FONT_FAMILY.buenosAires,
72
- color: COLORS.NEUTRAL_10,
71
+ fontFamily: 'Buenos Aires',
72
+ color: '#33334D',
73
73
  },
74
74
  textWrapper: {
75
75
  flex: 1,
@@ -77,15 +77,16 @@ const styles = StyleSheet.create({
77
77
  alignItems: 'center',
78
78
  justifyContent: 'space-between',
79
79
  maxWidth: 305,
80
- paddingHorizontal: SPACING[400],
81
- paddingVertical: SPACING[200],
80
+ paddingHorizontal: 16,
81
+ paddingVertical: 8,
82
82
  borderWidth: 1,
83
83
  borderRadius: 48,
84
+ borderColor: '#55ABE0',
84
85
  elevation: 3,
85
86
  shadowColor: '#333',
86
87
  shadowOffset: { width: 0, height: 1 },
87
88
  shadowOpacity: 0.25,
88
89
  shadowRadius: 3,
89
- backgroundColor: COLORS.NEUTRAL_1,
90
+ backgroundColor: '#FFFFFF',
90
91
  },
91
92
  })
@@ -1,20 +1,15 @@
1
1
  import React, { ComponentType } from 'react'
2
-
3
2
  import { ReceivedMessage } from './ReceivedMessage'
4
3
  import { SentMessage } from './SentMessage'
5
4
  import { T2SState } from '../../types/t2s.types'
6
5
  import { MessageVariant } from '../../types/model.types'
7
6
  import { ConversationMessage } from '../../types/units.types'
8
- import { ColorScheme } from '../../types/style.types'
9
7
 
10
8
  type ChatMessageProps = {
11
9
  variant: MessageVariant
12
10
  message: ConversationMessage
13
- t2sState: T2SState
14
11
  isTranslated?: boolean
15
- withErrorSpotting?: boolean
16
- withIcon?: boolean
17
- colorScheme?: ColorScheme
12
+ t2sState: T2SState
18
13
  }
19
14
 
20
15
  export type VariantProps = Omit<ChatMessageProps, 'variant'>
@@ -1,43 +1,23 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, View } from 'react-native'
3
- import { IS_WEB } from '@magmamath/react-native-ui'
4
-
5
3
  import { ErrorSpottingButton } from '../../errorSpotting/ErrorSpottingButton'
6
4
  import { MessageTextToSpeech } from './MessageTextToSpeech'
7
5
  import { ConversationMessage } from '../../types/units.types'
8
-
6
+ import { IS_WEB } from '@magmamath/react-native-ui'
9
7
  import { T2SState } from '../../types/t2s.types'
10
- import { ColorScheme } from '../../types/style.types'
11
- import { MessageVariant } from '../../types/model.types'
12
8
 
13
9
  type MessageButtonsBlockProps = {
14
10
  t2sState: T2SState
15
11
  message: ConversationMessage
16
- variant: MessageVariant
17
- colorScheme?: ColorScheme
18
- withErrorSpotting?: boolean
19
12
  }
20
13
 
21
- export const MessageButtonsBlock = ({
22
- t2sState,
23
- message,
24
- variant,
25
- colorScheme,
26
- withErrorSpotting,
27
- }: MessageButtonsBlockProps) => {
14
+ export const MessageButtonsBlock = ({ t2sState, message }: MessageButtonsBlockProps) => {
28
15
  if (!t2sState.isEnabled && !message.isInitial) return null
29
16
 
30
17
  return (
31
18
  <View style={styles.container}>
32
- {withErrorSpotting && !!message.isInitial && <ErrorSpottingButton contextMessage={message} />}
33
- {t2sState.isEnabled && (
34
- <MessageTextToSpeech
35
- state={t2sState}
36
- message={message}
37
- variant={variant}
38
- colorScheme={colorScheme}
39
- />
40
- )}
19
+ {!!message.isInitial && <ErrorSpottingButton contextMessage={message} />}
20
+ {t2sState.isEnabled && <MessageTextToSpeech state={t2sState} message={message} />}
41
21
  </View>
42
22
  )
43
23
  }