@magmamath/students-features 0.6.0 → 0.6.1-2.rc-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 (594) hide show
  1. package/README.md +14 -5
  2. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js +6 -2
  3. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js +27 -24
  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 +9 -4
  8. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
  9. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +18 -5
  10. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  11. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +10 -3
  12. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  13. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +16 -12
  14. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  15. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +13 -4
  16. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  17. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +14 -8
  18. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  19. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js +14 -4
  20. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  21. package/dist/commonjs/features/chatbot/components/Chatbot.js +5 -2
  22. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  23. package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +2 -1
  24. package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
  25. package/dist/commonjs/features/chatbot/constants.js +36 -1
  26. package/dist/commonjs/features/chatbot/constants.js.map +1 -1
  27. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +8 -0
  28. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  29. package/dist/commonjs/features/chatbot/index.js +7 -0
  30. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  31. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +67 -39
  32. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  33. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +3 -8
  34. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  35. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +12 -1
  36. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  37. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
  38. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/constants.js.map +1 -1
  40. package/dist/commonjs/features/chatbot/model/translation.js +9 -1
  41. package/dist/commonjs/features/chatbot/model/translation.js.map +1 -1
  42. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  43. package/dist/commonjs/features/chatbot/types/style.types.js +12 -0
  44. package/dist/commonjs/features/chatbot/types/style.types.js.map +1 -0
  45. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +2 -0
  46. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  47. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js +31 -0
  48. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  49. package/dist/commonjs/features/exampleSolution/assets/grid.png +0 -0
  50. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +97 -0
  51. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  52. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js +43 -0
  53. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js.map +1 -0
  54. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js +61 -0
  55. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js.map +1 -0
  56. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +68 -0
  57. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -0
  58. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +75 -0
  59. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -0
  60. package/dist/commonjs/features/exampleSolution/components/index.js +2 -0
  61. package/dist/commonjs/features/exampleSolution/components/index.js.map +1 -0
  62. package/dist/commonjs/features/exampleSolution/constants.js +13 -0
  63. package/dist/commonjs/features/exampleSolution/constants.js.map +1 -0
  64. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js +54 -0
  65. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  66. package/dist/commonjs/features/exampleSolution/index.js +39 -0
  67. package/dist/commonjs/features/exampleSolution/index.js.map +1 -0
  68. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js +22 -0
  69. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  70. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +24 -0
  71. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  72. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js +19 -0
  73. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  74. package/dist/commonjs/features/exampleSolution/types.js +6 -0
  75. package/dist/commonjs/features/exampleSolution/types.js.map +1 -0
  76. package/dist/commonjs/features/feedback/model/comments.js +5 -3
  77. package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
  78. package/dist/commonjs/features/feedback/model/model.js +7 -9
  79. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  80. package/dist/commonjs/features/gifCelebrations/GifCelebrations.js +62 -0
  81. package/dist/commonjs/features/gifCelebrations/GifCelebrations.js.map +1 -0
  82. package/dist/commonjs/features/gifCelebrations/assets/confetti.webp +0 -0
  83. package/dist/commonjs/features/gifCelebrations/assets/gifFallback.gif +0 -0
  84. package/dist/commonjs/features/gifCelebrations/components/Backdrop.js +44 -0
  85. package/dist/commonjs/features/gifCelebrations/components/Backdrop.js.map +1 -0
  86. package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js +46 -0
  87. package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js.map +1 -0
  88. package/dist/commonjs/features/gifCelebrations/components/Gif.js +90 -0
  89. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -0
  90. package/dist/commonjs/features/gifCelebrations/components/Progress.js +96 -0
  91. package/dist/commonjs/features/gifCelebrations/components/Progress.js.map +1 -0
  92. package/dist/commonjs/features/gifCelebrations/constants.js +34 -0
  93. package/dist/commonjs/features/gifCelebrations/constants.js.map +1 -0
  94. package/dist/commonjs/features/gifCelebrations/helpers.js +114 -0
  95. package/dist/commonjs/features/gifCelebrations/helpers.js.map +1 -0
  96. package/dist/commonjs/features/gifCelebrations/index.js +20 -0
  97. package/dist/commonjs/features/gifCelebrations/index.js.map +1 -0
  98. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js +136 -0
  99. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js.map +1 -0
  100. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js +27 -0
  101. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js.map +1 -0
  102. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js +30 -0
  103. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js.map +1 -0
  104. package/dist/commonjs/features/gifCelebrations/types/model.types.js +6 -0
  105. package/dist/commonjs/features/gifCelebrations/types/model.types.js.map +1 -0
  106. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +12 -9
  107. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  108. package/dist/commonjs/features/problemSelector/constants.js +3 -6
  109. package/dist/commonjs/features/problemSelector/constants.js.map +1 -1
  110. package/dist/commonjs/index.js +36 -0
  111. package/dist/commonjs/index.js.map +1 -1
  112. package/dist/commonjs/lib/effector/ControlledSample.js +40 -0
  113. package/dist/commonjs/lib/effector/ControlledSample.js.map +1 -0
  114. package/dist/commonjs/lib/effector/createControllerEffect.js.map +1 -1
  115. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  116. package/dist/commonjs/react-app-env.d.js +2 -0
  117. package/dist/commonjs/react-app-env.d.js.map +1 -0
  118. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js +681 -0
  119. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js.map +1 -0
  120. package/dist/commonjs/shared/icons/LavaIconInGlasses.js +616 -0
  121. package/dist/commonjs/shared/icons/LavaIconInGlasses.js.map +1 -0
  122. package/dist/commonjs/shared/icons/index.js +204 -0
  123. package/dist/commonjs/shared/icons/index.js.map +1 -0
  124. package/dist/commonjs/shared/translation/constants.js +5 -1
  125. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  126. package/dist/commonjs/shared/translation/localization/ca.json +33 -0
  127. package/dist/commonjs/shared/translation/localization/en.json +13 -1
  128. package/dist/commonjs/shared/translation/localization/gb.json +13 -1
  129. package/dist/commonjs/shared/translation/localization/sct.json +33 -0
  130. package/dist/commonjs/shared/translation/localization/sw.json +13 -1
  131. package/dist/commonjs/shared/translation/types.js +2 -0
  132. package/dist/commonjs/shared/translation/types.js.map +1 -1
  133. package/dist/commonjs/types/common.types.js +2 -0
  134. package/dist/commonjs/types/common.types.js.map +1 -0
  135. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js +6 -2
  136. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  137. package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js +29 -27
  138. package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
  139. package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  140. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +9 -4
  141. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
  142. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +18 -5
  143. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  144. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +10 -3
  145. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  146. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +16 -12
  147. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  148. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +13 -4
  149. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  150. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +14 -8
  151. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  152. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js +14 -4
  153. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  154. package/dist/module/features/chatbot/components/Chatbot.js +5 -2
  155. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  156. package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +3 -3
  157. package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
  158. package/dist/module/features/chatbot/constants.js +35 -0
  159. package/dist/module/features/chatbot/constants.js.map +1 -1
  160. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +9 -1
  161. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  162. package/dist/module/features/chatbot/index.js +1 -0
  163. package/dist/module/features/chatbot/index.js.map +1 -1
  164. package/dist/module/features/chatbot/model/ChatBotModel.js +68 -40
  165. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  166. package/dist/module/features/chatbot/model/ChatBotThreadManager.js +3 -8
  167. package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  168. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +12 -1
  169. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  170. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +4 -2
  171. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  172. package/dist/module/features/chatbot/model/constants.js.map +1 -1
  173. package/dist/module/features/chatbot/model/translation.js +9 -1
  174. package/dist/module/features/chatbot/model/translation.js.map +1 -1
  175. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  176. package/dist/module/features/chatbot/types/style.types.js +8 -0
  177. package/dist/module/features/chatbot/types/style.types.js.map +1 -0
  178. package/dist/module/features/endOfAssignment/components/Modal/Modal.js +3 -1
  179. package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  180. package/dist/module/features/exampleSolution/ExampleSolutionModal.js +25 -0
  181. package/dist/module/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  182. package/dist/module/features/exampleSolution/assets/grid.png +0 -0
  183. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +91 -0
  184. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  185. package/dist/module/features/exampleSolution/components/LavaIcon.js +35 -0
  186. package/dist/module/features/exampleSolution/components/LavaIcon.js.map +1 -0
  187. package/dist/module/features/exampleSolution/components/MessageBlock.js +53 -0
  188. package/dist/module/features/exampleSolution/components/MessageBlock.js.map +1 -0
  189. package/dist/module/features/exampleSolution/components/QuestionSection.js +60 -0
  190. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -0
  191. package/dist/module/features/exampleSolution/components/SolutionSection.js +67 -0
  192. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -0
  193. package/dist/module/features/exampleSolution/components/index.js +2 -0
  194. package/dist/module/features/exampleSolution/components/index.js.map +1 -0
  195. package/dist/module/features/exampleSolution/constants.js +9 -0
  196. package/dist/module/features/exampleSolution/constants.js.map +1 -0
  197. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js +49 -0
  198. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  199. package/dist/module/features/exampleSolution/index.js +6 -0
  200. package/dist/module/features/exampleSolution/index.js.map +1 -0
  201. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js +17 -0
  202. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  203. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +19 -0
  204. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  205. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js +14 -0
  206. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  207. package/dist/module/features/exampleSolution/types.js +4 -0
  208. package/dist/module/features/exampleSolution/types.js.map +1 -0
  209. package/dist/module/features/feedback/model/comments.js +5 -3
  210. package/dist/module/features/feedback/model/comments.js.map +1 -1
  211. package/dist/module/features/feedback/model/model.js +7 -9
  212. package/dist/module/features/feedback/model/model.js.map +1 -1
  213. package/dist/module/features/gifCelebrations/GifCelebrations.js +55 -0
  214. package/dist/module/features/gifCelebrations/GifCelebrations.js.map +1 -0
  215. package/dist/module/features/gifCelebrations/assets/confetti.webp +0 -0
  216. package/dist/module/features/gifCelebrations/assets/gifFallback.gif +0 -0
  217. package/dist/module/features/gifCelebrations/components/Backdrop.js +36 -0
  218. package/dist/module/features/gifCelebrations/components/Backdrop.js.map +1 -0
  219. package/dist/module/features/gifCelebrations/components/ContentContainer.js +38 -0
  220. package/dist/module/features/gifCelebrations/components/ContentContainer.js.map +1 -0
  221. package/dist/module/features/gifCelebrations/components/Gif.js +82 -0
  222. package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -0
  223. package/dist/module/features/gifCelebrations/components/Progress.js +88 -0
  224. package/dist/module/features/gifCelebrations/components/Progress.js.map +1 -0
  225. package/dist/module/features/gifCelebrations/constants.js +30 -0
  226. package/dist/module/features/gifCelebrations/constants.js.map +1 -0
  227. package/dist/module/features/gifCelebrations/helpers.js +103 -0
  228. package/dist/module/features/gifCelebrations/helpers.js.map +1 -0
  229. package/dist/module/features/gifCelebrations/index.js +5 -0
  230. package/dist/module/features/gifCelebrations/index.js.map +1 -0
  231. package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js +131 -0
  232. package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js.map +1 -0
  233. package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js +22 -0
  234. package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js.map +1 -0
  235. package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js +25 -0
  236. package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js.map +1 -0
  237. package/dist/module/features/gifCelebrations/types/model.types.js +4 -0
  238. package/dist/module/features/gifCelebrations/types/model.types.js.map +1 -0
  239. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +13 -10
  240. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  241. package/dist/module/features/problemSelector/constants.js +2 -5
  242. package/dist/module/features/problemSelector/constants.js.map +1 -1
  243. package/dist/module/index.js +3 -0
  244. package/dist/module/index.js.map +1 -1
  245. package/dist/module/lib/effector/ControlledSample.js +35 -0
  246. package/dist/module/lib/effector/ControlledSample.js.map +1 -0
  247. package/dist/module/lib/effector/createControllerEffect.js.map +1 -1
  248. package/dist/module/react-app-env.d.js +2 -0
  249. package/dist/module/react-app-env.d.js.map +1 -0
  250. package/dist/module/shared/icons/ExcitedLavaIcon.js +673 -0
  251. package/dist/module/shared/icons/ExcitedLavaIcon.js.map +1 -0
  252. package/dist/module/shared/icons/LavaIconInGlasses.js +608 -0
  253. package/dist/module/shared/icons/LavaIconInGlasses.js.map +1 -0
  254. package/dist/module/shared/icons/index.js +21 -0
  255. package/dist/module/shared/icons/index.js.map +1 -0
  256. package/dist/module/shared/translation/constants.js +5 -1
  257. package/dist/module/shared/translation/constants.js.map +1 -1
  258. package/dist/module/shared/translation/localization/ca.json +33 -0
  259. package/dist/module/shared/translation/localization/en.json +13 -1
  260. package/dist/module/shared/translation/localization/gb.json +13 -1
  261. package/dist/module/shared/translation/localization/sct.json +33 -0
  262. package/dist/module/shared/translation/localization/sw.json +13 -1
  263. package/dist/module/shared/translation/types.js +2 -0
  264. package/dist/module/shared/translation/types.js.map +1 -1
  265. package/dist/module/types/common.types.js +2 -0
  266. package/dist/module/types/common.types.js.map +1 -0
  267. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts +3 -1
  268. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  269. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +2 -1
  270. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +5 -1
  272. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  273. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +6 -1
  274. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
  275. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts +7 -2
  276. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  277. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts +6 -1
  278. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +5 -1
  280. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  282. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  283. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  284. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +3 -1
  286. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  287. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts +4 -3
  288. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
  289. package/dist/typescript/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
  290. package/dist/typescript/commonjs/features/chatbot/constants.d.ts +33 -0
  291. package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +4 -0
  293. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -0
  295. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  296. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +7 -2
  297. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +1 -3
  299. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  300. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +5 -0
  301. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  302. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  303. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  304. package/dist/typescript/commonjs/features/chatbot/model/constants.d.ts.map +1 -1
  305. package/dist/typescript/commonjs/features/chatbot/model/translation.d.ts.map +1 -1
  306. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +5 -2
  307. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  308. package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts +5 -0
  309. package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts.map +1 -0
  310. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  311. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  312. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  313. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +11 -0
  314. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  315. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts +10 -0
  316. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts.map +1 -0
  317. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts +10 -0
  318. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts.map +1 -0
  319. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts +9 -0
  320. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  321. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  322. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  323. package/dist/typescript/commonjs/features/exampleSolution/components/index.d.ts +1 -0
  324. package/dist/typescript/commonjs/features/exampleSolution/components/index.d.ts.map +1 -0
  325. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts +6 -0
  326. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts.map +1 -0
  327. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts +15 -0
  328. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  329. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts +4 -0
  330. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts.map +1 -0
  331. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts +9 -0
  332. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  333. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts +11 -0
  334. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  335. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts +12 -0
  336. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  337. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts +25 -0
  338. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts.map +1 -0
  339. package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts +10 -0
  340. package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts.map +1 -0
  341. package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts +10 -0
  342. package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts.map +1 -0
  343. package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts +10 -0
  344. package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts.map +1 -0
  345. package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts +10 -0
  346. package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts.map +1 -0
  347. package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts +10 -0
  348. package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts.map +1 -0
  349. package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts +26 -0
  350. package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts.map +1 -0
  351. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +29 -0
  352. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -0
  353. package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts +3 -0
  354. package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts.map +1 -0
  355. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts +25 -0
  356. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +1 -0
  357. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts +7 -0
  358. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +1 -0
  359. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts +18 -0
  360. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +1 -0
  361. package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts +45 -0
  362. package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts.map +1 -0
  363. package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  364. package/dist/typescript/commonjs/features/problemSelector/constants.d.ts +2 -5
  365. package/dist/typescript/commonjs/features/problemSelector/constants.d.ts.map +1 -1
  366. package/dist/typescript/commonjs/index.d.ts +3 -0
  367. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  368. package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts +17 -0
  369. package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts.map +1 -0
  370. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts +1 -1
  371. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts.map +1 -1
  372. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  373. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts +4 -0
  374. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts.map +1 -0
  375. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts +4 -0
  376. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts.map +1 -0
  377. package/dist/typescript/commonjs/shared/icons/index.d.ts +19 -0
  378. package/dist/typescript/commonjs/shared/icons/index.d.ts.map +1 -0
  379. package/dist/typescript/commonjs/shared/translation/constants.d.ts +102 -0
  380. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  381. package/dist/typescript/commonjs/shared/translation/model.d.ts +24 -0
  382. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  383. package/dist/typescript/commonjs/shared/translation/types.d.ts +3 -1
  384. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  385. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +5 -1
  386. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -1
  387. package/dist/typescript/commonjs/types/common.types.d.ts +5 -0
  388. package/dist/typescript/commonjs/types/common.types.d.ts.map +1 -0
  389. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts +3 -1
  390. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  391. package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +2 -1
  392. package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
  393. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +5 -1
  394. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  395. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +6 -1
  396. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
  397. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts +7 -2
  398. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  399. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts +6 -1
  400. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  401. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +5 -1
  402. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  403. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  404. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  405. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  406. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  407. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +3 -1
  408. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  409. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts +4 -3
  410. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
  411. package/dist/typescript/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
  412. package/dist/typescript/module/features/chatbot/constants.d.ts +33 -0
  413. package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
  414. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +4 -0
  415. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  416. package/dist/typescript/module/features/chatbot/index.d.ts +1 -0
  417. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  418. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +7 -2
  419. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  420. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +1 -3
  421. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  422. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +5 -0
  423. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  424. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  425. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  426. package/dist/typescript/module/features/chatbot/model/constants.d.ts.map +1 -1
  427. package/dist/typescript/module/features/chatbot/model/translation.d.ts.map +1 -1
  428. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +5 -2
  429. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  430. package/dist/typescript/module/features/chatbot/types/style.types.d.ts +5 -0
  431. package/dist/typescript/module/features/chatbot/types/style.types.d.ts.map +1 -0
  432. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  433. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  434. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  435. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +11 -0
  436. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  437. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts +10 -0
  438. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts.map +1 -0
  439. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts +10 -0
  440. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts.map +1 -0
  441. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts +9 -0
  442. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  443. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  444. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  445. package/dist/typescript/module/features/exampleSolution/components/index.d.ts +1 -0
  446. package/dist/typescript/module/features/exampleSolution/components/index.d.ts.map +1 -0
  447. package/dist/typescript/module/features/exampleSolution/constants.d.ts +6 -0
  448. package/dist/typescript/module/features/exampleSolution/constants.d.ts.map +1 -0
  449. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts +15 -0
  450. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  451. package/dist/typescript/module/features/exampleSolution/index.d.ts +4 -0
  452. package/dist/typescript/module/features/exampleSolution/index.d.ts.map +1 -0
  453. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts +9 -0
  454. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  455. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts +11 -0
  456. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  457. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts +12 -0
  458. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  459. package/dist/typescript/module/features/exampleSolution/types.d.ts +25 -0
  460. package/dist/typescript/module/features/exampleSolution/types.d.ts.map +1 -0
  461. package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts +10 -0
  462. package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts.map +1 -0
  463. package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts +10 -0
  464. package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts.map +1 -0
  465. package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts +10 -0
  466. package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts.map +1 -0
  467. package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts +10 -0
  468. package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts.map +1 -0
  469. package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts +10 -0
  470. package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts.map +1 -0
  471. package/dist/typescript/module/features/gifCelebrations/constants.d.ts +26 -0
  472. package/dist/typescript/module/features/gifCelebrations/constants.d.ts.map +1 -0
  473. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +29 -0
  474. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -0
  475. package/dist/typescript/module/features/gifCelebrations/index.d.ts +3 -0
  476. package/dist/typescript/module/features/gifCelebrations/index.d.ts.map +1 -0
  477. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts +25 -0
  478. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +1 -0
  479. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts +7 -0
  480. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +1 -0
  481. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts +18 -0
  482. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +1 -0
  483. package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts +45 -0
  484. package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts.map +1 -0
  485. package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  486. package/dist/typescript/module/features/problemSelector/constants.d.ts +2 -5
  487. package/dist/typescript/module/features/problemSelector/constants.d.ts.map +1 -1
  488. package/dist/typescript/module/index.d.ts +3 -0
  489. package/dist/typescript/module/index.d.ts.map +1 -1
  490. package/dist/typescript/module/lib/effector/ControlledSample.d.ts +17 -0
  491. package/dist/typescript/module/lib/effector/ControlledSample.d.ts.map +1 -0
  492. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts +1 -1
  493. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts.map +1 -1
  494. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  495. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts +4 -0
  496. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts.map +1 -0
  497. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts +4 -0
  498. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts.map +1 -0
  499. package/dist/typescript/module/shared/icons/index.d.ts +19 -0
  500. package/dist/typescript/module/shared/icons/index.d.ts.map +1 -0
  501. package/dist/typescript/module/shared/translation/constants.d.ts +102 -0
  502. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  503. package/dist/typescript/module/shared/translation/model.d.ts +24 -0
  504. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  505. package/dist/typescript/module/shared/translation/types.d.ts +3 -1
  506. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  507. package/dist/typescript/module/shared/translation/validation.types.d.ts +5 -1
  508. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -1
  509. package/dist/typescript/module/types/common.types.d.ts +5 -0
  510. package/dist/typescript/module/types/common.types.d.ts.map +1 -0
  511. package/package.json +11 -7
  512. package/src/features/chatbot/components/Alternatives/Alternatives.tsx +6 -0
  513. package/src/features/chatbot/components/Alternatives/HelpRequestOption.tsx +28 -29
  514. package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +6 -1
  515. package/src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx +24 -4
  516. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +39 -6
  517. package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +11 -3
  518. package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +28 -7
  519. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +25 -5
  520. package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +24 -13
  521. package/src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx +13 -3
  522. package/src/features/chatbot/components/Chatbot.tsx +6 -2
  523. package/src/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.tsx +7 -10
  524. package/src/features/chatbot/constants.ts +37 -0
  525. package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +11 -1
  526. package/src/features/chatbot/index.ts +1 -0
  527. package/src/features/chatbot/model/ChatBotModel.ts +66 -42
  528. package/src/features/chatbot/model/ChatBotThreadManager.ts +4 -10
  529. package/src/features/chatbot/model/ChatBoxTextManager.ts +14 -1
  530. package/src/features/chatbot/model/DefaultMessageCreator.ts +4 -2
  531. package/src/features/chatbot/model/constants.ts +0 -2
  532. package/src/features/chatbot/model/translation.ts +11 -1
  533. package/src/features/chatbot/types/model.types.ts +5 -2
  534. package/src/features/chatbot/types/style.types.ts +4 -0
  535. package/src/features/endOfAssignment/components/Modal/Modal.tsx +3 -0
  536. package/src/features/exampleSolution/ExampleSolutionModal.tsx +29 -0
  537. package/src/features/exampleSolution/assets/grid.png +0 -0
  538. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +78 -0
  539. package/src/features/exampleSolution/components/LavaIcon.tsx +33 -0
  540. package/src/features/exampleSolution/components/MessageBlock.tsx +67 -0
  541. package/src/features/exampleSolution/components/QuestionSection.tsx +56 -0
  542. package/src/features/exampleSolution/components/SolutionSection.tsx +69 -0
  543. package/src/features/exampleSolution/components/index.ts +0 -0
  544. package/src/features/exampleSolution/constants.ts +5 -0
  545. package/src/features/exampleSolution/hooks/useExampleSolution.ts +64 -0
  546. package/src/features/exampleSolution/index.ts +3 -0
  547. package/src/features/exampleSolution/model/ExampleSolution.model.ts +12 -0
  548. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +23 -0
  549. package/src/features/exampleSolution/model/ExampleSolutionCache.ts +20 -0
  550. package/src/features/exampleSolution/types.ts +25 -0
  551. package/src/features/feedback/model/comments.ts +7 -7
  552. package/src/features/feedback/model/model.ts +6 -6
  553. package/src/features/gifCelebrations/GifCelebrations.tsx +75 -0
  554. package/src/features/gifCelebrations/assets/confetti.webp +0 -0
  555. package/src/features/gifCelebrations/assets/gifFallback.gif +0 -0
  556. package/src/features/gifCelebrations/components/Backdrop.tsx +41 -0
  557. package/src/features/gifCelebrations/components/ContentContainer.tsx +44 -0
  558. package/src/features/gifCelebrations/components/Gif.tsx +88 -0
  559. package/src/features/gifCelebrations/components/Progress.tsx +106 -0
  560. package/src/features/gifCelebrations/constants.ts +32 -0
  561. package/src/features/gifCelebrations/helpers.ts +144 -0
  562. package/src/features/gifCelebrations/index.ts +2 -0
  563. package/src/features/gifCelebrations/model/GifCelebrations.model.ts +167 -0
  564. package/src/features/gifCelebrations/model/GifCelebrationsApi.ts +26 -0
  565. package/src/features/gifCelebrations/model/GifCelebrationsCache.ts +41 -0
  566. package/src/features/gifCelebrations/types/model.types.ts +53 -0
  567. package/src/features/problemSelector/components/ProblemSelectorButton.tsx +17 -10
  568. package/src/features/problemSelector/constants.ts +3 -2
  569. package/src/index.ts +3 -0
  570. package/src/lib/effector/ControlledSample.ts +40 -0
  571. package/src/lib/effector/createControllerEffect.ts +41 -41
  572. package/src/lib/helpers/helpers.ts +1 -1
  573. package/src/react-app-env.d.ts +6 -0
  574. package/src/shared/icons/ExcitedLavaIcon.tsx +541 -0
  575. package/src/shared/icons/LavaIconInGlasses.tsx +489 -0
  576. package/src/shared/icons/index.ts +18 -0
  577. package/src/shared/translation/constants.ts +4 -0
  578. package/src/shared/translation/localization/ca.json +33 -0
  579. package/src/shared/translation/localization/en.json +13 -1
  580. package/src/shared/translation/localization/gb.json +13 -1
  581. package/src/shared/translation/localization/sct.json +33 -0
  582. package/src/shared/translation/localization/sw.json +13 -1
  583. package/src/shared/translation/types.ts +6 -0
  584. package/src/shared/translation/validation.types.ts +9 -1
  585. package/src/types/common.types.ts +4 -0
  586. package/dist/commonjs/shared/icons/LockIcon.js +0 -31
  587. package/dist/commonjs/shared/icons/LockIcon.js.map +0 -1
  588. package/dist/module/shared/icons/LockIcon.js +0 -23
  589. package/dist/module/shared/icons/LockIcon.js.map +0 -1
  590. package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts +0 -4
  591. package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts.map +0 -1
  592. package/dist/typescript/module/shared/icons/LockIcon.d.ts +0 -4
  593. package/dist/typescript/module/shared/icons/LockIcon.d.ts.map +0 -1
  594. package/src/shared/icons/LockIcon.tsx +0 -16
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Svg","Defs","LinearGradient","Path","Stop","G","RadialGradient","ClipPath","jsx","_jsx","jsxs","_jsxs","LavaIconInGlasses","width","height","viewBox","fill","children","clipPath","d","style","mixBlendMode","opacity","filter","id","x1","y1","x2","y2","gradientUnits","stopColor","offset","cx","cy","r","gradientTransform","stopOpacity","transform"],"sourceRoot":"../../../../src","sources":["shared/icons/LavaIconInGlasses.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IACRC,IAAI,EACJC,cAAc,EACdC,IAAI,EACJC,IAAI,EACJC,CAAC,EACDC,cAAc,EACdC,QAAQ,QACH,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGzB,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC,KAAK,GAAG,EAAE;EAAEC,MAAM,GAA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CACzC,CAAC,eACjBzB,KAAA,CAACT,cAAc;QACbsB,EAAE,EAAC,wBAAwB;QAC3BC,EAAE,EAAE,OAAQ;QACZC,EAAE,EAAE,OAAQ;QACZC,EAAE,EAAE,OAAQ;QACZC,EAAE,EAAE,OAAQ;QACZC,aAAa,EAAC,gBAAgB;QAAAZ,QAAA,gBAE9BR,IAAA,CAACL,IAAI;UAAC0B,SAAS,EAAC;QAAS,CAAE,CAAC,eAC5BrB,IAAA,CAACL,IAAI;UAAC2B,MAAM,EAAE,CAAE;UAACD,SAAS,EAAC,SAAS;UAACM,WAAW,EAAE;QAAE,CAAE,CAAC;MAAA,CACzC,CAAC,eACjBzB,KAAA,CAACT,cAAc;QACbsB,EAAE,EAAC,wBAAwB;QAC3BC,EAAE,EAAE,MAAO;QACXC,EAAE,EAAE,OAAQ;QACZC,EAAE,EAAE,MAAO;QACXC,EAAE,EAAE,OAAQ;QACZC,aAAa,EAAC,gBAAgB;QAAAZ,QAAA,gBAE9BR,IAAA,CAACL,IAAI;UAAC0B,SAAS,EAAC;QAAS,CAAE,CAAC,eAC5BrB,IAAA,CAACL,IAAI;UAAC2B,MAAM,EAAE,CAAE;UAACD,SAAS,EAAC,SAAS;UAACM,WAAW,EAAE;QAAE,CAAE,CAAC;MAAA,CACzC,CAAC,eACjB3B,IAAA,CAACF,QAAQ;QAACiB,EAAE,EAAC,eAAe;QAAAP,QAAA,eAC1BR,IAAA,CAACN,IAAI;UAACa,IAAI,EAAC,MAAM;UAACqB,SAAS,EAAC,mBAAmB;UAAClB,CAAC,EAAC;QAAoB,CAAE;MAAC,CACjE,CAAC;IAAA,CACP,CAAC;EAAA,CACJ,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ export * from "./ArrowRightIcon.js";
4
+ export * from "./ChatbotIcon.js";
5
+ export * from "./CloseIcon.js";
6
+ export * from "./ExcitedLavaIcon.js";
7
+ export * from "./GlobeIcon.js";
8
+ export * from "./Halloween.js";
9
+ export * from "./HighlighterIcon.js";
10
+ export * from "./LavaIconInGlasses.js";
11
+ export * from "./MessageBubbleIcon.js";
12
+ export * from "./PauseIcon.js";
13
+ export * from "./Pi.js";
14
+ export * from "./PlayIcon.js";
15
+ export * from "./SpeakerIcon.js";
16
+ export * from "./Star.js";
17
+ export * from "./StopIcon.js";
18
+ export * from "./Valentine.js";
19
+ export * from "./Winter.js";
20
+ export * from "./XCloseIcon.js";
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/icons/index.ts"],"mappings":";;AAAA,cAAc,qBAAkB;AAChC,cAAc,kBAAe;AAC7B,cAAc,gBAAa;AAC3B,cAAc,sBAAmB;AACjC,cAAc,gBAAa;AAC3B,cAAc,gBAAa;AAC3B,cAAc,sBAAmB;AACjC,cAAc,wBAAqB;AACnC,cAAc,wBAAqB;AACnC,cAAc,gBAAa;AAC3B,cAAc,SAAM;AACpB,cAAc,eAAY;AAC1B,cAAc,kBAAe;AAC7B,cAAc,WAAQ;AACtB,cAAc,eAAY;AAC1B,cAAc,gBAAa;AAC3B,cAAc,aAAU;AACxB,cAAc,iBAAc","ignoreList":[]}
@@ -4,9 +4,13 @@ import { Locale } from "./types.js";
4
4
  import EN from './localization/en.json';
