@magmamath/students-features 1.3.3-rc.3 → 1.3.3

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 (532) hide show
  1. package/.claude/settings.local.json +25 -0
  2. package/.editorconfig +15 -0
  3. package/.eslintignore +2 -0
  4. package/.eslintrc +22 -0
  5. package/.gitattributes +3 -0
  6. package/.github/actions/setup/action.yml +37 -0
  7. package/.github/workflows/ci.yml +73 -0
  8. package/.gitignore +84 -0
  9. package/.idea/.gitignore +8 -0
  10. package/.idea/codeStyles/Project.xml +62 -0
  11. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  12. package/.idea/copilot.data.migration.agent.xml +6 -0
  13. package/.idea/copilot.data.migration.ask.xml +6 -0
  14. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  15. package/.idea/copilot.data.migration.edit.xml +6 -0
  16. package/.idea/inspectionProfiles/Project_Default.xml +8 -0
  17. package/.idea/jsLinters/eslint.xml +6 -0
  18. package/.idea/modules.xml +8 -0
  19. package/.idea/prettier.xml +7 -0
  20. package/.idea/students-features.iml +12 -0
  21. package/.idea/vcs.xml +6 -0
  22. package/.idea/workspace.xml +667 -0
  23. package/.nvmrc +1 -0
  24. package/.prettierrc +11 -0
  25. package/.release-it.json +17 -0
  26. package/.watchmanconfig +1 -0
  27. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
  28. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
  29. package/.yarn/releases/yarn-3.6.1.cjs +874 -0
  30. package/babel.config.js +5 -0
  31. package/bob.config.js +25 -0
  32. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -2
  33. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  34. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -2
  35. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  36. package/dist/commonjs/features/chatbot/helpers.js +8 -4
  37. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  38. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
  40. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  41. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +4 -3
  42. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  43. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +2 -4
  44. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  45. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
  46. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  47. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +8 -4
  48. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  49. package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -2
  50. package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
  51. package/dist/commonjs/features/feedback/model/comments.js +2 -2
  52. package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
  53. package/dist/commonjs/features/gifCelebrations/components/Gif.js +2 -2
  54. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
  55. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +20 -72
  56. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  57. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +33 -0
  58. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
  59. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -2
  60. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  61. package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +94 -0
  62. package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
  63. package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +25 -0
  64. package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
  65. package/dist/commonjs/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
  66. package/dist/commonjs/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
  67. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +2 -2
  68. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  69. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +11 -0
  70. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
  71. package/dist/commonjs/features/keyboard/constants/groups/index.js +11 -0
  72. package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
  73. package/dist/commonjs/features/keyboard/constants/keyboard.constants.js +6 -1
  74. package/dist/commonjs/features/keyboard/constants/keyboard.constants.js.map +1 -1
  75. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +2 -0
  76. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  77. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +18 -8
  78. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  79. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +86 -1
  80. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  81. package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
  82. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +2 -1
  83. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
  84. package/dist/commonjs/features/keyboard/types/types.js +1 -0
  85. package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
  86. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js +2 -2
  87. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
  88. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +2 -2
  89. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
  90. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +2 -2
  91. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  92. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +2 -2
  93. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  94. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +2 -2
  95. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  96. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +2 -2
  97. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  98. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +7 -7
  99. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  100. package/dist/commonjs/index.js +38 -23
  101. package/dist/commonjs/index.js.map +1 -1
  102. package/dist/commonjs/lib/helpers/helpers.js +12 -12
  103. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  104. package/dist/commonjs/lib/types/keys.js +2 -0
  105. package/dist/commonjs/lib/types/keys.js.map +1 -0
  106. package/dist/commonjs/shared/icons/GeometryIcon.js +32 -0
  107. package/dist/commonjs/shared/icons/GeometryIcon.js.map +1 -0
  108. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +4 -3
  109. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
  110. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +12 -8
  111. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  112. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +30 -0
  113. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
  114. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +29 -0
  115. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +1 -0
  116. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +29 -0
  117. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +1 -0
  118. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +29 -0
  119. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +1 -0
  120. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +11 -6
  121. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  122. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +12 -8
  123. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  124. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +42 -0
  125. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
  126. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +32 -0
  127. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +1 -0
  128. package/dist/commonjs/shared/translation/constants.js +23 -0
  129. package/dist/commonjs/shared/translation/constants.js.map +1 -0
  130. package/dist/commonjs/shared/translation/helpers.js +47 -0
  131. package/dist/commonjs/shared/translation/helpers.js.map +1 -0
  132. package/dist/commonjs/shared/translation/hooks.js +25 -0
  133. package/dist/commonjs/shared/translation/hooks.js.map +1 -0
  134. package/dist/commonjs/shared/translation/index.js +45 -0
  135. package/dist/commonjs/shared/translation/index.js.map +1 -0
  136. package/dist/commonjs/shared/translation/localization/ca.json +61 -0
  137. package/dist/commonjs/shared/translation/localization/de.json +61 -0
  138. package/dist/commonjs/shared/translation/localization/en.json +61 -0
  139. package/dist/commonjs/shared/translation/localization/gb.json +61 -0
  140. package/dist/commonjs/shared/translation/localization/sct.json +61 -0
  141. package/dist/commonjs/shared/translation/localization/sw.json +61 -0
  142. package/dist/commonjs/shared/translation/model.js +15 -0
  143. package/dist/commonjs/shared/translation/model.js.map +1 -0
  144. package/dist/commonjs/shared/translation/types.js +6 -0
  145. package/dist/commonjs/shared/translation/types.js.map +1 -0
  146. package/dist/commonjs/shared/translation/validation.types.js +6 -0
  147. package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
  148. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +1 -1
  149. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  150. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +1 -1
  151. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  152. package/dist/module/features/chatbot/helpers.js +6 -2
  153. package/dist/module/features/chatbot/helpers.js.map +1 -1
  154. package/dist/module/features/chatbot/index.js.map +1 -1
  155. package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
  156. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  157. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +3 -2
  158. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  159. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +2 -3
  160. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  161. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
  162. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  163. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +9 -5
  164. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  165. package/dist/module/features/feedback/components/EmptyComment.js +1 -1
  166. package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
  167. package/dist/module/features/feedback/model/comments.js +1 -1
  168. package/dist/module/features/feedback/model/comments.js.map +1 -1
  169. package/dist/module/features/gifCelebrations/components/Gif.js +1 -1
  170. package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
  171. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +21 -72
  172. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  173. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +27 -0
  174. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
  175. package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
  176. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  177. package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +87 -0
  178. package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
  179. package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +21 -0
  180. package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
  181. package/dist/module/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
  182. package/dist/module/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
  183. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +1 -1
  184. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  185. package/dist/module/features/keyboard/constants/groups/geometry.constants.js +7 -0
  186. package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
  187. package/dist/module/features/keyboard/constants/groups/index.js +1 -0
  188. package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
  189. package/dist/module/features/keyboard/constants/keyboard.constants.js +5 -0
  190. package/dist/module/features/keyboard/constants/keyboard.constants.js.map +1 -1
  191. package/dist/module/features/keyboard/constants/keyboard.helpers.js +3 -1
  192. package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  193. package/dist/module/features/keyboard/constants/keyboardLayouts.js +19 -9
  194. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  195. package/dist/module/features/keyboard/constants/keys/geometry.constants.js +86 -1
  196. package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  197. package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
  198. package/dist/module/features/keyboard/constants/keys/units.constants.js +2 -1
  199. package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
  200. package/dist/module/features/keyboard/types/types.js +1 -0
  201. package/dist/module/features/keyboard/types/types.js.map +1 -1
  202. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js +1 -1
  203. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
  204. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +1 -1
  205. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
  206. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +1 -1
  207. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  208. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -1
  209. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  210. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +1 -1
  211. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  212. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +1 -1
  213. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  214. package/dist/module/features/voice/recording/model/VoiceRecord.model.js +1 -1
  215. package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  216. package/dist/module/index.js +1 -0
  217. package/dist/module/index.js.map +1 -1
  218. package/dist/module/lib/helpers/helpers.js +1 -1
  219. package/dist/module/lib/helpers/helpers.js.map +1 -1
  220. package/dist/module/lib/types/keys.js +2 -0
  221. package/dist/module/lib/types/keys.js.map +1 -0
  222. package/dist/module/shared/icons/GeometryIcon.js +24 -0
  223. package/dist/module/shared/icons/GeometryIcon.js.map +1 -0
  224. package/dist/module/shared/icons/keyboard/AngleIcon.js +4 -3
  225. package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
  226. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +13 -9
  227. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  228. package/dist/module/shared/icons/keyboard/ImpliesIcon.js +22 -0
  229. package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
  230. package/dist/module/shared/icons/keyboard/LetterAIcon.js +21 -0
  231. package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +1 -0
  232. package/dist/module/shared/icons/keyboard/LetterBIcon.js +21 -0
  233. package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +1 -0
  234. package/dist/module/shared/icons/keyboard/LetterCIcon.js +21 -0
  235. package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +1 -0
  236. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +12 -7
  237. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  238. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +13 -9
  239. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  240. package/dist/module/shared/icons/keyboard/ThereforeIcon.js +34 -0
  241. package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
  242. package/dist/module/shared/icons/keyboard/TriangleIcon.js +24 -0
  243. package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +1 -0
  244. package/dist/module/shared/translation/constants.js +18 -0
  245. package/dist/module/shared/translation/constants.js.map +1 -0
  246. package/dist/module/shared/translation/helpers.js +38 -0
  247. package/dist/module/shared/translation/helpers.js.map +1 -0
  248. package/dist/module/shared/translation/hooks.js +19 -0
  249. package/dist/module/shared/translation/hooks.js.map +1 -0
  250. package/dist/module/shared/translation/index.js +6 -0
  251. package/dist/module/shared/translation/index.js.map +1 -0
  252. package/dist/module/shared/translation/localization/ca.json +61 -0
  253. package/dist/module/shared/translation/localization/de.json +61 -0
  254. package/dist/module/shared/translation/localization/en.json +61 -0
  255. package/dist/module/shared/translation/localization/gb.json +61 -0
  256. package/dist/module/shared/translation/localization/sct.json +61 -0
  257. package/dist/module/shared/translation/localization/sw.json +61 -0
  258. package/dist/module/shared/translation/model.js +11 -0
  259. package/dist/module/shared/translation/model.js.map +1 -0
  260. package/dist/module/shared/translation/types.js +4 -0
  261. package/dist/module/shared/translation/types.js.map +1 -0
  262. package/dist/module/shared/translation/validation.types.js +4 -0
  263. package/dist/module/shared/translation/validation.types.js.map +1 -0
  264. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  265. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  266. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  267. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  269. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  270. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  271. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
  273. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  275. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +1 -1
  277. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -1
  278. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
  279. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  280. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
  281. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
  282. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
  283. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
  284. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
  285. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
  286. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
  287. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
  288. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
  289. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
  290. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +1 -0
  291. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts +5 -0
  293. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  295. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
  296. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  297. package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  299. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +1 -0
  300. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
  301. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -1
  302. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  303. package/dist/typescript/commonjs/index.d.ts +1 -0
  304. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  305. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
  306. package/dist/typescript/commonjs/lib/types/keys.d.ts +8 -0
  307. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +1 -0
  308. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +4 -0
  309. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +1 -0
  310. package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  311. package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  312. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
  313. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
  314. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
  315. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
  316. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
  317. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
  318. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
  319. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
  320. package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  321. package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  322. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
  323. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
  324. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
  325. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
  326. package/dist/typescript/commonjs/shared/translation/constants.d.ts +369 -0
  327. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -0
  328. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +7 -0
  329. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -0
  330. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +5 -0
  331. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -0
  332. package/dist/typescript/commonjs/shared/translation/index.d.ts +4 -0
  333. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/shared/translation/model.d.ts +125 -0
  335. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/shared/translation/types.d.ts +6 -0
  337. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +21 -0
  339. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -0
  340. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  341. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  342. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  343. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  344. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  345. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  346. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  347. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  348. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
  349. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  350. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  351. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  352. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +1 -1
  353. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -1
  354. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
  355. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  356. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
  357. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
  358. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
  359. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
  360. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
  361. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
  362. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
  363. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
  364. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
  365. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
  366. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +1 -0
  367. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
  368. package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts +5 -0
  369. package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
  370. package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  371. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
  372. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  373. package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  374. package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  375. package/dist/typescript/module/features/keyboard/types/types.d.ts +1 -0
  376. package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
  377. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -1
  378. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  379. package/dist/typescript/module/index.d.ts +1 -0
  380. package/dist/typescript/module/index.d.ts.map +1 -1
  381. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
  382. package/dist/typescript/module/lib/types/keys.d.ts +8 -0
  383. package/dist/typescript/module/lib/types/keys.d.ts.map +1 -0
  384. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +4 -0
  385. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +1 -0
  386. package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  387. package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  388. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
  389. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
  390. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
  391. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
  392. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
  393. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
  394. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
  395. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
  396. package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  397. package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  398. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
  399. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
  400. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
  401. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
  402. package/dist/typescript/module/shared/translation/constants.d.ts +369 -0
  403. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -0
  404. package/dist/typescript/module/shared/translation/helpers.d.ts +7 -0
  405. package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -0
  406. package/dist/typescript/module/shared/translation/hooks.d.ts +5 -0
  407. package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -0
  408. package/dist/typescript/module/shared/translation/index.d.ts +4 -0
  409. package/dist/typescript/module/shared/translation/index.d.ts.map +1 -0
  410. package/dist/typescript/module/shared/translation/model.d.ts +125 -0
  411. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -0
  412. package/dist/typescript/module/shared/translation/types.d.ts +6 -0
  413. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -0
  414. package/dist/typescript/module/shared/translation/validation.types.d.ts +21 -0
  415. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -0
  416. package/example/.expo/README.md +8 -0
  417. package/example/.expo/devices.json +3 -0
  418. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  419. package/example/app.json +30 -0
  420. package/example/assets/adaptive-icon.png +0 -0
  421. package/example/assets/favicon.png +0 -0
  422. package/example/assets/icon.png +0 -0
  423. package/example/assets/splash-icon.png +0 -0
  424. package/example/babel.config.js +28 -0
  425. package/example/index.js +8 -0
  426. package/example/metro.config.js +18 -0
  427. package/example/package.json +25 -0
  428. package/example/src/App.tsx +8 -0
  429. package/example/tsconfig.json +6 -0
  430. package/package.json +4 -9
  431. package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -1
  432. package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +1 -1
  433. package/src/features/chatbot/helpers.ts +3 -1
  434. package/src/features/chatbot/index.ts +9 -1
  435. package/src/features/chatbot/model/ChatBotModel.ts +7 -10
  436. package/src/features/chatbot/model/ChatBoxTextManager.ts +4 -2
  437. package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
  438. package/src/features/chatbot/types/api.types.ts +11 -6
  439. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +4 -3
  440. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +9 -5
  441. package/src/features/feedback/components/EmptyComment.tsx +1 -1
  442. package/src/features/feedback/model/comments.ts +1 -1
  443. package/src/features/gifCelebrations/components/Gif.tsx +1 -1
  444. package/src/features/gifCelebrations/helpers.ts +1 -1
  445. package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +17 -73
  446. package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +21 -0
  447. package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
  448. package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +100 -0
  449. package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +31 -0
  450. package/src/features/keyboard/components/SwitchableLayout/types.ts +24 -0
  451. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +1 -1
  452. package/src/features/keyboard/constants/groups/geometry.constants.ts +25 -0
  453. package/src/features/keyboard/constants/groups/index.ts +1 -0
  454. package/src/features/keyboard/constants/keyboard.constants.ts +6 -0
  455. package/src/features/keyboard/constants/keyboard.helpers.ts +3 -0
  456. package/src/features/keyboard/constants/keyboardLayouts.ts +15 -5
  457. package/src/features/keyboard/constants/keys/geometry.constants.tsx +61 -1
  458. package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
  459. package/src/features/keyboard/constants/keys/units.constants.tsx +1 -0
  460. package/src/features/keyboard/types/types.ts +1 -0
  461. package/src/features/voice/playing/components/VoiceTranscriptionsDropdown.tsx +1 -1
  462. package/src/features/voice/playing/components/VoiceTranscriptionsDropdownItem.tsx +1 -1
  463. package/src/features/voice/recording/components/VoiceRecordButton.tsx +1 -1
  464. package/src/features/voice/recording/modal/ModalFooterButtons.tsx +2 -2
  465. package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +1 -1
  466. package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +1 -1
  467. package/src/features/voice/recording/model/VoiceRecord.model.ts +1 -1
  468. package/src/index.ts +1 -0
  469. package/src/lib/helpers/helpers.ts +1 -1
  470. package/src/lib/types/keys.ts +18 -0
  471. package/src/shared/icons/GeometryIcon.tsx +18 -0
  472. package/src/shared/icons/keyboard/AngleIcon.tsx +4 -2
  473. package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +5 -8
  474. package/src/shared/icons/keyboard/ImpliesIcon.tsx +16 -0
  475. package/src/shared/icons/keyboard/LetterAIcon.tsx +14 -0
  476. package/src/shared/icons/keyboard/LetterBIcon.tsx +14 -0
  477. package/src/shared/icons/keyboard/LetterCIcon.tsx +14 -0
  478. package/src/shared/icons/keyboard/LineSegmentIcon.tsx +6 -7
  479. package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +5 -8
  480. package/src/shared/icons/keyboard/ThereforeIcon.tsx +15 -0
  481. package/src/shared/icons/keyboard/TriangleIcon.tsx +18 -0
  482. package/src/shared/translation/constants.ts +16 -0
  483. package/src/shared/translation/helpers.ts +47 -0
  484. package/src/shared/translation/hooks.ts +25 -0
  485. package/src/shared/translation/index.ts +3 -0
  486. package/src/shared/translation/localization/ca.json +61 -0
  487. package/src/shared/translation/localization/de.json +61 -0
  488. package/src/shared/translation/localization/en.json +61 -0
  489. package/src/shared/translation/localization/gb.json +61 -0
  490. package/src/shared/translation/localization/sct.json +61 -0
  491. package/src/shared/translation/localization/sw.json +61 -0
  492. package/src/shared/translation/model.ts +16 -0
  493. package/src/shared/translation/types.ts +21 -0
  494. package/src/shared/translation/validation.types.ts +34 -0
  495. package/tsconfig.build.json +4 -0
  496. package/tsconfig.json +34 -0
  497. package/yarn.lock +10957 -0
  498. package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +0 -41
  499. package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
  500. package/dist/commonjs/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
  501. package/dist/commonjs/shared/translation/i18n.d.js +0 -5
  502. package/dist/commonjs/shared/translation/i18n.d.js.map +0 -1
  503. package/dist/commonjs/shared/translation/i18n.js +0 -26
  504. package/dist/commonjs/shared/translation/i18n.js.map +0 -1
  505. package/dist/commonjs/shared/translation/react-i18next.d.js +0 -5
  506. package/dist/commonjs/shared/translation/react-i18next.d.js.map +0 -1
  507. package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +0 -36
  508. package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
  509. package/dist/module/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
  510. package/dist/module/shared/translation/i18n.d.js +0 -5
  511. package/dist/module/shared/translation/i18n.d.js.map +0 -1
  512. package/dist/module/shared/translation/i18n.js +0 -19
  513. package/dist/module/shared/translation/i18n.js.map +0 -1
  514. package/dist/module/shared/translation/react-i18next.d.js +0 -5
  515. package/dist/module/shared/translation/react-i18next.d.js.map +0 -1
  516. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
  517. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
  518. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
  519. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
  520. package/dist/typescript/commonjs/shared/translation/i18n.d.ts +0 -7
  521. package/dist/typescript/commonjs/shared/translation/i18n.d.ts.map +0 -1
  522. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
  523. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
  524. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
  525. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
  526. package/dist/typescript/module/shared/translation/i18n.d.ts +0 -7
  527. package/dist/typescript/module/shared/translation/i18n.d.ts.map +0 -1
  528. package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +0 -52
  529. package/src/features/keyboard/components/AlgebraLayout/types.ts +0 -4
  530. package/src/shared/translation/i18n.d.ts +0 -21
  531. package/src/shared/translation/i18n.ts +0 -17
  532. package/src/shared/translation/react-i18next.d.ts +0 -21
