@magmamath/students-features 0.9.94 → 0.9.96-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/commonjs/features/celebrations/config.js.map +1 -0
  2. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -0
  3. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -0
  4. package/dist/commonjs/features/endOfAssignment/ui/EOABadge.js.map +1 -0
  5. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -0
  6. package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -0
  7. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js.map +1 -0
  8. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +5 -1
  9. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  10. package/dist/commonjs/features/keyboard/components/Keyboard.js +7 -7
  11. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  12. package/dist/commonjs/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +5 -4
  13. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
  14. package/dist/commonjs/features/keyboard/components/{constants.js → MainLayout/constants.js} +1 -1
  15. package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +1 -0
  16. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
  17. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  18. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -2
  19. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  20. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -0
  21. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +20 -0
  22. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  23. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +7 -0
  24. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  25. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +1 -28
  26. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  27. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
  28. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  29. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +1 -0
  30. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  31. package/dist/commonjs/features/problemSelector/components/ProblemSelector.js.map +1 -0
  32. package/dist/commonjs/lib/helpers/helpers.js +28 -5
  33. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  34. package/dist/commonjs/shared/icons/Star.js.map +1 -0
  35. package/dist/commonjs/shared/icons/Valentine.js.map +1 -0
  36. package/dist/commonjs/shared/icons/VolumeIcon.js.map +1 -0
  37. package/dist/commonjs/shared/icons/WeightIcon.js.map +1 -0
  38. package/dist/commonjs/shared/icons/Winter.js.map +1 -0
  39. package/dist/commonjs/shared/icons/XCloseIcon.js.map +1 -0
  40. package/dist/commonjs/shared/translation/constants.js +3 -1
  41. package/dist/commonjs/shared/translation/constants.js.map +1 -0
  42. package/dist/commonjs/shared/translation/helpers.js.map +1 -0
  43. package/dist/commonjs/shared/translation/hooks.js.map +1 -0
  44. package/dist/commonjs/shared/translation/index.js.map +1 -0
  45. package/dist/commonjs/shared/translation/localization/ca.json +5 -5
  46. package/dist/commonjs/shared/translation/localization/de.json +42 -0
  47. package/dist/commonjs/shared/translation/localization/en.json +5 -5
  48. package/dist/commonjs/shared/translation/localization/gb.json +5 -5
  49. package/dist/commonjs/shared/translation/localization/sct.json +5 -5
  50. package/dist/commonjs/shared/translation/localization/sw.json +5 -5
  51. package/dist/commonjs/shared/translation/model.js.map +1 -0
  52. package/dist/commonjs/shared/translation/types.js +1 -0
  53. package/dist/commonjs/shared/translation/types.js.map +1 -0
  54. package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
  55. package/dist/commonjs/types/common.types.js +2 -0
  56. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +4 -0
  57. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  58. package/dist/module/features/keyboard/components/Keyboard.js +2 -2
  59. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  60. package/dist/module/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +5 -4
  61. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
  62. package/dist/module/features/keyboard/components/{constants.js → MainLayout/constants.js} +1 -1
  63. package/dist/module/features/keyboard/components/MainLayout/constants.js.map +1 -0
  64. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
  65. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  66. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -2
  67. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  68. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +21 -1
  69. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  70. package/dist/module/features/keyboard/constants/keyboardLayouts.js +6 -0
  71. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  72. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +1 -28
  73. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  74. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
  75. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  76. package/dist/module/features/keyboard/types/keyboardGroupIds.js +1 -0
  77. package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  78. package/dist/module/lib/helpers/helpers.js +28 -5
  79. package/dist/module/lib/helpers/helpers.js.map +1 -1
  80. package/dist/module/shared/translation/constants.js +3 -1
  81. package/dist/module/shared/translation/constants.js.map +1 -1
  82. package/dist/module/shared/translation/localization/ca.json +5 -5
  83. package/dist/module/shared/translation/localization/de.json +42 -0
  84. package/dist/module/shared/translation/localization/en.json +5 -5
  85. package/dist/module/shared/translation/localization/gb.json +5 -5
  86. package/dist/module/shared/translation/localization/sct.json +5 -5
  87. package/dist/module/shared/translation/localization/sw.json +5 -5
  88. package/dist/module/shared/translation/types.js +1 -0
  89. package/dist/module/shared/translation/types.js.map +1 -1
  90. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
  91. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  92. package/dist/typescript/commonjs/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
  93. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
  94. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
  95. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
  96. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  97. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  98. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  99. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
  100. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  101. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -18
  102. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  103. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
  104. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  105. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
  106. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  107. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  108. package/dist/typescript/commonjs/shared/translation/constants.d.ts +42 -0
  109. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  110. package/dist/typescript/commonjs/shared/translation/types.d.ts +2 -1
  111. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  112. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
  113. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  114. package/dist/typescript/module/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
  115. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
  116. package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
  117. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
  118. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  119. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  120. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  121. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
  122. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  123. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -18
  124. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  125. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
  126. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  127. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
  128. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  129. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  130. package/dist/typescript/module/shared/translation/constants.d.ts +42 -0
  131. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  132. package/dist/typescript/module/shared/translation/types.d.ts +2 -1
  133. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  134. package/package.json +1 -1
  135. package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +4 -0
  136. package/src/features/keyboard/components/Keyboard.tsx +3 -3
  137. package/src/features/keyboard/components/{MainLayout.tsx → MainLayout/MainLayout.tsx} +5 -5
  138. package/src/features/keyboard/components/{constants.ts → MainLayout/constants.ts} +1 -1
  139. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +7 -2
  140. package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +5 -4
  141. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +21 -0
  142. package/src/features/keyboard/constants/keyboardLayouts.ts +11 -0
  143. package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +1 -22
  144. package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +21 -0
  145. package/src/features/keyboard/types/keyboardGroupIds.ts +1 -0
  146. package/src/lib/helpers/helpers.ts +23 -8
  147. package/src/shared/translation/constants.ts +2 -0
  148. package/src/shared/translation/localization/ca.json +5 -5
  149. package/src/shared/translation/localization/de.json +42 -0
  150. package/src/shared/translation/localization/en.json +5 -5
  151. package/src/shared/translation/localization/gb.json +5 -5
  152. package/src/shared/translation/localization/sct.json +5 -5
  153. package/src/shared/translation/localization/sw.json +5 -5
  154. package/src/shared/translation/types.ts +4 -0
  155. package/dist/commonjs/features/keyboard/components/MainLayout.js.map +0 -1
  156. package/dist/commonjs/features/keyboard/components/constants.js.map +0 -1
  157. package/dist/module/features/keyboard/components/MainLayout.js.map +0 -1
  158. package/dist/module/features/keyboard/components/constants.js.map +0 -1
  159. package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +0 -1
  160. package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +0 -1
  161. package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +0 -1
  162. package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +0 -1
  163. /package/dist/typescript/commonjs/features/keyboard/components/{constants.d.ts → MainLayout/constants.d.ts} +0 -0
  164. /package/dist/typescript/module/features/keyboard/components/{constants.d.ts → MainLayout/constants.d.ts} +0 -0
