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

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 (308) hide show
  1. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -2
  2. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -2
  4. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  5. package/dist/commonjs/features/chatbot/helpers.js +8 -4
  6. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  8. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
  9. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  10. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +4 -3
  11. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  12. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +2 -4
  13. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  14. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
  15. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  16. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +8 -4
  17. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  18. package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -2
  19. package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
  20. package/dist/commonjs/features/feedback/model/comments.js +2 -2
  21. package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
  22. package/dist/commonjs/features/gifCelebrations/components/Gif.js +2 -2
  23. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
  24. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -2
  25. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  26. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +2 -2
  27. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  28. package/dist/commonjs/features/voice/constants.js +13 -3
  29. package/dist/commonjs/features/voice/constants.js.map +1 -1
  30. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js +2 -2
  31. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
  32. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +2 -2
  33. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
  34. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js +19 -5
  35. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js.map +1 -1
  36. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +73 -22
  37. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  38. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  39. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
  40. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  41. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +2 -2
  42. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  43. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +2 -2
  44. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  45. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +2 -2
  46. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  47. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +12 -7
  48. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  49. package/dist/commonjs/features/voice/types.js +6 -0
  50. package/dist/commonjs/features/voice/types.js.map +1 -1
  51. package/dist/commonjs/index.js +38 -23
  52. package/dist/commonjs/index.js.map +1 -1
  53. package/dist/commonjs/lib/helpers/helpers.js +12 -12
  54. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  55. package/dist/commonjs/lib/types/keys.js +2 -0
  56. package/dist/commonjs/lib/types/keys.js.map +1 -0
  57. package/dist/commonjs/shared/translation/constants.js +23 -0
  58. package/dist/commonjs/shared/translation/constants.js.map +1 -0
  59. package/dist/commonjs/shared/translation/helpers.js +47 -0
  60. package/dist/commonjs/shared/translation/helpers.js.map +1 -0
  61. package/dist/commonjs/shared/translation/hooks.js +25 -0
  62. package/dist/commonjs/shared/translation/hooks.js.map +1 -0
  63. package/dist/commonjs/shared/translation/index.js +45 -0
  64. package/dist/commonjs/shared/translation/index.js.map +1 -0
  65. package/dist/commonjs/shared/translation/localization/ca.json +61 -0
  66. package/dist/commonjs/shared/translation/localization/de.json +61 -0
  67. package/dist/commonjs/shared/translation/localization/en.json +61 -0
  68. package/dist/commonjs/shared/translation/localization/gb.json +61 -0
  69. package/dist/commonjs/shared/translation/localization/sct.json +61 -0
  70. package/dist/commonjs/shared/translation/localization/sw.json +61 -0
  71. package/dist/commonjs/shared/translation/model.js +15 -0
  72. package/dist/commonjs/shared/translation/model.js.map +1 -0
  73. package/dist/commonjs/shared/translation/types.js +6 -0
  74. package/dist/commonjs/shared/translation/types.js.map +1 -0
  75. package/dist/commonjs/shared/translation/validation.types.js +6 -0
  76. package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
  77. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +1 -1
  78. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  79. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +1 -1
  80. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  81. package/dist/module/features/chatbot/helpers.js +6 -2
  82. package/dist/module/features/chatbot/helpers.js.map +1 -1
  83. package/dist/module/features/chatbot/index.js.map +1 -1
  84. package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
  85. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  86. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +3 -2
  87. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  88. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +2 -3
  89. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  90. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
  91. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  92. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +9 -5
  93. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  94. package/dist/module/features/feedback/components/EmptyComment.js +1 -1
  95. package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
  96. package/dist/module/features/feedback/model/comments.js +1 -1
  97. package/dist/module/features/feedback/model/comments.js.map +1 -1
  98. package/dist/module/features/gifCelebrations/components/Gif.js +1 -1
  99. package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
  100. package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
  101. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  102. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +1 -1
  103. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  104. package/dist/module/features/voice/constants.js +12 -2
  105. package/dist/module/features/voice/constants.js.map +1 -1
  106. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js +1 -1
  107. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
  108. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +1 -1
  109. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
  110. package/dist/module/features/voice/recording/components/VoiceRecord.js +20 -6
  111. package/dist/module/features/voice/recording/components/VoiceRecord.js.map +1 -1
  112. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +74 -23
  113. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  114. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  115. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
  116. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  117. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -1
  118. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  119. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +1 -1
  120. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  121. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +1 -1
  122. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  123. package/dist/module/features/voice/recording/model/VoiceRecord.model.js +6 -1
  124. package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  125. package/dist/module/features/voice/types.js +5 -1
  126. package/dist/module/features/voice/types.js.map +1 -1
  127. package/dist/module/index.js +1 -0
  128. package/dist/module/index.js.map +1 -1
  129. package/dist/module/lib/helpers/helpers.js +1 -1
  130. package/dist/module/lib/helpers/helpers.js.map +1 -1
  131. package/dist/module/lib/types/keys.js +2 -0
  132. package/dist/module/lib/types/keys.js.map +1 -0
  133. package/dist/module/shared/translation/constants.js +18 -0
  134. package/dist/module/shared/translation/constants.js.map +1 -0
  135. package/dist/module/shared/translation/helpers.js +38 -0
  136. package/dist/module/shared/translation/helpers.js.map +1 -0
  137. package/dist/module/shared/translation/hooks.js +19 -0
  138. package/dist/module/shared/translation/hooks.js.map +1 -0
  139. package/dist/module/shared/translation/index.js +6 -0
  140. package/dist/module/shared/translation/index.js.map +1 -0
  141. package/dist/module/shared/translation/localization/ca.json +61 -0
  142. package/dist/module/shared/translation/localization/de.json +61 -0
  143. package/dist/module/shared/translation/localization/en.json +61 -0
  144. package/dist/module/shared/translation/localization/gb.json +61 -0
  145. package/dist/module/shared/translation/localization/sct.json +61 -0
  146. package/dist/module/shared/translation/localization/sw.json +61 -0
  147. package/dist/module/shared/translation/model.js +11 -0
  148. package/dist/module/shared/translation/model.js.map +1 -0
  149. package/dist/module/shared/translation/types.js +4 -0
  150. package/dist/module/shared/translation/types.js.map +1 -0
  151. package/dist/module/shared/translation/validation.types.js +4 -0
  152. package/dist/module/shared/translation/validation.types.js.map +1 -0
  153. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  154. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  155. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  156. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  157. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  158. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  159. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  160. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  161. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
  162. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  163. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  164. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  165. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +1 -1
  166. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -1
  167. package/dist/typescript/commonjs/features/voice/constants.d.ts +12 -2
  168. package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
  169. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  170. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
  171. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  172. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
  173. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  174. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -1
  175. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  176. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
  177. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  178. package/dist/typescript/commonjs/features/voice/types.d.ts +4 -0
  179. package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
  180. package/dist/typescript/commonjs/index.d.ts +1 -0
  181. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  182. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
  183. package/dist/typescript/commonjs/lib/types/keys.d.ts +8 -0
  184. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +1 -0
  185. package/dist/typescript/commonjs/shared/translation/constants.d.ts +369 -0
  186. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -0
  187. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +7 -0
  188. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -0
  189. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +5 -0
  190. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -0
  191. package/dist/typescript/commonjs/shared/translation/index.d.ts +4 -0
  192. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -0
  193. package/dist/typescript/commonjs/shared/translation/model.d.ts +125 -0
  194. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -0
  195. package/dist/typescript/commonjs/shared/translation/types.d.ts +6 -0
  196. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -0
  197. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +21 -0
  198. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -0
  199. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  200. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  201. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  202. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  203. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  204. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  205. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  206. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  207. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
  208. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  209. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  210. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  211. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +1 -1
  212. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -1
  213. package/dist/typescript/module/features/voice/constants.d.ts +12 -2
  214. package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
  215. package/dist/typescript/module/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  216. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
  217. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  218. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
  219. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  220. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -1
  221. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  222. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
  223. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  224. package/dist/typescript/module/features/voice/types.d.ts +4 -0
  225. package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
  226. package/dist/typescript/module/index.d.ts +1 -0
  227. package/dist/typescript/module/index.d.ts.map +1 -1
  228. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
  229. package/dist/typescript/module/lib/types/keys.d.ts +8 -0
  230. package/dist/typescript/module/lib/types/keys.d.ts.map +1 -0
  231. package/dist/typescript/module/shared/translation/constants.d.ts +369 -0
  232. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -0
  233. package/dist/typescript/module/shared/translation/helpers.d.ts +7 -0
  234. package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -0
  235. package/dist/typescript/module/shared/translation/hooks.d.ts +5 -0
  236. package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -0
  237. package/dist/typescript/module/shared/translation/index.d.ts +4 -0
  238. package/dist/typescript/module/shared/translation/index.d.ts.map +1 -0
  239. package/dist/typescript/module/shared/translation/model.d.ts +125 -0
  240. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -0
  241. package/dist/typescript/module/shared/translation/types.d.ts +6 -0
  242. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -0
  243. package/dist/typescript/module/shared/translation/validation.types.d.ts +21 -0
  244. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -0
  245. package/package.json +4 -9
  246. package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -1
  247. package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +1 -1
  248. package/src/features/chatbot/helpers.ts +3 -1
  249. package/src/features/chatbot/index.ts +9 -1
  250. package/src/features/chatbot/model/ChatBotModel.ts +7 -10
  251. package/src/features/chatbot/model/ChatBoxTextManager.ts +4 -2
  252. package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
  253. package/src/features/chatbot/types/api.types.ts +11 -6
  254. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +4 -3
  255. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +9 -5
  256. package/src/features/feedback/components/EmptyComment.tsx +1 -1
  257. package/src/features/feedback/model/comments.ts +1 -1
  258. package/src/features/gifCelebrations/components/Gif.tsx +1 -1
  259. package/src/features/gifCelebrations/helpers.ts +1 -1
  260. package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
  261. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +1 -1
  262. package/src/features/voice/constants.ts +13 -2
  263. package/src/features/voice/playing/components/VoiceTranscriptionsDropdown.tsx +1 -1
  264. package/src/features/voice/playing/components/VoiceTranscriptionsDropdownItem.tsx +1 -1
  265. package/src/features/voice/recording/components/VoiceRecord.tsx +28 -5
  266. package/src/features/voice/recording/components/VoiceRecordButton.tsx +100 -31
  267. package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -2
  268. package/src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts +8 -4
  269. package/src/features/voice/recording/modal/ModalFooterButtons.tsx +2 -2
  270. package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +1 -1
  271. package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +1 -1
  272. package/src/features/voice/recording/model/VoiceRecord.model.ts +8 -1
  273. package/src/features/voice/types.ts +5 -0
  274. package/src/index.ts +1 -0
  275. package/src/lib/helpers/helpers.ts +1 -1
  276. package/src/lib/types/keys.ts +18 -0
  277. package/src/shared/translation/constants.ts +16 -0
  278. package/src/shared/translation/helpers.ts +47 -0
  279. package/src/shared/translation/hooks.ts +25 -0
  280. package/src/shared/translation/index.ts +3 -0
  281. package/src/shared/translation/localization/ca.json +61 -0
  282. package/src/shared/translation/localization/de.json +61 -0
  283. package/src/shared/translation/localization/en.json +61 -0
  284. package/src/shared/translation/localization/gb.json +61 -0
  285. package/src/shared/translation/localization/sct.json +61 -0
  286. package/src/shared/translation/localization/sw.json +61 -0
  287. package/src/shared/translation/model.ts +16 -0
  288. package/src/shared/translation/types.ts +21 -0
  289. package/src/shared/translation/validation.types.ts +34 -0
  290. package/dist/commonjs/shared/translation/i18n.d.js +0 -5
  291. package/dist/commonjs/shared/translation/i18n.d.js.map +0 -1
  292. package/dist/commonjs/shared/translation/i18n.js +0 -26
  293. package/dist/commonjs/shared/translation/i18n.js.map +0 -1
  294. package/dist/commonjs/shared/translation/react-i18next.d.js +0 -5
  295. package/dist/commonjs/shared/translation/react-i18next.d.js.map +0 -1
  296. package/dist/module/shared/translation/i18n.d.js +0 -5
  297. package/dist/module/shared/translation/i18n.d.js.map +0 -1
  298. package/dist/module/shared/translation/i18n.js +0 -19
  299. package/dist/module/shared/translation/i18n.js.map +0 -1
  300. package/dist/module/shared/translation/react-i18next.d.js +0 -5
  301. package/dist/module/shared/translation/react-i18next.d.js.map +0 -1
  302. package/dist/typescript/commonjs/shared/translation/i18n.d.ts +0 -7
  303. package/dist/typescript/commonjs/shared/translation/i18n.d.ts.map +0 -1
  304. package/dist/typescript/module/shared/translation/i18n.d.ts +0 -7
  305. package/dist/typescript/module/shared/translation/i18n.d.ts.map +0 -1
  306. package/src/shared/translation/i18n.d.ts +0 -21
  307. package/src/shared/translation/i18n.ts +0 -17
  308. package/src/shared/translation/react-i18next.d.ts +0 -21