@@ -0,0 +1,369 @@
1
+ export declare const LOCALIZATION_CONFIGS: {
2
+ "en-SE": {
3
+ locale: string;
4
+ "teacherFeedback.noComments": string;
5
+ "time.justNow": string;
6
+ "time.minuteAgo": string;
7
+ "time.minutesAgo": string;
8
+ "time.hourAgo": string;
9
+ "time.hoursAgo": string;
10
+ "time.dayAgo": string;
11
+ "time.daysAgo": string;
12
+ "time.monthAgo": string;
13
+ "time.monthsAgo": string;
14
+ "time.yearAgo": string;
15
+ "time.yearsAgo": string;
16
+ chat: {
17
+ anotherHint: string;
18
+ getHint: string;
19
+ needHint: string;
20
+ giveHintOpenChat: string;
21
+ answerAgain: string;
22
+ errorMessage: string;
23
+ howCanIHelp: string;
24
+ showError: string;
25
+ inputPlaceholder: string;
26
+ };
27
+ gifCelebrations: {
28
+ greatStart: string;
29
+ onTheWay: string;
30
+ almostThere: string;
31
+ };
32
+ exampleSolution: {
33
+ exampleSolution: string;
34
+ letMeThink: string;
35
+ aha: string;
36
+ errorMessage: string;
37
+ };
38
+ keyboard: {
39
+ length: string;
40
+ area: string;
41
+ volume: string;
42
+ weight: string;
43
+ time: string;
44
+ };
45
+ voice: {
46
+ deleteRecording: string;
47
+ youWontBeAbleToRecover: string;
48
+ recordingDeleted: string;
49
+ delete: string;
50
+ cancel: string;
51
+ noMicrophoneAccess: string;
52
+ noMicrophoneAccessBySystem: string;
53
+ noMicrophoneFound: string;
54
+ uploadFailed: string;
55
+ redoRecording: string;
56
+ redo: string;
57
+ thisWillRemoveRecording: string;
58
+ transcriptions: string;
59
+ attempt: string;
60
+ transcriptNotAvailable: string;
61
+ };
62
+ };
63
+ "en-GB": {
64
+ locale: string;
65
+ "teacherFeedback.noComments": string;
66
+ "time.justNow": string;
67
+ "time.minuteAgo": string;
68
+ "time.minutesAgo": string;
69
+ "time.hourAgo": string;
70
+ "time.hoursAgo": string;
71
+ "time.dayAgo": string;
72
+ "time.daysAgo": string;
73
+ "time.monthAgo": string;
74
+ "time.monthsAgo": string;
75
+ "time.yearAgo": string;
76
+ "time.yearsAgo": string;
77
+ chat: {
78
+ anotherHint: string;
79
+ getHint: string;
80
+ needHint: string;
81
+ giveHintOpenChat: string;
82
+ answerAgain: string;
83
+ errorMessage: string;
84
+ howCanIHelp: string;
85
+ showError: string;
86
+ inputPlaceholder: string;
87
+ };
88
+ gifCelebrations: {
89
+ greatStart: string;
90
+ onTheWay: string;
91
+ almostThere: string;
92
+ };
93
+ exampleSolution: {
94
+ exampleSolution: string;
95
+ letMeThink: string;
96
+ aha: string;
97
+ errorMessage: string;
98
+ };
99
+ keyboard: {
100
+ length: string;
101
+ area: string;
102
+ volume: string;
103
+ weight: string;
104
+ time: string;
105
+ };
106
+ voice: {
107
+ deleteRecording: string;
108
+ youWontBeAbleToRecover: string;
109
+ recordingDeleted: string;
110
+ delete: string;
111
+ cancel: string;
112
+ noMicrophoneAccess: string;
113
+ noMicrophoneAccessBySystem: string;
114
+ noMicrophoneFound: string;
115
+ uploadFailed: string;
116
+ redoRecording: string;
117
+ redo: string;
118
+ thisWillRemoveRecording: string;
119
+ transcriptions: string;
120
+ attempt: string;
121
+ transcriptNotAvailable: string;
122
+ };
123
+ };
124
+ "sv-SE": {
125
+ locale: string;
126
+ "teacherFeedback.noComments": string;
127
+ "time.justNow": string;
128
+ "time.minuteAgo": string;
129
+ "time.minutesAgo": string;
130
+ "time.hourAgo": string;
131
+ "time.hoursAgo": string;
132
+ "time.dayAgo": string;
133
+ "time.daysAgo": string;
134
+ "time.monthAgo": string;
135
+ "time.monthsAgo": string;
136
+ "time.yearAgo": string;
137
+ "time.yearsAgo": string;
138
+ chat: {
139
+ anotherHint: string;
140
+ getHint: string;
141
+ needHint: string;
142
+ giveHintOpenChat: string;
143
+ answerAgain: string;
144
+ errorMessage: string;
145
+ howCanIHelp: string;
146
+ showError: string;
147
+ inputPlaceholder: string;
148
+ };
149
+ gifCelebrations: {
150
+ greatStart: string;
151
+ onTheWay: string;
152
+ almostThere: string;
153
+ };
154
+ exampleSolution: {
155
+ exampleSolution: string;
156
+ letMeThink: string;
157
+ aha: string;
158
+ errorMessage: string;
159
+ };
160
+ keyboard: {
161
+ length: string;
162
+ area: string;
163
+ volume: string;
164
+ weight: string;
165
+ time: string;
166
+ };
167
+ voice: {
168
+ deleteRecording: string;
169
+ youWontBeAbleToRecover: string;
170
+ recordingDeleted: string;
171
+ delete: string;
172
+ cancel: string;
173
+ noMicrophoneAccess: string;
174
+ noMicrophoneAccessBySystem: string;
175
+ noMicrophoneFound: string;
176
+ uploadFailed: string;
177
+ redoRecording: string;
178
+ redo: string;
179
+ thisWillRemoveRecording: string;
180
+ transcriptions: string;
181
+ attempt: string;
182
+ transcriptNotAvailable: string;
183
+ };
184
+ };
185
+ "en-CA": {
186
+ locale: string;
187
+ "teacherFeedback.noComments": string;
188
+ "time.justNow": string;
189
+ "time.minuteAgo": string;
190
+ "time.minutesAgo": string;
191
+ "time.hourAgo": string;
192
+ "time.hoursAgo": string;
193
+ "time.dayAgo": string;
194
+ "time.daysAgo": string;
195
+ "time.monthAgo": string;
196
+ "time.monthsAgo": string;
197
+ "time.yearAgo": string;
198
+ "time.yearsAgo": string;
199
+ chat: {
200
+ anotherHint: string;
201
+ getHint: string;
202
+ needHint: string;
203
+ giveHintOpenChat: string;
204
+ answerAgain: string;
205
+ errorMessage: string;
206
+ howCanIHelp: string;
207
+ showError: string;
208
+ inputPlaceholder: string;
209
+ };
210
+ gifCelebrations: {
211
+ greatStart: string;
212
+ onTheWay: string;
213
+ almostThere: string;
214
+ };
215
+ exampleSolution: {
216
+ exampleSolution: string;
217
+ letMeThink: string;
218
+ aha: string;
219
+ errorMessage: string;
220
+ };
221
+ keyboard: {
222
+ length: string;
223
+ area: string;
224
+ volume: string;
225
+ weight: string;
226
+ time: string;
227
+ };
228
+ voice: {
229
+ deleteRecording: string;
230
+ youWontBeAbleToRecover: string;
231
+ recordingDeleted: string;
232
+ delete: string;
233
+ cancel: string;
234
+ noMicrophoneAccess: string;
235
+ noMicrophoneAccessBySystem: string;
236
+ noMicrophoneFound: string;
237
+ uploadFailed: string;
238
+ redoRecording: string;
239
+ redo: string;
240
+ thisWillRemoveRecording: string;
241
+ transcriptions: string;
242
+ attempt: string;
243
+ transcriptNotAvailable: string;
244
+ };
245
+ };
246
+ "en-SCT": {
247
+ locale: string;
248
+ "teacherFeedback.noComments": string;
249
+ "time.justNow": string;
250
+ "time.minuteAgo": string;
251
+ "time.minutesAgo": string;
252
+ "time.hourAgo": string;
253
+ "time.hoursAgo": string;
254
+ "time.dayAgo": string;
255
+ "time.daysAgo": string;
256
+ "time.monthAgo": string;
257
+ "time.monthsAgo": string;
258
+ "time.yearAgo": string;
259
+ "time.yearsAgo": string;
260
+ chat: {
261
+ anotherHint: string;
262
+ getHint: string;
263
+ needHint: string;
264
+ giveHintOpenChat: string;
265
+ answerAgain: string;
266
+ errorMessage: string;
267
+ howCanIHelp: string;
268
+ showError: string;
269
+ inputPlaceholder: string;
270
+ };
271
+ gifCelebrations: {
272
+ greatStart: string;
273
+ onTheWay: string;
274
+ almostThere: string;
275
+ };
276
+ exampleSolution: {
277
+ exampleSolution: string;
278
+ letMeThink: string;
279
+ aha: string;
280
+ errorMessage: string;
281
+ };
282
+ keyboard: {
283
+ length: string;
284
+ area: string;
285
+ volume: string;
286
+ weight: string;
287
+ time: string;
288
+ };
289
+ voice: {
290
+ deleteRecording: string;
291
+ youWontBeAbleToRecover: string;
292
+ recordingDeleted: string;
293
+ delete: string;
294
+ cancel: string;
295
+ noMicrophoneAccess: string;
296
+ noMicrophoneAccessBySystem: string;
297
+ noMicrophoneFound: string;
298
+ uploadFailed: string;
299
+ redoRecording: string;
300
+ redo: string;
301
+ thisWillRemoveRecording: string;
302
+ transcriptions: string;
303
+ attempt: string;
304
+ transcriptNotAvailable: string;
305
+ };
306
+ };
307
+ "de-DE": {
308
+ locale: string;
309
+ "teacherFeedback.noComments": string;
310
+ "time.justNow": string;
311
+ "time.minuteAgo": string;
312
+ "time.minutesAgo": string;
313
+ "time.hourAgo": string;
314
+ "time.hoursAgo": string;
315
+ "time.dayAgo": string;
316
+ "time.daysAgo": string;
317
+ "time.monthAgo": string;
318
+ "time.monthsAgo": string;
319
+ "time.yearAgo": string;
320
+ "time.yearsAgo": string;
321
+ chat: {
322
+ anotherHint: string;
323
+ getHint: string;
324
+ needHint: string;
325
+ giveHintOpenChat: string;
326
+ answerAgain: string;
327
+ errorMessage: string;
328
+ howCanIHelp: string;
329
+ showError: string;
330
+ inputPlaceholder: string;
331
+ };
332
+ gifCelebrations: {
333
+ greatStart: string;
334
+ onTheWay: string;
335
+ almostThere: string;
336
+ };
337
+ exampleSolution: {
338
+ exampleSolution: string;
339
+ letMeThink: string;
340
+ aha: string;
341
+ errorMessage: string;
342
+ };
343
+ keyboard: {
344
+ length: string;
345
+ area: string;
346
+ volume: string;
347
+ weight: string;
348
+ time: string;
349
+ };
350
+ voice: {
351
+ deleteRecording: string;
352
+ youWontBeAbleToRecover: string;
353
+ recordingDeleted: string;
354
+ delete: string;
355
+ cancel: string;
356
+ noMicrophoneAccess: string;
357
+ noMicrophoneAccessBySystem: string;
358
+ noMicrophoneFound: string;
359
+ uploadFailed: string;
360
+ redoRecording: string;
361
+ redo: string;
362
+ thisWillRemoveRecording: string;
363
+ transcriptions: string;
364
+ attempt: string;
365
+ transcriptNotAvailable: string;
366
+ };
367
+ };
368
+ };
369
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { LOCALIZATION_CONFIGS } from './constants';
2
+ import { GetText, TranslationKeys, Translations } from './types';
3
+ export declare function getTranslation(config: Translations, key: TranslationKeys): string;
4
+ export declare const getSubstitutedString: (str: string, substitutions?: Record<string, string>) => string;
5
+ export declare const getText: GetText;
6
+ export declare const setFeaturesLocalization: (generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations) => void;
7
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEhE,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,eAAe,UAexE;AAED,eAAO,MAAM,oBAAoB,QAAS,MAAM,kBAAiB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAWtF,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,OAMrB,CAAA;AAED,eAAO,MAAM,uBAAuB,cACvB,CAAC,CAAC,MAAM,EAAE,OAAO,oBAAoB,KAAK,YAAY,CAAC,GAAG,YAAY,SAGlF,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { GetText, Translations } from './types';
2
+ import { LOCALIZATION_CONFIGS } from './constants';
3
+ export declare const useText: () => GetText;
4
+ export declare const useFeaturesLocalization: (generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations) => void;
5
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,eAAO,MAAM,OAAO,QAAO,OAS1B,CAAA;AAED,eAAO,MAAM,uBAAuB,cACvB,CAAC,CAAC,MAAM,EAAE,OAAO,oBAAoB,KAAK,YAAY,CAAC,GAAG,YAAY,SAKlF,CAAA"}
@@ -0,0 +1,4 @@
1
+ export { useFeaturesLocalization, useText } from './hooks';
2
+ export { setFeaturesLocalization, getText as t } from './helpers';
3
+ export { $localization, setLocalization } from './model';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,EAAE,uBAAuB,EAAE,OAAO,IAAI,CAAC,EAAE,MAAM,WAAW,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,125 @@
1
+ import { Translations } from './types';
2
+ import { LOCALIZATION_CONFIGS } from './constants';
3
+ export declare const setLocalization: import("effector").EventCallable<{
4
+ locale: string;
5
+ "teacherFeedback.noComments": string;
6
+ "time.justNow": string;
7
+ "time.minuteAgo": string;
8
+ "time.minutesAgo": string;
9
+ "time.hourAgo": string;
10
+ "time.hoursAgo": string;
11
+ "time.dayAgo": string;
12
+ "time.daysAgo": string;
13
+ "time.monthAgo": string;
14
+ "time.monthsAgo": string;
15
+ "time.yearAgo": string;
16
+ "time.yearsAgo": string;
17
+ chat: {
18
+ anotherHint: string;
19
+ getHint: string;
20
+ needHint: string;
21
+ giveHintOpenChat: string;
22
+ answerAgain: string;
23
+ errorMessage: string;
24
+ howCanIHelp: string;
25
+ showError: string;
26
+ inputPlaceholder: string;
27
+ };
28
+ gifCelebrations: {
29
+ greatStart: string;
30
+ onTheWay: string;
31
+ almostThere: string;
32
+ };
33
+ exampleSolution: {
34
+ exampleSolution: string;
35
+ letMeThink: string;
36
+ aha: string;
37
+ errorMessage: string;
38
+ };
39
+ keyboard: {
40
+ length: string;
41
+ area: string;
42
+ volume: string;
43
+ weight: string;
44
+ time: string;
45
+ };
46
+ voice: {
47
+ deleteRecording: string;
48
+ youWontBeAbleToRecover: string;
49
+ recordingDeleted: string;
50
+ delete: string;
51
+ cancel: string;
52
+ noMicrophoneAccess: string;
53
+ noMicrophoneAccessBySystem: string;
54
+ noMicrophoneFound: string;
55
+ uploadFailed: string;
56
+ redoRecording: string;
57
+ redo: string;
58
+ thisWillRemoveRecording: string;
59
+ transcriptions: string;
60
+ attempt: string;
61
+ transcriptNotAvailable: string;
62
+ };
63
+ } | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
64
+ export declare const $localization: import("effector").StoreWritable<{
65
+ locale: string;
66
+ "teacherFeedback.noComments": string;
67
+ "time.justNow": string;
68
+ "time.minuteAgo": string;
69
+ "time.minutesAgo": string;
70
+ "time.hourAgo": string;
71
+ "time.hoursAgo": string;
72
+ "time.dayAgo": string;
73
+ "time.daysAgo": string;
74
+ "time.monthAgo": string;
75
+ "time.monthsAgo": string;
76
+ "time.yearAgo": string;
77
+ "time.yearsAgo": string;
78
+ chat: {
79
+ anotherHint: string;
80
+ getHint: string;
81
+ needHint: string;
82
+ giveHintOpenChat: string;
83
+ answerAgain: string;
84
+ errorMessage: string;
85
+ howCanIHelp: string;
86
+ showError: string;
87
+ inputPlaceholder: string;
88
+ };
89
+ gifCelebrations: {
90
+ greatStart: string;
91
+ onTheWay: string;
92
+ almostThere: string;
93
+ };
94
+ exampleSolution: {
95
+ exampleSolution: string;
96
+ letMeThink: string;
97
+ aha: string;
98
+ errorMessage: string;
99
+ };
100
+ keyboard: {
101
+ length: string;
102
+ area: string;
103
+ volume: string;
104
+ weight: string;
105
+ time: string;
106
+ };
107
+ voice: {
108
+ deleteRecording: string;
109
+ youWontBeAbleToRecover: string;
110
+ recordingDeleted: string;
111
+ delete: string;
112
+ cancel: string;
113
+ noMicrophoneAccess: string;
114
+ noMicrophoneAccessBySystem: string;
115
+ noMicrophoneFound: string;
116
+ uploadFailed: string;
117
+ redoRecording: string;
118
+ redo: string;
119
+ thisWillRemoveRecording: string;
120
+ transcriptions: string;
121
+ attempt: string;
122
+ transcriptNotAvailable: string;
123
+ };
124
+ }>;
125
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import enTranslations from './localization/en.json';
2
+ import { RetrieveKeys } from '../../lib/types/keys';
3
+ export type Translations = typeof enTranslations;
4
+ export type TranslationKeys = RetrieveKeys<Translations>;
5
+ export type GetText = (key: TranslationKeys, args?: Record<string, string> | null) => string;
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA"}
@@ -0,0 +1,21 @@
1
+ import enTranslations from './localization/en.json';
2
+ import swTranslations from './localization/sw.json';
3
+ import gbTranslations from './localization/gb.json';
4
+ import caTranslations from './localization/ca.json';
5
+ import sctTranslations from './localization/sct.json';
6
+ type Extends<T, U> = T extends U ? true : false;
7
+ type ExtendsAll<Candidate, Types extends unknown[]> = Types extends [infer Head, ...infer Tail] ? Extends<Candidate, Head> extends true ? ExtendsAll<Candidate, Tail> : false : true;
8
+ type FindDominantType<Types extends unknown[]> = Types extends [
9
+ infer First,
10
+ ...infer Rest extends unknown[]
11
+ ] ? ExtendsAll<First, Rest> extends true ? First : FindDominantType<Rest> : never;
12
+ type DominantTranslation = FindDominantType<[
13
+ typeof enTranslations,
14
+ typeof swTranslations,
15
+ typeof gbTranslations,
16
+ typeof caTranslations,
17
+ typeof sctTranslations
18
+ ]>;
19
+ export type ISValidTranslation<T extends DominantTranslation> = T;
20
+ export {};
21
+ //# sourceMappingURL=validation.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,eAAe,MAAM,yBAAyB,CAAA;AAErD,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE/C,KAAK,UAAU,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAC3F,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,GACnC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,CAAA;AAER,KAAK,gBAAgB,CAAC,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI,SAAS,OAAO,EAAE;CAChC,GACG,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,GAClC,KAAK,GACL,gBAAgB,CAAC,IAAI,CAAC,GACxB,KAAK,CAAA;AAET,KAAK,mBAAmB,GAAG,gBAAgB,CACzC;IACE,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,eAAe;CACvB,CACF,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,IAAI,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/helpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAmB,MAAM,qBAAqB,CAAA;AAEzE,eAAO,MAAM,kBAAkB,UAAW,MAAM,WAE/C,CAAA;AAED,eAAO,MAAM,kBAAkB,UAAW,MAAM,EAAE,gCAWjD,CAAA;AAED,eAAO,MAAM,qBAAqB,YAAa,uBAAuB,GAAG,IAAI,mCAyB5E,CAAA;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,UAAU,GACrB,kBAAkB,CAqDpB"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/helpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAmB,MAAM,qBAAqB,CAAA;AAEzE,eAAO,MAAM,kBAAkB,UAAW,MAAM,WAE/C,CAAA;AAED,eAAO,MAAM,kBAAkB,UAAW,MAAM,EAAE,gCAWjD,CAAA;AAED,eAAO,MAAM,qBAAqB,YAAa,uBAAuB,GAAG,IAAI,mCAyB5E,CAAA;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,UAAU,GACrB,kBAAkB,CAuDpB"}
@@ -3,7 +3,7 @@ export { ChatbotModel } from './model/ChatBotModel';
3
3
  export { AudioStatus, type AudioProvider, type TTSHighlightRenderer, type TTSHighlightRendererProps } from './types/t2s.types';