@@ -45,5 +45,23 @@ export declare const MATH_SPECIAL_OPERATORS: {
45
45
  mathliveValue: string;
46
46
  katexValue: string;
47
47
  };
48
+ UNDERLINED_TEN: {
49
+ icon: React.JSX.Element;
50
+ mathliveValue: string;
51
+ katexValue: string;
52
+ spreadsheetValue: string;
53
+ };
54
+ UNDERLINED_ONE: {
55
+ icon: React.JSX.Element;
56
+ mathliveValue: string;
57
+ katexValue: string;
58
+ spreadsheetValue: string;
59
+ };
60
+ UNDERLINED_U: {
61
+ icon: React.JSX.Element;
62
+ mathliveValue: string;
63
+ katexValue: string;
64
+ spreadsheetValue: string;
65
+ };
48
66
  };
49
67
  //# sourceMappingURL=specialOperators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"specialOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/specialOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CjC,CAAA"}
1
+ {"version":3,"file":"specialOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/specialOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEjC,CAAA"}
@@ -27,6 +27,7 @@ export declare enum MathEntryKeyboardGroupId {
27
27
  CURRENCY_SW = "math-entry-currency-sw",
28
28
  CURRENCY_UK = "math-entry-currency-uk",
29
29
  CURRENCY_US = "math-entry-currency-us",
30
+ CURRENCY_DE = "math-entry-currency-de",
30
31
  UNDERLINED = "math-entry-underlined"
31
32
  }
32
33
  //# sourceMappingURL=keyboardGroupIds.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroupIds.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/keyboardGroupIds.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,eAAe,+BAA+B;IAC9C,sBAAsB,sCAAsC;IAC5D,kBAAkB,kCAAkC;IACpD,yBAAyB,yCAAyC;IAClE,aAAa,6BAA6B;IAC1C,oBAAoB,oCAAoC;IACxD,aAAa,6BAA6B;IAC1C,iBAAiB,iCAAiC;IAClD,OAAO,uBAAuB;IAC9B,UAAU,0BAA0B;IACpC,UAAU,0BAA0B;IACpC,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,KAAK,qBAAqB;IAC1B,QAAQ,wBAAwB;IAChC,OAAO,uBAAuB;IAC9B,OAAO,uBAAuB;IAC9B,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,UAAU,0BAA0B;CACrC"}
