@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.
- package/dist/commonjs/features/celebrations/config.js.map +1 -0
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -0
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -0
- package/dist/commonjs/features/endOfAssignment/ui/EOABadge.js.map +1 -0
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -0
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -0
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +5 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +7 -7
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +5 -4
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/{constants.js → MainLayout/constants.js} +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -2
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +20 -0
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +7 -0
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +1 -28
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +1 -0
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
- package/dist/commonjs/features/problemSelector/components/ProblemSelector.js.map +1 -0
- package/dist/commonjs/lib/helpers/helpers.js +28 -5
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/commonjs/shared/icons/Star.js.map +1 -0
- package/dist/commonjs/shared/icons/Valentine.js.map +1 -0
- package/dist/commonjs/shared/icons/VolumeIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/WeightIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/Winter.js.map +1 -0
- package/dist/commonjs/shared/icons/XCloseIcon.js.map +1 -0
- package/dist/commonjs/shared/translation/constants.js +3 -1
- package/dist/commonjs/shared/translation/constants.js.map +1 -0
- package/dist/commonjs/shared/translation/helpers.js.map +1 -0
- package/dist/commonjs/shared/translation/hooks.js.map +1 -0
- package/dist/commonjs/shared/translation/index.js.map +1 -0
- package/dist/commonjs/shared/translation/localization/ca.json +5 -5
- package/dist/commonjs/shared/translation/localization/de.json +42 -0
- package/dist/commonjs/shared/translation/localization/en.json +5 -5
- package/dist/commonjs/shared/translation/localization/gb.json +5 -5
- package/dist/commonjs/shared/translation/localization/sct.json +5 -5
- package/dist/commonjs/shared/translation/localization/sw.json +5 -5
- package/dist/commonjs/shared/translation/model.js.map +1 -0
- package/dist/commonjs/shared/translation/types.js +1 -0
- package/dist/commonjs/shared/translation/types.js.map +1 -0
- package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
- package/dist/commonjs/types/common.types.js +2 -0
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +4 -0
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +2 -2
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +5 -4
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/{constants.js → MainLayout/constants.js} +1 -1
- package/dist/module/features/keyboard/components/MainLayout/constants.js.map +1 -0
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -2
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +21 -1
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +6 -0
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +1 -28
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/keyboardGroupIds.js +1 -0
- package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
- package/dist/module/lib/helpers/helpers.js +28 -5
- package/dist/module/lib/helpers/helpers.js.map +1 -1
- package/dist/module/shared/translation/constants.js +3 -1
- package/dist/module/shared/translation/constants.js.map +1 -1
- package/dist/module/shared/translation/localization/ca.json +5 -5
- package/dist/module/shared/translation/localization/de.json +42 -0
- package/dist/module/shared/translation/localization/en.json +5 -5
- package/dist/module/shared/translation/localization/gb.json +5 -5
- package/dist/module/shared/translation/localization/sct.json +5 -5
- package/dist/module/shared/translation/localization/sw.json +5 -5
- package/dist/module/shared/translation/types.js +1 -0
- package/dist/module/shared/translation/types.js.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -18
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +42 -0
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +2 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -18
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
- package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/constants.d.ts +42 -0
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/types.d.ts +2 -1
- package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +4 -0
- package/src/features/keyboard/components/Keyboard.tsx +3 -3
- package/src/features/keyboard/components/{MainLayout.tsx → MainLayout/MainLayout.tsx} +5 -5
- package/src/features/keyboard/components/{constants.ts → MainLayout/constants.ts} +1 -1
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +7 -2
- package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +5 -4
- package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +21 -0
- package/src/features/keyboard/constants/keyboardLayouts.ts +11 -0
- package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +1 -22
- package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +21 -0
- package/src/features/keyboard/types/keyboardGroupIds.ts +1 -0
- package/src/lib/helpers/helpers.ts +23 -8
- package/src/shared/translation/constants.ts +2 -0
- package/src/shared/translation/localization/ca.json +5 -5
- package/src/shared/translation/localization/de.json +42 -0
- package/src/shared/translation/localization/en.json +5 -5
- package/src/shared/translation/localization/gb.json +5 -5
- package/src/shared/translation/localization/sct.json +5 -5
- package/src/shared/translation/localization/sw.json +5 -5
- package/src/shared/translation/types.ts +4 -0
- package/dist/commonjs/features/keyboard/components/MainLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/constants.js.map +0 -1
- package/dist/module/features/keyboard/components/MainLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/constants.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +0 -1
- /package/dist/typescript/commonjs/features/keyboard/components/{constants.d.ts → MainLayout/constants.d.ts} +0 -0
- /package/dist/typescript/module/features/keyboard/components/{constants.d.ts → MainLayout/constants.d.ts} +0 -0
package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts
CHANGED
|
@@ -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
|
package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map
CHANGED
|
@@ -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;
|
|
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,
|
|
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":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;
|
|
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
|
package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map
CHANGED
|
@@ -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 '
|
|
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"}
|
package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { KeyboardLayoutProps } from '../../types/types';
|
|
3
|
-
|
|
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,
|
|
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"}
|
package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map
CHANGED
|
@@ -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,
|
|
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;
|
|
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
|
package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map
CHANGED
|
@@ -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;
|
|
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
|
package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map
CHANGED
|
@@ -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;
|
|
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,
|
|
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":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;
|
|
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
|
@@ -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 {
|
|
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 {
|
|
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 '
|
|
5
|
-
import { KeyboardKey, KeyboardKeyValue } from '
|
|
6
|
-
import { UnderlinedLayout } from '
|
|
7
|
-
import { MOBILE_LAYOUT_WIDTH } from '
|
|
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>
|
|
@@ -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
|
-
|
|
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={
|
|
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 '
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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: '
|
|
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
|
})
|