4
4
  export { MessageVariant, type ChatbotModelProps, type IChatDrawBoardAdapter, } from './types/model.types';
5
5
  export type { RequestOptionalConfig } from '../../lib/effector/createControllerEffect';
6
- export type { PostMessageResponse } from './types/api.types';
6
+ export type { PostMessageResponse, ChatHintPayload, ChatHintResponse, GetAlternativesPayload, GetAlternativesResponse, SendMessagePayload, SendMessageResponse, } from './types/api.types';
7
7
  export { DefaultMessagesCreator } from './model/DefaultMessageCreator';
8
8
  export type { ChatAnswer } from './types/units.types';
9
9
  export type { ConversationMessage } from './types/units.types';
@@ -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,KAAK,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC9H,OAAO,EACL,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAA;AACtF,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC9H,OAAO,EACL,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAA;AACtF,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBotModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,KAAK,EACV,aAAa,EACd,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EAEd,mBAAmB,EAEnB,sBAAsB,EACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAIzD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,qBAAa,YAAY;IACvB,SAAgB,WAAW,qBAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA4B;IAE5D,SAAgB,aAAa,uBAE3B;IACF,SAAgB,GAAG,EAAE,UAAU,CAAA;IAE/B,SAAgB,WAAW,EAAE,kBAAkB,CAAA;IAC/C,SAAgB,GAAG,EAAE,YAAY,CAAA;IACjC,SAAgB,aAAa,EAAE,kBAAkB,CAAA;IACjD,SAAgB,SAAS,mBAAyB;IAElD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAwB;IACtD,SAAgB,WAAW,wBAAkC;IAE7D,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,4BAA4B,CAAC,CAAiC;IAEtE,QAAQ,CAAC,iBAAiB,yCAAgB;IAC1C,QAAQ,CAAC,eAAe,mEAAgD;IACxE,QAAQ,CAAC,aAAa,gDAAoD;IAE1E,QAAQ,CAAC,SAAS,4CAAyB;IAC3C,QAAQ,CAAC,UAAU,yCAAgB;IACnC,QAAQ,CAAC,OAAO,yBAA0E;IAE1F,SAAgB,iBAAiB,yCAAgB;IACjD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAwB;IAC1D,SAAgB,eAAe,+BAAwC;IAEvE,SAAgB,UAAU,0DAAuC;IACjE,SAAgB,QAAQ,uCAAiC;IAEzD,SAAgB,eAAe,4CAAyB;IACxD,SAAgB,eAAe,yBAAuC;IAEtE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;IAE9C,SAAgB,WAAW,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAEnD,SAAgB,gBAAgB;;;;;;;OAG/B;gBAEW,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAa,EAAE,UAAU,EAAE,EAAE,iBAAiB;IAuH5F,OAAO,CAAC,uBAAuB;IA6FxB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;IAa7B,4BAA4B,CAAC,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC;IAa1D,QAAQ,CAAC,MAAM,EAAE,SAAS;IAK1B,mBAAmB,CAAC,OAAO,EAAE,qBAAqB;IAMzD,SAAgB,iBAAiB,wEAAA;IACjC,SAAgB,iBAAiB,yDAAiC;IAE3D,cAAc,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,mBAAmB;IAKvD,UAAU,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,mBAAmB;IAI1D,SAAgB,kBAAkB,YAAa,uBAAuB,UAGrE;IAEM,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,SAAS,+CAiBd;IAEF,SAAgB,KAAK,yCAMnB;IAEK,SAAS;IAST,8BAA8B;CAItC"}
1
+ {"version":3,"file":"ChatBotModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,KAAK,EACV,aAAa,EACd,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EAEd,mBAAmB,EAEnB,sBAAsB,EACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAIzD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,qBAAa,YAAY;IACvB,SAAgB,WAAW,qBAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA4B;IAE5D,SAAgB,aAAa,uBAE3B;IACF,SAAgB,GAAG,EAAE,UAAU,CAAA;IAE/B,SAAgB,WAAW,EAAE,kBAAkB,CAAA;IAC/C,SAAgB,GAAG,EAAE,YAAY,CAAA;IACjC,SAAgB,aAAa,EAAE,kBAAkB,CAAA;IACjD,SAAgB,SAAS,mBAAyB;IAElD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAwB;IACtD,SAAgB,WAAW,wBAAkC;IAE7D,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,4BAA4B,CAAC,CAAiC;IAEtE,QAAQ,CAAC,iBAAiB,yCAAgB;IAC1C,QAAQ,CAAC,eAAe,mEAAgD;IACxE,QAAQ,CAAC,aAAa,gDAAoD;IAE1E,QAAQ,CAAC,SAAS,4CAAyB;IAC3C,QAAQ,CAAC,UAAU,yCAAgB;IACnC,QAAQ,CAAC,OAAO,yBAA0E;IAE1F,SAAgB,iBAAiB,yCAAgB;IACjD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAwB;IAC1D,SAAgB,eAAe,+BAAwC;IAEvE,SAAgB,UAAU,0DAAuC;IACjE,SAAgB,QAAQ,uCAAiC;IAEzD,SAAgB,eAAe,4CAAyB;IACxD,SAAgB,eAAe,yBAAuC;IAEtE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;IAE9C,SAAgB,WAAW,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAEnD,SAAgB,gBAAgB;;;;;;;OAG/B;gBAEW,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAa,EAAE,UAAU,EAAE,EAAE,iBAAiB;IAuH5F,OAAO,CAAC,uBAAuB;IA0FxB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;IAa7B,4BAA4B,CAAC,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC;IAa1D,QAAQ,CAAC,MAAM,EAAE,SAAS;IAK1B,mBAAmB,CAAC,OAAO,EAAE,qBAAqB;IAMzD,SAAgB,iBAAiB,wEAAA;IACjC,SAAgB,iBAAiB,yDAAiC;IAE3D,cAAc,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,mBAAmB;IAKvD,UAAU,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,mBAAmB;IAI1D,SAAgB,kBAAkB,YAAa,uBAAuB,UAGrE;IAEM,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,SAAS,+CAiBd;IAEF,SAAgB,KAAK,yCAMnB;IAEK,SAAS;IAST,8BAA8B;CAItC"}
@@ -1,6 +1,6 @@
1
1
  import { DefaultMessagesCreator } from './DefaultMessageCreator';