1
+ {"version":3,"file":"keyboardGroupIds.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/keyboardGroupIds.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,eAAe,+BAA+B;IAC9C,sBAAsB,sCAAsC;IAC5D,kBAAkB,kCAAkC;IACpD,yBAAyB,yCAAyC;IAClE,aAAa,6BAA6B;IAC1C,oBAAoB,oCAAoC;IACxD,aAAa,6BAA6B;IAC1C,iBAAiB,iCAAiC;IAClD,OAAO,uBAAuB;IAC9B,UAAU,0BAA0B;IACpC,UAAU,0BAA0B;IACpC,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,KAAK,qBAAqB;IAC1B,QAAQ,wBAAwB;IAChC,OAAO,uBAAuB;IAC9B,OAAO,uBAAuB;IAC9B,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,UAAU,0BAA0B;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAuB7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAsC7C,CAAA"}
@@ -209,5 +209,47 @@ export declare const LOCALIZATION_CONFIGS: {
209
209
  weight: string;
210
210
  };
211
211
  };
212
+ "de-DE": {
213
+ locale: string;
214
+ "teacherFeedback.noComments": string;
215
+ "time.justNow": string;
216
+ "time.minuteAgo": string;
217
+ "time.minutesAgo": string;
218
+ "time.hourAgo": string;
219
+ "time.hoursAgo": string;
220
+ "time.dayAgo": string;
221
+ "time.daysAgo": string;
222
+ "time.monthAgo": string;
223
+ "time.monthsAgo": string;
224
+ "time.yearAgo": string;
225
+ "time.yearsAgo": string;
226
+ chat: {
227
+ anotherHint: string;
228
+ giveHint: string;
229
+ giveHintOpenChat: string;
230
+ answerAgain: string;
231
+ errorMessage: string;
232
+ howCanIHelp: string;
233
+ showError: string;
234
+ inputPlaceholder: string;
235
+ };
236
+ gifCelebrations: {
237
+ greatStart: string;
238
+ onTheWay: string;
239
+ almostThere: string;
240
+ };
241
+ exampleSolution: {
242
+ exampleSolution: string;
243
+ letMeThink: string;
244
+ aha: string;
245
+ errorMessage: string;
246
+ };
247
+ keyboard: {
248
+ length: string;
249
+ area: string;
250
+ volume: string;
251
+ weight: string;
252
+ };
253
+ };
212
254
  };
213
255
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
@@ -8,6 +8,7 @@ export declare enum Locale {
8
8
  SW = "sv-SE",
9
9
  GB = "en-GB",
10
10
  CA = "en-CA",
11
- SCT = "en-SCT"
11
+ SCT = "en-SCT",
12
+ DE = "de-DE"
12
13
  }
13
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;IACd,EAAE,UAAU;CACb"}
@@ -6,4 +6,5 @@ export declare const MATH_TIME_US_KEYBOARD_GROUP: KeyboardGroup;
6
6
  export declare const MATH_CURRENCY_SW_KEYBOARD_GROUP: KeyboardGroup;
7
7
  export declare const MATH_CURRENCY_UK_KEYBOARD_GROUP: KeyboardGroup;
8
8
  export declare const MATH_CURRENCY_US_KEYBOARD_GROUP: KeyboardGroup;
9
+ export declare const MATH_CURRENCY_DE_KEYBOARD_GROUP: KeyboardGroup;
9
10
  //# sourceMappingURL=keyboardGroups.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAKjD,eAAO,MAAM,+BAA+B,EAAE,aAU7C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,aAUhD,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAIzC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAWzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA"}
