@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
@@ -4,8 +4,6 @@ export let Locale = /*#__PURE__*/function (Locale) {
4
4
  Locale["EN"] = "en-SE";
5
5
  Locale["SW"] = "sv-SE";
6
6
  Locale["GB"] = "en-GB";
7
- Locale["CA"] = "en-CA";
8
- Locale["SCT"] = "en-SCT";
9
7
  return Locale;
10
8
  }({});
11
9
 
@@ -1 +1 @@
1
- {"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;AAYA,WAAYA,MAAM,0BAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAAA,OAANA,MAAM;AAAA;;AAQlB","ignoreList":[]}
1
+ {"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;AAUA,WAAYA,MAAM,0BAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAAA,OAANA,MAAM;AAAA;;AAMlB","ignoreList":[]}
@@ -1,11 +1,9 @@
1
1
  import React from 'react';
2
- import { ColorScheme } from '../../types/style.types';
3
2
  type AlternativesProps = {
4
3
  onPressAlternative: (message: string, translatedMessage?: string) => void;
5
4
  hasMessages: boolean;
6
5
  isHintFeedback: boolean;
7
- colorScheme?: ColorScheme;
8
6
  };
9
- export declare const Alternatives: ({ onPressAlternative, hasMessages, isHintFeedback, colorScheme, }: AlternativesProps) => React.JSX.Element;
7
+ export declare const Alternatives: ({ onPressAlternative, hasMessages, isHintFeedback, }: AlternativesProps) => React.JSX.Element;
10
8
  export {};
11
9
  //# sourceMappingURL=Alternatives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alternatives.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Alternatives/Alternatives.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAGrD,KAAK,iBAAiB,GAAG;IACvB,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACzE,WAAW,EAAE,OAAO,CAAA;IACpB,cAAc,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,YAAY,sEAKtB,iBAAiB,sBA6BnB,CAAA"}
1
+ {"version":3,"file":"Alternatives.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Alternatives/Alternatives.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,KAAK,iBAAiB,GAAG;IACvB,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACzE,WAAW,EAAE,OAAO,CAAA;IACpB,cAAc,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,YAAY,yDAItB,iBAAiB,sBA4BnB,CAAA"}
@@ -3,8 +3,7 @@ type HelpRequestOptionProps = {
3
3
  onPress: () => void;
4
4
  message: string;
5
5
  disabled: boolean;
6
- hoverColor?: string;
7
6
  };
8
- export declare const HelpRequestOption: ({ onPress, message, disabled, hoverColor, }: HelpRequestOptionProps) => React.JSX.Element;
7
+ export declare const HelpRequestOption: ({ onPress, message, disabled, }: HelpRequestOptionProps) => React.JSX.Element;
9
8
  export {};
10
9
  //# sourceMappingURL=HelpRequestOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpRequestOption.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Alternatives/HelpRequestOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAK1D,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,iBAAiB,gDAK3B,sBAAsB,sBAyCxB,CAAA"}
1
+ {"version":3,"file":"HelpRequestOption.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Alternatives/HelpRequestOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,iBAAiB,oCAI3B,sBAAsB,sBAoCxB,CAAA"}
@@ -2,15 +2,11 @@ import React from 'react';
2
2
  import { T2SState } from '../../types/t2s.types';
3
3
  import { MessageVariant } from '../../types/model.types';
4
4
  import { ConversationMessage } from '../../types/units.types';
5
- import { ColorScheme } from '../../types/style.types';
6
5
  type ChatMessageProps = {
7
6
  variant: MessageVariant;
8
7
  message: ConversationMessage;
9
- t2sState: T2SState;
10
8
  isTranslated?: boolean;
11
- withErrorSpotting?: boolean;
12
- withIcon?: boolean;
13
- colorScheme?: ColorScheme;
9
+ t2sState: T2SState;
14
10
  };
15
11
  export type VariantProps = Omit<ChatMessageProps, 'variant'>;