2
+ import { TranslationKeys } from '../../../shared/translation/types';
2
3
  import { ChatbotMessages } from '../types/model.types';
3
- import { TranslationKeys } from '../../../shared/translation/i18n';
4
4
  export declare class ChatBotTextManager {
5
5
  private readonly messagesCreator;
6
6
  readonly messages: ChatbotMessages;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBoxTextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBoxTextManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAW,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAE3E,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAEN;IAE1B,SAAgB,QAAQ,EAAE,eAAe,CAQxC;IACD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuB;IAEhD,MAAM,CACX,EAAE,EAAE,CAAC,OAAO,EAAE,sBAAsB,CAAC,eAAe,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC;IAK7E,OAAO;CAGf"}
1
+ {"version":3,"file":"ChatBoxTextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBoxTextManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAEe;IAE/C,SAAgB,QAAQ,EAAE,eAAe,CAQxC;IACD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuB;IAEhD,MAAM,CACX,EAAE,EAAE,CAAC,OAAO,EAAE,sBAAsB,CAAC,eAAe,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC;IAK7E,OAAO;CAGf"}
@@ -1,4 +1,5 @@
1
1
  import { PostMessageResponse } from '../types/api.types';
2
+ import { Event } from 'effector';
2
3
  import { ChatAnswer } from '../types/units.types';
3
4
  type ChatMessage = Omit<PostMessageResponse, 'threadId'> & {
4
5
  id: string;
@@ -17,7 +18,7 @@ export declare class DefaultMessagesCreator<K extends string> {
17
18
  constructor({ textGetter }: DefaultMessageCreatorProps<K>);
18
19
  createMessage(key: K, { isOwn, options }?: DefaultMessageSettings): ChatMessage;
19
20
  createOption(key: K): ChatAnswer;
20
- bindToLanguageChanged(): this;
21
+ bindToLanguageChanged(event: Event<unknown>): this;
21
22
  }
22
23
  export {};
23
24
  //# sourceMappingURL=DefaultMessageCreator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultMessageCreator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/DefaultMessageCreator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI;IAClD,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAA;CAC/B,CAAA;AAED,qBAAa,sBAAsB,CAAC,CAAC,SAAS,MAAM;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAA;gBAEX,EAAE,UAAU,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAIlD,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAa,EAAE,OAAY,EAAE,GAAE,sBAA2B;IAWlF,YAAY,CAAC,GAAG,EAAE,CAAC;IAUnB,qBAAqB;CAY7B"}
1
+ {"version":3,"file":"DefaultMessageCreator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/DefaultMessageCreator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI;IAClD,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAA;CAC/B,CAAA;AAED,qBAAa,sBAAsB,CAAC,CAAC,SAAS,MAAM;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAA;gBAEX,EAAE,UAAU,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAIlD,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAa,EAAE,OAAY,EAAE,GAAE,sBAA2B;IAWlF,YAAY,CAAC,GAAG,EAAE,CAAC;IAUnB,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;CAYnD"}