5
5
  import GB from './localization/gb.json';
6
6
  import SW from './localization/sw.json';
7
+ import CA from './localization/ca.json';
8
+ import SCT from './localization/sct.json';
7
9
  export const LOCALIZATION_CONFIGS = {
8
10
  [Locale.EN]: EN,
9
11
  [Locale.GB]: GB,
10
- [Locale.SW]: SW
12
+ [Locale.SW]: SW,
13
+ [Locale.CA]: CA,
14
+ [Locale.SCT]: SCT
11
15
  };
12
16
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Locale","EN","GB","SW","LOCALIZATION_CONFIGS"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAS;AAChC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AAEvC,OAAO,MAAMC,oBAAoB,GAAG;EAClC,CAACJ,MAAM,CAACC,EAAE,GAAGA,EAAE;EACf,CAACD,MAAM,CAACE,EAAE,GAAGA,EAAE;EACf,CAACF,MAAM,CAACG,EAAE,GAAGA;AACf,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Locale","EN","GB","SW","CA","SCT","LOCALIZATION_CONFIGS"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAS;AAChC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,GAAG,MAAM,yBAAyB;AAEzC,OAAO,MAAMC,oBAAoB,GAAG;EAClC,CAACN,MAAM,CAACC,EAAE,GAAGA,EAAE;EACf,CAACD,MAAM,CAACE,EAAE,GAAGA,EAAE;EACf,CAACF,MAAM,CAACG,EAAE,GAAGA,EAAE;EACf,CAACH,MAAM,CAACI,EAAE,GAAGA,EAAE;EACf,CAACJ,MAAM,CAACK,GAAG,GAAGA;AAChB,CAAC","ignoreList":[]}
@@ -0,0 +1,33 @@
1
+ {
2
+ "teacherFeedback.noComments": "No comments yet",
3
+ "time.justNow": "just now",
4
+ "time.minuteAgo": "minute ago",
5
+ "time.minutesAgo": "minutes ago",
6
+ "time.hourAgo": "hour ago",
7
+ "time.hoursAgo": "hours ago",
8
+ "time.dayAgo": "day ago",
9
+ "time.daysAgo": "days ago",
10
+ "time.monthAgo": "month ago",
11
+ "time.monthsAgo": "months ago",
12
+ "time.yearAgo": "year ago",
13
+ "time.yearsAgo": "years ago",
14
+ "chat": {
15
+ "anotherHint": "Give me another hint",
16
+ "giveHint": "Give me a hint",
17
+ "answerAgain": "Answer again to get another hint!",
18
+ "errorMessage": "Something went wrong! Try again",
19
+ "howCanIHelp": "Hi! Do you want help?",
20
+ "showError": "Show error"
21
+ },
22
+ "gifCelebrations": {
23
+ "greatStart": "Great start!",
24
+ "onTheWay": "On the way!",
25
+ "almostThere": "Almost there"
26
+ },
27
+ "exampleSolution": {
28
+ "exampleSolution": "Example solution",
29
+ "letMeThink": "Let me think...",
30
+ "aha": "Aha!",
31
+ "errorMessage": "Something went wrong with generating an example solution"
32
+ }
33
+ }
@@ -13,9 +13,21 @@
13
13
  "time.yearsAgo": "years ago",
