@magmamath/students-features 1.3.2 → 1.3.3-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/commonjs/features/chatbot/helpers.js +1 -5
  2. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +6 -7
  5. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  6. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +1 -2
  7. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  8. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
  9. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  10. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +2 -3
  11. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  12. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +4 -8
  13. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  14. package/dist/commonjs/index.js +23 -38
  15. package/dist/commonjs/index.js.map +1 -1
  16. package/dist/commonjs/shared/translation/constants.js +2 -17
  17. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  18. package/dist/commonjs/shared/translation/helpers.js +8 -38
  19. package/dist/commonjs/shared/translation/helpers.js.map +1 -1
  20. package/dist/commonjs/shared/translation/hooks.js +7 -15
  21. package/dist/commonjs/shared/translation/hooks.js.map +1 -1
  22. package/dist/commonjs/shared/translation/index.js +0 -25
  23. package/dist/commonjs/shared/translation/index.js.map +1 -1
  24. package/dist/commonjs/shared/translation/react-i18next.d.js +5 -0
  25. package/dist/commonjs/shared/translation/react-i18next.d.js.map +1 -0
  26. package/dist/commonjs/shared/translation/{localization/en.json → schema.json} +43 -38
  27. package/dist/module/features/chatbot/helpers.js +1 -5
  28. package/dist/module/features/chatbot/helpers.js.map +1 -1
  29. package/dist/module/features/chatbot/index.js.map +1 -1
  30. package/dist/module/features/chatbot/model/ChatBotModel.js +6 -7
  31. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  32. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +1 -2
  33. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  34. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +3 -2
  35. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  36. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
  37. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  38. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +5 -9
  39. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  40. package/dist/module/index.js +0 -1
  41. package/dist/module/index.js.map +1 -1
  42. package/dist/module/shared/translation/constants.js +1 -15
  43. package/dist/module/shared/translation/constants.js.map +1 -1
  44. package/dist/module/shared/translation/helpers.js +6 -33
  45. package/dist/module/shared/translation/helpers.js.map +1 -1
  46. package/dist/module/shared/translation/hooks.js +7 -14
  47. package/dist/module/shared/translation/hooks.js.map +1 -1
  48. package/dist/module/shared/translation/index.js +2 -3
  49. package/dist/module/shared/translation/index.js.map +1 -1
  50. package/dist/module/shared/translation/react-i18next.d.js +5 -0
  51. package/dist/module/shared/translation/react-i18next.d.js.map +1 -0
  52. package/dist/module/shared/translation/{localization/en.json → schema.json} +43 -38
  53. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  54. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  55. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  56. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  57. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  58. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  59. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
  60. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  61. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +6 -8
  62. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  63. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  64. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  65. package/dist/typescript/commonjs/index.d.ts +0 -1
  66. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  67. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
  68. package/dist/typescript/commonjs/shared/translation/constants.d.ts +1 -368
  69. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  70. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +1 -5
  71. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -1
  72. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +1 -3
  73. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -1
  74. package/dist/typescript/commonjs/shared/translation/index.d.ts +3 -3
  75. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -1
  76. package/dist/typescript/commonjs/shared/translation/types.d.ts +3 -4
  77. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  78. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  79. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  80. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  81. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  82. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  83. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  84. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
  85. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  86. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +6 -8
  87. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  88. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  89. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  90. package/dist/typescript/module/index.d.ts +0 -1
  91. package/dist/typescript/module/index.d.ts.map +1 -1
  92. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
  93. package/dist/typescript/module/shared/translation/constants.d.ts +1 -368
  94. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  95. package/dist/typescript/module/shared/translation/helpers.d.ts +1 -5
  96. package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -1
  97. package/dist/typescript/module/shared/translation/hooks.d.ts +1 -3
  98. package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -1
  99. package/dist/typescript/module/shared/translation/index.d.ts +3 -3
  100. package/dist/typescript/module/shared/translation/index.d.ts.map +1 -1
  101. package/dist/typescript/module/shared/translation/types.d.ts +3 -4
  102. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  103. package/package.json +9 -4
  104. package/src/features/chatbot/helpers.ts +0 -2
  105. package/src/features/chatbot/index.ts +1 -9
  106. package/src/features/chatbot/model/ChatBotModel.ts +10 -7
  107. package/src/features/chatbot/model/ChatBoxTextManager.ts +2 -3
  108. package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
  109. package/src/features/chatbot/types/api.types.ts +6 -11
  110. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +3 -4
  111. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +5 -9
  112. package/src/index.ts +0 -1
  113. package/src/shared/translation/constants.ts +1 -16
  114. package/src/shared/translation/helpers.ts +5 -45
  115. package/src/shared/translation/hooks.ts +6 -22
  116. package/src/shared/translation/index.ts +3 -3
  117. package/src/shared/translation/react-i18next.d.ts +21 -0
  118. package/src/shared/translation/{localization/en.json → schema.json} +43 -38
  119. package/src/shared/translation/types.ts +3 -19
  120. package/dist/commonjs/lib/types/keys.js +0 -2
  121. package/dist/commonjs/lib/types/keys.js.map +0 -1
  122. package/dist/commonjs/shared/translation/localization/ca.json +0 -61
  123. package/dist/commonjs/shared/translation/localization/de.json +0 -61
  124. package/dist/commonjs/shared/translation/localization/gb.json +0 -61
  125. package/dist/commonjs/shared/translation/localization/sct.json +0 -61
  126. package/dist/commonjs/shared/translation/localization/sw.json +0 -61
  127. package/dist/commonjs/shared/translation/model.js +0 -15
  128. package/dist/commonjs/shared/translation/model.js.map +0 -1
  129. package/dist/commonjs/shared/translation/validation.types.js +0 -6
  130. package/dist/commonjs/shared/translation/validation.types.js.map +0 -1
  131. package/dist/module/lib/types/keys.js +0 -2
  132. package/dist/module/lib/types/keys.js.map +0 -1
  133. package/dist/module/shared/translation/localization/ca.json +0 -61
  134. package/dist/module/shared/translation/localization/de.json +0 -61
  135. package/dist/module/shared/translation/localization/gb.json +0 -61
  136. package/dist/module/shared/translation/localization/sct.json +0 -61
  137. package/dist/module/shared/translation/localization/sw.json +0 -61
  138. package/dist/module/shared/translation/model.js +0 -11
  139. package/dist/module/shared/translation/model.js.map +0 -1
  140. package/dist/module/shared/translation/validation.types.js +0 -4
  141. package/dist/module/shared/translation/validation.types.js.map +0 -1
  142. package/dist/typescript/commonjs/lib/types/keys.d.ts +0 -8
  143. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +0 -1
  144. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -125
  145. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +0 -1
  146. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +0 -21
  147. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +0 -1
  148. package/dist/typescript/module/lib/types/keys.d.ts +0 -8
  149. package/dist/typescript/module/lib/types/keys.d.ts.map +0 -1
  150. package/dist/typescript/module/shared/translation/model.d.ts +0 -125
  151. package/dist/typescript/module/shared/translation/model.d.ts.map +0 -1
  152. package/dist/typescript/module/shared/translation/validation.types.d.ts +0 -21
  153. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +0 -1
  154. package/src/lib/types/keys.ts +0 -18
  155. package/src/shared/translation/localization/ca.json +0 -61
  156. package/src/shared/translation/localization/de.json +0 -61
  157. package/src/shared/translation/localization/gb.json +0 -61
  158. package/src/shared/translation/localization/sct.json +0 -61
  159. package/src/shared/translation/localization/sw.json +0 -61
  160. package/src/shared/translation/model.ts +0 -16
  161. package/src/shared/translation/validation.types.ts +0 -34
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "de-DE",
3
- "teacherFeedback.noComments": "Noch keine Kommentare",
4
- "time.justNow": "gerade eben",
5
- "time.minuteAgo": "vor einer Minute",
6
- "time.minutesAgo": "vor {{count}} Minuten",
7
- "time.hourAgo": "vor einer Stunde",
8
- "time.hoursAgo": "vor {{count}} Stunden",
9
- "time.dayAgo": "vor einem Tag",
10
- "time.daysAgo": "vor {{count}} Tagen",
11
- "time.monthAgo": "vor einem Monat",
12
- "time.monthsAgo": "vor {{count}} Monaten",
13
- "time.yearAgo": "vor einem Jahr",
14
- "time.yearsAgo": "vor {{count}} Jahren",
15
- "chat": {
16
- "anotherHint": "Gib mir noch einen Hinweis",
17
- "getHint": "Einen Hinweis erhalten",
18
- "needHint": "Ich brauche einen Hinweis",
19
- "giveHintOpenChat": "Ich brauche einen Hinweis",
20
- "answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
21
- "errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
22
- "howCanIHelp": "Hi! Möchtest du Hilfe?",
23
- "showError": "Fehler anzeigen",
24
- "inputPlaceholder": "Tippe..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Toller Start!",
28
- "onTheWay": "Auf dem Weg!",
29
- "almostThere": "Fast geschafft"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Beispiellösung",
33
- "letMeThink": "Lass mich nachdenken...",
34
- "aha": "Aha!",
35
- "errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
36
- },
37
- "keyboard": {
38
- "length": "Länge",
39
- "area": "Fläche",
40
- "volume": "Volumen",
41
- "weight": "Gewicht",
42
- "time": "Zeit"
43
- },
44
- "voice": {
45
- "deleteRecording": "Aufnahme löschen?",
46
- "youWontBeAbleToRecover": "Du kannst die Datei nicht wiederherstellen, wenn sie einmal gelöscht ist.",
47
- "recordingDeleted": "Aufnahme gelöscht.",
48
- "delete": "Löschen",
49
- "cancel": "Abbrechen",
50
- "noMicrophoneAccess": "Kein Mikrofon-Zugriff.",
51
- "noMicrophoneAccessBySystem": "Mikrofonzugriff durch Systemeinstellungen verweigert.",
52
- "noMicrophoneFound": "Kein Mikrofon gefunden.",
53
- "uploadFailed": "Hochladen fehlgeschlagen. Bitte versuche es erneut.",
54
- "redoRecording": "Aufnahme erneut aufnehmen?",
55
- "redo": "Wiederholen",
56
- "thisWillRemoveRecording": "Dadurch wird die Aufnahme entfernt.",
57
- "transcriptions": "Transkriptionen",
58
- "attempt": "Versuch {{number}}",
59
- "transcriptNotAvailable": "Transkript nicht verfügbar"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "en-GB",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "en-SCT",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "sv-SE",
3
- "teacherFeedback.noComments": "Inga kommentarer än",
4
- "time.justNow": "alldeles nyss",
5
- "time.minuteAgo": "minut sedan",
6
- "time.minutesAgo": "{{count}} minuter sedan",
7
- "time.hourAgo": "timme sedan",
8
- "time.hoursAgo": "{{count}} timmar sedan",
9
- "time.dayAgo": "dag sedan",
10
- "time.daysAgo": "{{count}} dagar sedan",
11
- "time.monthAgo": "månad sedan",
12
- "time.monthsAgo": "{{count}} månader sedan",
13
- "time.yearAgo": "år sedan",
14
- "time.yearsAgo": "{{count}} år sedan",
15
- "chat": {
16
- "anotherHint": "Ge mig en till ledtråd",
17
- "getHint": "Få en ledtråd",
18
- "needHint": "Ge mig en ledtråd",
19
- "giveHintOpenChat": "Ge ledtråd",
20
- "answerAgain": "Svara igen för att få en till ledtråd!",
21
- "errorMessage": "Något gick snett! Försök igen",
22
- "howCanIHelp": "Hej! Hur kan jag hjälpa dig?",
23
- "showError": "Visa fel",
24
- "inputPlaceholder": "Skriv..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Bra start!",
28
- "onTheWay": "På god väg!",
29
- "almostThere": "Nästan där"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Lösningsexempel",
33
- "letMeThink": "Låt mig tänka...",
34
- "aha": "Aha!",
35
- "errorMessage": "Något gick snett med att generera en exempellösning"
36
- },
37
- "keyboard": {
38
- "length": "Längd",
39
- "area": "Area",
40
- "volume": "Volym",
41
- "weight": "Vikt",
42
- "time": "Tid"
43
- },
44
- "voice": {
45
- "deleteRecording": "Radera inspelningen?",
46
- "youWontBeAbleToRecover": "Du kommer inte att kunna återställa filen när den väl är borta.",
47
- "recordingDeleted": "Inspelningen raderad.",
48
- "delete": "Radera",
49
- "cancel": "Avbryt",
50
- "noMicrophoneAccess": "Ingen mikrofonåtkomst.",
51
- "noMicrophoneAccessBySystem": "Mikrofonåtkomst nekad av systeminställningar.",
52
- "noMicrophoneFound": "Ingen mikrofon hittades.",
53
- "uploadFailed": "Uppladdning misslyckades. Försök igen.",
54
- "redoRecording": "Spela in igen?",
55
- "redo": "Gör om",
56
- "thisWillRemoveRecording": "Detta tar bort inspelningen.",
57
- "transcriptions": "Transkriptioner",
58
- "attempt": "Försök {{number}}",
59
- "transcriptNotAvailable": "Transkript inte tillgängligt"
60
- }
61
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.setLocalization = exports.$localization = void 0;
7
- var _effector = require("effector");
8
- var _constants = require("./constants.js");
9
- var _frontendConfig = require("@magmamath/frontend-config");
10
- const setLocalization = exports.setLocalization = (0, _effector.createEvent)();
11
- const $localization = exports.$localization = (0, _effector.createStore)(_constants.LOCALIZATION_CONFIGS[_frontendConfig.Locale.US]).on(setLocalization, (state, payload) => {
12
- if (typeof payload === 'function') return payload(_constants.LOCALIZATION_CONFIGS);
13
- return payload;
14
- });
15
- //# sourceMappingURL=model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_effector","require","_constants","_frontendConfig","setLocalization","exports","createEvent","$localization","createStore","LOCALIZATION_CONFIGS","Locale","US","on","state","payload"],"sourceRoot":"../../../../src","sources":["shared/translation/model.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AAEO,MAAMG,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAG,IAAAE,qBAAW,EAExC,CAAC;AAEI,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG,IAAAC,qBAAW,EAAeC,+BAAoB,CAACC,sBAAM,CAACC,EAAE,CAAC,CAAC,CAACC,EAAE,CACxFR,eAAe,EACf,CAACS,KAAK,EAAEC,OAAO,KAAK;EAClB,IAAI,OAAOA,OAAO,KAAK,UAAU,EAAE,OAAOA,OAAO,CAACL,+BAAoB,CAAC;EACvE,OAAOK,OAAO;AAChB,CACF,CAAC","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=validation.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/translation/validation.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=keys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["lib/types/keys.ts"],"mappings":"","ignoreList":[]}
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "en-CA",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "de-DE",
3
- "teacherFeedback.noComments": "Noch keine Kommentare",
4
- "time.justNow": "gerade eben",
5
- "time.minuteAgo": "vor einer Minute",
6
- "time.minutesAgo": "vor {{count}} Minuten",
7
- "time.hourAgo": "vor einer Stunde",
8
- "time.hoursAgo": "vor {{count}} Stunden",
9
- "time.dayAgo": "vor einem Tag",
10
- "time.daysAgo": "vor {{count}} Tagen",
11
- "time.monthAgo": "vor einem Monat",
12
- "time.monthsAgo": "vor {{count}} Monaten",
13
- "time.yearAgo": "vor einem Jahr",
14
- "time.yearsAgo": "vor {{count}} Jahren",
15
- "chat": {
16
- "anotherHint": "Gib mir noch einen Hinweis",
17
- "getHint": "Einen Hinweis erhalten",
18
- "needHint": "Ich brauche einen Hinweis",
19
- "giveHintOpenChat": "Ich brauche einen Hinweis",
20
- "answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
21
- "errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
22
- "howCanIHelp": "Hi! Möchtest du Hilfe?",
23
- "showError": "Fehler anzeigen",
24
- "inputPlaceholder": "Tippe..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Toller Start!",
28
- "onTheWay": "Auf dem Weg!",
29
- "almostThere": "Fast geschafft"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Beispiellösung",
33
- "letMeThink": "Lass mich nachdenken...",
34
- "aha": "Aha!",
35
- "errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
36
- },
37
- "keyboard": {
38
- "length": "Länge",
39
- "area": "Fläche",
40
- "volume": "Volumen",
41
- "weight": "Gewicht",
42
- "time": "Zeit"
43
- },
44
- "voice": {
45
- "deleteRecording": "Aufnahme löschen?",
46
- "youWontBeAbleToRecover": "Du kannst die Datei nicht wiederherstellen, wenn sie einmal gelöscht ist.",
47
- "recordingDeleted": "Aufnahme gelöscht.",
48
- "delete": "Löschen",
49
- "cancel": "Abbrechen",
50
- "noMicrophoneAccess": "Kein Mikrofon-Zugriff.",
51
- "noMicrophoneAccessBySystem": "Mikrofonzugriff durch Systemeinstellungen verweigert.",
52
- "noMicrophoneFound": "Kein Mikrofon gefunden.",
53
- "uploadFailed": "Hochladen fehlgeschlagen. Bitte versuche es erneut.",
54
- "redoRecording": "Aufnahme erneut aufnehmen?",
55
- "redo": "Wiederholen",
56
- "thisWillRemoveRecording": "Dadurch wird die Aufnahme entfernt.",
57
- "transcriptions": "Transkriptionen",
58
- "attempt": "Versuch {{number}}",
59
- "transcriptNotAvailable": "Transkript nicht verfügbar"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "en-GB",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "en-SCT",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- }
61
- }
@@ -1,61 +0,0 @@
1
- {
2
- "locale": "sv-SE",
3
- "teacherFeedback.noComments": "Inga kommentarer än",
4
- "time.justNow": "alldeles nyss",
5
- "time.minuteAgo": "minut sedan",
6
- "time.minutesAgo": "{{count}} minuter sedan",
7
- "time.hourAgo": "timme sedan",
8
- "time.hoursAgo": "{{count}} timmar sedan",
9
- "time.dayAgo": "dag sedan",
10
- "time.daysAgo": "{{count}} dagar sedan",
11
- "time.monthAgo": "månad sedan",
12
- "time.monthsAgo": "{{count}} månader sedan",
13
- "time.yearAgo": "år sedan",
14
- "time.yearsAgo": "{{count}} år sedan",
15
- "chat": {
16
- "anotherHint": "Ge mig en till ledtråd",
17
- "getHint": "Få en ledtråd",
18
- "needHint": "Ge mig en ledtråd",
19
- "giveHintOpenChat": "Ge ledtråd",
20
- "answerAgain": "Svara igen för att få en till ledtråd!",
21
- "errorMessage": "Något gick snett! Försök igen",
22
- "howCanIHelp": "Hej! Hur kan jag hjälpa dig?",
23
- "showError": "Visa fel",
24
- "inputPlaceholder": "Skriv..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Bra start!",
28
- "onTheWay": "På god väg!",
29
- "almostThere": "Nästan där"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Lösningsexempel",
33
- "letMeThink": "Låt mig tänka...",
34
- "aha": "Aha!",
35
- "errorMessage": "Något gick snett med att generera en exempellösning"
36
- },
37
- "keyboard": {
38
- "length": "Längd",
39
- "area": "Area",
40
- "volume": "Volym",
41
- "weight": "Vikt",
42
- "time": "Tid"
43
- },
44
- "voice": {
45
- "deleteRecording": "Radera inspelningen?",
46
- "youWontBeAbleToRecover": "Du kommer inte att kunna återställa filen när den väl är borta.",
47
- "recordingDeleted": "Inspelningen raderad.",
48
- "delete": "Radera",
49
- "cancel": "Avbryt",
50
- "noMicrophoneAccess": "Ingen mikrofonåtkomst.",
51
- "noMicrophoneAccessBySystem": "Mikrofonåtkomst nekad av systeminställningar.",
52
- "noMicrophoneFound": "Ingen mikrofon hittades.",
53
- "uploadFailed": "Uppladdning misslyckades. Försök igen.",
54
- "redoRecording": "Spela in igen?",
55
- "redo": "Gör om",
56
- "thisWillRemoveRecording": "Detta tar bort inspelningen.",
57
- "transcriptions": "Transkriptioner",
58
- "attempt": "Försök {{number}}",
59
- "transcriptNotAvailable": "Transkript inte tillgängligt"
60
- }
61
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- import { createEvent, createStore } from 'effector';
4
- import { LOCALIZATION_CONFIGS } from "./constants.js";
5
- import { Locale } from '@magmamath/frontend-config';
6
- export const setLocalization = createEvent();
7
- export const $localization = createStore(LOCALIZATION_CONFIGS[Locale.US]).on(setLocalization, (state, payload) => {
8
- if (typeof payload === 'function') return payload(LOCALIZATION_CONFIGS);
9
- return payload;
10
- });
11
- //# sourceMappingURL=model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createEvent","createStore","LOCALIZATION_CONFIGS","Locale","setLocalization","$localization","US","on","state","payload"],"sourceRoot":"../../../../src","sources":["shared/translation/model.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,WAAW,QAAQ,UAAU;AAEnD,SAASC,oBAAoB,QAAQ,gBAAa;AAClD,SAASC,MAAM,QAAQ,4BAA4B;AAEnD,OAAO,MAAMC,eAAe,GAAGJ,WAAW,CAExC,CAAC;AAEH,OAAO,MAAMK,aAAa,GAAGJ,WAAW,CAAeC,oBAAoB,CAACC,MAAM,CAACG,EAAE,CAAC,CAAC,CAACC,EAAE,CACxFH,eAAe,EACf,CAACI,KAAK,EAAEC,OAAO,KAAK;EAClB,IAAI,OAAOA,OAAO,KAAK,UAAU,EAAE,OAAOA,OAAO,CAACP,oBAAoB,CAAC;EACvE,OAAOO,OAAO;AAChB,CACF,CAAC","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export {};
4
- //# sourceMappingURL=validation.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/translation/validation.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}