1
+ {"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAKjD,eAAO,MAAM,+BAA+B,EAAE,aAU7C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,aAUhD,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAIzC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAWzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SelectOptionColor } from '@magmamath/react-native-ui';
3
- import { KeyboardKey, KeyboardKeyValue } from '../types/types';
3
+ import { KeyboardKey, KeyboardKeyValue } from '../../types/types';
4
4
  type LayoutProps = {
5
5
  onKeyPress: (key: KeyboardKeyValue) => void;
6
6
  characterType?: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/MainLayout/MainLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAEhF,OAAO,EAAE,iBAAiB,EAAqB,MAAM,4BAA4B,CAAA;AAEjF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,UAAU,oDAIpB,WAAW,sBAiDb,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/MainLayout/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,MAAM,CAAA;AAE1C,eAAO,MAAM,oBAAoB;;;;;;;;;CAMvB,CAAA;AAEV,eAAO,MAAM,qBAAqB,mBAAoB,MAAM,aAAa,OAAO;;;;;;CAQ/E,CAAA;AACD,eAAO,MAAM,wBAAwB;;;;CAIpC,CAAA"}
@@ -1,4 +1,8 @@
1
1
  import React from 'react';
2
2
  import { KeyboardLayoutProps } from '../../types/types';
3
- export declare const UnderlinedLayout: (props: KeyboardLayoutProps) => React.JSX.Element;
3
+ type UnderlinedLayoutProps = {
4
+ showSlashKey?: boolean;
5
+ } & KeyboardLayoutProps;
6
+ export declare const UnderlinedLayout: (props: UnderlinedLayoutProps) => React.JSX.Element;
7
+ export {};
4
8
  //# sourceMappingURL=UnderlinedLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnderlinedLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,eAAO,MAAM,gBAAgB,UAAW,mBAAmB,sBAK1D,CAAA"}
1
+ {"version":3,"file":"UnderlinedLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,KAAK,qBAAqB,GAAG;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,sBAM5D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAIjD,eAAO,MAAM,oCAAoC,EAAE,aAOlD,CAAA"}
1
+ {"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAIjD,eAAO,MAAM,oCAAoC,EAAE,aAQlD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroupsByLocale.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardGroupsByLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAsC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAyBzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAkBnD,CAAA"}
1
+ {"version":3,"file":"keyboardGroupsByLocale.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardGroupsByLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAuC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
@@ -30,4 +30,5 @@ export declare const KEYBOARD_LAYOUTS: {
30
30
  };
31
31
  };
32
32
  export declare function getLayoutByCharType(charType?: number): (props: import("../types/types").KeyboardLayoutProps & import("react").PropsWithChildren) => import("react").JSX.Element | null;
33
+ export declare function isBasicPlusPlusLayout(charType?: number): boolean;
33
34
  //# sourceMappingURL=keyboardLayouts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAE1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD5B,CAAA;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,mIAWpD"}
1
+ {"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAE1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD5B,CAAA;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,mIAWpD;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,WAStD"}
@@ -222,23 +222,5 @@ export declare const MATH_BASIC_OPERATORS: {
222
222
  mathliveValue: string;
223
223
  katexValue: string;
224
224
  };
225
- UNDERLINED_TEN: {
226
- icon: React.JSX.Element;
227
- mathliveValue: string;
228
- katexValue: string;
229
- spreadsheetValue: string;
230
- };
231
- UNDERLINED_ONE: {
232
- icon: React.JSX.Element;
233
- mathliveValue: string;
234
- katexValue: string;
235
- spreadsheetValue: string;
236
- };
237
- UNDERLINED_U: {
238
- icon: React.JSX.Element;
239
- mathliveValue: string;
240
- katexValue: string;
241
- spreadsheetValue: string;
242
- };
243
225
  };
244
226
  //# sourceMappingURL=basicOperators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"basicOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/basicOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgDzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiP/B,CAAA"}
1
+ {"version":3,"file":"basicOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/basicOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AA6CzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+N/B,CAAA"}
@@ -45,5 +45,23 @@ export declare const MATH_SPECIAL_OPERATORS: {
45
45
  mathliveValue: string;
46
46
  katexValue: string;
47
47
  };
48
+ UNDERLINED_TEN: {
49
+ icon: React.JSX.Element;
50
+ mathliveValue: string;
51
+ katexValue: string;
52
+ spreadsheetValue: string;
53
+ };
54
+ UNDERLINED_ONE: {
55
+ icon: React.JSX.Element;
56
+ mathliveValue: string;
57
+ katexValue: string;
58
+ spreadsheetValue: string;
59
+ };
60
+ UNDERLINED_U: {
61
+ icon: React.JSX.Element;
62
+ mathliveValue: string;
63
+ katexValue: string;
64
+ spreadsheetValue: string;
65
+ };
48
66
  };
49
67
  //# sourceMappingURL=specialOperators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"specialOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/specialOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CjC,CAAA"}
1
+ {"version":3,"file":"specialOperators.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/types/MathKeysGroups/specialOperators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEjC,CAAA"}
@@ -27,6 +27,7 @@ export declare enum MathEntryKeyboardGroupId {
27
27
  CURRENCY_SW = "math-entry-currency-sw",
28
28
  CURRENCY_UK = "math-entry-currency-uk",
29
29
  CURRENCY_US = "math-entry-currency-us",
30
+ CURRENCY_DE = "math-entry-currency-de",
30
31
  UNDERLINED = "math-entry-underlined"
31
32
  }