14
14
  "chat": {
15
15
  "anotherHint": "Give me another hint",
16
+ "giveHint": "Give me a hint",
16
17
  "answerAgain": "Answer again to get another hint!",
17
- "errorMessage": "Sorry, I can't help with this issue at the moment 😔.",
18
+ "errorMessage": "Something went wrong! Try again",
18
19
  "howCanIHelp": "Hi! Do you want help?",
19
20
  "showError": "Show error"
21
+ },
22
+ "gifCelebrations": {
23
+ "greatStart": "Great start!",
24
+ "onTheWay": "On the way!",
25
+ "almostThere": "Almost there"
26
+ },
27
+ "exampleSolution": {
28
+ "exampleSolution": "Example solution",
29
+ "letMeThink": "Let me think...",
30
+ "aha": "Aha!",
31
+ "errorMessage": "Something went wrong with generating an example solution"
20
32
  }
21
33
  }
@@ -13,9 +13,21 @@
13
13
  "time.yearsAgo": "years ago",
14
14
  "chat": {
15
15
  "anotherHint": "Give me another hint",
16
+ "giveHint": "Give me a hint",
16
17
  "answerAgain": "Answer again to get another hint!",
17
- "errorMessage": "Sorry, I can't help with this issue at the moment 😔.",
18
+ "errorMessage": "Something went wrong! Try again",
18
19
  "howCanIHelp": "Hi! Do you want help?",
19
20
  "showError": "Show error"
21
+ },
22
+ "gifCelebrations": {
23
+ "greatStart": "Great start!",
24
+ "onTheWay": "On the way!",
25
+ "almostThere": "Almost there"
26
+ },
27
+ "exampleSolution": {
28
+ "exampleSolution": "Example solution",
29
+ "letMeThink": "Let me think...",
30
+ "aha": "Aha!",
31
+ "errorMessage": "Something went wrong with generating an example solution"
20
32
  }
