@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.
Files changed (83) hide show
  1. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +1 -5
  2. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  3. package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +0 -3
  4. package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  5. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +0 -1
  6. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
  7. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +0 -20
  8. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  9. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +0 -1
  10. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  11. package/dist/commonjs/lib/helpers/helpers.js +5 -28
  12. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  13. package/dist/commonjs/shared/translation/constants.js +1 -3
  14. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  15. package/dist/commonjs/shared/translation/localization/ca.json +5 -5
  16. package/dist/commonjs/shared/translation/localization/en.json +5 -5
  17. package/dist/commonjs/shared/translation/localization/gb.json +5 -5
  18. package/dist/commonjs/shared/translation/localization/sct.json +5 -5
  19. package/dist/commonjs/shared/translation/localization/sw.json +5 -5
  20. package/dist/commonjs/shared/translation/types.js +0 -1
  21. package/dist/commonjs/shared/translation/types.js.map +1 -1
  22. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +0 -4
  23. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  24. package/dist/module/features/keyboard/components/KeysList/KeysList.js +2 -4
  25. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  26. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +1 -2
  27. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
  28. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +1 -21
  29. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  30. package/dist/module/features/keyboard/types/keyboardGroupIds.js +0 -1
  31. package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  32. package/dist/module/lib/helpers/helpers.js +5 -28
  33. package/dist/module/lib/helpers/helpers.js.map +1 -1
  34. package/dist/module/shared/translation/constants.js +1 -3
  35. package/dist/module/shared/translation/constants.js.map +1 -1
  36. package/dist/module/shared/translation/localization/ca.json +5 -5
  37. package/dist/module/shared/translation/localization/en.json +5 -5
  38. package/dist/module/shared/translation/localization/gb.json +5 -5
  39. package/dist/module/shared/translation/localization/sct.json +5 -5
  40. package/dist/module/shared/translation/localization/sw.json +5 -5
  41. package/dist/module/shared/translation/types.js +0 -1
  42. package/dist/module/shared/translation/types.js.map +1 -1
  43. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
  44. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  45. package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
  46. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
  47. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  48. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
  49. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  50. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  51. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -42
  52. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  53. package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -2
  54. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  55. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
  56. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  57. package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
  58. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
  59. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  60. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
  61. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  62. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  63. package/dist/typescript/module/shared/translation/constants.d.ts +0 -42
  64. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  65. package/dist/typescript/module/shared/translation/types.d.ts +1 -2
  66. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  67. package/package.json +1 -1
  68. package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +0 -4
  69. package/src/features/keyboard/components/KeysList/KeysList.tsx +2 -6
  70. package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +1 -3
  71. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +0 -21
  72. package/src/features/keyboard/types/keyboardGroupIds.ts +0 -1
  73. package/src/lib/helpers/helpers.ts +8 -23
  74. package/src/shared/translation/constants.ts +0 -2
  75. package/src/shared/translation/localization/ca.json +5 -5
  76. package/src/shared/translation/localization/en.json +5 -5
  77. package/src/shared/translation/localization/gb.json +5 -5
  78. package/src/shared/translation/localization/sct.json +5 -5
  79. package/src/shared/translation/localization/sw.json +5 -5
  80. package/src/shared/translation/types.ts +0 -4
  81. package/dist/commonjs/shared/translation/localization/de.json +0 -42
  82. package/dist/module/shared/translation/localization/de.json +0 -42
  83. 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