16
12
  export declare const ChatMessage: ({ variant, ...props }: ChatMessageProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ChatMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAI5C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,EAAE,QAAQ,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAA;AAO5D,eAAO,MAAM,WAAW,0BAA2B,gBAAgB,sBAGlE,CAAA"}
1
+ {"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ChatMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAG5C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAA;AAO5D,eAAO,MAAM,WAAW,0BAA2B,gBAAgB,sBAGlE,CAAA"}
@@ -1,15 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ConversationMessage } from '../../types/units.types';
3
3
  import { T2SState } from '../../types/t2s.types';
4
- import { ColorScheme } from '../../types/style.types';
5
- import { MessageVariant } from '../../types/model.types';
6
4
  type MessageButtonsBlockProps = {
7
5
  t2sState: T2SState;
8
6
  message: ConversationMessage;
9
- variant: MessageVariant;
10
- colorScheme?: ColorScheme;
11
- withErrorSpotting?: boolean;
12
7
  };
13
- export declare const MessageButtonsBlock: ({ t2sState, message, variant, colorScheme, withErrorSpotting, }: MessageButtonsBlockProps) => React.JSX.Element | null;
8
+ export declare const MessageButtonsBlock: ({ t2sState, message }: MessageButtonsBlockProps) => React.JSX.Element | null;
14
9
  export {};
15
10
  //# sourceMappingURL=MessageButtonsBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageButtonsBlock.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,QAAQ,CAAA;IAClB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,OAAO,EAAE,cAAc,CAAA;IACvB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,mBAAmB,oEAM7B,wBAAwB,6BAgB1B,CAAA"}
1
+ {"version":3,"file":"MessageButtonsBlock.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAEhD,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,QAAQ,CAAA;IAClB,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,mBAAmB,0BAA2B,wBAAwB,6BASlF,CAAA"}
@@ -1,16 +1,11 @@
1
- import React from 'react';
2
1
  import { ConversationMessage } from '../../types/units.types';
3
2
  import { T2SState } from '../../types/t2s.types';
4
- import { ColorScheme } from '../../types/style.types';
5
- import { MessageVariant } from '../../types/model.types';
3
+ import React from 'react';
6
4
  type MessageContentProps = {
7
5
  text: string;
8
6
  message: ConversationMessage;
9
7
  t2sState: T2SState;
10
- variant: MessageVariant;
11
- colorScheme?: ColorScheme;
12
- withErrorSpotting?: boolean;
13
8
  };
14
- export declare const MessageContent: ({ message, text, t2sState, variant, colorScheme, withErrorSpotting, }: MessageContentProps) => React.JSX.Element;
9
+ export declare const MessageContent: ({ message, text, t2sState }: MessageContentProps) => React.JSX.Element;
15
10
  export {};
16
11
  //# sourceMappingURL=MessageContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,EAAE,QAAQ,CAAA;IAClB,OAAO,EAAE,cAAc,CAAA;IACvB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAiDD,eAAO,MAAM,cAAc,0EAlBxB,mBAAmB,sBAqBpB,CAAA"}
1
+ {"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAIhD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAuBD,eAAO,MAAM,cAAc,gCAZgC,mBAAmB,sBAe5E,CAAA"}
@@ -1,8 +1,3 @@
1
1
  import React from 'react';
2
- import { ColorScheme } from '../../types/style.types';
3
- type MessageLoaderProps = {
4
- colorScheme?: ColorScheme;
5
- };
6
- export declare const MessageLoader: ({ colorScheme }: MessageLoaderProps) => React.JSX.Element;
7
- export {};
2
+ export declare const MessageLoader: () => React.JSX.Element;
8
3
  //# sourceMappingURL=MessageLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageLoader.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,KAAK,kBAAkB,GAAG;IACxB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,aAAa,oBAAwC,kBAAkB,sBASnF,CAAA"}
