@magmamath/students-features 0.9.4 → 0.9.5-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +2 -9
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +3 -13
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +1 -1
- 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 +4 -4
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -6
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +3 -10
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +21 -3
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +0 -27
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +1 -1
- package/dist/commonjs/features/keyboard/types/types.js +0 -1
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/lib/helpers/helpers.js +28 -5
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/commonjs/shared/translation/constants.js +3 -1
- package/dist/commonjs/shared/translation/constants.js.map +1 -1
- 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/types.js +1 -0
- package/dist/commonjs/shared/translation/types.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +2 -9
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +3 -13
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +1 -1
- 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 +4 -4
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -6
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +3 -10
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +22 -4
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +0 -27
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/keyboardGroupIds.js +1 -1
- package/dist/module/features/keyboard/types/types.js +0 -1
- package/dist/module/features/keyboard/types/types.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/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +1 -6
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.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/Keyboard.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +1 -2
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.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 +2 -2
- 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/keyboardGroupIds.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +1 -3
- package/dist/typescript/commonjs/features/keyboard/types/types.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/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +1 -6
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.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/Keyboard.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +1 -2
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.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 +2 -2
- 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/keyboardGroupIds.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +1 -3
- package/dist/typescript/module/features/keyboard/types/types.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/AlgebraLayout/AlgebraLayout.tsx +2 -2
- package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +6 -19
- package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +4 -0
- package/src/features/keyboard/components/Keyboard.tsx +4 -4
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -2
- package/src/features/keyboard/components/UnitsLayout/helpers.tsx +2 -10
- package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +21 -2
- package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +0 -21
- package/src/features/keyboard/types/keyboardGroupIds.ts +1 -1
- package/src/features/keyboard/types/types.ts +0 -2
- 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 +0 -74
- package/dist/commonjs/features/keyboard/components/MainLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +0 -24
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +0 -13
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js +0 -34
- package/dist/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js +0 -34
- package/dist/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js +0 -34
- package/dist/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js.map +0 -1
- package/dist/module/features/keyboard/components/MainLayout.js +0 -67
- package/dist/module/features/keyboard/components/MainLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +0 -18
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +0 -9
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +0 -1
- package/dist/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js +0 -26
- package/dist/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js +0 -26
- package/dist/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js +0 -26
- package/dist/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts +0 -15
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts +0 -15
- package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts.map +0 -1
- package/src/features/keyboard/components/MainLayout.tsx +0 -80
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +0 -12
- package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +0 -12
- package/src/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.tsx +0 -17
- package/src/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.tsx +0 -20
- package/src/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.tsx +0 -20
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"locale": "de-DE",
|
|
3
|
+
"teacherFeedback.noComments": "Noch keine Kommentare",
|
|
4
|
+
"time.justNow": "gerade eben",
|
|
5
|
+
"time.minuteAgo": "vor einer Minute",
|
|
6
|
+
"time.minutesAgo": "vor {{count}} Minuten",
|
|
7
|
+
"time.hourAgo": "vor einer Stunde",
|
|
8
|
+
"time.hoursAgo": "vor {{count}} Stunden",
|
|
9
|
+
"time.dayAgo": "vor einem Tag",
|
|
10
|
+
"time.daysAgo": "vor {{count}} Tagen",
|
|
11
|
+
"time.monthAgo": "vor einem Monat",
|
|
12
|
+
"time.monthsAgo": "vor {{count}} Monaten",
|
|
13
|
+
"time.yearAgo": "vor einem Jahr",
|
|
14
|
+
"time.yearsAgo": "vor {{count}} Jahren",
|
|
15
|
+
"chat": {
|
|
16
|
+
"anotherHint": "Gib mir noch einen Hinweis",
|
|
17
|
+
"giveHint": "Ich brauche einen Hinweis",
|
|
18
|
+
"giveHintOpenChat": "Ich brauche einen Hinweis",
|
|
19
|
+
"answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
|
|
20
|
+
"errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
|
|
21
|
+
"howCanIHelp": "Hi! Möchtest du Hilfe?",
|
|
22
|
+
"showError": "Fehler anzeigen",
|
|
23
|
+
"inputPlaceholder": "Tippe..."
|
|
24
|
+
},
|
|
25
|
+
"gifCelebrations": {
|
|
26
|
+
"greatStart": "Toller Start!",
|
|
27
|
+
"onTheWay": "Auf dem Weg!",
|
|
28
|
+
"almostThere": "Fast geschafft"
|
|
29
|
+
},
|
|
30
|
+
"exampleSolution": {
|
|
31
|
+
"exampleSolution": "Beispiellösung",
|
|
32
|
+
"letMeThink": "Lass mich nachdenken...",
|
|
33
|
+
"aha": "Aha!",
|
|
34
|
+
"errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
|
|
35
|
+
},
|
|
36
|
+
"keyboard": {
|
|
37
|
+
"length": "Länge",
|
|
38
|
+
"area": "Fläche",
|
|
39
|
+
"volume": "Volumen",
|
|
40
|
+
"weight": "Gewicht"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "Inga kommentarer än",
|
|
4
4
|
"time.justNow": "alldeles nyss",
|
|
5
5
|
"time.minuteAgo": "minut sedan",
|
|
6
|
-
"time.minutesAgo": "minuter sedan",
|
|
6
|
+
"time.minutesAgo": "{{count}} minuter sedan",
|
|
7
7
|
"time.hourAgo": "timme sedan",
|
|
8
|
-
"time.hoursAgo": "timmar sedan",
|
|
8
|
+
"time.hoursAgo": "{{count}} timmar sedan",
|
|
9
9
|
"time.dayAgo": "dag sedan",
|
|
10
|
-
"time.daysAgo": "dagar sedan",
|
|
10
|
+
"time.daysAgo": "{{count}} dagar sedan",
|
|
11
11
|
"time.monthAgo": "månad sedan",
|
|
12
|
-
"time.monthsAgo": "månader sedan",
|
|
12
|
+
"time.monthsAgo": "{{count}} månader sedan",
|
|
13
13
|
"time.yearAgo": "år sedan",
|
|
14
|
-
"time.yearsAgo": "år sedan",
|
|
14
|
+
"time.yearsAgo": "{{count}} år sedan",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Ge mig en till ledtråd",
|
|
17
17
|
"giveHint": "Ge mig en ledtråd",
|
|
@@ -3,6 +3,8 @@ import swTranslations from './localization/sw.json'
|
|
|
3
3
|
import gbTranslations from './localization/gb.json'
|
|
4
4
|
import caTranslations from './localization/ca.json'
|
|
5
5
|
import sctTranslations from './localization/sct.json'
|
|
6
|
+
import deTranslations from "./localization/de.json"
|
|
7
|
+
|
|
6
8
|
import { RetrieveKeys } from '../../lib/types/keys'
|
|
7
9
|
import { ISValidTranslation } from './validation.types'
|
|
8
10
|
|
|
@@ -16,6 +18,7 @@ export enum Locale {
|
|
|
16
18
|
GB = 'en-GB',
|
|
17
19
|
CA = 'en-CA',
|
|
18
20
|
SCT = 'en-SCT',
|
|
21
|
+
DE = 'de-DE'
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
// Validation of translations, do not remove
|
|
@@ -24,3 +27,4 @@ type ISValidSW = ISValidTranslation<typeof swTranslations>
|
|
|
24
27
|
type ISValidGB = ISValidTranslation<typeof gbTranslations>
|
|
25
28
|
type ISValidCA = ISValidTranslation<typeof caTranslations>
|
|
26
29
|
type ISValidSCT = ISValidTranslation<typeof sctTranslations>
|
|
30
|
+
type ISValidDE = ISValidTranslation<typeof deTranslations>
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.MainLayout = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
10
|
-
var _keyboardLayouts = require("../constants/keyboardLayouts.js");
|
|
11
|
-
var _UnderlinedLayout = require("./UnderlinedLayout/UnderlinedLayout.js");
|
|
12
|
-
var _constants = require("../constants/constants.js");
|
|
13
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
-
const MainLayout = ({
|
|
17
|
-
characterType,
|
|
18
|
-
showUnderlinedKeys = false,
|
|
19
|
-
...props
|
|
20
|
-
}) => {
|
|
21
|
-
const [isUnderlinedVisible, setIsUnderlinedVisible] = (0, _react.useState)(showUnderlinedKeys);
|
|
22
|
-
const [isSecondaryLayoutSelected, setIsSecondaryLayoutSelected] = (0, _react.useState)(false);
|
|
23
|
-
const fadeAnim = (0, _react.useRef)(new _reactNative.Animated.Value(showUnderlinedKeys ? 1 : 0)).current;
|
|
24
|
-
const fadeRef = (0, _react.useRef)(null);
|
|
25
|
-
const {
|
|
26
|
-
width
|
|
27
|
-
} = (0, _reactNative.useWindowDimensions)();
|
|
28
|
-
const isMobile = width <= _constants.MOBILE_LAYOUT_WIDTH || _reactNativeUi.IS_MOBILE;
|
|
29
|
-
const Layout = (0, _react.useMemo)(() => (0, _keyboardLayouts.getLayoutByCharType)(characterType), [characterType]);
|
|
30
|
-
const isUnderlinedLayoutVisible = isUnderlinedVisible && !isSecondaryLayoutSelected && !isMobile;
|
|
31
|
-
const animateFade = (0, _react.useCallback)((toValue, onComplete) => {
|
|
32
|
-
fadeRef.current?.stop();
|
|
33
|
-
fadeRef.current = _reactNative.Animated.timing(fadeAnim, {
|
|
34
|
-
toValue,
|
|
35
|
-
duration: 250,
|
|
36
|
-
useNativeDriver: !_reactNativeUi.IS_WEB
|
|
37
|
-
});
|
|
38
|
-
fadeRef.current.start(() => onComplete?.());
|
|
39
|
-
}, [fadeAnim]);
|
|
40
|
-
(0, _react.useEffect)(() => {
|
|
41
|
-
if (showUnderlinedKeys) {
|
|
42
|
-
setIsUnderlinedVisible(true);
|
|
43
|
-
animateFade(1);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
animateFade(0, () => setIsUnderlinedVisible(false));
|
|
47
|
-
return () => {
|
|
48
|
-
fadeRef.current?.stop();
|
|
49
|
-
};
|
|
50
|
-
}, [showUnderlinedKeys, animateFade]);
|
|
51
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
52
|
-
style: styles.container,
|
|
53
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Layout, {
|
|
54
|
-
...props,
|
|
55
|
-
onLayoutChange: setIsSecondaryLayoutSelected
|
|
56
|
-
}), isUnderlinedLayoutVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
57
|
-
style: {
|
|
58
|
-
opacity: fadeAnim
|
|
59
|
-
},
|
|
60
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_UnderlinedLayout.UnderlinedLayout, {
|
|
61
|
-
...props
|
|
62
|
-
})
|
|
63
|
-
})]
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
exports.MainLayout = MainLayout;
|
|
67
|
-
const styles = _reactNative.StyleSheet.create({
|
|
68
|
-
container: {
|
|
69
|
-
flexDirection: 'row',
|
|
70
|
-
alignItems: 'flex-start',
|
|
71
|
-
justifyContent: 'space-between'
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
//# sourceMappingURL=MainLayout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeUi","_keyboardLayouts","_UnderlinedLayout","_constants","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","MainLayout","characterType","showUnderlinedKeys","props","isUnderlinedVisible","setIsUnderlinedVisible","useState","isSecondaryLayoutSelected","setIsSecondaryLayoutSelected","fadeAnim","useRef","Animated","Value","current","fadeRef","width","useWindowDimensions","isMobile","MOBILE_LAYOUT_WIDTH","IS_MOBILE","Layout","useMemo","getLayoutByCharType","isUnderlinedLayoutVisible","animateFade","useCallback","toValue","onComplete","stop","timing","duration","useNativeDriver","IS_WEB","start","useEffect","jsxs","View","style","styles","container","children","jsx","onLayoutChange","opacity","UnderlinedLayout","exports","StyleSheet","create","flexDirection","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["features/keyboard/components/MainLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAA4D,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA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CAAC;EACH,CAAC,EAAE,CAAC1B,kBAAkB,EAAEsB,WAAW,CAAC,CAAC;EAErC,oBACE,IAAA7C,WAAA,CAAAwD,IAAA,EAAC7D,YAAA,CAAA8D,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5B,IAAA7D,WAAA,CAAA8D,GAAA,EAACrB,MAAM;MAAA,GAAKjB,KAAK;MAAEuC,cAAc,EAAElC;IAA6B,CAAE,CAAC,EAClEe,yBAAyB,iBACxB,IAAA5C,WAAA,CAAA8D,GAAA,EAACnE,YAAA,CAAAqC,QAAQ,CAACyB,IAAI;MAACC,KAAK,EAAE;QAAEM,OAAO,EAAElC;MAAS,CAAE;MAAA+B,QAAA,eAC1C,IAAA7D,WAAA,CAAA8D,GAAA,EAAChE,iBAAA,CAAAmE,gBAAgB;QAAA,GAAKzC;MAAK,CAAG;IAAC,CAClB,CAChB;EAAA,CACG,CAAC;AAEX,CAAC;AAAA0C,OAAA,CAAA7C,UAAA,GAAAA,UAAA;AAED,MAAMsC,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,YAAY;IACxBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.UnderlinedLayout = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
|
-
var _types = require("../../types/types.js");
|
|
10
|
-
var _index = require("../../../../shared/translation/index.js");
|
|
11
|
-
var _helpers = require("../../helpers.js");
|
|
12
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
const UnderlinedLayout = props => {
|
|
15
|
-
const t = (0, _index.useText)();
|
|
16
|
-
const keysGroup = (0, _helpers.getKeyboardGroup)(t('locale'), _types.KeyboardType.Underlined);
|
|
17
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
18
|
-
keys: keysGroup.keys,
|
|
19
|
-
numOfRows: keysGroup.keys.length,
|
|
20
|
-
...props
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
exports.UnderlinedLayout = UnderlinedLayout;
|
|
24
|
-
//# sourceMappingURL=UnderlinedLayout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_types","_index","_helpers","_jsxRuntime","e","__esModule","default","UnderlinedLayout","props","t","useText","keysGroup","getKeyboardGroup","KeyboardType","Underlined","jsx","KeysList","keys","numOfRows","length","exports"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAAgD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEzC,MAAMG,gBAAgB,GAAIC,KAA0B,IAAK;EAC9D,MAAMC,CAAC,GAAG,IAAAC,cAAO,EAAC,CAAC;EACnB,MAAMC,SAAS,GAAG,IAAAC,yBAAgB,EAACH,CAAC,CAAC,QAAQ,CAAC,EAAYI,mBAAY,CAACC,UAAU,CAAC;EAElF,oBAAO,IAAAX,WAAA,CAAAY,GAAA,EAAChB,SAAA,CAAAiB,QAAQ;IAACC,IAAI,EAAEN,SAAS,CAACM,IAAK;IAACC,SAAS,EAAEP,SAAS,CAACM,IAAI,CAACE,MAAO;IAAA,GAAKX;EAAK,CAAG,CAAC;AACxF,CAAC;AAAAY,OAAA,CAAAb,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP = void 0;
|
|
7
|
-
var _keyboardGroupIds = require("../../types/keyboardGroupIds.js");
|
|
8
|
-
var _basicOperators = require("../../types/MathKeysGroups/basicOperators.js");
|
|
9
|
-
const MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP = exports.MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP = {
|
|
10
|
-
id: _keyboardGroupIds.MathEntryKeyboardGroupId.UNDERLINED,
|
|
11
|
-
keys: [_basicOperators.MATH_BASIC_OPERATORS.UNDERLINED_TEN, _basicOperators.MATH_BASIC_OPERATORS.UNDERLINED_ONE, _basicOperators.MATH_BASIC_OPERATORS.UNDERLINED_U]
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=keyboardGroups.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_keyboardGroupIds","require","_basicOperators","MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP","exports","id","MathEntryKeyboardGroupId","UNDERLINED","keys","MATH_BASIC_OPERATORS","UNDERLINED_TEN","UNDERLINED_ONE","UNDERLINED_U"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnderlinedLayout/keyboardGroups.ts"],"mappings":";;;;;;AACA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAEO,MAAME,oCAAmD,GAAAC,OAAA,CAAAD,oCAAA,GAAG;EACjEE,EAAE,EAAEC,0CAAwB,CAACC,UAAU;EACvCC,IAAI,EAAE,CACJC,oCAAoB,CAACC,cAAc,EACnCD,oCAAoB,CAACE,cAAc,EACnCF,oCAAoB,CAACG,YAAY;AAErC,CAAC","ignoreList":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.UnderlinedOneIcon = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const UnderlinedOneIcon = ({
|
|
14
|
-
size = 20,
|
|
15
|
-
color
|
|
16
|
-
}) => {
|
|
17
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
|
|
18
|
-
width: size,
|
|
19
|
-
height: size,
|
|
20
|
-
viewBox: "0 0 17 17",
|
|
21
|
-
fill: "none",
|
|
22
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
23
|
-
d: "M7.93176 12.1924V3.83738H6.46176V1.84238H10.0918V12.1924H7.93176Z",
|
|
24
|
-
fill: color
|
|
25
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
26
|
-
d: "M2.15088 15.1924H15.1509",
|
|
27
|
-
stroke: color,
|
|
28
|
-
"stroke-width": "1.2",
|
|
29
|
-
"stroke-linecap": "square"
|
|
30
|
-
})]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
exports.UnderlinedOneIcon = UnderlinedOneIcon;
|
|
34
|
-
//# sourceMappingURL=UnderlinedOneIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnderlinedOneIcon","size","color","jsxs","width","height","viewBox","fill","children","jsx","Path","d","stroke","exports"],"sourceRoot":"../../../../../../src","sources":["shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA4C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,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AEL;IAAM,CAAE,CAAC,eAC3F,IAAAvB,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAiC,IAAI;MACHC,CAAC,EAAC,0BAA0B;MAC5BC,MAAM,EAAEV,KAAM;MACd,gBAAa,KAAK;MAClB,kBAAe;IAAQ,CACxB,CAAC;EAAA,CACC,CAAC;AAEV,CAAC;AAAAW,OAAA,CAAAb,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.UnderlinedTenIcon = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const UnderlinedTenIcon = ({
|
|
14
|
-
size = 20,
|
|
15
|
-
color
|
|
16
|
-
}) => {
|
|
17
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
|
|
18
|
-
width: size,
|
|
19
|
-
height: size,
|
|
20
|
-
viewBox: "0 0 17 17",
|
|
21
|
-
fill: "none",
|
|
22
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
23
|
-
d: "M3.25158 12.1924V3.83738H1.78158V1.84238H5.41158V12.1924H3.25158ZM11.4998 1.69238C14.0348 1.69238 15.5198 3.52238 15.5198 6.80738V7.16738C15.5198 10.4524 14.0348 12.2824 11.4998 12.2824C8.96482 12.2824 7.47982 10.4524 7.47982 7.16738V6.80738C7.47982 3.52238 8.96482 1.69238 11.4998 1.69238ZM9.65482 7.16738C9.65482 9.38738 10.2698 10.3024 11.4998 10.3024C12.7298 10.3024 13.3448 9.38738 13.3448 7.16738V6.80738C13.3448 4.58738 12.7298 3.67238 11.4998 3.67238C10.2698 3.67238 9.65482 4.58738 9.65482 6.80738V7.16738Z",
|
|
24
|
-
fill: color
|
|
25
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
26
|
-
d: "M2.15088 15.1924H15.1509",
|
|
27
|
-
stroke: color,
|
|
28
|
-
"stroke-width": "1.2",
|
|
29
|
-
"stroke-linecap": "square"
|
|
30
|
-
})]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
exports.UnderlinedTenIcon = UnderlinedTenIcon;
|
|
34
|
-
//# sourceMappingURL=UnderlinedTenIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnderlinedTenIcon","size","color","jsxs","width","height","viewBox","fill","children","jsx","Path","d","stroke","exports"],"sourceRoot":"../../../../../../src","sources":["shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAA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,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA;AAErC,MAAMmB,iBAAiB,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EACpE,oBACE,IAAAvB,WAAA,CAAAwB,IAAA,EAAC1B,eAAA,CAAAS,OAAG;IAACkB,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7D,IAAA7B,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAiC,IAAI;MACHC,CAAC,EAAC,qgBAAqgB;MACvgBJ,IAAI,EAAEL;IAAM,CACb,CAAC,eACF,IAAAvB,WAAA,CAAA8B,GAAA;MACEE,CAAC,EAAC,0BAA0B;MAC5BC,MAAM,EAAEV,KAAM;MACd,gBAAa,KAAK;MAClB,kBAAe;IAAQ,CACxB,CAAC;EAAA,CACC,CAAC;AAEV,CAAC;AAAAW,OAAA,CAAAb,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.UnderlinedUIcon = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const UnderlinedUIcon = ({
|
|
14
|
-
size = 20,
|
|
15
|
-
color
|
|
16
|
-
}) => {
|
|
17
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
|
|
18
|
-
width: size,
|
|
19
|
-
height: size,
|
|
20
|
-
viewBox: "0 0 17 17",
|
|
21
|
-
fill: "none",
|
|
22
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
23
|
-
d: "M10.6573 1.69238H12.8473V8.42738C12.8473 10.7824 11.4523 12.4174 8.6473 12.4174C5.8273 12.4174 4.4473 10.7824 4.4473 8.42738V1.69238H6.6223V8.26238C6.6223 9.56738 7.4023 10.3474 8.6473 10.3474C9.8923 10.3474 10.6573 9.56738 10.6573 8.26238V1.69238Z",
|
|
24
|
-
fill: color
|
|
25
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
26
|
-
d: "M2.15088 15.1924H15.1509",
|
|
27
|
-
stroke: color,
|
|
28
|
-
"stroke-width": "1.2",
|
|
29
|
-
"stroke-linecap": "square"
|
|
30
|
-
})]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
exports.UnderlinedUIcon = UnderlinedUIcon;
|
|
34
|
-
//# sourceMappingURL=UnderlinedUIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnderlinedUIcon","size","color","jsxs","width","height","viewBox","fill","children","jsx","Path","d","stroke","exports"],"sourceRoot":"../../../../../../src","sources":["shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA4C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAd,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA;AAErC,MAAMmB,eAAe,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAClE,oBACE,IAAAvB,WAAA,CAAAwB,IAAA,EAAC1B,eAAA,CAAAS,OAAG;IAACkB,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7D,IAAA7B,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAiC,IAAI;MACHC,CAAC,EAAC,0PAA0P;MAC5PJ,IAAI,EAAEL;IAAM,CACb,CAAC,eACF,IAAAvB,WAAA,CAAA8B,GAAA,EAAChC,eAAA,CAAAiC,IAAI;MACHC,CAAC,EAAC,0BAA0B;MAC5BC,MAAM,EAAEV,KAAM;MACd,gBAAa,KAAK;MAClB,kBAAe;IAAQ,CACxB,CAAC;EAAA,CACC,CAAC;AAEV,CAAC;AAAAW,OAAA,CAAAb,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React, { useEffect, useMemo, useRef, useState, useCallback } from 'react';
|
|
4
|
-
import { Animated, StyleSheet, useWindowDimensions, View } from 'react-native';
|
|
5
|
-
import { IS_MOBILE, IS_WEB } from '@magmamath/react-native-ui';
|
|
6
|
-
import { getLayoutByCharType } from "../constants/keyboardLayouts.js";
|
|
7
|
-
import { UnderlinedLayout } from "./UnderlinedLayout/UnderlinedLayout.js";
|
|
8
|
-
import { MOBILE_LAYOUT_WIDTH } from "../constants/constants.js";
|
|
9
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
export const MainLayout = ({
|
|
11
|
-
characterType,
|
|
12
|
-
showUnderlinedKeys = false,
|
|
13
|
-
...props
|
|
14
|
-
}) => {
|
|
15
|
-
const [isUnderlinedVisible, setIsUnderlinedVisible] = useState(showUnderlinedKeys);
|
|
16
|
-
const [isSecondaryLayoutSelected, setIsSecondaryLayoutSelected] = useState(false);
|
|
17
|
-
const fadeAnim = useRef(new Animated.Value(showUnderlinedKeys ? 1 : 0)).current;
|
|
18
|
-
const fadeRef = useRef(null);
|
|
19
|
-
const {
|
|
20
|
-
width
|
|
21
|
-
} = useWindowDimensions();
|
|
22
|
-
const isMobile = width <= MOBILE_LAYOUT_WIDTH || IS_MOBILE;
|
|
23
|
-
const Layout = useMemo(() => getLayoutByCharType(characterType), [characterType]);
|
|
24
|
-
const isUnderlinedLayoutVisible = isUnderlinedVisible && !isSecondaryLayoutSelected && !isMobile;
|
|
25
|
-
const animateFade = useCallback((toValue, onComplete) => {
|
|
26
|
-
fadeRef.current?.stop();
|
|
27
|
-
fadeRef.current = Animated.timing(fadeAnim, {
|
|
28
|
-
toValue,
|
|
29
|
-
duration: 250,
|
|
30
|
-
useNativeDriver: !IS_WEB
|
|
31
|
-
});
|
|
32
|
-
fadeRef.current.start(() => onComplete?.());
|
|
33
|
-
}, [fadeAnim]);
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
if (showUnderlinedKeys) {
|
|
36
|
-
setIsUnderlinedVisible(true);
|
|
37
|
-
animateFade(1);
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
animateFade(0, () => setIsUnderlinedVisible(false));
|
|
41
|
-
return () => {
|
|
42
|
-
fadeRef.current?.stop();
|
|
43
|
-
};
|
|
44
|
-
}, [showUnderlinedKeys, animateFade]);
|
|
45
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
46
|
-
style: styles.container,
|
|
47
|
-
children: [/*#__PURE__*/_jsx(Layout, {
|
|
48
|
-
...props,
|
|
49
|
-
onLayoutChange: setIsSecondaryLayoutSelected
|
|
50
|
-
}), isUnderlinedLayoutVisible && /*#__PURE__*/_jsx(Animated.View, {
|
|
51
|
-
style: {
|
|
52
|
-
opacity: fadeAnim
|
|
53
|
-
},
|
|
54
|
-
children: /*#__PURE__*/_jsx(UnderlinedLayout, {
|
|
55
|
-
...props
|
|
56
|
-
})
|
|
57
|
-
})]
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
const styles = StyleSheet.create({
|
|
61
|
-
container: {
|
|
62
|
-
flexDirection: 'row',
|
|
63
|
-
alignItems: 'flex-start',
|
|
64
|
-
justifyContent: 'space-between'
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
//# sourceMappingURL=MainLayout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","useRef","useState","useCallback","Animated","StyleSheet","useWindowDimensions","View","IS_MOBILE","IS_WEB","getLayoutByCharType","UnderlinedLayout","MOBILE_LAYOUT_WIDTH","jsx","_jsx","jsxs","_jsxs","MainLayout","characterType","showUnderlinedKeys","props","isUnderlinedVisible","setIsUnderlinedVisible","isSecondaryLayoutSelected","setIsSecondaryLayoutSelected","fadeAnim","Value","current","fadeRef","width","isMobile","Layout","isUnderlinedLayoutVisible","animateFade","toValue","onComplete","stop","timing","duration","useNativeDriver","start","style","styles","container","children","onLayoutChange","opacity","create","flexDirection","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["features/keyboard/components/MainLayout.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AAChF,SAASC,QAAQ,EAAEC,UAAU,EAAEC,mBAAmB,EAAEC,IAAI,QAAQ,cAAc;AAC9E,SAA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bC,eAAe,EAAE,CAAC9B;IACpB,CAAC,CAAC;IACFmB,OAAO,CAACD,OAAO,CAACa,KAAK,CAAC,MAAML,UAAU,GAAG,CAAC,CAAC;EAC7C,CAAC,EACD,CAACV,QAAQ,CACX,CAAC;EAED1B,SAAS,CAAC,MAAM;IACd,IAAIoB,kBAAkB,EAAE;MACtBG,sBAAsB,CAAC,IAAI,CAAC;MAC5BW,WAAW,CAAC,CAAC,CAAC;MACd;IACF;IACAA,WAAW,CAAC,CAAC,EAAE,MAAMX,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAEnD,OAAO,MAAM;MACXM,OAAO,CAACD,OAAO,EAAES,IAAI,CAAC,CAAC;IACzB,CAAC;EACH,CAAC,EAAE,CAACjB,kBAAkB,EAAEc,WAAW,CAAC,CAAC;EAErC,oBACEjB,KAAA,CAACT,IAAI;IAACkC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5B9B,IAAA,CAACiB,MAAM;MAAA,GAAKX,KAAK;MAAEyB,cAAc,EAAErB;IAA6B,CAAE,CAAC,EAClEQ,yBAAyB,iBACxBlB,IAAA,CAACV,QAAQ,CAACG,IAAI;MAACkC,KAAK,EAAE;QAAEK,OAAO,EAAErB;MAAS,CAAE;MAAAmB,QAAA,eAC1C9B,IAAA,CAACH,gBAAgB;QAAA,GAAKS;MAAK,CAAG;IAAC,CAClB,CAChB;EAAA,CACG,CAAC;AAEX,CAAC;AAED,MAAMsB,MAAM,GAAGrC,UAAU,CAAC0C,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,YAAY;IACxBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { KeysList } from "../KeysList/KeysList.js";
|
|
5
|
-
import { KeyboardType } from "../../types/types.js";
|
|
6
|
-
import { useText } from "../../../../shared/translation/index.js";
|
|
7
|
-
import { getKeyboardGroup } from "../../helpers.js";
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
export const UnderlinedLayout = props => {
|
|
10
|
-
const t = useText();
|
|
11
|
-
const keysGroup = getKeyboardGroup(t('locale'), KeyboardType.Underlined);
|
|
12
|
-
return /*#__PURE__*/_jsx(KeysList, {
|
|
13
|
-
keys: keysGroup.keys,
|
|
14
|
-
numOfRows: keysGroup.keys.length,
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=UnderlinedLayout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","KeysList","KeyboardType","useText","getKeyboardGroup","jsx","_jsx","UnderlinedLayout","props","t","keysGroup","Underlined","keys","numOfRows","length"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,yBAAsB;AAC/C,SAA8BC,YAAY,QAAQ,sBAAmB;AACrE,SAAiBC,OAAO,QAAQ,yCAAgC;AAChE,SAASC,gBAAgB,QAAQ,kBAAe;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAEhD,OAAO,MAAMC,gBAAgB,GAAIC,KAA0B,IAAK;EAC9D,MAAMC,CAAC,GAAGN,OAAO,CAAC,CAAC;EACnB,MAAMO,SAAS,GAAGN,gBAAgB,CAACK,CAAC,CAAC,QAAQ,CAAC,EAAYP,YAAY,CAACS,UAAU,CAAC;EAElF,oBAAOL,IAAA,CAACL,QAAQ;IAACW,IAAI,EAAEF,SAAS,CAACE,IAAK;IAACC,SAAS,EAAEH,SAAS,CAACE,IAAI,CAACE,MAAO;IAAA,GAAKN;EAAK,CAAG,CAAC;AACxF,CAAC","ignoreList":[]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { MathEntryKeyboardGroupId } from "../../types/keyboardGroupIds.js";
|
|
4
|
-
import { MATH_BASIC_OPERATORS } from "../../types/MathKeysGroups/basicOperators.js";
|
|
5
|
-
export const MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP = {
|
|
6
|
-
id: MathEntryKeyboardGroupId.UNDERLINED,
|
|
7
|
-
keys: [MATH_BASIC_OPERATORS.UNDERLINED_TEN, MATH_BASIC_OPERATORS.UNDERLINED_ONE, MATH_BASIC_OPERATORS.UNDERLINED_U]
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=keyboardGroups.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["MathEntryKeyboardGroupId","MATH_BASIC_OPERATORS","MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP","id","UNDERLINED","keys","UNDERLINED_TEN","UNDERLINED_ONE","UNDERLINED_U"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnderlinedLayout/keyboardGroups.ts"],"mappings":";;AACA,SAASA,wBAAwB,QAAQ,iCAA8B;AACvE,SAASC,oBAAoB,QAAQ,8CAA2C;AAEhF,OAAO,MAAMC,oCAAmD,GAAG;EACjEC,EAAE,EAAEH,wBAAwB,CAACI,UAAU;EACvCC,IAAI,EAAE,CACJJ,oBAAoB,CAACK,cAAc,EACnCL,oBAAoB,CAACM,cAAc,EACnCN,oBAAoB,CAACO,YAAY;AAErC,CAAC","ignoreList":[]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import Svg, { Path } from 'react-native-svg';
|
|
5
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export const UnderlinedOneIcon = ({
|
|
7
|
-
size = 20,
|
|
8
|
-
color
|
|
9
|
-
}) => {
|
|
10
|
-
return /*#__PURE__*/_jsxs(Svg, {
|
|
11
|
-
width: size,
|
|
12
|
-
height: size,
|
|
13
|
-
viewBox: "0 0 17 17",
|
|
14
|
-
fill: "none",
|
|
15
|
-
children: [/*#__PURE__*/_jsx(Path, {
|
|
16
|
-
d: "M7.93176 12.1924V3.83738H6.46176V1.84238H10.0918V12.1924H7.93176Z",
|
|
17
|
-
fill: color
|
|
18
|
-
}), /*#__PURE__*/_jsx(Path, {
|
|
19
|
-
d: "M2.15088 15.1924H15.1509",
|
|
20
|
-
stroke: color,
|
|
21
|
-
"stroke-width": "1.2",
|
|
22
|
-
"stroke-linecap": "square"
|
|
23
|
-
})]
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=UnderlinedOneIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","jsx","_jsx","jsxs","_jsxs","UnderlinedOneIcon","size","color","width","height","viewBox","fill","children","d","stroke"],"sourceRoot":"../../../../../../src","sources":["shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE5C,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EACpE,oBACEH,KAAA,CAACL,GAAG;IAACS,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DV,IAAA,CAACF,IAAI;MAACa,CAAC,EAAC,mEAAmE;MAACF,IAAI,EAAEJ;IAAM,CAAE,CAAC,eAC3FL,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,0BAA0B;MAC5BC,MAAM,EAAEP,KAAM;MACd,gBAAa,KAAK;MAClB,kBAAe;IAAQ,CACxB,CAAC;EAAA,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import Svg, { Path } from 'react-native-svg';
|
|
5
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export const UnderlinedTenIcon = ({
|
|
7
|
-
size = 20,
|
|
8
|
-
color
|
|
9
|
-
}) => {
|
|
10
|
-
return /*#__PURE__*/_jsxs(Svg, {
|
|
11
|
-
width: size,
|
|
12
|
-
height: size,
|
|
13
|
-
viewBox: "0 0 17 17",
|
|
14
|
-
fill: "none",
|
|
15
|
-
children: [/*#__PURE__*/_jsx(Path, {
|
|
16
|
-
d: "M3.25158 12.1924V3.83738H1.78158V1.84238H5.41158V12.1924H3.25158ZM11.4998 1.69238C14.0348 1.69238 15.5198 3.52238 15.5198 6.80738V7.16738C15.5198 10.4524 14.0348 12.2824 11.4998 12.2824C8.96482 12.2824 7.47982 10.4524 7.47982 7.16738V6.80738C7.47982 3.52238 8.96482 1.69238 11.4998 1.69238ZM9.65482 7.16738C9.65482 9.38738 10.2698 10.3024 11.4998 10.3024C12.7298 10.3024 13.3448 9.38738 13.3448 7.16738V6.80738C13.3448 4.58738 12.7298 3.67238 11.4998 3.67238C10.2698 3.67238 9.65482 4.58738 9.65482 6.80738V7.16738Z",
|
|
17
|
-
fill: color
|
|
18
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
19
|
-
d: "M2.15088 15.1924H15.1509",
|
|
20
|
-
stroke: color,
|
|
21
|
-
"stroke-width": "1.2",
|
|
22
|
-
"stroke-linecap": "square"
|
|
23
|
-
})]
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=UnderlinedTenIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","jsx","_jsx","jsxs","_jsxs","UnderlinedTenIcon","size","color","width","height","viewBox","fill","children","d","stroke"],"sourceRoot":"../../../../../../src","sources":["shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE5C,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EACpE,oBACEH,KAAA,CAACL,GAAG;IAACS,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DV,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,qgBAAqgB;MACvgBF,IAAI,EAAEJ;IAAM,CACb,CAAC,eACFL,IAAA;MACEW,CAAC,EAAC,0BAA0B;MAC5BC,MAAM,EAAEP,KAAM;MACd,gBAAa,KAAK;MAClB,kBAAe;IAAQ,CACxB,CAAC;EAAA,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|