32
33
  //# sourceMappingURL=keyboardGroupIds.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboardGroupIds.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/keyboardGroupIds.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,eAAe,+BAA+B;IAC9C,sBAAsB,sCAAsC;IAC5D,kBAAkB,kCAAkC;IACpD,yBAAyB,yCAAyC;IAClE,aAAa,6BAA6B;IAC1C,oBAAoB,oCAAoC;IACxD,aAAa,6BAA6B;IAC1C,iBAAiB,iCAAiC;IAClD,OAAO,uBAAuB;IAC9B,UAAU,0BAA0B;IACpC,UAAU,0BAA0B;IACpC,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,KAAK,qBAAqB;IAC1B,QAAQ,wBAAwB;IAChC,OAAO,uBAAuB;IAC9B,OAAO,uBAAuB;IAC9B,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,UAAU,0BAA0B;CACrC"}
1
+ {"version":3,"file":"keyboardGroupIds.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/keyboardGroupIds.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,eAAe,+BAA+B;IAC9C,sBAAsB,sCAAsC;IAC5D,kBAAkB,kCAAkC;IACpD,yBAAyB,yCAAyC;IAClE,aAAa,6BAA6B;IAC1C,oBAAoB,oCAAoC;IACxD,aAAa,6BAA6B;IAC1C,iBAAiB,iCAAiC;IAClD,OAAO,uBAAuB;IAC9B,UAAU,0BAA0B;IACpC,UAAU,0BAA0B;IACpC,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,KAAK,qBAAqB;IAC1B,QAAQ,wBAAwB;IAChC,OAAO,uBAAuB;IAC9B,OAAO,uBAAuB;IAC9B,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,UAAU,0BAA0B;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAuB7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAsC7C,CAAA"}
@@ -209,5 +209,47 @@ export declare const LOCALIZATION_CONFIGS: {
209
209
  weight: string;
210
210
  };
211
211
  };
212
+ "de-DE": {
213
+ locale: string;
214
+ "teacherFeedback.noComments": string;
215
+ "time.justNow": string;
216
+ "time.minuteAgo": string;
217
+ "time.minutesAgo": string;
218
+ "time.hourAgo": string;
219
+ "time.hoursAgo": string;
220
+ "time.dayAgo": string;
221
+ "time.daysAgo": string;
222
+ "time.monthAgo": string;
223
+ "time.monthsAgo": string;
224
+ "time.yearAgo": string;
225
+ "time.yearsAgo": string;
226
+ chat: {
227
+ anotherHint: string;
228
+ giveHint: string;
229
+ giveHintOpenChat: string;
230
+ answerAgain: string;
231
+ errorMessage: string;
232
+ howCanIHelp: string;
233
+ showError: string;
234
+ inputPlaceholder: string;
235
+ };
236
+ gifCelebrations: {
237
+ greatStart: string;
238
+ onTheWay: string;
239
+ almostThere: string;
240
+ };
241
+ exampleSolution: {
242
+ exampleSolution: string;
243
+ letMeThink: string;
244
+ aha: string;
245
+ errorMessage: string;
246
+ };
247
+ keyboard: {
248
+ length: string;
249
+ area: string;
250
+ volume: string;
251
+ weight: string;
252
+ };
253
+ };
212
254
  };
213
255
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
@@ -8,6 +8,7 @@ export declare enum Locale {
8
8
  SW = "sv-SE",
9
9
  GB = "en-GB",
10
10
  CA = "en-CA",
11
- SCT = "en-SCT"
11
+ SCT = "en-SCT",
12
+ DE = "de-DE"
12
13
  }
13
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;IACd,EAAE,UAAU;CACb"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmamath/students-features",
3
- "version": "0.9.94",
3
+ "version": "0.9.96-rc.0",
4
4
  "description": "Magmamath features library",
5
5
  "source": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -58,3 +58,7 @@ export const MATH_CURRENCY_US_KEYBOARD_GROUP: KeyboardGroup = {
58
58
  id: MathEntryKeyboardGroupId.CURRENCY_US,
59
59
  keys: [MATH_CURRENCY_UNITS.DOLLAR, MATH_CURRENCY_UNITS.CENT],
60
60
  }
61
+ export const MATH_CURRENCY_DE_KEYBOARD_GROUP: KeyboardGroup = {
62
+ id: MathEntryKeyboardGroupId.CURRENCY_DE,
63
+ keys: [MATH_CURRENCY_UNITS.EURO, MATH_CURRENCY_UNITS.DOLLAR, MATH_CURRENCY_UNITS.POUND],
64
+ }
@@ -3,13 +3,13 @@ import { Animated, StyleProp, StyleSheet, useWindowDimensions, ViewStyle } from
3
3
  import { COLORS, IS_MOBILE, IS_WEB, SelectOptionColor, SHADOWS } from '@magmamath/react-native-ui'