1
+ {"version":3,"file":"MessageLoader.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,aAAa,yBASzB,CAAA"}
@@ -1,14 +1,10 @@
1
1
  import React from 'react';
2
2
  import { T2SState } from '../../types/t2s.types';
3
3
  import { ConversationMessage } from '../../types/units.types';
4
- import { ColorScheme } from '../../types/style.types';
5
- import { MessageVariant } from '../../types/model.types';
6
4
  type MessageTextToSpeechProps = {
7
5
  state: T2SState;
8
6
  message: ConversationMessage;
9
- variant: MessageVariant;
10
- colorScheme?: ColorScheme;
11
7
  };
12
- export declare const MessageTextToSpeech: ({ state: { status, disabled, isActive, isLoading }, message, variant, colorScheme, }: MessageTextToSpeechProps) => React.JSX.Element;
8
+ export declare const MessageTextToSpeech: ({ state: { status, disabled, isActive, isLoading }, message, }: MessageTextToSpeechProps) => React.JSX.Element;
13
9
  export {};
14
10
  //# sourceMappingURL=MessageTextToSpeech.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageTextToSpeech.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAAe,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AA6BxD,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,QAAQ,CAAA;IACf,OAAO,EAAE,mBAAmB,CAAA;IAC5B,OAAO,EAAE,cAAc,CAAA;IACvB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,mBAAmB,yFAK7B,wBAAwB,sBA4B1B,CAAA"}
