@magmamath/students-features 0.9.93-rc.2 → 0.9.93
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/BasicLayout/keyboardGroups.js +1 -5
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +0 -3
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +0 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +0 -20
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +0 -1
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
- package/dist/commonjs/lib/helpers/helpers.js +5 -28
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/commonjs/shared/translation/constants.js +1 -3
- 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/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 +0 -1
- package/dist/commonjs/shared/translation/types.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +0 -4
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/KeysList.js +2 -4
- package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +1 -2
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +1 -21
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/module/features/keyboard/types/keyboardGroupIds.js +0 -1
- package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
- package/dist/module/lib/helpers/helpers.js +5 -28
- package/dist/module/lib/helpers/helpers.js.map +1 -1
- package/dist/module/shared/translation/constants.js +1 -3
- 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/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 +0 -1
- package/dist/module/shared/translation/types.js.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
- 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 +0 -42
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -2
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
- 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 +0 -42
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/types.d.ts +1 -2
- 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 +0 -4
- package/src/features/keyboard/components/KeysList/KeysList.tsx +2 -6
- package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +1 -3
- package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +0 -21
- package/src/features/keyboard/types/keyboardGroupIds.ts +0 -1
- package/src/lib/helpers/helpers.ts +8 -23
- package/src/shared/translation/constants.ts +0 -2
- package/src/shared/translation/localization/ca.json +5 -5
- 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 +0 -4
- package/dist/commonjs/shared/translation/localization/de.json +0 -42
- package/dist/module/shared/translation/localization/de.json +0 -42
- package/src/shared/translation/localization/de.json +0 -42
|
@@ -22,33 +22,10 @@ export const getRelativeTimeText = date => {
|
|
|
22
22
|
const months = getMonths(days);
|
|
23
23
|
const years = getYears(days);
|
|
24
24
|
if (seconds < 60) return getText('time.justNow');
|
|
25
|
-
if (minutes < 60) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
if (hours < 24) {
|
|
32
|
-
if (hours === 1) return `1 ${getText('time.hourAgo')}`;
|
|
33
|
-
return getText('time.hoursAgo', {
|
|
34
|
-
count: hours.toString()
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
if (days < 30) {
|
|
38
|
-
if (days === 1) return `1 ${getText('time.dayAgo')}`;
|
|
39
|
-
return getText('time.daysAgo', {
|
|
40
|
-
count: days.toString()
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
if (months < 12) {
|
|
44
|
-
if (months === 1) return `1 ${getText('time.monthAgo')}`;
|
|
45
|
-
return getText('time.monthsAgo', {
|
|
46
|
-
count: months.toString()
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
if (years === 1) return `1 ${getText('time.yearAgo')}`;
|
|
50
|
-
return getText('time.yearsAgo', {
|
|
51
|
-
count: years.toString()
|
|
52
|
-
});
|
|
25
|
+
if (minutes < 60) return `${minutes} ${minutes === 1 ? getText('time.minuteAgo') : getText('time.minutesAgo')}`;
|
|
26
|
+
if (hours < 24) return `${hours} ${hours === 1 ? getText('time.hourAgo') : getText('time.hoursAgo')}`;
|
|
27
|
+
if (days < 30) return `${days} ${days === 1 ? getText('time.dayAgo') : getText('time.daysAgo')}`;
|
|
28
|
+
if (months < 12) return `${months} ${months === 1 ? getText('time.monthAgo') : getText('time.monthsAgo')}`;
|
|
29
|
+
return `${years} ${years === 1 ? getText('time.yearAgo') : getText('time.yearsAgo')}`;
|
|
53
30
|
};
|
|
54
31
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getText","noop","generateRandomId","Date","now","toString","Math","random","substring","getYears","days","floor","getMonths","getDays","hours","getHours","minutes","getMinutes","seconds","getSeconds","milliseconds","getRelativeTimeText","date","timeBufferMs","getTime","targetDate","diffTime","months","years"
|
|
1
|
+
{"version":3,"names":["getText","noop","generateRandomId","Date","now","toString","Math","random","substring","getYears","days","floor","getMonths","getDays","hours","getHours","minutes","getMinutes","seconds","getSeconds","milliseconds","getRelativeTimeText","date","timeBufferMs","getTime","targetDate","diffTime","months","years"],"sourceRoot":"../../../../src","sources":["lib/helpers/helpers.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,qCAAkC;AAE1D,OAAO,MAAMC,IAAI,GAAGA,CAAA,KAAM,CAAC,CAAC;AAE5B,OAAO,MAAMC,gBAAgB,GAAGA,CAAA,KAC9BC,IAAI,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,EAAE,CAAC,GAAGC,IAAI,CAACC,MAAM,CAAC,CAAC,CAACF,QAAQ,CAAC,EAAE,CAAC,CAACG,SAAS,CAAC,CAAC,CAAC;AAEnE,MAAMC,QAAQ,GAAIC,IAAY,IAAKJ,IAAI,CAACK,KAAK,CAACD,IAAI,GAAG,GAAG,CAAC;AACzD,MAAME,SAAS,GAAIF,IAAY,IAAKJ,IAAI,CAACK,KAAK,CAACD,IAAI,GAAG,EAAE,CAAC;AACzD,MAAMG,OAAO,GAAIC,KAAa,IAAKR,IAAI,CAACK,KAAK,CAACG,KAAK,GAAG,EAAE,CAAC;AACzD,MAAMC,QAAQ,GAAIC,OAAe,IAAKV,IAAI,CAACK,KAAK,CAACK,OAAO,GAAG,EAAE,CAAC;AAC9D,MAAMC,UAAU,GAAIC,OAAe,IAAKZ,IAAI,CAACK,KAAK,CAACO,OAAO,GAAG,EAAE,CAAC;AAChE,MAAMC,UAAU,GAAIC,YAAoB,IAAKd,IAAI,CAACK,KAAK,CAACS,YAAY,GAAG,IAAI,CAAC;AAE5E,OAAO,MAAMC,mBAAmB,GAAIC,IAAU,IAAK;EACjD,MAAMC,YAAY,GAAG,IAAI,EAAC;;EAE1B,MAAMnB,GAAG,GAAG,IAAID,IAAI,CAAC,CAAC,CAACqB,OAAO,CAAC,CAAC;EAChC,MAAMC,UAAU,GAAG,IAAItB,IAAI,CAACmB,IAAI,CAAC,CAACE,OAAO,CAAC,CAAC,GAAGD,YAAY;EAC1D,MAAMG,QAAQ,GAAGtB,GAAG,GAAGqB,UAAU;EAEjC,MAAMP,OAAO,GAAGC,UAAU,CAACO,QAAQ,CAAC;EACpC,MAAMV,OAAO,GAAGC,UAAU,CAACC,OAAO,CAAC;EACnC,MAAMJ,KAAK,GAAGC,QAAQ,CAACC,OAAO,CAAC;EAC/B,MAAMN,IAAI,GAAGG,OAAO,CAACC,KAAK,CAAC;EAC3B,MAAMa,MAAM,GAAGf,SAAS,CAACF,IAAI,CAAC;EAC9B,MAAMkB,KAAK,GAAGnB,QAAQ,CAACC,IAAI,CAAC;EAE5B,IAAIQ,OAAO,GAAG,EAAE,EAAE,OAAOlB,OAAO,CAAC,cAAc,CAAC;EAChD,IAAIgB,OAAO,GAAG,EAAE,EACd,OAAO,GAAGA,OAAO,IAAIA,OAAO,KAAK,CAAC,GAAGhB,OAAO,CAAC,gBAAgB,CAAC,GAAGA,OAAO,CAAC,iBAAiB,CAAC,EAAE;EAC/F,IAAIc,KAAK,GAAG,EAAE,EACZ,OAAO,GAAGA,KAAK,IAAIA,KAAK,KAAK,CAAC,GAAGd,OAAO,CAAC,cAAc,CAAC,GAAGA,OAAO,CAAC,eAAe,CAAC,EAAE;EACvF,IAAIU,IAAI,GAAG,EAAE,EAAE,OAAO,GAAGA,IAAI,IAAIA,IAAI,KAAK,CAAC,GAAGV,OAAO,CAAC,aAAa,CAAC,GAAGA,OAAO,CAAC,cAAc,CAAC,EAAE;EAChG,IAAI2B,MAAM,GAAG,EAAE,EACb,OAAO,GAAGA,MAAM,IAAIA,MAAM,KAAK,CAAC,GAAG3B,OAAO,CAAC,eAAe,CAAC,GAAGA,OAAO,CAAC,gBAAgB,CAAC,EAAE;EAC3F,OAAO,GAAG4B,KAAK,IAAIA,KAAK,KAAK,CAAC,GAAG5B,OAAO,CAAC,cAAc,CAAC,GAAGA,OAAO,CAAC,eAAe,CAAC,EAAE;AACvF,CAAC","ignoreList":[]}
|
|
@@ -6,13 +6,11 @@ import GB from './localization/gb.json';
|
|
|
6
6
|
import SW from './localization/sw.json';
|
|
7
7
|
import CA from './localization/ca.json';
|
|
8
8
|
import SCT from './localization/sct.json';
|
|
9
|
-
import DE from './localization/de.json';
|
|
10
9
|
export const LOCALIZATION_CONFIGS = {
|
|
11
10
|
[Locale.EN]: EN,
|
|
12
11
|
[Locale.GB]: GB,
|
|
13
12
|
[Locale.SW]: SW,
|
|
14
13
|
[Locale.CA]: CA,
|
|
15
|
-
[Locale.SCT]: SCT
|
|
16
|
-
[Locale.DE]: DE
|
|
14
|
+
[Locale.SCT]: SCT
|
|
17
15
|
};
|
|
18
16
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Locale","EN","GB","SW","CA","SCT","
|
|
1
|
+
{"version":3,"names":["Locale","EN","GB","SW","CA","SCT","LOCALIZATION_CONFIGS"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAS;AAChC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,GAAG,MAAM,yBAAyB;AAEzC,OAAO,MAAMC,oBAAoB,GAAG;EAClC,CAACN,MAAM,CAACC,EAAE,GAAGA,EAAE;EACf,CAACD,MAAM,CAACE,EAAE,GAAGA,EAAE;EACf,CAACF,MAAM,CAACG,EAAE,GAAGA,EAAE;EACf,CAACH,MAAM,CAACI,EAAE,GAAGA,EAAE;EACf,CAACJ,MAAM,CAACK,GAAG,GAAGA;AAChB,CAAC","ignoreList":[]}
|
|
@@ -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": "
|
|
6
|
+
"time.minutesAgo": "minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "
|
|
8
|
+
"time.hoursAgo": "hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "
|
|
10
|
+
"time.daysAgo": "days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "
|
|
12
|
+
"time.monthsAgo": "months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "
|
|
14
|
+
"time.yearsAgo": "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": "
|
|
6
|
+
"time.minutesAgo": "minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "
|
|
8
|
+
"time.hoursAgo": "hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "
|
|
10
|
+
"time.daysAgo": "days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "
|
|
12
|
+
"time.monthsAgo": "months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "
|
|
14
|
+
"time.yearsAgo": "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": "
|
|
6
|
+
"time.minutesAgo": "minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "
|
|
8
|
+
"time.hoursAgo": "hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "
|
|
10
|
+
"time.daysAgo": "days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "
|
|
12
|
+
"time.monthsAgo": "months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "
|
|
14
|
+
"time.yearsAgo": "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": "
|
|
6
|
+
"time.minutesAgo": "minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "
|
|
8
|
+
"time.hoursAgo": "hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "
|
|
10
|
+
"time.daysAgo": "days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "
|
|
12
|
+
"time.monthsAgo": "months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "
|
|
14
|
+
"time.yearsAgo": "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": "
|
|
6
|
+
"time.minutesAgo": "minuter sedan",
|
|
7
7
|
"time.hourAgo": "timme sedan",
|
|
8
|
-
"time.hoursAgo": "
|
|
8
|
+
"time.hoursAgo": "timmar sedan",
|
|
9
9
|
"time.dayAgo": "dag sedan",
|
|
10
|
-
"time.daysAgo": "
|
|
10
|
+
"time.daysAgo": "dagar sedan",
|
|
11
11
|
"time.monthAgo": "månad sedan",
|
|
12
|
-
"time.monthsAgo": "
|
|
12
|
+
"time.monthsAgo": "månader sedan",
|
|
13
13
|
"time.yearAgo": "år sedan",
|
|
14
|
-
"time.yearsAgo": "
|
|
14
|
+
"time.yearsAgo": "år sedan",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Ge mig en till ledtråd",
|
|
17
17
|
"giveHint": "Ge mig en ledtråd",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;AAYA,WAAYA,MAAM,0BAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAAA,OAANA,MAAM;AAAA;;AAQlB","ignoreList":[]}
|
package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts
CHANGED
|
@@ -6,5 +6,4 @@ 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;
|
|
10
9
|
//# sourceMappingURL=keyboardGroups.d.ts.map
|
package/dist/typescript/commonjs/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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeysList.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/KeysList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"KeysList.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/KeysList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,EACL,WAAW,EAEX,iBAAiB,EAElB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAIpE,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,KAAK,CAAC,EAAE;QACN,MAAM,CAAC,EAAE,WAAW,CAAA;KACrB,CAAA;CACF,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,sEAOlB,aAAa,sBA4Bf,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAmBjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,
|
|
1
|
+
{"version":3,"file":"UnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,cAAc,EAAyB,MAAM,4BAA4B,CAAA;AAEpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,SAAS,EAAE,cAAc,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;CAC9C,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,+CAAgD,aAAa,sBAmCjF,CAAA"}
|
package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map
CHANGED
|
@@ -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;AAsC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAyBzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAkBnD,CAAA"}
|
|
@@ -27,7 +27,6 @@ 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",
|
|
31
30
|
UNDERLINED = "math-entry-underlined"
|
|
32
31
|
}
|
|
33
32
|
//# 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,
|
|
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 +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,WAuB7C,CAAA"}
|
|
@@ -209,47 +209,5 @@ 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
|
-
};
|
|
254
212
|
};
|
|
255
213
|
//# 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":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,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;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;CACf"}
|
|
@@ -6,5 +6,4 @@ 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;
|
|
10
9
|
//# 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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeysList.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/KeysList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"KeysList.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/KeysList/KeysList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,EACL,WAAW,EAEX,iBAAiB,EAElB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAIpE,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,KAAK,CAAC,EAAE;QACN,MAAM,CAAC,EAAE,WAAW,CAAA;KACrB,CAAA;CACF,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,sEAOlB,aAAa,sBA4Bf,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAmBjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,
|
|
1
|
+
{"version":3,"file":"UnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,cAAc,EAAyB,MAAM,4BAA4B,CAAA;AAEpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,SAAS,EAAE,cAAc,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;CAC9C,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,QAAQ,+CAAgD,aAAa,sBAmCjF,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;AAsC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAyBzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAkBnD,CAAA"}
|
|
@@ -27,7 +27,6 @@ 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",
|
|
31
30
|
UNDERLINED = "math-entry-underlined"
|
|
32
31
|
}
|
|
33
32
|
//# 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,
|
|
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 +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,WAuB7C,CAAA"}
|
|
@@ -209,47 +209,5 @@ 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
|
-
};
|
|
254
212
|
};
|
|
255
213
|
//# 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":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,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;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;CACf"}
|
package/package.json
CHANGED
|
@@ -58,7 +58,3 @@ 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
|
-
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React, { useMemo } from 'react'
|
|
2
|
-
import { StyleSheet } from 'react-native'
|
|
2
|
+
import { StyleProp, StyleSheet, ViewStyle } from 'react-native'
|
|
3
3
|
import {
|
|
4
4
|
ButtonStyle,
|
|
5
|
-
IS_MOBILE,
|
|
6
5
|
SelectGroup,
|
|
7
6
|
SelectOptionColor,
|
|
8
7
|
SelectOptionSize,
|
|
9
8
|
} from '@magmamath/react-native-ui'
|
|
10
9
|
import { KeyboardKey, KeyboardLayoutProps } from '../../types/types'
|
|
11
10
|
import { mapKeyToOption } from './helpers'
|
|
11
|
+
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
12
12
|
|
|
13
13
|
type KeysListProps = {
|
|
14
14
|
keys: KeyboardKey[]
|
|
@@ -42,10 +42,6 @@ export const KeysList = ({
|
|
|
42
42
|
[keys, onKeyPress, disabledKeys, style?.option, isDisabled],
|
|
43
43
|
)
|
|
44
44
|
|
|
45
|
-
console.log(options)
|
|
46
|
-
console.log(keys)
|
|
47
|
-
console.log(style)
|
|
48
|
-
|
|
49
45
|
return (
|
|
50
46
|
<SelectGroup
|
|
51
47
|
style={{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet, View } from 'react-native'
|
|
4
|
-
import { COLORS,
|
|
4
|
+
import { COLORS, TabGroup, TabOptionProps, TabVariant, IS_MOBILE } from '@magmamath/react-native-ui'
|
|
5
5
|
import { MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS } from './keyboardGroups'
|
|
6
6
|
import { KeyboardLayoutProps } from '../../types/types'
|
|
7
7
|
import { Locale } from '@magmamath/students-features'
|
|
@@ -22,8 +22,6 @@ export const UnitTabs = ({ activeTab, tabs, onTabChange, ...props }: UnitTabsPro
|
|
|
22
22
|
KEYBOARD_UNITS_GROUPS_BY_LOCALE[locale]?.[activeTab.key as KeyboardUnitsGroupType]?.keys ||
|
|
23
23
|
MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS.keys
|
|
24
24
|
|
|
25
|
-
console.log(locale)
|
|
26
|
-
|
|
27
25
|
return (
|
|
28
26
|
<View style={styles.container}>
|
|
29
27
|
<TabGroup
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { KeyboardGroup, KeyboardType } from '../types/types'
|
|
2
2
|
import {
|
|
3
|
-
MATH_CURRENCY_DE_KEYBOARD_GROUP,
|
|
4
3
|
MATH_CURRENCY_SW_KEYBOARD_GROUP,
|
|
5
4
|
MATH_CURRENCY_UK_KEYBOARD_GROUP,
|
|
6
5
|
MATH_CURRENCY_US_KEYBOARD_GROUP,
|
|
@@ -99,20 +98,6 @@ export const KEYBOARD_GROUPS_BY_LOCALE: Record<Locale, Record<KeyboardType, Keyb
|
|
|
99
98
|
[KeyboardType.BasicTime]: MATH_TIME_SW_KEYBOARD_GROUP,
|
|
100
99
|
[KeyboardType.Numpad]: MATH_ENTRY_NUMBERS_SW_KEYBOARD_GROUP,
|
|
101
100
|
}),
|
|
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
|
-
}),
|
|
116
101
|
}
|
|
117
102
|
export const KEYBOARD_UNITS_GROUPS_BY_LOCALE: Record<
|
|
118
103
|
Locale,
|
|
@@ -134,10 +119,4 @@ export const KEYBOARD_UNITS_GROUPS_BY_LOCALE: Record<
|
|
|
134
119
|
[KeyboardUnitsGroupType.VOLUME]: MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS,
|
|
135
120
|
[KeyboardUnitsGroupType.WEIGHT]: MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS,
|
|
136
121
|
}),
|
|
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
|
-
}),
|
|
143
122
|
}
|
|
@@ -27,27 +27,12 @@ export const getRelativeTimeText = (date: Date) => {
|
|
|
27
27
|
const years = getYears(days)
|
|
28
28
|
|
|
29
29
|
if (seconds < 60) return getText('time.justNow')
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return getText('time.
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return getText('time.hoursAgo', { count: hours.toString() })
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
if (days < 30) {
|
|
42
|
-
if (days === 1) return `1 ${getText('time.dayAgo')}`
|
|
43
|
-
return getText('time.daysAgo', { count: days.toString() })
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
if (months < 12) {
|
|
47
|
-
if (months === 1) return `1 ${getText('time.monthAgo')}`
|
|
48
|
-
return getText('time.monthsAgo', { count: months.toString() })
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
if (years === 1) return `1 ${getText('time.yearAgo')}`
|
|
52
|
-
return getText('time.yearsAgo', { count: years.toString() })
|
|
30
|
+
if (minutes < 60)
|
|
31
|
+
return `${minutes} ${minutes === 1 ? getText('time.minuteAgo') : getText('time.minutesAgo')}`
|
|
32
|
+
if (hours < 24)
|
|
33
|
+
return `${hours} ${hours === 1 ? getText('time.hourAgo') : getText('time.hoursAgo')}`
|
|
34
|
+
if (days < 30) return `${days} ${days === 1 ? getText('time.dayAgo') : getText('time.daysAgo')}`
|
|
35
|
+
if (months < 12)
|
|
36
|
+
return `${months} ${months === 1 ? getText('time.monthAgo') : getText('time.monthsAgo')}`
|
|
37
|
+
return `${years} ${years === 1 ? getText('time.yearAgo') : getText('time.yearsAgo')}`
|
|
53
38
|
}
|