@magmamath/students-features 0.10.0-rc.6 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/dist/commonjs/features/celebrations/helpers.js +1 -4
  2. package/dist/commonjs/features/celebrations/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/Chat/Chat.js +19 -41
  4. package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
  5. package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +2 -7
  6. package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  8. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +4 -16
  9. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  10. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +2 -6
  11. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  12. package/dist/commonjs/features/chatbot/components/Chatbot.js +4 -17
  13. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  14. package/dist/commonjs/features/chatbot/constants.js +1 -2
  15. package/dist/commonjs/features/chatbot/constants.js.map +1 -1
  16. package/dist/commonjs/features/chatbot/helpers.js +2 -19
  17. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  18. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  19. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +11 -32
  20. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  21. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +2 -2
  22. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  23. package/dist/commonjs/features/chatbot/model/ChatbotApi.js +1 -1
  24. package/dist/commonjs/features/chatbot/model/ChatbotApi.js.map +1 -1
  25. package/dist/commonjs/features/chatbot/model/ChatsCacheModel.js.map +1 -1
  26. package/dist/commonjs/features/chatbot/model/t2s.js +107 -0
  27. package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -0
  28. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  29. package/dist/commonjs/features/chatbot/types/t2s.types.js.map +1 -1
  30. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  31. package/dist/commonjs/features/feedback/model/sockets.js +5 -8
  32. package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
  33. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +2 -2
  34. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  35. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +2 -2
  36. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  37. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +4 -4
  38. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  39. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -2
  40. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  41. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +4 -4
  42. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  43. package/dist/commonjs/features/keyboard/components/Keyboard.js +2 -4
  44. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  45. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +6 -1
  46. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
  47. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +1 -1
  48. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +1 -3
  49. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  50. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +6 -27
  51. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  52. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +1 -9
  53. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  54. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js +0 -1
  55. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  56. package/dist/commonjs/features/keyboard/constants/constants.js +1 -1
  57. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +1 -2
  58. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  59. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +4 -20
  60. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  61. package/dist/commonjs/features/keyboard/helpers.js +0 -7
  62. package/dist/commonjs/features/keyboard/helpers.js.map +1 -1
  63. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +3 -20
  64. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  65. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +3 -6
  66. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  67. package/dist/commonjs/index.js +1 -13
  68. package/dist/commonjs/index.js.map +1 -1
  69. package/dist/commonjs/shared/icons/keyboard/CDotIcon/CDotIcon.js +4 -4
  70. package/dist/commonjs/shared/icons/keyboard/CDotIcon/CDotIcon.js.map +1 -1
  71. package/dist/commonjs/shared/translation/localization/ca.json +1 -2
  72. package/dist/commonjs/shared/translation/localization/de.json +1 -2
  73. package/dist/commonjs/shared/translation/localization/en.json +1 -2
  74. package/dist/commonjs/shared/translation/localization/gb.json +1 -2
  75. package/dist/commonjs/shared/translation/localization/sct.json +1 -2
  76. package/dist/commonjs/shared/translation/localization/sw.json +1 -2
  77. package/dist/commonjs/types/common.types.js +0 -4
  78. package/dist/module/features/celebrations/helpers.js +1 -4
  79. package/dist/module/features/celebrations/helpers.js.map +1 -1
  80. package/dist/module/features/chatbot/components/Chat/Chat.js +19 -41
  81. package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
  82. package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +2 -5
  83. package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
  84. package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  85. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +4 -16
  86. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  87. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +2 -6
  88. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  89. package/dist/module/features/chatbot/components/Chatbot.js +4 -17
  90. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  91. package/dist/module/features/chatbot/constants.js +0 -1
  92. package/dist/module/features/chatbot/constants.js.map +1 -1
  93. package/dist/module/features/chatbot/helpers.js +2 -19
  94. package/dist/module/features/chatbot/helpers.js.map +1 -1
  95. package/dist/module/features/chatbot/index.js.map +1 -1
  96. package/dist/module/features/chatbot/model/ChatBotModel.js +11 -32
  97. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  98. package/dist/module/features/chatbot/model/ChatBotThreadManager.js +2 -2
  99. package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  100. package/dist/module/features/chatbot/model/ChatbotApi.js +1 -1
  101. package/dist/module/features/chatbot/model/ChatbotApi.js.map +1 -1
  102. package/dist/module/features/chatbot/model/ChatsCacheModel.js.map +1 -1
  103. package/dist/module/features/chatbot/model/t2s.js +102 -0
  104. package/dist/module/features/chatbot/model/t2s.js.map +1 -0
  105. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  106. package/dist/module/features/chatbot/types/t2s.types.js.map +1 -1
  107. package/dist/module/features/feedback/model/model.js.map +1 -1
  108. package/dist/module/features/feedback/model/sockets.js +5 -8
  109. package/dist/module/features/feedback/model/sockets.js.map +1 -1
  110. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +3 -3
  111. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  112. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +2 -2
  113. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  114. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +4 -4
  115. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  116. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -2
  117. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  118. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +4 -4
  119. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  120. package/dist/module/features/keyboard/components/Keyboard.js +2 -4
  121. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  122. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  123. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +7 -2
  124. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
  125. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +1 -1
  126. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +1 -2
  127. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  128. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +6 -27
  129. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  130. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +1 -9
  131. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  132. package/dist/module/features/keyboard/components/UnitsLayout/types.js +0 -1
  133. package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  134. package/dist/module/features/keyboard/constants/constants.js +1 -1
  135. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +2 -3
  136. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  137. package/dist/module/features/keyboard/constants/keyboardLayouts.js +4 -19
  138. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  139. package/dist/module/features/keyboard/helpers.js +0 -5
  140. package/dist/module/features/keyboard/helpers.js.map +1 -1
  141. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +3 -20
  142. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  143. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +3 -6
  144. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  145. package/dist/module/index.js +0 -1
  146. package/dist/module/index.js.map +1 -1
  147. package/dist/module/shared/icons/keyboard/CDotIcon/CDotIcon.js +4 -4
  148. package/dist/module/shared/icons/keyboard/CDotIcon/CDotIcon.js.map +1 -1
  149. package/dist/module/shared/translation/localization/ca.json +1 -2
  150. package/dist/module/shared/translation/localization/de.json +1 -2
  151. package/dist/module/shared/translation/localization/en.json +1 -2
  152. package/dist/module/shared/translation/localization/gb.json +1 -2
  153. package/dist/module/shared/translation/localization/sct.json +1 -2
  154. package/dist/module/shared/translation/localization/sw.json +1 -2
  155. package/dist/module/types/common.types.js +0 -2
  156. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
  157. package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts +2 -6
  158. package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
  159. package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts +1 -2
  160. package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
  161. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +1 -3
  162. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  163. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts +2 -4
  164. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  165. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  166. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  167. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts +1 -4
  168. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
  169. package/dist/typescript/commonjs/features/chatbot/constants.d.ts +0 -1
  170. package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
  171. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  172. package/dist/typescript/commonjs/features/chatbot/index.d.ts +2 -3
  173. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  174. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +3 -5
  175. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  176. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +3 -4
  177. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  178. package/dist/typescript/commonjs/features/chatbot/model/ChatsCacheModel.d.ts.map +1 -1
  179. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts +34 -0
  180. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -0
  181. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +16 -28
  182. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  183. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +11 -14
  184. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  185. package/dist/typescript/commonjs/features/chatbot/types/t2s.types.d.ts +0 -25
  186. package/dist/typescript/commonjs/features/chatbot/types/t2s.types.d.ts.map +1 -1
  187. package/dist/typescript/commonjs/features/feedback/model/model.d.ts +1 -4
  188. package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
  189. package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
  190. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  191. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  192. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  193. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  194. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +1 -2
  195. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  196. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
  197. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +0 -1
  198. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  199. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +7 -4
  200. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  201. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +0 -1
  202. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  203. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +1 -7
  204. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  205. package/dist/typescript/commonjs/features/keyboard/constants/constants.d.ts +1 -1
  206. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  207. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -4
  208. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  209. package/dist/typescript/commonjs/features/keyboard/helpers.d.ts +0 -1
  210. package/dist/typescript/commonjs/features/keyboard/helpers.d.ts.map +1 -1
  211. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -10
  212. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  213. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +0 -36
  214. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  215. package/dist/typescript/commonjs/index.d.ts +0 -1
  216. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  217. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts +1 -1
  218. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts.map +1 -1
  219. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -6
  220. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  221. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -2
  222. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  223. package/dist/typescript/commonjs/types/common.types.d.ts +0 -2
  224. package/dist/typescript/commonjs/types/common.types.d.ts.map +1 -1
  225. package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
  226. package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts +2 -6
  227. package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
  228. package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts +1 -2
  229. package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
  230. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +1 -3
  231. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  232. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts +2 -4
  233. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  234. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  235. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  236. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts +1 -4
  237. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
  238. package/dist/typescript/module/features/chatbot/constants.d.ts +0 -1
  239. package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
  240. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  241. package/dist/typescript/module/features/chatbot/index.d.ts +2 -3
  242. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  243. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +3 -5
  244. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  245. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +3 -4
  246. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  247. package/dist/typescript/module/features/chatbot/model/ChatsCacheModel.d.ts.map +1 -1
  248. package/dist/typescript/module/features/chatbot/model/t2s.d.ts +34 -0
  249. package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -0
  250. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +16 -28
  251. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  252. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +11 -14
  253. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  254. package/dist/typescript/module/features/chatbot/types/t2s.types.d.ts +0 -25
  255. package/dist/typescript/module/features/chatbot/types/t2s.types.d.ts.map +1 -1
  256. package/dist/typescript/module/features/feedback/model/model.d.ts +1 -4
  257. package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
  258. package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
  259. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  260. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  261. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  262. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  263. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +1 -2
  264. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  265. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
  266. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +0 -1
  267. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  268. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +7 -4
  269. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  270. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +0 -1
  271. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  272. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +1 -7
  273. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  274. package/dist/typescript/module/features/keyboard/constants/constants.d.ts +1 -1
  275. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  276. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -4
  277. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  278. package/dist/typescript/module/features/keyboard/helpers.d.ts +0 -1
  279. package/dist/typescript/module/features/keyboard/helpers.d.ts.map +1 -1
  280. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -10
  281. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  282. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +0 -36
  283. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  284. package/dist/typescript/module/index.d.ts +0 -1
  285. package/dist/typescript/module/index.d.ts.map +1 -1
  286. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts +1 -1
  287. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts.map +1 -1
  288. package/dist/typescript/module/shared/translation/constants.d.ts +0 -6
  289. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  290. package/dist/typescript/module/shared/translation/model.d.ts +0 -2
  291. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  292. package/dist/typescript/module/types/common.types.d.ts +0 -2
  293. package/dist/typescript/module/types/common.types.d.ts.map +1 -1
  294. package/package.json +1 -1
  295. package/src/features/celebrations/helpers.ts +33 -35
  296. package/src/features/chatbot/components/Chat/Chat.tsx +22 -48
  297. package/src/features/chatbot/components/ChatControls/ChatControls.tsx +2 -9
  298. package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +1 -3
  299. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +3 -25
  300. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +0 -4
  301. package/src/features/chatbot/components/Chatbot.tsx +2 -19
  302. package/src/features/chatbot/constants.ts +0 -2
  303. package/src/features/chatbot/helpers.ts +1 -14
  304. package/src/features/chatbot/index.ts +2 -17
  305. package/src/features/chatbot/model/ChatBotModel.ts +13 -51
  306. package/src/features/chatbot/model/ChatBotThreadManager.ts +4 -12
  307. package/src/features/chatbot/model/ChatbotApi.ts +1 -1
  308. package/src/features/chatbot/model/ChatsCacheModel.ts +0 -4
  309. package/src/features/chatbot/model/t2s.ts +123 -0
  310. package/src/features/chatbot/types/api.types.ts +19 -25
  311. package/src/features/chatbot/types/model.types.ts +12 -24
  312. package/src/features/chatbot/types/t2s.types.ts +0 -33
  313. package/src/features/feedback/model/model.ts +1 -4
  314. package/src/features/feedback/model/sockets.ts +6 -8
  315. package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +3 -4
  316. package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +2 -2
  317. package/src/features/keyboard/components/BasicPlusLayout/keyboardGroups.ts +17 -27
  318. package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +2 -3
  319. package/src/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.ts +24 -30
  320. package/src/features/keyboard/components/Keyboard.tsx +4 -14
  321. package/src/features/keyboard/components/KeysList/KeysList.tsx +1 -1
  322. package/src/features/keyboard/components/MainLayout/MainLayout.tsx +6 -2
  323. package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +1 -1
  324. package/src/features/keyboard/components/UnitsLayout/helpers.tsx +0 -3
  325. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +22 -36
  326. package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +0 -11
  327. package/src/features/keyboard/components/UnitsLayout/types.ts +0 -7
  328. package/src/features/keyboard/constants/constants.ts +1 -1
  329. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +0 -2
  330. package/src/features/keyboard/constants/keyboardLayouts.ts +1 -18
  331. package/src/features/keyboard/helpers.ts +0 -6
  332. package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +3 -15
  333. package/src/features/keyboard/types/MathKeysGroups/units.tsx +0 -3
  334. package/src/index.ts +0 -1
  335. package/src/lib/effector/createControllerEffect.ts +1 -1
  336. package/src/shared/icons/keyboard/CDotIcon/CDotIcon.tsx +2 -2
  337. package/src/shared/translation/localization/ca.json +1 -2
  338. package/src/shared/translation/localization/de.json +1 -2
  339. package/src/shared/translation/localization/en.json +1 -2
  340. package/src/shared/translation/localization/gb.json +1 -2
  341. package/src/shared/translation/localization/sct.json +1 -2
  342. package/src/shared/translation/localization/sw.json +1 -2
  343. package/src/types/common.types.ts +0 -4
  344. package/dist/commonjs/features/chatbot/TTS_HIGHLIGHTING.md +0 -120
  345. package/dist/commonjs/features/chatbot/helpers/ttsHighlight.js +0 -29
  346. package/dist/commonjs/features/chatbot/helpers/ttsHighlight.js.map +0 -1
  347. package/dist/commonjs/features/chatbot/model/ChatTTSHighlightModel.js +0 -56
  348. package/dist/commonjs/features/chatbot/model/ChatTTSHighlightModel.js.map +0 -1
  349. package/dist/commonjs/features/chatbot/model/ChatTTSModel.js +0 -154
  350. package/dist/commonjs/features/chatbot/model/ChatTTSModel.js.map +0 -1
  351. package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -34
  352. package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js.map +0 -1
  353. package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +0 -77
  354. package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +0 -1
  355. package/dist/commonjs/features/openEnded/index.js +0 -48
  356. package/dist/commonjs/features/openEnded/index.js.map +0 -1
  357. package/dist/commonjs/features/openEnded/oe.helpers.js +0 -26
  358. package/dist/commonjs/features/openEnded/oe.helpers.js.map +0 -1
  359. package/dist/commonjs/features/openEnded/oe.types.js +0 -14
  360. package/dist/commonjs/features/openEnded/oe.types.js.map +0 -1
  361. package/dist/commonjs/lib/components/ConditionalWrapper.js +0 -23
  362. package/dist/commonjs/lib/components/ConditionalWrapper.js.map +0 -1
  363. package/dist/commonjs/shared/common.constants.js +0 -9
  364. package/dist/commonjs/shared/common.constants.js.map +0 -1
  365. package/dist/commonjs/shared/icons/TimeIcon.js +0 -37
  366. package/dist/commonjs/shared/icons/TimeIcon.js.map +0 -1
  367. package/dist/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js +0 -32
  368. package/dist/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js.map +0 -1
  369. package/dist/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js +0 -32
  370. package/dist/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js.map +0 -1
  371. package/dist/module/features/chatbot/TTS_HIGHLIGHTING.md +0 -120
  372. package/dist/module/features/chatbot/helpers/ttsHighlight.js +0 -23
  373. package/dist/module/features/chatbot/helpers/ttsHighlight.js.map +0 -1
  374. package/dist/module/features/chatbot/model/ChatTTSHighlightModel.js +0 -52
  375. package/dist/module/features/chatbot/model/ChatTTSHighlightModel.js.map +0 -1
  376. package/dist/module/features/chatbot/model/ChatTTSModel.js +0 -149
  377. package/dist/module/features/chatbot/model/ChatTTSModel.js.map +0 -1
  378. package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -28
  379. package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js.map +0 -1
  380. package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +0 -71
  381. package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +0 -1
  382. package/dist/module/features/openEnded/index.js +0 -7
  383. package/dist/module/features/openEnded/index.js.map +0 -1
  384. package/dist/module/features/openEnded/oe.helpers.js +0 -21
  385. package/dist/module/features/openEnded/oe.helpers.js.map +0 -1
  386. package/dist/module/features/openEnded/oe.types.js +0 -10
  387. package/dist/module/features/openEnded/oe.types.js.map +0 -1
  388. package/dist/module/lib/components/ConditionalWrapper.js +0 -17
  389. package/dist/module/lib/components/ConditionalWrapper.js.map +0 -1
  390. package/dist/module/shared/common.constants.js +0 -5
  391. package/dist/module/shared/common.constants.js.map +0 -1
  392. package/dist/module/shared/icons/TimeIcon.js +0 -29
  393. package/dist/module/shared/icons/TimeIcon.js.map +0 -1
  394. package/dist/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js +0 -24
  395. package/dist/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js.map +0 -1
  396. package/dist/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js +0 -24
  397. package/dist/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js.map +0 -1
  398. package/dist/typescript/commonjs/features/chatbot/helpers/ttsHighlight.d.ts +0 -8
  399. package/dist/typescript/commonjs/features/chatbot/helpers/ttsHighlight.d.ts.map +0 -1
  400. package/dist/typescript/commonjs/features/chatbot/model/ChatTTSHighlightModel.d.ts +0 -25
  401. package/dist/typescript/commonjs/features/chatbot/model/ChatTTSHighlightModel.d.ts.map +0 -1
  402. package/dist/typescript/commonjs/features/chatbot/model/ChatTTSModel.d.ts +0 -38
  403. package/dist/typescript/commonjs/features/chatbot/model/ChatTTSModel.d.ts.map +0 -1
  404. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.d.ts +0 -7
  405. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +0 -1
  406. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts +0 -12
  407. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +0 -1
  408. package/dist/typescript/commonjs/features/openEnded/index.d.ts +0 -5
  409. package/dist/typescript/commonjs/features/openEnded/index.d.ts.map +0 -1
  410. package/dist/typescript/commonjs/features/openEnded/oe.helpers.d.ts +0 -13
  411. package/dist/typescript/commonjs/features/openEnded/oe.helpers.d.ts.map +0 -1
  412. package/dist/typescript/commonjs/features/openEnded/oe.types.d.ts +0 -7
  413. package/dist/typescript/commonjs/features/openEnded/oe.types.d.ts.map +0 -1
  414. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +0 -9
  415. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts.map +0 -1
  416. package/dist/typescript/commonjs/shared/common.constants.d.ts +0 -2
  417. package/dist/typescript/commonjs/shared/common.constants.d.ts.map +0 -1
  418. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +0 -4
  419. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +0 -1
  420. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts +0 -4
  421. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts.map +0 -1
  422. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts +0 -4
  423. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts.map +0 -1
  424. package/dist/typescript/module/features/chatbot/helpers/ttsHighlight.d.ts +0 -8
  425. package/dist/typescript/module/features/chatbot/helpers/ttsHighlight.d.ts.map +0 -1
  426. package/dist/typescript/module/features/chatbot/model/ChatTTSHighlightModel.d.ts +0 -25
  427. package/dist/typescript/module/features/chatbot/model/ChatTTSHighlightModel.d.ts.map +0 -1
  428. package/dist/typescript/module/features/chatbot/model/ChatTTSModel.d.ts +0 -38
  429. package/dist/typescript/module/features/chatbot/model/ChatTTSModel.d.ts.map +0 -1
  430. package/dist/typescript/module/features/openEnded/components/OpenEndedAttemptsLimit.d.ts +0 -7
  431. package/dist/typescript/module/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +0 -1
  432. package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts +0 -12
  433. package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +0 -1
  434. package/dist/typescript/module/features/openEnded/index.d.ts +0 -5
  435. package/dist/typescript/module/features/openEnded/index.d.ts.map +0 -1
  436. package/dist/typescript/module/features/openEnded/oe.helpers.d.ts +0 -13
  437. package/dist/typescript/module/features/openEnded/oe.helpers.d.ts.map +0 -1
  438. package/dist/typescript/module/features/openEnded/oe.types.d.ts +0 -7
  439. package/dist/typescript/module/features/openEnded/oe.types.d.ts.map +0 -1
  440. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +0 -9
  441. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts.map +0 -1
  442. package/dist/typescript/module/shared/common.constants.d.ts +0 -2
  443. package/dist/typescript/module/shared/common.constants.d.ts.map +0 -1
  444. package/dist/typescript/module/shared/icons/TimeIcon.d.ts +0 -4
  445. package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +0 -1
  446. package/dist/typescript/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts +0 -4
  447. package/dist/typescript/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts.map +0 -1
  448. package/dist/typescript/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts +0 -4
  449. package/dist/typescript/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts.map +0 -1
  450. package/src/features/chatbot/TTS_HIGHLIGHTING.md +0 -120
  451. package/src/features/chatbot/helpers/ttsHighlight.ts +0 -25
  452. package/src/features/chatbot/model/ChatTTSHighlightModel.ts +0 -64
  453. package/src/features/chatbot/model/ChatTTSModel.ts +0 -168
  454. package/src/features/openEnded/components/OpenEndedAttemptsLimit.tsx +0 -26
  455. package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +0 -81
  456. package/src/features/openEnded/index.ts +0 -4
  457. package/src/features/openEnded/oe.helpers.ts +0 -31
  458. package/src/features/openEnded/oe.types.ts +0 -6
  459. package/src/lib/components/ConditionalWrapper.tsx +0 -15
  460. package/src/shared/common.constants.ts +0 -3
  461. package/src/shared/icons/TimeIcon.tsx +0 -23
  462. package/src/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.tsx +0 -18
  463. package/src/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.tsx +0 -18
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroupsByLocale.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardGroupsByLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAwC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAoC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
1
+ {"version":3,"file":"keyboardGroupsByLocale.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardGroupsByLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAuC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
@@ -3,12 +3,10 @@ export declare const KEYBOARD_LAYOUTS: {
3
3
  AlgebraAdvanced: {
4
4
  Component: ({ onLayoutChange, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
5
5
  characterTypes: MyScriptMathCharacterTypes[];
6
- mobileBreakpoint: number;
7
6
  };
8
7
  Basic: {
9
8
  Component: (props: import("../types/types").KeyboardLayoutProps & import("react").PropsWithChildren) => import("react").JSX.Element | null;
10
9
  characterTypes: MyScriptMathCharacterTypes[];
11
- mobileBreakpoint: number;
12
10
  };
13
11
  BasicPlus: {
14
12
  Component: (props: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
@@ -29,10 +27,8 @@ export declare const KEYBOARD_LAYOUTS: {
29
27
  BasicPlusPlus: {
30
28
  Component: (props: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
31
29
  characterTypes: MyScriptMathCharacterTypes[];
32
- mobileBreakpoint: number;
33
30
  };
34
31
  };
35
32
  export declare function getLayoutByCharType(charType?: number): (props: import("../types/types").KeyboardLayoutProps & import("react").PropsWithChildren) => import("react").JSX.Element | null;
36
- export declare function getMobileBreakpointByCharType(charType?: number): number;
37
33
  export declare function isBasicPlusPlusLayout(charType?: number): boolean;
38
34
  //# sourceMappingURL=keyboardLayouts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAG1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD5B,CAAA;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,mIAWpD;AAED,wBAAgB,6BAA6B,CAAC,QAAQ,CAAC,EAAE,MAAM,UAW9D;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,WAStD"}
1
+ {"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAE1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD5B,CAAA;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,mIAWpD;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,WAStD"}
@@ -2,5 +2,4 @@ import { KeyboardGroup, KeyboardType } from './types/types';
2
2
  import { Locale } from '../../shared/translation/types';
3
3
  export declare function getKeyboardGroup(locale: Locale, type: KeyboardType): KeyboardGroup;
4
4
  export declare const getIsIpadOrIphoneDevice: () => boolean;
5
- export declare const isMobileWidth: (width: number, characterType?: number) => boolean;
6
5
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/keyboard/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAA;AAKvD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,aAAa,CAElF;AAED,eAAO,MAAM,uBAAuB,eAOnC,CAAA;AAED,eAAO,MAAM,aAAa,UAAW,MAAM,kBAAkB,MAAM,YAGlE,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/keyboard/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAA;AAIvD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,aAAa,CAElF;AAED,eAAO,MAAM,uBAAuB,eAOnC,CAAA"}
@@ -207,16 +207,6 @@ export declare const MATH_BASIC_OPERATORS: {
207
207
  mathliveValue: string;
208
208
  katexValue: string;
209
209
  };
210
- ROUND_BRACKET_RIGHT: {
211
- icon: React.JSX.Element;
212
- mathliveValue: string;
213
- katexValue: string;
214
- };
215
- ROUND_BRACKET_LEFT: {
216
- icon: React.JSX.Element;
217
- mathliveValue: string;
218
- katexValue: string;
219
- };
220
210
  ORDERED_PAIR: {
221
211
  icon: React.JSX.Element;
222
212
  mathliveValue: string;
@@ -1 +1 @@
1
- {"version":3,"file":"basicOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/basicOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AA+CzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyO/B,CAAA"}
1
+ {"version":3,"file":"basicOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/basicOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AA6CzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+N/B,CAAA"}
@@ -954,52 +954,16 @@ export declare const MATH_TIME_UNITS: {
954
954
  label: string;
955
955
  mathliveValue: string;
956
956
  katexValue: string;
957
- style: {
958
- button: {
959
- width: number;
960
- };
961
- container: {
962
- flexBasis: number;
963
- } | undefined;
964
- text: {
965
- readonly fontSize: 14;
966
- readonly fontWeight: 700;
967
- };
968
- };
969
957
  };
970
958
  M: {
971
959
  label: string;
972
960
  mathliveValue: string;
973
961
  katexValue: string;
974
- style: {
975
- button: {
976
- width: number;
977
- };
978
- container: {
979
- flexBasis: number;
980
- } | undefined;
981
- text: {
982
- readonly fontSize: 14;
983
- readonly fontWeight: 700;
984
- };
985
- };
986
962
  };
987
963
  H: {
988
964
  label: string;
989
965
  mathliveValue: string;
990
966
  katexValue: string;
991
- style: {
992
- button: {
993
- width: number;
994
- };
995
- container: {
996
- flexBasis: number;
997
- } | undefined;
998
- text: {
999
- readonly fontSize: 14;
1000
- readonly fontWeight: 700;
1001
- };
1002
- };
1003
967
  };
1004
968
  DAY: {
1005
969
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/units.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAiCzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC9B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E5B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsE1B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmI5B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D5B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqE1B,CAAA"}
1
+ {"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/units.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAiCzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC9B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E5B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsE1B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmI5B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D5B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE1B,CAAA"}
@@ -9,6 +9,5 @@ export * from './features/problemSelector';
9
9
  export * from './features/gifCelebrations';
10
10
  export * from './features/exampleSolution';
11
11
  export * from './features/keyboard';
12
- export * from './features/openEnded';
13
12
  export * from './shared/icons';
14
13
  //# 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,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,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;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA"}
@@ -7,7 +7,7 @@ type ControlledRequestProps<P> = {
7
7
  controller?: AbortController;
8
8
  abortAfter?: number;
9
9
  };
10
- export type RequestOptionalConfig = {
10
+ 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>;
@@ -1 +1 @@
1
- {"version":3,"file":"createControllerEffect.d.ts","sourceRoot":"","sources":["../../../../../src/lib/effector/createControllerEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAMpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAClD,UAAU,EAAE,eAAe,CAAA;CAC5B,CAAA;AAED,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC/B,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA;AAE5D,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,IAAI,EAClD,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,uCAM9D,sBAAsB,CAAC,CAAC,CAAC,gBAwB7B;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,EAAE,CAAC,aACrC,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,2BAa7D,CAAA"}
1
+ {"version":3,"file":"createControllerEffect.d.ts","sourceRoot":"","sources":["../../../../../src/lib/effector/createControllerEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAMpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAClD,UAAU,EAAE,eAAe,CAAA;CAC5B,CAAA;AAED,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC/B,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA;AAErD,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,IAAI,EAClD,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,uCAM9D,sBAAsB,CAAC,CAAC,CAAC,gBAwB7B;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,EAAE,CAAC,aACrC,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,2BAa7D,CAAA"}
@@ -39,7 +39,6 @@ export declare const LOCALIZATION_CONFIGS: {
39
39
  area: string;
40
40
  volume: string;
41
41
  weight: string;
42
- time: string;
43
42
  };
44
43
  };
45
44
  "en-GB": {
@@ -82,7 +81,6 @@ export declare const LOCALIZATION_CONFIGS: {
82
81
  area: string;
83
82
  volume: string;
84
83
  weight: string;
85
- time: string;
86
84
  };
87
85
  };
88
86
  "sv-SE": {
@@ -125,7 +123,6 @@ export declare const LOCALIZATION_CONFIGS: {
125
123
  area: string;
126
124
  volume: string;
127
125
  weight: string;
128
- time: string;
129
126
  };
130
127
  };
131
128
  "en-CA": {
@@ -168,7 +165,6 @@ export declare const LOCALIZATION_CONFIGS: {
168
165
  area: string;
169
166
  volume: string;
170
167
  weight: string;
171
- time: string;
172
168
  };
173
169
  };
174
170
  "en-SCT": {
@@ -211,7 +207,6 @@ export declare const LOCALIZATION_CONFIGS: {
211
207
  area: string;
212
208
  volume: string;
213
209
  weight: string;
214
- time: string;
215
210
  };
216
211
  };
217
212
  "de-DE": {
@@ -254,7 +249,6 @@ export declare const LOCALIZATION_CONFIGS: {
254
249
  area: string;
255
250
  volume: string;
256
251
  weight: string;
257
- time: string;
258
252
  };
259
253
  };
260
254
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
@@ -40,7 +40,6 @@ export declare const setLocalization: import("effector").EventCallable<{
40
40
  area: string;
41
41
  volume: string;
42
42
  weight: string;
43
- time: string;
44
43
  };
45
44
  } | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
46
45
  export declare const $localization: import("effector").StoreWritable<{
@@ -83,7 +82,6 @@ export declare const $localization: import("effector").StoreWritable<{
83
82
  area: string;
84
83
  volume: string;
85
84
  weight: string;
86
- time: string;
87
85
  };
88
86
  }>;
89
87
  //# sourceMappingURL=model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
@@ -1,7 +1,5 @@
1
- import { COLORS } from '@magmamath/react-native-ui';
2
1
  export type Size = {
3
2
  width: number;
4
3
  height: number;
5
4
  };
6
- export type ColorValue = (typeof COLORS)[keyof typeof COLORS];
7
5
  //# sourceMappingURL=common.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.types.d.ts","sourceRoot":"","sources":["../../../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"common.types.d.ts","sourceRoot":"","sources":["../../../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmamath/students-features",
3
- "version": "0.10.0-rc.6",
3
+ "version": "0.10.0",
4
4
  "description": "Magmamath features library",
5
5
  "source": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -1,41 +1,39 @@
1
- import { ParticlesBatch } from './components/ParticleBatch'
2
- import { Spark } from './components/Spark'
3
- import { CELEBRATION_ICON_CONFIG, CELEBRATION_VARIANTS } from './config'
4
- import { CelebrationVariant } from './types'
1
+ import { ParticlesBatch } from './components/ParticleBatch';
2
+ import { Spark } from './components/Spark';
3
+ import { CELEBRATION_ICON_CONFIG, CELEBRATION_VARIANTS } from './config';
4
+ import { CelebrationVariant } from './types';
5
5
 
6
- export const randomRange = (min: number, max: number) => Math.random() * (max - min) + min
6
+ export const randomRange = (min: number, max: number) => Math.random() * (max - min) + min;
7
7
 
8
8
  const isDateInRange = (currentDate: Date, startDateStr: string, endDateStr: string) => {
9
- const [startDay, startMonth] = startDateStr.split('-').map(Number)
10
- const [endDay, endMonth] = endDateStr.split('-').map(Number)
9
+ const [startDay, startMonth] = startDateStr.split('-').map(Number);
10
+ const [endDay, endMonth] = endDateStr.split('-').map(Number);
11
11
 
12
- const currentYear = currentDate.getFullYear()
13
- const startDate = new Date(currentYear, startMonth - 1, startDay)
12
+ const currentYear = currentDate.getFullYear();
13
+ const startDate = new Date(currentYear, startMonth - 1, startDay);
14
+ const endDate = new Date(currentYear, endMonth - 1, endDay + 1);
14
15
 
15
- // If end month is earlier than start month, it spans to next year
16
- const endYear = endMonth < startMonth ? currentYear + 1 : currentYear
17
- const endDate = new Date(endYear, endMonth - 1, endDay + 1)
18
-
19
- return currentDate >= startDate && currentDate <= endDate
20
- }
16
+ return currentDate >= startDate && currentDate <= endDate;
17
+ };
21
18
 
22
19
  export const getIconForCurrentDate = () => {
23
- const currentDate = new Date()
20
+ const currentDate = new Date();
24
21
 
25
22
  for (const celebration of CELEBRATION_ICON_CONFIG) {
26
23
  if (celebration.activePeriod) {
27
- const { start, end } = celebration.activePeriod
24
+ const { start, end } = celebration.activePeriod;
28
25
  if (isDateInRange(currentDate, start, end)) {
29
- return celebration.Icon
26
+ return celebration.Icon;
30
27
  }
31
28
  }
32
29
  }
33
30
 
34
- return CELEBRATION_ICON_CONFIG[0].Icon
35
- }
31
+ return CELEBRATION_ICON_CONFIG[0].Icon;
32
+ };
36
33
 
37
- const MainIcon = getIconForCurrentDate()
38
- export const generateParticle = (variant: CelebrationVariant) => {
34
+ const MainIcon = getIconForCurrentDate();
35
+ export const generateParticle = (variant: CelebrationVariant
36
+ ) => {
39
37
  const {
40
38
  elementsCount,
41
39
  angle,
@@ -46,20 +44,20 @@ export const generateParticle = (variant: CelebrationVariant) => {
46
44
  friction,
47
45
  life,
48
46
  angularAcceleration,
49
- speedRange,
50
- } = CELEBRATION_VARIANTS[variant]
47
+ speedRange
48
+ } = CELEBRATION_VARIANTS[variant];
51
49
 
52
50
  const sparkSpeedMin = speedRange?.spark?.[0]
53
51
  const sparkSpeedMax = speedRange?.spark?.[1]
54
52
  const mainSpeedMin = speedRange?.main?.[0]
55
53
  const mainSpeedMax = speedRange?.main?.[1]
56
54
 
57
- const particles: ParticlesBatch[] = []
55
+ const particles: ParticlesBatch[] = [];
58
56
 
59
57
  for (let i = 0; i < elementsCount.spark; i++) {
60
- const randomAngle = randomRange((angle.from * Math.PI) / 180, (angle.to * Math.PI) / 180)
61
- const randomSpeed = randomRange(sparkSpeedMin, sparkSpeedMax)
62
- const randomAngularAcceleration = randomRange(angularAcceleration.from, angularAcceleration.to)
58
+ const randomAngle = randomRange((angle.from * Math.PI) / 180, (angle.to * Math.PI) / 180);
59
+ const randomSpeed = randomRange(sparkSpeedMin, sparkSpeedMax);
60
+ const randomAngularAcceleration = randomRange(angularAcceleration.from, angularAcceleration.to);
63
61
 
64
62
  particles.push({
65
63
  id: Math.random(),
@@ -76,12 +74,12 @@ export const generateParticle = (variant: CelebrationVariant) => {
76
74
  friction,
77
75
  Component: Spark,
78
76
  life,
79
- })
77
+ });
80
78
  }
81
79
  for (let i = 0; i < elementsCount.star; i++) {
82
- const randomAngle = randomRange((angle.from * Math.PI) / 180, (angle.to * Math.PI) / 180)
83
- const randomSpeed = randomRange(mainSpeedMin, mainSpeedMax)
84
- const randomAngularAcceleration = randomRange(angularAcceleration.from, angularAcceleration.to)
80
+ const randomAngle = randomRange((angle.from * Math.PI) / 180, (angle.to * Math.PI) / 180);
81
+ const randomSpeed = randomRange(mainSpeedMin, mainSpeedMax);
82
+ const randomAngularAcceleration = randomRange(angularAcceleration.from, angularAcceleration.to);
85
83
 
86
84
  particles.push({
87
85
  id: Math.random(),
@@ -98,8 +96,8 @@ export const generateParticle = (variant: CelebrationVariant) => {
98
96
  friction,
99
97
  Component: MainIcon,
100
98
  life,
101
- })
99
+ });
102
100
  }
103
101
 
104
- return particles
105
- }
102
+ return particles;
103
+ };
@@ -1,4 +1,4 @@
1
- import React, { ComponentType, PropsWithChildren, useRef } from 'react'
1
+ import React, { useRef } from 'react'
2
2
  import { Platform, ScrollView, StyleSheet, useWindowDimensions, View } from 'react-native'
3
3
  import { useStoreMap, useUnit } from 'effector-react'
4
4
 
@@ -8,8 +8,6 @@ import { MessageLoader } from '../ChatMessage/MessageLoader'
8
8
  import { ChatInput } from '../ChatInput/ChatInput'
9
9
  import { MessageVariant } from '../../types/model.types'
10
10
  import { ColorScheme } from '../../types/style.types'
11
- import { ConditionalWrapper } from '../../../../lib/components/ConditionalWrapper'
12
- import { TTSHighlightRenderer } from '../../types/t2s.types'
13
11
 
14
12
  const TOOLBAR_HEIGHT = 140
15
13
  const BOTTOM_OFFSET = Platform.select({
@@ -21,20 +19,14 @@ type ChatProps = {
21
19
  model: ChatbotModel
22
20
  isHintFeedback: boolean
23
21
  isTextToSpeechEnabled: boolean
24
- isInputDisabled?: boolean
25
22
  colorScheme?: ColorScheme
26
- MessageWrapper?: ComponentType<PropsWithChildren>
27
- TTSHighlightRenderer?: TTSHighlightRenderer
28
23
  }
29
24
 
30
25
  export const Chat = ({
31
26
  model,
32
27
  isHintFeedback,
33
28
  isTextToSpeechEnabled,
34
- isInputDisabled,
35
29
  colorScheme = ColorScheme.Blue,
36
- MessageWrapper,
37
- TTSHighlightRenderer,
38
30
  }: ChatProps) => {
39
31
  const dimensions = useWindowDimensions()
40
32
  const ref = useRef<ScrollView>(null)
@@ -43,18 +35,15 @@ export const Chat = ({
43
35
  const isHelpRequestPending = useUnit(model.sendHelpRequestFx.pending)
44
36
  const isTextToSpeechPending = useUnit(model.api.textToSpeechTextFx.pending)
45
37
 
46
- const audioStatus = useUnit(model.t2s.$status)
47
38
  const currentPlayingId = useUnit(model.t2s.$currentPlayingId)
48
- const highlightedWordIndex = useUnit(model.t2s.wordHighlight.$highlightedWordIndex)
49
-
50
39
  const isTranslated = useUnit(model.translation.$isTranslated)
40
+ const audioStatus = useUnit(model.t2s.$status)
51
41
  const errorSpottingEnabled = useUnit(model.errorSpotting.$isEnabled)
52
42
 
53
43
  const messages = useStoreMap(model.$currentChatData, ({ messages }) => messages)
54
44
  const lastMessageId = messages.at(-1)?.id
55
45
 
56
46
  const MAX_HEIGHT = dimensions.height - TOOLBAR_HEIGHT - BOTTOM_OFFSET
57
- const shouldWrapMessage = MessageWrapper && isInputDisabled && messages.length === 1
58
47
 
59
48
  return (
60
49
  <View style={[styles.container, { maxHeight: MAX_HEIGHT }]}>
@@ -71,43 +60,31 @@ export const Chat = ({
71
60
  }}
72
61
  >
73
62
  {isOpen && (
74
- <View style={[styles.gap, isInputDisabled && styles.messagesWithoutInput]}>
75
- {messages.map((message, index) => {
76
- const key = `${message.id}-${index}`
77
- const isPlayingMessage = message.id === currentPlayingId
78
- const messageHighlightIndex =
79
- model.t2s.isWordHighlightEnabled && isPlayingMessage ? highlightedWordIndex : -1
80
-
81
- return (
82
- <React.Fragment key={key}>
83
- <ConditionalWrapper withWrapper={shouldWrapMessage} Wrapper={MessageWrapper}>
84
- <ChatMessage
85
- isTranslated={isTranslated}
86
- withIcon={!message.isOwnMessage && message.id === lastMessageId}
87
- message={message}
88
- variant={message.isOwnMessage ? MessageVariant.SENT : MessageVariant.RECEIVED}
89
- colorScheme={colorScheme}
90
- withErrorSpotting={errorSpottingEnabled && !message.isOwnMessage}
91
- highlightedWordIndex={messageHighlightIndex}
92
- TTSHighlightRenderer={TTSHighlightRenderer}
93
- t2sState={{
94
- isEnabled: isTextToSpeechEnabled && !message.isOwnMessage,
95
- isActive: isPlayingMessage,
96
- isLoading: isTextToSpeechPending,
97
- status: audioStatus,
98
- disabled: isTextToSpeechPending,
99
- }}
100
- />
101
- </ConditionalWrapper>
102
- </React.Fragment>
103
- )
104
- })}
63
+ <View style={styles.gap}>
64
+ {messages.map((message) => (
65
+ <ChatMessage
66
+ key={message.id}
67
+ isTranslated={isTranslated}
68
+ withIcon={!message.isOwnMessage && message.id === lastMessageId}
69
+ message={message}
70
+ variant={message.isOwnMessage ? MessageVariant.SENT : MessageVariant.RECEIVED}
71
+ colorScheme={colorScheme}
72
+ withErrorSpotting={errorSpottingEnabled && !message.isOwnMessage}
73
+ t2sState={{
74
+ isEnabled: isTextToSpeechEnabled && !message.isOwnMessage,
75
+ isActive: message.id === currentPlayingId,
76
+ isLoading: isTextToSpeechPending,
77
+ status: audioStatus,
78
+ disabled: isTextToSpeechPending,
79
+ }}
80
+ />
81
+ ))}
105
82
 
106
83
  {isHelpRequestPending && <MessageLoader colorScheme={colorScheme} />}
107
84
  </View>
108
85
  )}
109
86
 
110
- {isOpen && !isInputDisabled && (
87
+ {isOpen && (
111
88
  <ChatInput
112
89
  isHintFeedback={isHintFeedback}
113
90
  colorScheme={colorScheme}
@@ -131,9 +108,6 @@ const styles = StyleSheet.create({
131
108
  paddingVertical: 2,
132
109
  paddingRight: 6,
133
110
  },
134
- messagesWithoutInput: {
135
- marginBottom: 8,
136
- },
137
111
  gap: {
138
112
  flex: 1,
139
113
  gap: 8,
@@ -9,7 +9,6 @@ import {
9
9
  ButtonVariant,
10
10
  COLORS,
11
11
  } from '@magmamath/react-native-ui'
12
- import Animated, { FadeIn } from 'react-native-reanimated'
13
12
  import { useUnit } from 'effector-react'
14
13
  import { ChatbotModel } from '../../model/ChatBotModel'
15
14
  import { ChatbotIcon } from '../../../../shared/icons/ChatbotIcon'
@@ -21,7 +20,6 @@ type ChatControlsProps = {
21
20
  onPressClose: () => void
22
21
  ButtonWrapper?: ComponentType<PropsWithChildren>
23
22
  iconSize?: { width: number; height: number }
24
- shouldAnimateCloseButton?: boolean
25
23
  }
26
24
 
27
25
  export const ChatControls = ({
@@ -30,16 +28,11 @@ export const ChatControls = ({
30
28
  onPressClose,
31
29
  ButtonWrapper = React.Fragment,
32
30
  iconSize = { width: 80, height: 100 },
33
- shouldAnimateCloseButton,
34
31
  }: ChatControlsProps) => {
35
32
  const isOpen = useUnit(model.$isOpen)
36
-
37
33
  if (isOpen) {
38
34
  return (
39
- <Animated.View
40
- style={styles.container}
41
- entering={shouldAnimateCloseButton ? FadeIn.duration(900) : undefined}
42
- >
35
+ <View style={styles.container}>
43
36
  <Button
44
37
  onPress={onPressClose}
45
38
  style={{
@@ -72,7 +65,7 @@ export const ChatControls = ({
72
65
  >
73
66
  <CloseIcon />
74
67
  </Button>
75
- </Animated.View>
68
+ </View>
76
69
  )
77
70
  }
78
71
 
@@ -2,7 +2,7 @@ import React, { ComponentType } from 'react'
2
2
 
3
3
  import { ReceivedMessage } from './ReceivedMessage'
4
4
  import { SentMessage } from './SentMessage'
5
- import { TTSHighlightRenderer, T2SState } from '../../types/t2s.types'
5
+ import { T2SState } from '../../types/t2s.types'
6
6
  import { MessageVariant } from '../../types/model.types'
7
7
  import { ConversationMessage } from '../../types/units.types'
8
8
  import { ColorScheme } from '../../types/style.types'
@@ -15,8 +15,6 @@ type ChatMessageProps = {
15
15
  withErrorSpotting?: boolean
16
16
  withIcon?: boolean
17
17
  colorScheme?: ColorScheme
18
- highlightedWordIndex?: number
19
- TTSHighlightRenderer?: TTSHighlightRenderer
20
18
  }
21
19
 
22
20
  export type VariantProps = Omit<ChatMessageProps, 'variant'>
@@ -2,7 +2,7 @@ import React from 'react'
2
2
  import { Platform, StyleSheet, Text, View } from 'react-native'
3
3
 
4
4
  import { ConversationMessage } from '../../types/units.types'
5
- import { TTSHighlightRenderer, T2SState } from '../../types/t2s.types'
5
+ import { T2SState } from '../../types/t2s.types'
6
6
  import { ColorScheme } from '../../types/style.types'
7
7
 
8
8
  import { MessageButtonsBlock } from './MessageButtonsBlock'
@@ -16,8 +16,6 @@ type MessageContentProps = {
16
16
  variant: MessageVariant
17
17
  colorScheme?: ColorScheme
18
18
  withErrorSpotting?: boolean
19
- highlightedWordIndex?: number
20
- TTSHighlightRenderer?: TTSHighlightRenderer
21
19
  }
22
20
 
23
21
  const MessageContentWeb = ({
@@ -27,20 +25,10 @@ const MessageContentWeb = ({
27
25
  variant,
28
26
  colorScheme = ColorScheme.Blue,
29
27
  withErrorSpotting,
30
- highlightedWordIndex,
31
- TTSHighlightRenderer: TTSHighlightComponent,
32
28
  }: MessageContentProps) => {
33
29
  return (
34
30
  <Text style={styles.messageText}>
35
- {TTSHighlightComponent ? (
36
- <TTSHighlightComponent
37
- text={text}
38
- highlightedIndex={highlightedWordIndex ?? -1}
39
- colorScheme={colorScheme}
40
- />
41
- ) : (
42
- text
43
- )}
31
+ {text}
44
32
  <MessageButtonsBlock
45
33
  message={message}
46
34
  t2sState={t2sState}
@@ -59,21 +47,11 @@ const MessageContentMobile = ({
59
47
  variant,
60
48
  colorScheme = ColorScheme.Blue,
61
49
  withErrorSpotting,
62
- highlightedWordIndex,
63
- TTSHighlightRenderer: TTSHighlightComponent,
64
50
  }: MessageContentProps) => {
65
51
  return (
66
52
  <>
67
53
  <Text style={[styles.messageText, styles.mobileMessageText]}>
68
- {TTSHighlightComponent ? (
69
- <TTSHighlightComponent
70
- text={text}
71
- highlightedIndex={highlightedWordIndex ?? -1}
72
- colorScheme={colorScheme}
73
- />
74
- ) : (
75
- text
76
- )}
54
+ {text}
77
55
  <View style={{ width: getSpacerSize(message, t2sState) }} />
78
56
  </Text>
79
57
  <MessageButtonsBlock