1
+ {"version":3,"file":"MessageTextToSpeech.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAe,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAuB7D,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,QAAQ,CAAA;IACf,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,mBAAmB,mEAG7B,wBAAwB,sBAqB1B,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from './ChatMessage';
3
- export declare const ReceivedMessage: ({ message, isTranslated, t2sState, withIcon, colorScheme, withErrorSpotting, }: VariantProps) => React.JSX.Element;
3
+ export declare const ReceivedMessage: ({ message, isTranslated, t2sState }: VariantProps) => React.JSX.Element;
4
4
  //# sourceMappingURL=ReceivedMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReceivedMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAM5C,eAAO,MAAM,eAAe,mFAOzB,YAAY,sBAuBd,CAAA"}
1
+ {"version":3,"file":"ReceivedMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,eAAO,MAAM,eAAe,wCAAyC,YAAY,sBAchF,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from './ChatMessage';
3
- export declare const SentMessage: React.MemoExoticComponent<({ message, isTranslated, colorScheme }: VariantProps) => React.JSX.Element>;
3
+ export declare const SentMessage: React.MemoExoticComponent<({ message, isTranslated }: VariantProps) => React.JSX.Element>;
4
4
  //# sourceMappingURL=SentMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SentMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/SentMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAK5C,eAAO,MAAM,WAAW,qEACsC,YAAY,uBAczE,CAAA"}
1
+ {"version":3,"file":"SentMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/SentMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5C,eAAO,MAAM,WAAW,wDAA0C,YAAY,uBAQ5E,CAAA"}
@@ -1,12 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ChatbotModel } from '../../model/ChatBotModel';
3
- import { ColorScheme } from '../../types/style.types';
4
3
  type ChatbotMessagesProps = {
5
4
  model: ChatbotModel;
6
5
  isHintFeedback: boolean;
7
6
  isTextToSpeechEnabled: boolean;
8
- colorScheme?: ColorScheme;
9
7
  };
10
- export declare const ChatbotMessages: ({ model, isHintFeedback, isTextToSpeechEnabled, colorScheme, }: ChatbotMessagesProps) => React.JSX.Element;
8
+ export declare const ChatbotMessages: ({ model, isHintFeedback, isTextToSpeechEnabled, }: ChatbotMessagesProps) => React.JSX.Element;
11
9
  export {};
12
10
  //# sourceMappingURL=ChatbotMessages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatbotMessages.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAA;AAIrC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,YAAY,CAAA;IACnB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAQD,eAAO,MAAM,eAAe,mEAKzB,oBAAoB,sBAwEtB,CAAA"}
1
+ {"version":3,"file":"ChatbotMessages.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAA;AAGrC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAMvD,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,YAAY,CAAA;IACnB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;CAC/B,CAAA;AAQD,eAAO,MAAM,eAAe,sDAIzB,oBAAoB,sBAkEtB,CAAA"}
@@ -1,7 +1,7 @@
1
- import React, { ComponentType, PropsWithChildren } from 'react';
1
+ import { ComponentType, PropsWithChildren } from 'react';
2
2
  import { ChatbotModel } from '../model/ChatBotModel';
3
3
  import { AUDIO_CONFIG, DEFAULT_VOICE } from '../constants';
4
- import { ColorScheme } from '../types/style.types';
4
+ import React from 'react';
5
5
  type ChatbotProps = {
6
6
  model: ChatbotModel;
7
7
  isHintFeedback: boolean;
@@ -15,8 +15,7 @@ type ChatbotProps = {
15
15
  width: number;
16
16
  height: number;
17
17
  };
18
- colorScheme?: ColorScheme;
19
18
  };
20
- export declare const Chatbot: ({ model, isHintFeedback, isTextToSpeechEnabled, textToSpeechConfig, ButtonWrapper, iconSize, colorScheme, }: ChatbotProps) => React.JSX.Element | null;
19
+ export declare const Chatbot: ({ model, isHintFeedback, isTextToSpeechEnabled, textToSpeechConfig, ButtonWrapper, iconSize, }: ChatbotProps) => React.JSX.Element | null;
21
20
  export {};
22
21
  //# sourceMappingURL=Chatbot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chatbot.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/components/Chatbot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAG/D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAElD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,YAAY,CAAA;IACnB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE;QACnB,KAAK,EAAE,OAAO,aAAa,CAAA;QAC3B,WAAW,EAAE,OAAO,YAAY,CAAA;KACjC,CAAA;IACD,aAAa,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAC/C,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IAC5C,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,OAAO,gHAQjB,YAAY,6BA8Bd,CAAA"}
1
+ {"version":3,"file":"Chatbot.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/components/Chatbot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,YAAY,CAAA;IACnB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE;QACnB,KAAK,EAAE,OAAO,aAAa,CAAA;QAC3B,WAAW,EAAE,OAAO,YAAY,CAAA;KACjC,CAAA;IACD,aAAa,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAC/C,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C,CAAA;AAED,eAAO,MAAM,OAAO,mGAOjB,YAAY,6BA6Bd,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreeDotsLoader.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAA;AAKjD,KAAK,eAAe,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,eAAe,uDAIzB,eAAe,sBA4CjB,CAAA"}
1
+ {"version":3,"file":"ThreeDotsLoader.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,eAAe,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,eAAe,uDAIzB,eAAe,sBAgDjB,CAAA"}
@@ -1,4 +1,3 @@
1
- import { ButtonColor } from '@magmamath/react-native-ui';
2
1
  export declare const AUDIO_CONFIG: {
3
2
  audioEncoding: string;
4
3
  pitch: number;
@@ -25,36 +24,4 @@ export declare const KATEX_REPLACEMENTS: {
25
24
  export declare const KATEX_REPLACEMENTS_REVERSE: {
26
25
  readonly __KATEX_DOLLAR_SYMBOL__: "$";
27
26
  };
28
- export declare const MESSAGE_COLORS_MAP: {
29
- blue: {
30
- received: {
31
- background: "#f2f2f4";
32
- icon: ButtonColor;
33
- };
34
- sent: {
35
- background: "#55abe0";
36
- icon: ButtonColor;
37
- };
38
- };
39
- yellow: {
40
- received: {
41
- background: "#f2f2f4";
42
- icon: ButtonColor;
43
- };
44
- sent: {
45
- background: "#ffae22";
46
- icon: ButtonColor;
47
- };
48
- };
49
- };
50
- export declare const CONTROLS_COLORS_MAP: {
51
- blue: {
52
- hover: "#55abe0";
53
- background: "#55abe0";
54
- };
55
- yellow: {
56
- hover: "#ffae22";
57
- background: "#ffae22";
58
- };
59
- };
60
27
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAU,MAAM,4BAA4B,CAAA;AAKhE,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAED,eAAO,MAAM,aAAa;;;CAGzB,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;CAgBhC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;CAErB,CAAA;AAEV,eAAO,MAAM,0BAA0B;;CAE7B,CAAA;AAEV,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;CAS/B,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAED,eAAO,MAAM,aAAa;;;CAGzB,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;CAgBhC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;CAErB,CAAA;AAEV,eAAO,MAAM,0BAA0B;;CAE7B,CAAA"}
@@ -21,8 +21,6 @@ export declare class ErrorSpottingModel {
21
21
  readonly errorSpottingPressed: import("effector").EventCallable<ErrorSpottingPressedProps>;
22
22
  private readonly activeDataChanged;
23
23
  readonly spottingHidden: import("effector").EventCallable<void>;
24
- readonly setIsEnabled: import("effector").EventCallable<boolean>;
25
- readonly $isEnabled: import("effector").StoreWritable<boolean>;
26
24
  readonly $validationKey: import("effector").StoreWritable<string | null>;
27
25
  readonly $activeData: import("effector").StoreWritable<ActiveErrorSpottingData | null>;
28
26
  readonly $isLoading: Store<boolean>;
@@ -32,8 +30,6 @@ export declare class ErrorSpottingModel {
32
30
  bindStrokesValidation($store: Store<string | null>): this;
33
31
  abortPendingRequest(): void;
34
32
  reset(): void;
35
- enable(): void;
36
- disable(): void;
37
33
  }
38
34
  export {};
39
35
  //# sourceMappingURL=ErrorSpottingModel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorSpottingModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/errorSpotting/ErrorSpottingModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAkD,KAAK,EAAW,MAAM,UAAU,CAAA;AACzF,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,cAAc,EA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CAAA;AAChF,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,KAAK,kBAAkB,GAAG;IACxB,GAAG,EAAE,UAAU,CAAA;IACf,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;IACjC,mBAAmB,EAAE,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CAClD,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,EAAE,IAAI,GAAG,MAAM,CAAA;CAC7B,CAAA;AAWD,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAY;IAEhC,SAAgB,oBAAoB,8DAA2C;IAC/E,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgD;IAClF,SAAgB,cAAc,yCAAgB;IAE9C,SAAgB,cAAc,kDAAmC;IACjE,SAAgB,WAAW,mEAUvB;IAEJ,SAAgB,UAAU,iBAAA;IAE1B,OAAO,CAAC,YAAY,CAA8B;gBAE/B,EAAE,GAAG,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,EAAE,kBAAkB;IAqErF,OAAO,CAAC,aAAa;IAQd,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;IAQlD,mBAAmB;IAKnB,KAAK;CAIb"}
@@ -6,5 +6,4 @@ export type { PostMessageResponse } from './types/api.types';
6
6
  export { DefaultMessagesCreator } from './model/DefaultMessageCreator';
7
7
  export type { ChatAnswer } from './types/units.types';
8
8
  export type { ConversationMessage } from './types/units.types';
9
- export { ColorScheme } from './types/style.types';
10
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EACL,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EACL,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA"}
@@ -18,10 +18,7 @@ export declare class ChatbotModel {
18
18
  readonly translation: ChatbotTranslation;
19
19
  readonly t2s: ChatTextToSpeechModel;
20
20
  readonly errorSpotting: ErrorSpottingModel;
21
- private readonly setCurrentKey;
22
21
  readonly $currentKey: import("effector").StoreWritable<string>;
23
- private unbindCurrentKey;
24
- private externalTranslationStateSync?;
25
22
  readonly resetAlternatives: import("effector").EventCallable<void>;
26
23
  readonly setAlternatives: import("effector").EventCallable<GetAlternativesResponse | null>;
27
24
  readonly $alternatives: Store<GetAlternativesResponse | null>;
@@ -45,18 +42,16 @@ export declare class ChatbotModel {
45
42
  constructor({ api, $key, threadMessagesLimit, settings }: ChatbotModelProps);
46
43
  private createSendHelpRequestFx;
47
44
  bindKey($store: Store<string>): this;
48
- bindExternalTranslationState($isTranslated: Store<boolean>): this;
45
+ bindExternalTranslationState($store: Store<boolean>): this;
49
46
  setUpT2S(config: T2SConfig): this;
50
47
  setDrawBoardAdapter(adapter: IChatDrawBoardAdapter): this;
51
- readonly startConversation: import("effector").Effect<void | StartConversationProps, void, Error>;
52
48
  readonly sendHelpRequestFx: import("effector").Effect<SendHelpParams, void, Error>;
49
+ readonly startConversation: import("effector").Effect<void | StartConversationProps, void, Error>;
53
50
  setHintMessage({ key, ...message }: SetHintMessageProps): void;
54
51
  readonly reinitConversation: ({ key }: ReinitConversationProps) => void;
55
52
  disableChat(key: string): void;
56
53
  softReset: import("effector").Effect<void, void, Error>;
57
54
  readonly reset: import("effector").EventCallable<void>;
58
- unbindKey(): this;
59
- unbindExternalTranslationState(): this;
60
55
  }
61
56
  export {};
62
57
  //# sourceMappingURL=ChatBotModel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBotModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+D,KAAK,KAAK,EAAE,MAAM,UAAU,CAAA;AAClG,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EAEd,mBAAmB,EAEnB,sB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AAE,iBAAiB;IA8DhF,OAAO,CAAC,uBAAuB;IAkDxB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;IAS7B,4BAA4B,CAAC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC;IAUnD,QAAQ,CAAC,MAAM,EAAE,SAAS;IAK1B,mBAAmB,CAAC,OAAO,EAAE,qBAAqB;IAMzD,SAAgB,iBAAiB,yDAAiC;IAElE,SAAgB,iBAAiB,wEAiB/B;IAEK,cAAc,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,mBAAmB;IAK9D,SAAgB,kBAAkB,YAAa,uBAAuB,UAGrE;IAEM,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,SAAS,+CAiBd;IAEF,SAAgB,KAAK,yCAKnB;CACH"}
@@ -1,4 +1,5 @@
1
1
  import { ThreadItem } from './ThreadItem';
2
+ import { Store } from 'effector';
2
3
  import { ChatHintPayload, ChatHintResponse, PostMessagePayload, PostMessageResponse } from '../types/api.types';
3
4
  import { ChatbotMessages, IChatDrawBoardAdapter } from '../types/model.types';
4
5
  type ThreadManagerApi = {
@@ -16,8 +17,10 @@ export declare class ChatBotThreadManager {
16
17
  private readonly threads;
17
18
  private messagesLimit;
18
19
  private currentKey;
20
+ private currentBinding;
19
21
  private readonly defaultMessages;
20
22
  constructor({ drawBoardAdapter, api, messagesLimit, messages, }: ChatBotThreadManagerProps);
23
+ bindKeyStore($store: Store<string>): this;
21
24
  private getThreadItem;
22
25
  setDrawBoardAdapter(adapter: IChatDrawBoardAdapter): void;
23
26
  readonly postMessage: ({ problemAnswer, problem, answer, language, imageAltText, }: PostMessagePayload) => Promise<PostMessageResponse>;
@@ -25,7 +28,6 @@ export declare class ChatBotThreadManager {
25
28
  reset(key?: string): void;
26
29
  setMessagesLimit(limit: number): void;
27
30
  setApi(api: ThreadManagerApi): this;
28
- setCurrentKey(key: string): void;
29
31
  }
30
32
  export {};
31
33
  //# sourceMappingURL=ChatBotThreadManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBotThreadManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotThreadManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAG7E,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;CAC/D,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,qBAAqB,CAAA;IACxC,QAAQ,EAAE,eAAe,CAAA;IACzB,GAAG,CAAC,EAAE,gBAAgB,CAAA;CACvB,CAAA;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,GAAG,CAAgC;IAC3C,OAAO,CAAC,gBAAgB,CAAqC;IAC7D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgC;IAExD,OAAO,CAAC,aAAa,CAAA;IACrB,OAAO,CAAC,UAAU,CAAK;IAEvB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAA;gBAEb,EACjB,gBAAgB,EAChB,GAAG,EACH,aAA6D,EAC7D,QAAQ,GACT,EAAE,yBAAyB;YAOd,aAAa;IAkBpB,mBAAmB,CAAC,OAAO,EAAE,qBAAqB;IAIzD,SAAgB,WAAW,gEAMxB,kBAAkB,KAAG,OAAO,CAAC,mBAAmB,CAAC,CA2BnD;IAEM,GAAG,CAAC,GAAG,EAAE,MAAM;IAIf,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM;IAQlB,gBAAgB,CAAC,KAAK,EAAE,MAAM;IAI9B,MAAM,CAAC,GAAG,EAAE,gBAAgB;IAK5B,aAAa,CAAC,GAAG,EAAE,MAAM;CAGjC"}
1
+ {"version":3,"file":"ChatBotThreadManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotThreadManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAG7E,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;CAC/D,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,qBAAqB,CAAA;IACxC,QAAQ,EAAE,eAAe,CAAA;IACzB,GAAG,CAAC,EAAE,gBAAgB,CAAA;CACvB,CAAA;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,GAAG,CAAgC;IAC3C,OAAO,CAAC,gBAAgB,CAAqC;IAC7D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgC;IAExD,OAAO,CAAC,aAAa,CAAA;IACrB,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,cAAc,CAA4B;IAElD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAA;gBAEb,EACjB,gBAAgB,EAChB,GAAG,EACH,aAA6D,EAC7D,QAAQ,GACT,EAAE,yBAAyB;IAOrB,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;YAQ3B,aAAa;IAkBpB,mBAAmB,CAAC,OAAO,EAAE,qBAAqB;IAIzD,SAAgB,WAAW,gEAMxB,kBAAkB,KAAG,OAAO,CAAC,mBAAmB,CAAC,CA2BnD;IAEM,GAAG,CAAC,GAAG,EAAE,MAAM;IAIf,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM;IAQlB,gBAAgB,CAAC,KAAK,EAAE,MAAM;IAI9B,MAAM,CAAC,GAAG,EAAE,gBAAgB;CAIpC"}
@@ -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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B;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":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE/E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,mBAAmB,CAAA;IAC1B,KAAK,EAAE,mBAAmB,CAAA;IAC1B,UAAU,EAAE,mBAAmB,CAAA;IAC/B,iBAAiB,EAAE,UAAU,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACpF,WAAW,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,OAA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,CAAA;IACD,YAAY,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAA;CAC9C,GAAG,sBAAsB,CAAA;AAE1B,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CACpD,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,EACrC,mBAAmB,CACpB,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,qBAAqB,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAC3C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;IACnE,UAAU,IAAI,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;CACtD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,yBAAyB,EAAE,MAAM,CAAA;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA"}
1
+ {"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB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C,CAAA;IACnE,UAAU,IAAI,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;CACtD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,yBAAyB,EAAE,MAAM,CAAA;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA"}
@@ -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;CAC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AC,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"}