4
4
  import { KeyboardKey, KeyboardKeyValue } from '../types/types'
5
5
  import { Numpad } from './Numpad/Numpad'
6
- import { MOBILE_LAYOUT_WIDTH } from '../constants/constants'
6
+ import { MainLayout } from './MainLayout/MainLayout'
7
7
  import {
8
8
  getLayoutConfigStyles,
9
9
  KEYBOARD_SLIDE_DISTANCE,
10
10
  slideInAnimationSettings,
11
- } from './constants'
12
- import { MainLayout } from './MainLayout'
11
+ } from './MainLayout/constants'
12
+ import { MOBILE_LAYOUT_WIDTH } from '../constants/constants'
13
13
 
14
14
  type KeyboardProps = {
15
15
  onKeyPress: (key: KeyboardKeyValue) => void
@@ -1,10 +1,10 @@
1
1
  import React, { useEffect, useMemo, useRef, useState, useCallback } from 'react'
2
2
  import { Animated, StyleSheet, useWindowDimensions, View } from 'react-native'
3
3
  import { SelectOptionColor, IS_MOBILE, IS_WEB } from '@magmamath/react-native-ui'
4
- import { getLayoutByCharType } from '../constants/keyboardLayouts'
5
- import { KeyboardKey, KeyboardKeyValue } from '../types/types'
6
- import { UnderlinedLayout } from './UnderlinedLayout/UnderlinedLayout'
7
- import { MOBILE_LAYOUT_WIDTH } from '../constants/constants'
4
+ import { getLayoutByCharType, isBasicPlusPlusLayout } from '../../constants/keyboardLayouts'
5
+ import { KeyboardKey, KeyboardKeyValue } from '../../types/types'
6
+ import { UnderlinedLayout } from '../UnderlinedLayout/UnderlinedLayout'
7
+ import { MOBILE_LAYOUT_WIDTH } from '../../constants/constants'
8
8
 
9
9
  type LayoutProps = {
10
10
  onKeyPress: (key: KeyboardKeyValue) => void
@@ -64,7 +64,7 @@ export const MainLayout = ({
64
64
  <Layout {...props} onLayoutChange={setIsSecondaryLayoutSelected} />
65
65
  {isUnderlinedLayoutVisible && (
66
66
  <Animated.View style={{ opacity: fadeAnim }}>
67
- <UnderlinedLayout {...props} />
67
+ <UnderlinedLayout {...props} showSlashKey={!isBasicPlusPlusLayout(characterType)} />
68
68
  </Animated.View>
69
69
  )}
70
70
  </View>
@@ -1,5 +1,5 @@
1
1
  import { COLORS, SPACING } from '@magmamath/react-native-ui'
2
- import { KEYBOARD_LAYOUTS } from '../constants/keyboardLayouts'
2
+ import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
3
3
 
4
4
  export const KEYBOARD_SLIDE_DISTANCE = 600
5
5
 
@@ -4,9 +4,14 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
4
4
  import { Locale, useText } from '../../../../shared/translation'
5
5
  import { getKeyboardGroup } from '../../helpers'
6
6
 
7
- export const UnderlinedLayout = (props: KeyboardLayoutProps) => {
7
+ type UnderlinedLayoutProps = {
8
+ showSlashKey?: boolean
9
+ } & KeyboardLayoutProps
10
+
11
+ export const UnderlinedLayout = (props: UnderlinedLayoutProps) => {
8
12
  const t = useText()
9
13
  const keysGroup = getKeyboardGroup(t('locale') as Locale, KeyboardType.Underlined)
14
+ const keys = props.showSlashKey ? keysGroup.keys : keysGroup.keys.slice(0, -1)
10
15
 
11
- return <KeysList keys={keysGroup.keys} numOfRows={keysGroup.keys.length} {...props} />
16
+ return <KeysList keys={keys} numOfRows={2} {...props} />
12
17
  }
@@ -1,12 +1,13 @@
1
1
  import { KeyboardGroup } from '../../types/types'
2
2
  import { MathEntryKeyboardGroupId } from '../../types/keyboardGroupIds'
3
- import { MATH_BASIC_OPERATORS } from '../../types/MathKeysGroups/basicOperators'
3
+ import { MATH_BASIC_OPERATORS, MATH_SPECIAL_OPERATORS } from '@magmamath/students-features'
4
4
 
5
5
  export const MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP: KeyboardGroup = {
6
6
  id: MathEntryKeyboardGroupId.UNDERLINED,
7
7
  keys: [
8
- MATH_BASIC_OPERATORS.UNDERLINED_TEN,
9
- MATH_BASIC_OPERATORS.UNDERLINED_ONE,
10
- MATH_BASIC_OPERATORS.UNDERLINED_U,
8
+ MATH_SPECIAL_OPERATORS.UNDERLINED_TEN,
9
+ MATH_SPECIAL_OPERATORS.UNDERLINED_U,
10
+ MATH_SPECIAL_OPERATORS.UNDERLINED_ONE,
11
+ MATH_BASIC_OPERATORS.SLASH,
11
12
  ],
12
13
  }
@@ -1,5 +1,6 @@
1
1
  import { KeyboardGroup, KeyboardType } from '../types/types'
2
2
  import {
3
+ MATH_CURRENCY_DE_KEYBOARD_GROUP,
3
4
  MATH_CURRENCY_SW_KEYBOARD_GROUP,
4
5
  MATH_CURRENCY_UK_KEYBOARD_GROUP,
5
6
  MATH_CURRENCY_US_KEYBOARD_GROUP,
@@ -98,6 +99,20 @@ export const KEYBOARD_GROUPS_BY_LOCALE: Record<Locale, Record<KeyboardType, Keyb
98
99
  [KeyboardType.BasicTime]: MATH_TIME_SW_KEYBOARD_GROUP,
99
100
  [KeyboardType.Numpad]: MATH_ENTRY_NUMBERS_SW_KEYBOARD_GROUP,
100
101
  }),
102
+ [Locale.DE]: createKeyboardLocale({
103
+ [KeyboardType.Basic]: MATH_ENTRY_BASIC_SW_KEYBOARD_GROUP,
104
+ [KeyboardType.BasicPlus]: MATH_ENTRY_BASIC_SW_PLUS,
105
+ [KeyboardType.BasicPlusMobile]: MATH_ENTRY_BASIC_PLUS_MOBILE_SW,
106
+ [KeyboardType.BasicPlusPlus]: MATH_ENTRY_BASIC_PLUS_PLUS_SW,
107
+ [KeyboardType.BasicPlusPlusMobile]: MATH_ENTRY_BASIC_PLUS_PLUS_MOBILE_SW,
108
+ [KeyboardType.BasicUnits]: {
109
+ ...MATH_ENTRY_LENGTH_UNITS_US_KEYBOARD_GROUPS,
110
+ keys: MATH_ENTRY_LENGTH_UNITS_US_KEYBOARD_GROUPS.keys[0],
111
+ },
112
+ [KeyboardType.BasicCurrency]: MATH_CURRENCY_DE_KEYBOARD_GROUP,
113
+ [KeyboardType.BasicTime]: MATH_TIME_SW_KEYBOARD_GROUP,
114
+ [KeyboardType.Numpad]: MATH_ENTRY_NUMBERS_SW_KEYBOARD_GROUP,
115
+ }),
101
116
  }
102
117
  export const KEYBOARD_UNITS_GROUPS_BY_LOCALE: Record<
103
118
  Locale,
@@ -119,4 +134,10 @@ export const KEYBOARD_UNITS_GROUPS_BY_LOCALE: Record<
119
134
  [KeyboardUnitsGroupType.VOLUME]: MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS,
120
135
  [KeyboardUnitsGroupType.WEIGHT]: MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS,
121
136
  }),
137
+ [Locale.DE]: createKeyboardUnitsLocale({
138
+ [KeyboardUnitsGroupType.LENGTH]: MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS,
139
+ [KeyboardUnitsGroupType.AREA]: MATH_ENTRY_AREA_UNITS_SW_KEYBOARD_GROUPS,
140
+ [KeyboardUnitsGroupType.VOLUME]: MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS,
141
+ [KeyboardUnitsGroupType.WEIGHT]: MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS,
142
+ }),
122
143
  }