- if (minutes === 1) return `1 ${getText('time.minuteAgo')}`;
27
- return getText('time.minutesAgo', {
28
- count: minutes.toString()
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","count"],"sourceRoot":"../../../../src","sources":["lib/helpers/helpers.ts"],"mappings":"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","ignoreList":[]}
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","DE","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;AACzC,OAAOC,EAAE,MAAM,wBAAwB;AAEvC,OAAO,MAAMC,oBAAoB,GAAG;EAClC,CAACP,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,GAAG;EACjB,CAACL,MAAM,CAACM,EAAE,GAAGA;AACf,CAAC","ignoreList":[]}
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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
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": "{{count}} minuter sedan",
6
+ "time.minutesAgo": "minuter sedan",
7
7
  "time.hourAgo": "timme sedan",
8
- "time.hoursAgo": "{{count}} timmar sedan",
8
+ "time.hoursAgo": "timmar sedan",
9
9
  "time.dayAgo": "dag sedan",
10
- "time.daysAgo": "{{count}} dagar sedan",
10
+ "time.daysAgo": "dagar sedan",
11
11
  "time.monthAgo": "månad sedan",
12
- "time.monthsAgo": "{{count}} månader sedan",
12
+ "time.monthsAgo": "månader sedan",
13
13
  "time.yearAgo": "år sedan",
14
- "time.yearsAgo": "{{count}} år sedan",
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",
@@ -6,7 +6,6 @@ export let Locale = /*#__PURE__*/function (Locale) {
6
6
  Locale["GB"] = "en-GB";
7
7
  Locale["CA"] = "en-CA";
8
8
  Locale["SCT"] = "en-SCT";
9
- Locale["DE"] = "de-DE";
10
9
  return Locale;
11
10
  }({});
12
11
 
@@ -1 +1 @@
1
- {"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;AAcA,WAAYA,MAAM,0BAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAAA,OAANA,MAAM;AAAA;;AASlB","ignoreList":[]}
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":[]}
@@ -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
@@ -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;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,EAGX,iBAAiB,EAElB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAGpE,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,sBAgCf,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAmBjB,CAAA"}
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,EAA+B,cAAc,EAAc,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,sBAqCjF,CAAA"}
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;AAuC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
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,WAAW,2BAA2B;IACtC,UAAU,0BAA0B;CACrC"}
1
+ {"version":3,"file":"keyboardGroupIds.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/keyboardGroupIds.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,eAAe,+BAA+B;IAC9C,sBAAsB,sCAAsC;IAC5D,kBAAkB,kCAAkC;IACpD,yBAAyB,yCAAyC;IAClE,aAAa,6BAA6B;IAC1C,oBAAoB,oCAAoC;IACxD,aAAa,6BAA6B;IAC1C,iBAAiB,iCAAiC;IAClD,OAAO,uBAAuB;IAC9B,UAAU,0BAA0B;IACpC,UAAU,0BAA0B;IACpC,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,KAAK,qBAAqB;IAC1B,QAAQ,wBAAwB;IAChC,OAAO,uBAAuB;IAC9B,OAAO,uBAAuB;IAC9B,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,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,WAsC7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,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":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA"}
@@ -8,7 +8,6 @@ export declare enum Locale {
8
8
  SW = "sv-SE",
9
9
  GB = "en-GB",
10
10
  CA = "en-CA",
11
- SCT = "en-SCT",
12
- DE = "de-DE"
11
+ SCT = "en-SCT"
13
12
  }
14
13
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;IACd,EAAE,UAAU;CACb"}
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
@@ -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;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,EAGX,iBAAiB,EAElB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAGpE,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,sBAgCf,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAmBjB,CAAA"}
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,EAA+B,cAAc,EAAc,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,sBAqCjF,CAAA"}
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;AAuC5D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAmC5F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAuCzF,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,MAAM,EACN,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAwBnD,CAAA"}
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,WAAW,2BAA2B;IACtC,UAAU,0BAA0B;CACrC"}
1
+ {"version":3,"file":"keyboardGroupIds.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/keyboardGroupIds.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,eAAe,+BAA+B;IAC9C,sBAAsB,sCAAsC;IAC5D,kBAAkB,kCAAkC;IACpD,yBAAyB,yCAAyC;IAClE,aAAa,6BAA6B;IAC1C,oBAAoB,oCAAoC;IACxD,aAAa,6BAA6B;IAC1C,iBAAiB,iCAAiC;IAClD,OAAO,uBAAuB;IAC9B,UAAU,0BAA0B;IACpC,UAAU,0BAA0B;IACpC,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,aAAa,6BAA6B;IAC1C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,eAAe,+BAA+B;IAC9C,KAAK,qBAAqB;IAC1B,QAAQ,wBAAwB;IAChC,OAAO,uBAAuB;IAC9B,OAAO,uBAAuB;IAC9B,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,WAAW,2BAA2B;IACtC,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,WAsC7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,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":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA"}
@@ -8,7 +8,6 @@ export declare enum Locale {
8
8
  SW = "sv-SE",
9
9
  GB = "en-GB",
10
10
  CA = "en-CA",
11
- SCT = "en-SCT",
12
- DE = "de-DE"
11
+ SCT = "en-SCT"
13
12
  }
14
13
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,GAAG,WAAW;IACd,EAAE,UAAU;CACb"}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmamath/students-features",
3
- "version": "0.9.93-rc.2",
3
+ "version": "0.9.93",
4
4
  "description": "Magmamath features library",
5
5
  "source": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -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, IS_MOBILE, TabGroup, TabOptionProps, TabVariant } from '@magmamath/react-native-ui'
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,6 +27,5 @@ export enum MathEntryKeyboardGroupId {
27
27
  CURRENCY_SW = 'math-entry-currency-sw',
28
28
  CURRENCY_UK = 'math-entry-currency-uk',
29
29
  CURRENCY_US = 'math-entry-currency-us',
30
- CURRENCY_DE = 'math-entry-currency-de',
31
30
  UNDERLINED = 'math-entry-underlined',
32
31
  }
@@ -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
- if (minutes < 60) {
32
- if (minutes === 1) return `1 ${getText('time.minuteAgo')}`
33
- return getText('time.minutesAgo', { count: minutes.toString() })
34
- }
35
-
36
- if (hours < 24) {
37
- if (hours === 1) return `1 ${getText('time.hourAgo')}`
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
  }