@@ -19,19 +19,25 @@ export type GetAlternativesResponse = {
19
19
  options: AlternativesOptions;
20
20
  };
21
21
  export type SendMessagePayload = {
22
+ message: string;
22
23
  problemDescription?: string;
23
24
  problemStandards?: ProblemStandard[];
24
25
  correctAnswer?: string | string[];
25
26
  answerOptions?: string[];
26
27
  altText?: string;
27
28
  language?: string;
28
- message: string;
29
29
  conversationId?: string;
30
+ chatHistory?: ChatHistory;
30
31
  };
31
32
  export type SendMessageResponse = {
32
33
  message: string;
33
34
  conversationId?: string | null;
34
35
  };
36
+ export type ChatHistory = {
37
+ exerciseId: string;
38
+ problemId?: string;
39
+ chatVersion?: string;
40
+ };
35
41
  export type PostMessagePayload = {
36
42
  language: string;
37
43
  problemAnswer: string[];
@@ -43,11 +49,7 @@ export type PostMessagePayload = {
43
49
  imageCdnId?: string;
44
50
  freeTextMessage?: string;
45
51
  conversationId?: string | null;
46
- chatHistory?: {
47
- exerciseId: string;
48
- problemId: string;
49
- chatVersion?: string;
50
- };
52
+ chatHistory?: ChatHistory;
51
53
  };
52
54
  export type PostMessageResponse = {
53
55
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,MAAM,EACN,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,GAAG,IAAI,CAAA;AAER,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,sBAAsB,EAAE,OAAO,CA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,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kBAAkB,CAAC,EAAE,eAAe,EAAE,CAAA;IACtC,eAAe,CAAC,EAAE,YAAY,EAAE,CAAA;IAChC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CACzB,CAAA;AACD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,MAAM,EAAE,CAAA;CAC/B,CAAA"}
1
+ {"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,MAA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C9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,MAAM,EAAE,CAAA;CAC/B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleSolutionModalContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/ExampleSolutionModalContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAMrD,KAAK,gCAAgC,GAAG;IACtC,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAA;AAID,eAAO,MAAM,2BAA2B,8CAErC,gCAAgC,sBAwBlC,CAAA"}
1
+ {"version":3,"file":"ExampleSolutionModalContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/ExampleSolutionModalContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAKrD,KAAK,gCAAgC,GAAG;IACtC,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAA;AAID,eAAO,MAAM,2BAA2B,8CAErC,gCAAgC,sBAwBlC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleSolutionApi.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolutionApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAIlF,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,0BAA0B,CAAA;IAC/B,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,CAAA;AAED,qBAAa,mBAAmB;IAC9B,SAAgB,yBAAyB,mKAAA;IACzC,SAAgB,cAAc,CAAC,EAAE,2BAA2B,CAAA;IAE5D,SAAgB,eAAe,+CAG7B;gBAEU,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,uBAAuB;CAS3D"}
1
+ {"version":3,"file":"ExampleSolutionApi.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolutionApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAIlF,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,0BAA0B,CAAA;IAC/B,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,CAAA;AAED,qBAAa,mBAAmB;IAC9B,SAAgB,yBAAyB,mKAAA;IACzC,SAAgB,cAAc,CAAC,EAAE,2BAA2B,CAAA;IAE5D,SAAgB,eAAe,+CAO7B;gBAEU,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,uBAAuB;CAS3D"}
@@ -1,4 +1,4 @@
1
- import { TranslationKeys } from 'src/shared/translation/i18n';
1
+ import { TranslationKeys } from 'src/shared/translation/types';
2
2
  import { CustomGetCachePathMethod, GifsGroups, GifsStructure, GroupNumber, ProblemsGifsTable } from './types/model.types';
3
3
  /**
4
4
  * Number of problems When we show gif
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/gifCelebrations/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,aA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AAgB,wBAAwB,oBAWrF,CAAA;AAED,eAAO,MAAM,kBAAkB,UAAW,MAAM,OAAO,MAAM,OAAO,MAAM,WACrC,CAAA;AAErC,eAAO,MAAM,iBAAiB,cAAe,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,OASxE,CAAA"}
@@ -1,6 +1,12 @@
1
1
  export declare const VOICE_RECORDER_CONTAINER_SIZES: {
2
- COLLAPSED: number;
3
- EXPANDED: number;
2
+ COLLAPSED: {
3
+ default: number;
4
+ advanced: number;
5
+ };
6
+ EXPANDED: {
7
+ default: number;
8
+ advanced: number;
9
+ };
4
10
  };
5
11
  export declare const VOICE_RECORDER_MAX_DURATION_MS = 60000;
6
12
  export declare const VOICE_RECORDER_MIN_DURATION_MS = 300;
@@ -13,4 +19,8 @@ export declare const DROPDOWN_MAX_CONTENT_HEIGHT = 330;
13
19
  export declare const TRANSCRIPT_RETRY_INTERVAL_MS = 4000;
14
20
  export declare const TRANSCRIPT_MAX_RETRIES = 15;
15
21
  export declare const NO_AUDIO_BE_MESSAGE = "No audio";
22
+ export declare const VOICE_RECORD_SHAWODS: {
23
+ default: string;
24
+ advanced: string;
25
+ };
16
26
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/voice/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B;;;CAG1C,CAAA;AACD,eAAO,MAAM,8BAA8B,QAAQ,CAAA;AACnD,eAAO,MAAM,8BAA8B,MAAM,CAAA;AACjD,oBAAY,kBAAkB;IAC5B,IAAI,IAAA;IACJ,SAAS,IAAA;IACT,MAAM,IAAA;CACP;AACD,eAAO,MAAM,2BAA2B,MAAM,CAAA;AAC9C,eAAO,MAAM,4BAA4B,OAAO,CAAA;AAChD,eAAO,MAAM,sBAAsB,KAAK,CAAA;AACxC,eAAO,MAAM,mBAAmB,aAAa,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/voice/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B;;;;;;;;;CAS1C,CAAA;AACD,eAAO,MAAM,8BAA8B,QAAQ,CAAA;AACnD,eAAO,MAAM,8BAA8B,MAAM,CAAA;AACjD,oBAAY,kBAAkB;IAC5B,IAAI,IAAA;IACJ,SAAS,IAAA;IACT,MAAM,IAAA;CACP;AACD,eAAO,MAAM,2BAA2B,MAAM,CAAA;AAC9C,eAAO,MAAM,4BAA4B,OAAO,CAAA;AAChD,eAAO,MAAM,sBAAsB,KAAK,CAAA;AACxC,eAAO,MAAM,mBAAmB,aAAa,CAAA;AAE7C,eAAO,MAAM,oBAAoB;;;CAGhC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"VoiceRecord.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/components/VoiceRecord.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAA;AAE/D,OAAO,KAAoB,MAAM,OAAO,CAAA;AAMxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAK7D,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,KAAK,EAAE,gBAAgB,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,WAAW,qBAAsB,gBAAgB,sBA4B7D,CAAA"}
1
+ {"version":3,"file":"VoiceRecord.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/components/VoiceRecord.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAA;AAE/D,OAAO,KAAoB,MAAM,OAAO,CAAA;AAMxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAO7D,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,KAAK,EAAE,gBAAgB,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,WAAW,qBAAsB,gBAAgB,sBAwC7D,CAAA"}
@@ -1,10 +1,8 @@
1
1
  import React from 'react';
2
- import { ButtonStyle } from '@magmamath/react-native-ui';
3
2
  import { VoiceRecordModel } from '../model/VoiceRecord.model';
4
3
  type VoiceRecordButtonProps = {
5
- style?: ButtonStyle;
6
4
  model: VoiceRecordModel;
7
5
  };
8
- export declare const VoiceRecordButton: ({ style, model }: VoiceRecordButtonProps) => React.JSX.Element;
6
+ export declare const VoiceRecordButton: ({ model }: VoiceRecordButtonProps) => React.JSX.Element;
9
7
  export {};
10
8
  //# sourceMappingURL=VoiceRecordButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VoiceRecordButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/components/VoiceRecordButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AACtC,OAAO,EAIL,WAAW,EAGZ,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAK7D,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,gBAAgB,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,iBAAiB,qBAAsB,sBAAsB,sBA0CzE,CAAA"}
1
+ {"version":3,"file":"VoiceRecordButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/components/VoiceRecordButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAM7D,KAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,gBAAgB,CAAA;CACxB,CAAA;AASD,eAAO,MAAM,iBAAiB,cAAe,sBAAsB,sBAgDlE,CAAA"}
@@ -1,4 +1,5 @@
1
- export declare const useVoiceRecorderAnimation: (isExpanded: boolean) => {
1
+ import { RecordButtonVariant } from '../../types';
2
+ export declare const useVoiceRecorderAnimation: (isExpanded: boolean, recordButtonVariant: RecordButtonVariant) => {
2
3
  containerAnimatedStyle: {
3
4
  height: number;
4
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useVoiceRecorderAnimation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,eAAgB,OAAO;;;;CAe5D,CAAA"}
1
+ {"version":3,"file":"useVoiceRecorderAnimation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,eAAO,MAAM,yBAAyB,eACxB,OAAO,uBACE,mBAAmB;;;;CAgBzC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ButtonColor } from '@magmamath/react-native-ui';
3
- import { TranslationKeys } from '../../../../shared/translation/i18n';
3
+ import { TranslationKeys } from '../../../../shared/translation/types';
4
4
  type ModalFooterButtonsProps = {
5
5
  onCancel: () => void;
6
6
  onConfirm: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFooterButtons.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/modal/ModalFooterButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAU,WAAW,EAAsC,MAAM,4BAA4B,CAAA;AAGpG,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAErE,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,eAAe,CAAA;IAC7B,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,kBAAkB,yDAK5B,uBAAuB,sBAwBzB,CAAA"}
1
+ {"version":3,"file":"ModalFooterButtons.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/modal/ModalFooterButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAU,WAAW,EAAsC,MAAM,4BAA4B,CAAA;AAGpG,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAEtE,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,eAAe,CAAA;IAC7B,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,kBAAkB,yDAK5B,uBAAuB,sBAwBzB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { RecorderModel } from './Recorder.model';
2
2
  import { VoiceRecordsCollection } from './VoiceRecordCollection';
3
3
  import { UploaderModel } from './Uploader.model';
4
- import { VoiceRecordCollectionItem, VoiceRecorderApi, VoiceRecordNotificationTypes } from '../../types';
4
+ import { RecordButtonVariant, VoiceRecordCollectionItem, VoiceRecorderApi, VoiceRecordNotificationTypes } from '../../types';
5
5
  type VoiceRecordModelParams = {
6
6
  api: VoiceRecorderApi;
7
7
  notification: VoiceRecordNotificationTypes;
@@ -22,6 +22,7 @@ export declare class VoiceRecordModel {
22
22
  readonly notification: VoiceRecordNotificationTypes;
23
23
  readonly events: VoiceRecordEvents;
24
24
  private shouldDiscardRecording;
25
+ recordButtonVariant: RecordButtonVariant;
25
26
  readonly setCurrentKey: import("effector").EventCallable<string>;
26
27
  readonly setCurrentRecord: import("effector").EventCallable<any>;
27
28
  readonly reset: import("effector").EventCallable<void>;
@@ -32,6 +33,7 @@ export declare class VoiceRecordModel {
32
33
  readonly $isButtonDisabled: import("effector").StoreWritable<boolean>;
33
34
  readonly $isExpanded: import("effector").Store<boolean>;
34
35
  readonly deleteAudioRecord: import("effector").Effect<string, void, Error>;
36
+ readonly setRecordButtonVariant: import("effector").Effect<RecordButtonVariant, void, Error>;
35
37
  readonly deleteCurrentRecording: import("effector").Effect<void | DeleteCurrentRecordingProps, void, Error>;
36
38
  readonly initializeRecording: import("effector").Effect<void, void, Error>;
37
39
  readonly stop: import("effector").Effect<void, void, Error>;
@@ -1 +1 @@
1
- {"version":3,"file":"VoiceRecord.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/model/VoiceRecord.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEhD,OAAO,EACL,yBAAyB,EACzB,gBAAgB,EAChB,4BAA4B,EAC7B,MAAM,aAAa,CAAA;AAKpB,KAAK,sBAAsB,GAAG;IAC5B,GAAG,EAAE,gBAAgB,CAAA;IACrB,YAAY,EAAE,4BAA4B,CAAA;IAC1C,MAAM,EAAE,iBAAiB,CAAA;CAC1B,CAAA;AAYD,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB,CAAA;AAED,KAAK,2BAA2B,GAAG;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAcD,qBAAa,gBAAgB;IAC3B,SAAgB,aAAa,2CAAiD;IAC9E,SAAgB,UAAU,yBAA+B;IACzD,SAAgB,QAAQ,gBAAsB;IAC9C,SAAgB,GAAG,EAAE,gBAAgB,CAAA;IACrC,SAAgB,YAAY,EAAE,4BAA4B,CAAA;IAC1D,SAAgB,MAAM,EAAE,iBAAiB,CAAA;IACzC,OAAO,CAAC,sBAAsB,CAAQ;IAEtC,SAAgB,aAAa,2CAAwB;IACrD,SAAgB,gBAAgB,wCAAqB;IACrD,SAAgB,KAAK,yCAAgB;IACrC,SAAgB,mBAAmB,4CAAyB;IAC5D,SAAgB,gBAAgB,2CAAwB;IAExD,SAAgB,WAAW,2CAAkC;IAC7D,SAAgB,cAAc,wCAAyD;IAEvF,SAAgB,iBAAiB,4CAA2C;IAE5E,SAAgB,WAAW,oCAO1B;IAED,SAAgB,iBAAiB,iDAE/B;IAEF,SAAgB,sBAAsB,6EAqBpC;IAEF,SAAgB,mBAAmB,+CA2BjC;IAEF,SAAgB,IAAI,+CAKlB;IAEF,SAAgB,OAAO,sBAKtB;IAED,SAAgB,qBAAqB,WAAY,GAAG,UAanD;IAED,SAAgB,gBAAgB,kFAkB9B;IAEF,OAAO,CAAC,uBAAuB;IAM/B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,iBAAiB,CA2BxB;IAED,OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,sBAAsB;IAe9B,SAAgB,qBAAqB,+CAoCnC;gBAEU,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,sBAAsB;CASlE"}
1
+ {"version":3,"file":"VoiceRecord.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/recording/model/VoiceRecord.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEhD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,4BAA4B,EAC7B,MAAM,aAAa,CAAA;AAKpB,KAAK,sBAAsB,GAAG;IAC5B,GAAG,EAAE,gBAAgB,CAAA;IACrB,YAAY,EAAE,4BAA4B,CAAA;IAC1C,MAAM,EAAE,iBAAiB,CAAA;CAC1B,CAAA;AAYD,KAAK,iBAAiB,GAAG;IACvB,YA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
68
68
  controller?: AbortController;
69
69
  hasDrawing?: boolean;
70
70
  };
71
+ export declare enum RecordButtonVariant {
72
+ DEFAULT = "default",
73
+ ADVANCED = "advanced"
74
+ }
71
75
  export {};
72
76
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/voice/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;IAC/C,iBAAiB,EAAE,QAAQ,CAAA;CAC5B,CAAC,CAAA;AAEF,KAAK,mBAAmB,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,OAAO,CAAC,IAAI,GAAG,mBAAmB,CAAC,CAAA;IACxD,UAAU,CAAC,EA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AC,CAAA;IACjF,iBAAiB,EAAE,CACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,KAC/B,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAA;IACnC,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB"}
@@ -1,3 +1,4 @@
1
+ export { useFeaturesLocalization, setFeaturesLocalization } from './shared/translation';
1
2
  export { generateRandomId } from './lib/helpers/helpers';
2
3
  export * from './features/chatbot';
3
4
  export * from './features/feedback';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,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;AAC9B,cAAc,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACvF,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;AAC9B,cAAc,kBAAkB,CAAA"}
@@ -4,6 +4,6 @@ type ConditionalWrapperProps = {
4
4
  withWrapper?: boolean;
5
5
  Wrapper?: ComponentType<PropsWithChildren>;
6
6
  };
7
- export declare const ConditionalWrapper: ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
7
+ export declare const ConditionalWrapper: ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
8
8
  export {};
9
9
  //# sourceMappingURL=ConditionalWrapper.d.ts.map
@@ -0,0 +1,8 @@
1
+ type JoinKeys<K extends string, P extends string> = `${K}.${P}`;
2
+ type NestedKeys<T, Prefix extends string = ''> = T extends object ? T extends Array<any> ? never : {
3
+ [K in keyof T & string]: T[K] extends object ? JoinKeys<Prefix extends '' ? K : `${Prefix}.${K}`, NestedKeys<T[K], ''>> | (Prefix extends '' ? K : `${Prefix}.${K}`) : Prefix extends '' ? K : `${Prefix}.${K}`;
4
+ }[keyof T & string] : never;
5
+ type FlattenKeys<T> = T extends string ? T : never;
6
+ export type RetrieveKeys<T> = FlattenKeys<NestedKeys<T>>;
7
+ export {};
8
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../src/lib/types/keys.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,CAAA;AAE/D,KAAK,UAAU,CAAC,CAAC,EAAE,MAAM,SAAS,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS,MAAM,GAC7D,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAClB,KAAK,GACL;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAEpC,QAAQ,CAAC,MAAM,SAAS,EAAE,GAAG,CAAC,GAAG,GAAG,MAAM,IAAI,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GACxE,CAAC,MAAM,SAAS,EAAE,GAAG,CAAC,GAAG,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAC9C,MAAM,SAAS,EAAE,GACf,CAAC,GACD,GAAG,MAAM,IAAI,CAAC,EAAE;CACvB,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,GACrB,KAAK,CAAA;AAET,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,KAAK,CAAA;AAClD,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -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