@@ -71,3 +71,14 @@ export function getLayoutByCharType(charType?: number) {
71
71
  }
72
72
  return AlgebraLayout
73
73
  }
74
+
75
+ export function isBasicPlusPlusLayout(charType?: number) {
76
+ if (!charType) {
77
+ return true
78
+ }
79
+
80
+ return (
81
+ KEYBOARD_LAYOUTS[KeyboardType.BasicPlusPlus].characterTypes.includes(charType) ||
82
+ KEYBOARD_LAYOUTS[KeyboardType.AlgebraAdvanced].characterTypes.includes(charType)
83
+ )
84
+ }
@@ -42,9 +42,6 @@ import { EqualsIcon } from '../../../../shared/icons/keyboard/EqualsIcon/EqualsI
42
42
  import { AbsoluteValueIcon } from '../../../../shared/icons/keyboard/AbsoluteValueIcon/AbsoluteValueIcon'
43
43
  import { IntervalIcon } from '../../../../shared/icons/keyboard/IntervalIcon/IntervalIcon'
44
44
  import { createMathKeysGroup } from './helpers'
45
- import { UnderlinedTenIcon } from '../../../../shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon'
46
- import { UnderlinedOneIcon } from '../../../../shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon'
47
- import { UnderlinedUIcon } from '../../../../shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon'
48
45
 