21
33
  }
@@ -0,0 +1,33 @@
1
+ {
2
+ "teacherFeedback.noComments": "No comments yet",
3
+ "time.justNow": "just now",
4
+ "time.minuteAgo": "minute ago",
5
+ "time.minutesAgo": "minutes ago",
6
+ "time.hourAgo": "hour ago",
7
+ "time.hoursAgo": "hours ago",
8
+ "time.dayAgo": "day ago",
9
+ "time.daysAgo": "days ago",
10
+ "time.monthAgo": "month ago",
11
+ "time.monthsAgo": "months ago",
12
+ "time.yearAgo": "year ago",
13
+ "time.yearsAgo": "years ago",
14
+ "chat": {
15
+ "anotherHint": "Give me another hint",
16
+ "giveHint": "Give me a hint",
17
+ "answerAgain": "Answer again to get another hint!",
18
+ "errorMessage": "Something went wrong! Try again",
19
+ "howCanIHelp": "Hi! Do you want help?",
20
+ "showError": "Show error"
21
+ },
22
+ "gifCelebrations": {
23
+ "greatStart": "Great start!",
24
+ "onTheWay": "On the way!",
25
+ "almostThere": "Almost there"
26
+ },
27
+ "exampleSolution": {
28
+ "exampleSolution": "Example solution",
29
+ "letMeThink": "Let me think...",
30
+ "aha": "Aha!",
31
+ "errorMessage": "Something went wrong with generating an example solution"
32
+ }
33
+ }
@@ -13,9 +13,21 @@
13
13
  "time.yearsAgo": "år sedan",