49
46
  export const MATH_BASIC_OPERATORS = createMathKeysGroup({
50
47
  ADDITION: {
@@ -98,7 +95,7 @@ export const MATH_BASIC_OPERATORS = createMathKeysGroup({
98
95
  },
99
96
  NOT_EQUAL: {
100
97
  icon: <NotEqualIcon {...DEFAULT_KEY_ICON_PROPS} />,
101
- mathliveValue: '\\neq',
98
+ mathliveValue: '',
102
99
  katexValue: '≠',
103
100
  },
104
101
  APPROXIMATELY_EQUAL: {
@@ -269,22 +266,4 @@ export const MATH_BASIC_OPERATORS = createMathKeysGroup({
269
266
  mathliveValue: '$\\left[, \\right]$',
270
267
  katexValue: '[ , ]',
271
268
  },
272
- UNDERLINED_TEN: {
273
- icon: <UnderlinedTenIcon {...DEFAULT_KEY_ICON_PROPS} />,
274
- mathliveValue: '\\underline{10}',
275
- katexValue: '10̲',
276
- spreadsheetValue: 'TEN',
277
- },
278
- UNDERLINED_ONE: {
279
- icon: <UnderlinedOneIcon {...DEFAULT_KEY_ICON_PROPS} />,
280
- mathliveValue: '\\underline{1}',
281
- katexValue: '1̲',
282
- spreadsheetValue: 'ONE_FOOT_NOTE',
283
- },
284
- UNDERLINED_U: {
285
- icon: <UnderlinedUIcon {...DEFAULT_KEY_ICON_PROPS} />,
286
- mathliveValue: '\\underline{u}',
287
- katexValue: 'U̲',
288
- spreadsheetValue: 'FRACTION',
289
- },
290
269
  })
@@ -2,6 +2,9 @@ import React from 'react'
2
2
  import { DEFAULT_KEY_ICON_PROPS } from '../../constants/constants'
3
3
  import { BackspaceIcon } from '../../../../shared/icons/keyboard/BackspaceIcon/BackspaceIcon'
4
4
  import { createMathKeysGroup } from './helpers'
5
+ import { UnderlinedTenIcon } from '../../../../shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon'
6
+ import { UnderlinedOneIcon } from '../../../../shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon'
7
+ import { UnderlinedUIcon } from '../../../../shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon'
5
8
 
6
9
  export const MATH_SPECIAL_OPERATORS = createMathKeysGroup({
7
10
  LIM: {
@@ -49,4 +52,22 @@ export const MATH_SPECIAL_OPERATORS = createMathKeysGroup({
49
52
  mathliveValue: 'backspace',
50
53
  katexValue: 'backspace',
51
54
  },
55
+ UNDERLINED_TEN: {
56
+ icon: <UnderlinedTenIcon {...DEFAULT_KEY_ICON_PROPS} />,
57
+ mathliveValue: '\\underline{10}',
58
+ katexValue: '10̲',
59
+ spreadsheetValue: 'TEN',
60
+ },
61
+ UNDERLINED_ONE: {
62
+ icon: <UnderlinedOneIcon {...DEFAULT_KEY_ICON_PROPS} />,
63
+ mathliveValue: '\\underline{1}',
64
+ katexValue: '1̲',
65
+ spreadsheetValue: 'ONE_FOOT_NOTE',
66
+ },
67
+ UNDERLINED_U: {
68
+ icon: <UnderlinedUIcon {...DEFAULT_KEY_ICON_PROPS} />,
69
+ mathliveValue: '\\underline{u}',
70
+ katexValue: 'U̲',
71
+ spreadsheetValue: 'FRACTION',
72
+ },
52
73
  })
@@ -27,5 +27,6 @@ export enum MathEntryKeyboardGroupId {
27
27
  CURRENCY_SW = 'math-entry-currency-sw',
28
28
  CURRENCY_UK = 'math-entry-currency-uk',
29
29
  CURRENCY_US = 'math-entry-currency-us',
30
+ CURRENCY_DE = 'math-entry-currency-de',
30
31
  UNDERLINED = 'math-entry-underlined',
31
32
  }