14
14
  "chat": {
15
15
  "anotherHint": "Ge mig en ledtråd",
16
+ "giveHint": "Ge mig en ledtråd",
16
17
  "answerAgain": "Svara igen för att få en till ledtråd!",
17
- "errorMessage": "Tyvärr kan jag inte hjälpa dig just nu 😔.",
18
+ "errorMessage": "Något gick snett! Försök igen",
18
19
  "howCanIHelp": "Hej! Hur kan jag hjälpa dig?",
19
20
  "showError": "Visa fel"
21
+ },
22
+ "gifCelebrations": {
23
+ "greatStart": "Bra start!",
24
+ "onTheWay": "På god väg!",
25
+ "almostThere": "Nästan där"
26
+ },
27
+ "exampleSolution": {
28
+ "exampleSolution": "Lösnings exempel",
29
+ "letMeThink": "Låt mig tänka...",
30
+ "aha": "Aha!",
31
+ "errorMessage": "Något gick snett med att generera en exempellösning"
20
32
  }
21
33
  }
@@ -4,6 +4,8 @@ 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";
7
9
  return Locale;
8
10
  }({});
9
11
 
@@ -1 +1 @@
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
+ {"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":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=common.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/common.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
+ import { ColorScheme } from '../../types/style.types';
2
3
  type AlternativesProps = {
3
4
  onPressAlternative: (message: string, translatedMessage?: string) => void;
4
5
  hasMessages: boolean;
5
6
  isHintFeedback: boolean;
7
+ colorScheme?: ColorScheme;
6
8
  };
7
- export declare const Alternatives: ({ onPressAlternative, hasMessages, isHintFeedback, }: AlternativesProps) => React.JSX.Element;
9
+ export declare const Alternatives: ({ onPressAlternative, hasMessages, isHintFeedback, colorScheme, }: AlternativesProps) => React.JSX.Element;
8
10
  export {};
9
11
  //# 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,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"}
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"}
@@ -3,7 +3,8 @@ type HelpRequestOptionProps = {
3
3
  onPress: () => void;
4
4
  message: string;
5
5
  disabled: boolean;
6
+ hoverColor?: string;
6
7
  };
7
- export declare const HelpRequestOption: ({ onPress, message, disabled, }: HelpRequestOptionProps) => React.JSX.Element;
8
+ export declare const HelpRequestOption: ({ onPress, message, disabled, hoverColor, }: HelpRequestOptionProps) => React.JSX.Element;
8
9
  export {};
9
10
  //# 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,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"}
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"}
@@ -2,11 +2,15 @@ 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';
5
6
  type ChatMessageProps = {
6
7
  variant: MessageVariant;
7
8
  message: ConversationMessage;
8
- isTranslated?: boolean;
9
9
  t2sState: T2SState;
10
+ isTranslated?: boolean;
11
+ withErrorSpotting?: boolean;
12
+ withIcon?: boolean;
13
+ colorScheme?: ColorScheme;
10
14
  };
11
15
  export type VariantProps = Omit<ChatMessageProps, 'variant'>;
12
16
  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,O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,gBAAgB,sBAGlE,CAAA"}
@@ -1,10 +1,15 @@
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';
4
6
  type MessageButtonsBlockProps = {
5
7
  t2sState: T2SState;
6
8
  message: ConversationMessage;
9
+ variant: MessageVariant;
10
+ colorScheme?: ColorScheme;
11
+ withErrorSpotting?: boolean;
7
12
  };
8
- export declare const MessageButtonsBlock: ({ t2sState, message }: MessageButtonsBlockProps) => React.JSX.Element | null;
13
+ export declare const MessageButtonsBlock: ({ t2sState, message, variant, colorScheme, withErrorSpotting, }: MessageButtonsBlockProps) => React.JSX.Element | null;
9
14
  export {};
10
15
  //# 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;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
+ {"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,11 +1,16 @@
1
+ import React from 'react';
1
2
  import { ConversationMessage } from '../../types/units.types';
2
3
  import { T2SState } from '../../types/t2s.types';
3
- import React from 'react';
4
+ import { ColorScheme } from '../../types/style.types';
5
+ import { MessageVariant } from '../../types/model.types';
4
6
  type MessageContentProps = {
5
7
  text: string;
6
8
  message: ConversationMessage;
7
9
  t2sState: T2SState;
10
+ variant: MessageVariant;
11
+ colorScheme?: ColorScheme;
12
+ withErrorSpotting?: boolean;
8
13
  };
9
- export declare const MessageContent: ({ message, text, t2sState }: MessageContentProps) => React.JSX.Element;
14
+ export declare const MessageContent: ({ message, text, t2sState, variant, colorScheme, withErrorSpotting, }: MessageContentProps) => React.JSX.Element;
10
15
  export {};
11
16
  //# 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,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
+ {"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,3 +1,8 @@
1
1
  import React from 'react';
2
- export declare const MessageLoader: () => React.JSX.Element;
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 {};
3
8
  //# 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;AAKzB,eAAO,MAAM,aAAa,yBASzB,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;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,10 +1,14 @@
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';
4
6
  type MessageTextToSpeechProps = {
5
7
  state: T2SState;
6
8
  message: ConversationMessage;
9
+ variant: MessageVariant;
10
+ colorScheme?: ColorScheme;
7
11
  };
8
- export declare const MessageTextToSpeech: ({ state: { status, disabled, isActive, isLoading }, message, }: MessageTextToSpeechProps) => React.JSX.Element;
12
+ export declare const MessageTextToSpeech: ({ state: { status, disabled, isActive, isLoading }, message, variant, colorScheme, }: MessageTextToSpeechProps) => React.JSX.Element;
9
13
  export {};
10
14
  //# 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;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
+ {"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,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from './ChatMessage';
3
- export declare const ReceivedMessage: ({ message, isTranslated, t2sState }: VariantProps) => React.JSX.Element;
3
+ export declare const ReceivedMessage: ({ message, isTranslated, t2sState, withIcon, colorScheme, withErrorSpotting, }: 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;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,eAAO,MAAM,eAAe,wCAAyC,YAAY,sBAchF,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;AAGzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAM5C,eAAO,MAAM,eAAe,mFAOzB,YAAY,sBAuBd,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 }: VariantProps) => React.JSX.Element>;
3
+ export declare const SentMessage: React.MemoExoticComponent<({ message, isTranslated, colorScheme }: 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;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5C,eAAO,MAAM,WAAW,wDAA0C,YAAY,uBAQ5E,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;AAIzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAK5C,eAAO,MAAM,WAAW,qEACsC,YAAY,uBAczE,CAAA"}
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ChatbotModel } from '../../model/ChatBotModel';
3
+ import { ColorScheme } from '../../types/style.types';
3
4
  type ChatbotMessagesProps = {
4
5
  model: ChatbotModel;
5
6
  isHintFeedback: boolean;
6
7
  isTextToSpeechEnabled: boolean;
8
+ colorScheme?: ColorScheme;
7
9
  };
8
- export declare const ChatbotMessages: ({ model, isHintFeedback, isTextToSpeechEnabled, }: ChatbotMessagesProps) => React.JSX.Element;
10
+ export declare const ChatbotMessages: ({ model, isHintFeedback, isTextToSpeechEnabled, colorScheme, }: ChatbotMessagesProps) => React.JSX.Element;
9
11
  export {};
10
12
  //# 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;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
+ {"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,7 +1,7 @@
1
- import { ComponentType, PropsWithChildren } from 'react';
1
+ import React, { ComponentType, PropsWithChildren } from 'react';
2
2
  import { ChatbotModel } from '../model/ChatBotModel';
3
3
  import { AUDIO_CONFIG, DEFAULT_VOICE } from '../constants';
4
- import React from 'react';
4
+ import { ColorScheme } from '../types/style.types';
5
5
  type ChatbotProps = {
6
6
  model: ChatbotModel;
7
7
  isHintFeedback: boolean;
@@ -15,7 +15,8 @@ type ChatbotProps = {
15
15
  width: number;
16
16
  height: number;
17
17
  };
18
+ colorScheme?: ColorScheme;
18
19
  };
19
- export declare const Chatbot: ({ model, isHintFeedback, isTextToSpeechEnabled, textToSpeechConfig, ButtonWrapper, iconSize, }: ChatbotProps) => React.JSX.Element | null;
20
+ export declare const Chatbot: ({ model, isHintFeedback, isTextToSpeechEnabled, textToSpeechConfig, ButtonWrapper, iconSize, colorScheme, }: ChatbotProps) => React.JSX.Element | null;
20
21
  export {};
21
22
  //# 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,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
+ {"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 +1 @@
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
+ {"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,3 +1,4 @@
1
+ import { ButtonColor } from '@magmamath/react-native-ui';
1
2
  export declare const AUDIO_CONFIG: {
2
3
  audioEncoding: string;
3
4
  pitch: number;
@@ -24,4 +25,36 @@ export declare const KATEX_REPLACEMENTS: {
24
25
  export declare const KATEX_REPLACEMENTS_REVERSE: {
25
26
  readonly __KATEX_DOLLAR_SYMBOL__: "$";
26
27
  };
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
+ };
27
60
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
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"}
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"}
@@ -21,6 +21,8 @@ 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>;
24
26
  readonly $validationKey: import("effector").StoreWritable<string | null>;
25
27
  readonly $activeData: import("effector").StoreWritable<ActiveErrorSpottingData | null>;
26
28
  readonly $isLoading: Store<boolean>;
@@ -30,6 +32,8 @@ export declare class ErrorSpottingModel {
30
32
  bindStrokesValidation($store: Store<string | null>): this;
31
33
  abortPendingRequest(): void;
32
34
  reset(): void;
35
+ enable(): void;
36
+ disable(): void;
33
37
  }
34
38
  export {};
35
39
  //# 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,EAAE,MAAM,UAAU,CAAA;AAChF,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EA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AA;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;IAC9C,SAAgB,YAAY,4CAAyB;IAErD,SAAgB,UAAU,4CAAoC;IAC9D,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;IAKL,MAAM;IAIN,OAAO;CAGf"}
@@ -6,4 +6,5 @@ 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';
9
10
  //# 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"}
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"}
@@ -18,7 +18,10 @@ export declare class ChatbotModel {
18
18
  readonly translation: ChatbotTranslation;
19
19
  readonly t2s: ChatTextToSpeechModel;
20
20
  readonly errorSpotting: ErrorSpottingModel;
21
+ private readonly setCurrentKey;
21
22
  readonly $currentKey: import("effector").StoreWritable<string>;
23
+ private unbindCurrentKey;
24
+ private externalTranslationStateSync?;
22
25
  readonly resetAlternatives: import("effector").EventCallable<void>;
23
26
  readonly setAlternatives: import("effector").EventCallable<GetAlternativesResponse | null>;
24
27
  readonly $alternatives: Store<GetAlternativesResponse | null>;
@@ -42,16 +45,18 @@ export declare class ChatbotModel {
42
45
  constructor({ api, $key, threadMessagesLimit, settings }: ChatbotModelProps);
43
46
  private createSendHelpRequestFx;
44
47
  bindKey($store: Store<string>): this;
45
- bindExternalTranslationState($store: Store<boolean>): this;
48
+ bindExternalTranslationState($isTranslated: Store<boolean>): this;
46
49
  setUpT2S(config: T2SConfig): this;
47
50
  setDrawBoardAdapter(adapter: IChatDrawBoardAdapter): this;
48
- readonly sendHelpRequestFx: import("effector").Effect<SendHelpParams, void, Error>;
49
51
  readonly startConversation: import("effector").Effect<void | StartConversationProps, void, Error>;
52
+ readonly sendHelpRequestFx: import("effector").Effect<SendHelpParams, void, Error>;
50
53
  setHintMessage({ key, ...message }: SetHintMessageProps): void;
51
54
  readonly reinitConversation: ({ key }: ReinitConversationProps) => void;
52
55
  disableChat(key: string): void;
53
56
  softReset: import("effector").Effect<void, void, Error>;
54
57
  readonly reset: import("effector").EventCallable<void>;
58
+ unbindKey(): this;
59
+ unbindExternalTranslationState(): this;
55
60
  }
56
61
  export {};
57
62
  //# sourceMappingURL=ChatBotModel.d.ts.map