@magmamath/students-features 1.3.2-rc.4 → 1.3.2

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 (198) hide show
  1. package/dist/commonjs/features/chatbot/helpers.js +5 -1
  2. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
  5. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  6. package/dist/commonjs/features/keyboard/constants/groups/index.js +0 -11
  7. package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
  8. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +0 -2
  9. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  10. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +2 -8
  11. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  12. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +1 -86
  13. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  14. package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
  15. package/dist/commonjs/features/keyboard/types/types.js +0 -1
  16. package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
  17. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +3 -4
  18. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
  19. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +8 -12
  20. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  21. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +6 -11
  22. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  23. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +8 -12
  24. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  25. package/dist/module/features/chatbot/helpers.js +5 -1
  26. package/dist/module/features/chatbot/helpers.js.map +1 -1
  27. package/dist/module/features/chatbot/index.js.map +1 -1
  28. package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
  29. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  30. package/dist/module/features/keyboard/constants/groups/index.js +0 -1
  31. package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
  32. package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -3
  33. package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  34. package/dist/module/features/keyboard/constants/keyboardLayouts.js +2 -8
  35. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  36. package/dist/module/features/keyboard/constants/keys/geometry.constants.js +1 -86
  37. package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  38. package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
  39. package/dist/module/features/keyboard/types/types.js +0 -1
  40. package/dist/module/features/keyboard/types/types.js.map +1 -1
  41. package/dist/module/shared/icons/keyboard/AngleIcon.js +3 -4
  42. package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
  43. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +9 -13
  44. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  45. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +7 -12
  46. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  47. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +9 -13
  48. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  49. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  50. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  51. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  52. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  53. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
  54. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  55. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +0 -1
  56. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
  57. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  58. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
  59. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  60. package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  61. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +0 -1
  62. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
  63. package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  64. package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  65. package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  66. package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  67. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  68. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  69. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  70. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  71. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
  72. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  73. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +0 -1
  74. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
  75. package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  76. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
  77. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  78. package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  79. package/dist/typescript/module/features/keyboard/types/types.d.ts +0 -1
  80. package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
  81. package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  82. package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  83. package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  84. package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  85. package/package.json +1 -1
  86. package/src/features/chatbot/helpers.ts +2 -0
  87. package/src/features/chatbot/index.ts +9 -1
  88. package/src/features/chatbot/model/ChatBotModel.ts +7 -10
  89. package/src/features/chatbot/types/api.types.ts +11 -6
  90. package/src/features/keyboard/constants/groups/index.ts +0 -1
  91. package/src/features/keyboard/constants/keyboard.helpers.ts +0 -3
  92. package/src/features/keyboard/constants/keyboardLayouts.ts +2 -8
  93. package/src/features/keyboard/constants/keys/geometry.constants.tsx +1 -61
  94. package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
  95. package/src/features/keyboard/types/types.ts +0 -1
  96. package/src/shared/icons/keyboard/AngleIcon.tsx +2 -4
  97. package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +8 -5
  98. package/src/shared/icons/keyboard/LineSegmentIcon.tsx +7 -6
  99. package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +8 -5
  100. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -85
  101. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
  102. package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js +0 -41
  103. package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
  104. package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js +0 -12
  105. package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js.map +0 -1
  106. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +0 -11
  107. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
  108. package/dist/commonjs/shared/icons/GeometryIcon.js +0 -32
  109. package/dist/commonjs/shared/icons/GeometryIcon.js.map +0 -1
  110. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +0 -30
  111. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
  112. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +0 -29
  113. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +0 -1
  114. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +0 -29
  115. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +0 -1
  116. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +0 -29
  117. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +0 -1
  118. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +0 -42
  119. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
  120. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +0 -32
  121. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +0 -1
  122. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -78
  123. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
  124. package/dist/module/features/keyboard/components/GeometryLayout/helpers.js +0 -36
  125. package/dist/module/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
  126. package/dist/module/features/keyboard/components/GeometryLayout/types.js +0 -8
  127. package/dist/module/features/keyboard/components/GeometryLayout/types.js.map +0 -1
  128. package/dist/module/features/keyboard/constants/groups/geometry.constants.js +0 -7
  129. package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
  130. package/dist/module/shared/icons/GeometryIcon.js +0 -24
  131. package/dist/module/shared/icons/GeometryIcon.js.map +0 -1
  132. package/dist/module/shared/icons/keyboard/ImpliesIcon.js +0 -22
  133. package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
  134. package/dist/module/shared/icons/keyboard/LetterAIcon.js +0 -21
  135. package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +0 -1
  136. package/dist/module/shared/icons/keyboard/LetterBIcon.js +0 -21
  137. package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +0 -1
  138. package/dist/module/shared/icons/keyboard/LetterCIcon.js +0 -21
  139. package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +0 -1
  140. package/dist/module/shared/icons/keyboard/ThereforeIcon.js +0 -34
  141. package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
  142. package/dist/module/shared/icons/keyboard/TriangleIcon.js +0 -24
  143. package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +0 -1
  144. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
  145. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
  146. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
  147. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
  148. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
  149. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
  150. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
  151. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
  152. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +0 -4
  153. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +0 -1
  154. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
  155. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
  156. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
  157. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
  158. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
  159. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
  160. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
  161. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
  162. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
  163. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
  164. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
  165. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
  166. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
  167. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
  168. package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
  169. package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
  170. package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
  171. package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
  172. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
  173. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
  174. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +0 -4
  175. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +0 -1
  176. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
  177. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
  178. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
  179. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
  180. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
  181. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
  182. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
  183. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
  184. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
  185. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
  186. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
  187. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
  188. package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +0 -82
  189. package/src/features/keyboard/components/GeometryLayout/helpers.tsx +0 -46
  190. package/src/features/keyboard/components/GeometryLayout/types.ts +0 -4
  191. package/src/features/keyboard/constants/groups/geometry.constants.ts +0 -25
  192. package/src/shared/icons/GeometryIcon.tsx +0 -18
  193. package/src/shared/icons/keyboard/ImpliesIcon.tsx +0 -16
  194. package/src/shared/icons/keyboard/LetterAIcon.tsx +0 -14
  195. package/src/shared/icons/keyboard/LetterBIcon.tsx +0 -14
  196. package/src/shared/icons/keyboard/LetterCIcon.tsx +0 -14
  197. package/src/shared/icons/keyboard/ThereforeIcon.tsx +0 -15
  198. package/src/shared/icons/keyboard/TriangleIcon.tsx +0 -18
@@ -234,15 +234,6 @@ export class ChatbotModel {
234
234
  messages: [messagesHelper.createOwn({ message, translatedMessage })],
235
235
  })
236
236
 
237
- const chatHistory =
238
- context.assignmentId && context.problemId
239
- ? {
240
- exerciseId: context.assignmentId,
241
- problemId: context.problemId,
242
- chatVersion: alternatives?.version,
243
- }
244
- : undefined
245
-
246
237
  // Request is overridden by ThreadManager.postMessage (delegates to sendMessage/getHint)
247
238
  const response = await this.api.postMessageFx({
248
239
  answer: context.answer,
@@ -254,8 +245,14 @@ export class ChatbotModel {
254
245
  imageAltText: context.imageDescription,
255
246
  imageCdnId: context.imageCdnId,
256
247
  conversationId: cache[key].conversationId,
257
- chatHistory,
258
248
  ...(isFreeText && { freeTextMessage: message }),
249
+ ...(context.assignmentId && {
250
+ chatHistory: {
251
+ exerciseId: context.assignmentId,
252
+ problemId: context.problemId,
253
+ chatVersion: alternatives?.version,
254
+ },
255
+ }),
259
256
  })
260
257
 
261
258
  const thread = this.threadManager.get(key)
@@ -30,14 +30,15 @@ export type GetAlternativesResponse = {
30
30
  }
31
31
 
32
32
  export type SendMessagePayload = {
33
+ message: string
33
34
  problemDescription?: string
34
35
  problemStandards?: ProblemStandard[]
35
36
  correctAnswer?: string | string[]
36
37
  answerOptions?: string[]
37
38
  altText?: string
38
39
  language?: string
39
- message: string
40
40
  conversationId?: string
41
+ chatHistory?: ChatHistory
41
42
  }
42
43
 
43
44
  export type SendMessageResponse = {
@@ -45,6 +46,12 @@ export type SendMessageResponse = {
45
46
  conversationId?: string | null
46
47
  }
47
48
 
49
+ export type ChatHistory = {
50
+ exerciseId: string
51
+ problemId?: string
52
+ chatVersion?: string
53
+ }
54
+
48
55
  export type PostMessagePayload = {
49
56
  language: string
50
57
  problemAnswer: string[]
@@ -56,11 +63,7 @@ export type PostMessagePayload = {
56
63
  imageCdnId?: string
57
64
  freeTextMessage?: string
58
65
  conversationId?: string | null
59
- chatHistory?: {
60
- exerciseId: string
61
- problemId: string
62
- chatVersion?: string
63
- }
66
+ chatHistory?: ChatHistory
64
67
  }
65
68
 
66
69
  export type PostMessageResponse = {
@@ -134,6 +137,7 @@ export type ChatHintResponse = {
134
137
  errorCellIds?: string[]
135
138
  errorChars?: ErrorChar[]
136
139
  }
140
+
137
141
  export type ErrorSpottingPayload = {
138
142
  strokes: FullStrokeData[]
139
143
  problemDescription: string
@@ -141,6 +145,7 @@ export type ErrorSpottingPayload = {
141
145
  userAnswer: string | string[]
142
146
  hint: string
143
147
  }
148
+
144
149
  export type ErrorSpottingResponse = {
145
150
  highlightedStrokeIds: string[]
146
151
  }
@@ -3,7 +3,6 @@ export * from './basic.constants'
3
3
  export * from './basicPlus.constants'
4
4
  export * from './basicPlusPlus.constants'
5
5
  export * from './currency.constants'
6
- export * from './geometry.constants'
7
6
  export * from './numpad.constants'
8
7
  export * from './time.constants'
9
8
  export * from './underlined.constants'
@@ -18,7 +18,6 @@ import {
18
18
  KEYBOARD_BASIC_PLUS,
19
19
  KEYBOARD_BASIC_PLUS_PLUS,
20
20
  KEYBOARD_CURRENCY,
21
- KEYBOARD_GEOMETRY,
22
21
  KEYBOARD_LENGTH,
23
22
  KEYBOARD_NUMPAD,
24
23
  KEYBOARD_TIME,
@@ -45,7 +44,6 @@ const PRESET_DOT_MIXED: KeyboardPresetConfig = {
45
44
  [KeyboardType.BasicPlusPlusMobile]: KEYBOARD_BASIC_PLUS_PLUS.MOBILE_DOT,
46
45
  [KeyboardType.BasicUnits]: { keys: KEYBOARD_LENGTH.MIXED.keys[0] },
47
46
  [KeyboardType.AlgebraAdvanced]: KEYBOARD_ALGEBRA,
48
- [KeyboardType.Geometry]: KEYBOARD_GEOMETRY,
49
47
  [KeyboardType.Numpad]: KEYBOARD_NUMPAD.DOT,
50
48
  [KeyboardType.Underlined]: KEYBOARD_UNDERLINED,
51
49
  },
@@ -67,7 +65,6 @@ const PRESET_COMMA_METRIC: KeyboardPresetConfig = {
67
65
  [KeyboardType.BasicPlusPlusMobile]: KEYBOARD_BASIC_PLUS_PLUS.MOBILE_COMMA,
68
66
  [KeyboardType.BasicUnits]: { keys: KEYBOARD_LENGTH.METRIC.keys[0] },
69
67
  [KeyboardType.AlgebraAdvanced]: KEYBOARD_ALGEBRA,
70
- [KeyboardType.Geometry]: KEYBOARD_GEOMETRY,
71
68
  [KeyboardType.Numpad]: KEYBOARD_NUMPAD.COMMA,
72
69
  [KeyboardType.Underlined]: KEYBOARD_UNDERLINED,
73
70
  },
@@ -5,7 +5,6 @@ import { TimeBasicLayout } from '../components/BasicLayout/TimeBasicLayout'
5
5
  import { CurrencyBasicLayout } from '../components/BasicLayout/CurrencyBasicLayout'
6
6
  import { UnitsLayout } from '../components/UnitsLayout/UnitsLayout'
7
7
  import { BasicPlusPlusLayout } from '../components/BasicPlusPlusLayout/BasicPlusPlusLayout'
8
- import { GeometryLayout } from '../components/GeometryLayout/GeometryLayout'
9
8
  import { MyScriptMathCharacterTypes } from '../../../types/characterTypes'
10
9
  import { MOBILE_LAYOUT_WIDTH } from './keyboard.constants'
11
10
  import { KeyboardType } from '../types/types'
@@ -56,16 +55,11 @@ export const KEYBOARD_LAYOUTS = {
56
55
  },
57
56
  [KeyboardType.BasicPlusPlus]: {
58
57
  Component: BasicPlusPlusLayout,
59
- characterTypes: [] as MyScriptMathCharacterTypes[],
60
- mobileBreakpoint: 1220,
61
- },
62
- [KeyboardType.Geometry]: {
63
- Component: GeometryLayout,
64
58
  characterTypes: [
65
59
  MyScriptMathCharacterTypes.GEOM_ANGLES,
66
60
  MyScriptMathCharacterTypes.GEOM_COORDINATE,
67
61
  ],
68
- mobileBreakpoint: 1300,
62
+ mobileBreakpoint: 1220,
69
63
  },
70
64
  }
71
65
 
@@ -101,7 +95,7 @@ export function isBasicPlusPlusLayout(charType?: number) {
101
95
  }
102
96
 
103
97
  return (
104
- KEYBOARD_LAYOUTS[KeyboardType.Geometry].characterTypes.includes(charType) ||
98
+ KEYBOARD_LAYOUTS[KeyboardType.BasicPlusPlus].characterTypes.includes(charType) ||
105
99
  KEYBOARD_LAYOUTS[KeyboardType.AlgebraAdvanced].characterTypes.includes(charType)
106
100
  )
107
101
  }
@@ -5,15 +5,6 @@ import { DegreeIcon } from '../../../../shared/icons/keyboard/DegreeIcon'
5
5
  import { AngleIcon } from '../../../../shared/icons/keyboard/AngleIcon'
6
6
  import { ParallelIcon } from '../../../../shared/icons/keyboard/ParallelIcon'
7
7
  import { PerpendicularIcon } from '../../../../shared/icons/keyboard/PerpendicularIcon'
8
- import { TriangleIcon } from '../../../../shared/icons/keyboard/TriangleIcon'
9
- import { ThereforeIcon } from '../../../../shared/icons/keyboard/ThereforeIcon'
10
- import { ImpliesIcon } from '../../../../shared/icons/keyboard/ImpliesIcon'
11
- import { LineSegmentIcon } from '../../../../shared/icons/keyboard/LineSegmentIcon'
12
- import { RightDirectedSegmentIcon } from '../../../../shared/icons/keyboard/RightDirectedSegmentIcon'
13
- import { BidirectionalSegmentIcon } from '../../../../shared/icons/keyboard/BidirectionalSegmentIcon'
14
- import { LetterAIcon } from '../../../../shared/icons/keyboard/LetterAIcon'
15
- import { LetterBIcon } from '../../../../shared/icons/keyboard/LetterBIcon'
16
- import { LetterCIcon } from '../../../../shared/icons/keyboard/LetterCIcon'
17
8
  import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
18
9
 
19
10
  export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
@@ -23,7 +14,7 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
23
14
  katexValue: '°',
24
15
  },
25
16
  ANGLE: {
26
- icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
17
+ icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} />,
27
18
  mathliveValue: '\\angle',
28
19
  katexValue: '∠',
29
20
  },
@@ -54,55 +45,4 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
54
45
  },
55
46
  },
56
47
  },
57
- TRIANGLE: {
58
- icon: <TriangleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
59
- mathliveValue: '\\triangle',
60
- katexValue: '△',
61
- },
62
- THEREFORE: {
63
- icon: <ThereforeIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
64
- mathliveValue: '\\therefore',
65
- katexValue: '∴',
66
- },
67
- IMPLIES: {
68
- icon: <ImpliesIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
69
- mathliveValue: '\\Rightarrow',
70
- katexValue: '⇒',
71
- },
72
- LINE_SEGMENT: {
73
- icon: <LineSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
74
- mathliveValue: '\\overline{\\placeholder{}}',
75
- katexValue: 'LINE_SEGMENT',
76
- spreadsheetValue: 'LINE_SEGMENT',
77
- isSpecialSymbol: true,
78
- },
79
- RIGHT_DIRECTED_SEGMENT: {
80
- icon: <RightDirectedSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
81
- mathliveValue: '\\overrightarrow{\\placeholder{}}',
82
- katexValue: 'RIGHT_DIRECTED_SEGMENT',
83
- spreadsheetValue: 'RIGHT_DIRECTED_SEGMENT',
84
- isSpecialSymbol: true,
85
- },
86
- BIDIRECTIONAL_SEGMENT: {
87
- icon: <BidirectionalSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
88
- mathliveValue: '\\overleftrightarrow{\\placeholder{}}',
89
- katexValue: 'BIDIRECTIONAL_SEGMENT',
90
- spreadsheetValue: 'BIDIRECTIONAL_SEGMENT',
91
- isSpecialSymbol: true,
92
- },
93
- A: {
94
- icon: <LetterAIcon {...DEFAULT_KEY_ICON_PROPS} />,
95
- mathliveValue: '𝐴',
96
- katexValue: 'A',
97
- },
98
- B: {
99
- icon: <LetterBIcon {...DEFAULT_KEY_ICON_PROPS} />,
100
- mathliveValue: '𝐵',
101
- katexValue: 'B',
102
- },
103
- C: {
104
- icon: <LetterCIcon {...DEFAULT_KEY_ICON_PROPS} />,
105
- mathliveValue: '𝐶',
106
- katexValue: 'C',
107
- },
108
48
  } as const
@@ -7,19 +7,19 @@ import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
7
7
 
8
8
  export const MATH_TEXT_SYMBOLS: MathOperatorsGroup = {
9
9
  A: {
10
- label: 'A',
11
- mathliveValue: 'A',
12
- katexValue: 'A',
10
+ label: 'a',
11
+ mathliveValue: 'a',
12
+ katexValue: 'a',
13
13
  },
14
14
  B: {
15
- label: 'B',
16
- mathliveValue: 'B',
17
- katexValue: 'B',
15
+ label: 'b',
16
+ mathliveValue: 'b',
17
+ katexValue: 'b',
18
18
  },
19
19
  C: {
20
- label: 'C',
21
- mathliveValue: 'C',
22
- katexValue: 'C',
20
+ label: 'c',
21
+ mathliveValue: 'c',
22
+ katexValue: 'c',
23
23
  },
24
24
  F: {
25
25
  label: 'f',
@@ -23,7 +23,6 @@ export enum KeyboardType {
23
23
  BasicUnits = 'BasicUnits',
24
24
  BasicPlusPlus = 'BasicPlusPlus',
25
25
  BasicPlusPlusMobile = 'BasicPlusPlusMobile',
26
- Geometry = 'Geometry',
27
26
  Numpad = 'Numpad',
28
27
  Underlined = 'Underlined',
29
28
  }
@@ -2,13 +2,11 @@ import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
3
  import Svg, { Path } from 'react-native-svg'
4
4
 
5
- const ASPECT_RATIO = 20 / 18
6
-
7
5
  export const AngleIcon = ({ size = 20, color }: IconProps) => {
8
6
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
7
+ <Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
10
8
  <Path
11
- d="M11.841 3.87043C12.1077 3.5183 12.6099 3.44943 12.962 3.71614C13.3142 3.98288 13.384 4.48502 13.1173 4.83723L7.17238 12.6866C7.12249 12.7525 7.16947 12.847 7.25209 12.847H14.5587C15.0004 12.8471 15.3584 13.2051 15.3585 13.6468C15.3585 14.0885 15.0004 14.4465 14.5587 14.4466H5.44154C5.13785 14.4466 4.85992 14.2752 4.72474 14.0032C4.58961 13.7314 4.62065 13.4065 4.80384 13.1644L11.841 3.87043Z"
9
+ d="M8.94912 6.74144C9.20676 6.46187 9.63941 6.41761 9.9501 6.65062C10.2606 6.88377 10.3389 7.31141 10.1425 7.63695L10.0995 7.70043L6.49991 12.5002H10.9999C11.4141 12.5002 11.7499 12.836 11.7499 13.2502C11.7499 13.6644 11.4141 14.0002 10.9999 14.0002H4.99991C4.71583 14.0002 4.45605 13.8393 4.32901 13.5852C4.20219 13.3312 4.22994 13.0272 4.4003 12.8L8.9003 6.80004L8.94912 6.74144Z"
12
10
  fill={color}
13
11
  />
14
12
  </Svg>
@@ -1,17 +1,20 @@
1
1
  import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
- import Svg, { Path, Rect } from 'react-native-svg'
3
+ import Svg, { Path } from 'react-native-svg'
4
4
 
5
- const ASPECT_RATIO = 19 / 20
5
+ const ASPECT_RATIO = 20 / 21
6
6
 
7
7
  export const BidirectionalSegmentIcon = ({ size = 20, color }: IconProps) => {
8
8
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 19 20" fill="none">
9
+ <Svg width={size * ASPECT_RATIO} height={size} viewBox="0 0 20 21" fill="none">
10
10
  <Path
11
- d="M16.1464 1.52657C16.3173 1.35571 16.5813 1.33396 16.7754 1.46212L16.8535 1.52657L18.8535 3.52657L18.9179 3.6047C19.0461 3.79878 19.0243 4.06274 18.8535 4.23361L16.8535 6.23361C16.6582 6.42887 16.3417 6.42887 16.1464 6.23361C15.9512 6.03834 15.9512 5.72184 16.1464 5.52657L17.2929 4.38009H1.70699L2.85348 5.52657L2.91793 5.6047C3.0461 5.79878 3.02434 6.06274 2.85348 6.23361C2.68261 6.40447 2.41865 6.42622 2.22457 6.29806L2.14645 6.23361L0.146447 4.23361C-0.0488155 4.03834 -0.0488155 3.72184 0.146447 3.52657L2.14645 1.52657L2.22457 1.46212C2.41865 1.33396 2.68261 1.35571 2.85348 1.52657C3.02434 1.69744 3.0461 1.9614 2.91793 2.15548L2.85348 2.23361L1.70699 3.38009H17.2929L16.1464 2.23361L16.082 2.15548C15.9538 1.9614 15.9756 1.69744 16.1464 1.52657Z"
11
+ d="M16.6464 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.4179 2.22482C19.5461 2.4189 19.5243 2.68286 19.3535 2.85372L17.3535 4.85372C17.1582 5.04899 16.8417 5.04899 16.6464 4.85372C16.4512 4.65846 16.4512 4.34195 16.6464 4.14669L17.7929 3.00021H2.20699L3.35348 4.14669L3.41793 4.22482C3.5461 4.4189 3.52434 4.68286 3.35348 4.85372C3.18261 5.02459 2.91865 5.04634 2.72457 4.91818L2.64645 4.85372L0.646447 2.85372C0.451184 2.65846 0.451184 2.34195 0.646447 2.14669L2.64645 0.146692L2.72457 0.0822385C2.91865 -0.0459256 3.18261 -0.0241721 3.35348 0.146692C3.52434 0.317555 3.5461 0.581519 3.41793 0.775598L3.35348 0.853723L2.20699 2.00021H17.7929L16.6464 0.853723L16.582 0.775598C16.4538 0.581519 16.4756 0.317555 16.6464 0.146692Z"
12
+ fill={color}
13
+ />
14
+ <Path
15
+ d="M8.07948 17L7.70148 14.55H3.52948L2.01748 17H0.407484L6.55348 7.2H7.91149L9.52148 17H8.07948ZM4.32748 13.22H7.51948L6.87548 9.09L4.32748 13.22ZM16.4822 7.2C18.0922 7.2 18.8762 8.236 18.8762 9.342C18.8762 10.434 18.1762 11.54 16.8322 11.82C17.9662 12.128 18.4842 12.996 18.4842 13.906C18.4842 15.432 17.1402 17 14.8162 17H11.0502L13.3182 7.2H16.4822ZM12.7582 15.698H14.9842C16.3842 15.698 17.0562 14.788 17.0562 13.906C17.0562 13.164 16.4822 12.506 15.4042 12.506H13.5002L12.7582 15.698ZM13.7522 11.358H15.5722C16.7762 11.358 17.4482 10.49 17.4482 9.692C17.4482 8.95 16.9862 8.502 16.0202 8.502H14.4102L13.7522 11.358Z"
12
16
  fill={color}
13
17
  />
14
- <Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
15
18
  </Svg>
16
19
  )
17
20
  }
@@ -1,17 +1,18 @@
1
1
  import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
- import Svg, { Path, Rect } from 'react-native-svg'
4
-
5
- const ASPECT_RATIO = 19 / 20
3
+ import Svg, { Path } from 'react-native-svg'
6
4
 
7
5
  export const LineSegmentIcon = ({ size = 20, color }: IconProps) => {
8
6
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 19 20" fill="none">
7
+ <Svg width={size} height={size} viewBox="0 0 20 20" fill="none">
8
+ <Path
9
+ d="M19 1C19.2761 1 19.5 1.22386 19.5 1.5C19.5 1.77614 19.2761 2 19 2H1C0.723858 2 0.5 1.77614 0.5 1.5C0.5 1.22386 0.723858 1 1 1H19Z"
10
+ fill={color}
11
+ />
10
12
  <Path
11
- d="M18.5 3.37988C18.7761 3.37988 19 3.60374 19 3.87988C19 4.15603 18.7761 4.37988 18.5 4.37988H0.5C0.223858 4.37988 0 4.15603 0 3.87988C0 3.60374 0.223858 3.37988 0.5 3.37988H18.5Z"
13
+ d="M8.07948 16L7.70148 13.55H3.52948L2.01748 16H0.407484L6.55348 6.2H7.91149L9.52148 16H8.07948ZM4.32748 12.22H7.51948L6.87548 8.09L4.32748 12.22ZM16.4822 6.2C18.0922 6.2 18.8762 7.236 18.8762 8.342C18.8762 9.434 18.1762 10.54 16.8322 10.82C17.9662 11.128 18.4842 11.996 18.4842 12.906C18.4842 14.432 17.1402 16 14.8162 16H11.0502L13.3182 6.2H16.4822ZM12.7582 14.698H14.9842C16.3842 14.698 17.0562 13.788 17.0562 12.906C17.0562 12.164 16.4822 11.506 15.4042 11.506H13.5002L12.7582 14.698ZM13.7522 10.358H15.5722C16.7762 10.358 17.4482 9.49 17.4482 8.692C17.4482 7.95 16.9862 7.502 16.0202 7.502H14.4102L13.7522 10.358Z"
12
14
  fill={color}
13
15
  />
14
- <Rect x="4.88" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
15
16
  </Svg>
16
17
  )
17
18
  }
@@ -1,17 +1,20 @@
1
1
  import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
- import Svg, { Path, Rect } from 'react-native-svg'
3
+ import Svg, { Path } from 'react-native-svg'
4
4
 
5
- const ASPECT_RATIO = 19 / 20
5
+ const ASPECT_RATIO = 20 / 21
6
6
 
7
7
  export const RightDirectedSegmentIcon = ({ size = 20, color }: IconProps) => {
8
8
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 19 20" fill="none">
9
+ <Svg width={size * ASPECT_RATIO} height={size} viewBox="0 0 20 21" fill="none">
10
10
  <Path
11
- d="M16.1465 1.52657C16.3173 1.35571 16.5813 1.33396 16.7754 1.46212L16.8535 1.52657L18.8535 3.52657L18.918 3.6047C19.0461 3.79878 19.0244 4.06274 18.8535 4.23361L16.8535 6.23361C16.6583 6.42887 16.3417 6.42887 16.1465 6.23361C15.9512 6.03834 15.9512 5.72184 16.1465 5.52657L17.293 4.38009H0.5C0.223858 4.38009 0 4.15623 0 3.88009C0 3.60395 0.223858 3.38009 0.5 3.38009H17.293L16.1465 2.23361L16.082 2.15548C15.9539 1.9614 15.9756 1.69744 16.1465 1.52657Z"
11
+ d="M16.6465 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.418 2.22482C19.5461 2.4189 19.5244 2.68286 19.3535 2.85372L17.3535 4.85372C17.1583 5.04899 16.8417 5.04899 16.6465 4.85372C16.4512 4.65846 16.4512 4.34195 16.6465 4.14669L17.793 3.00021H1C0.723858 3.00021 0.5 2.77635 0.5 2.50021C0.5 2.22406 0.723858 2.00021 1 2.00021H17.793L16.6465 0.853723L16.582 0.775598C16.4539 0.581519 16.4756 0.317555 16.6465 0.146692Z"
12
+ fill={color}
13
+ />
14
+ <Path
15
+ d="M8.07948 17L7.70148 14.55H3.52948L2.01748 17H0.407484L6.55348 7.2H7.91149L9.52148 17H8.07948ZM4.32748 13.22H7.51948L6.87548 9.09L4.32748 13.22ZM16.4822 7.2C18.0922 7.2 18.8762 8.236 18.8762 9.342C18.8762 10.434 18.1762 11.54 16.8322 11.82C17.9662 12.128 18.4842 12.996 18.4842 13.906C18.4842 15.432 17.1402 17 14.8162 17H11.0502L13.3182 7.2H16.4822ZM12.7582 15.698H14.9842C16.3842 15.698 17.0562 14.788 17.0562 13.906C17.0562 13.164 16.4822 12.506 15.4042 12.506H13.5002L12.7582 15.698ZM13.7522 11.358H15.5722C16.7762 11.358 17.4482 10.49 17.4482 9.692C17.4482 8.95 16.9862 8.502 16.0202 8.502H14.4102L13.7522 11.358Z"
12
16
  fill={color}
13
17
  />
14
- <Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
15
18
  </Svg>
16
19
  )
17
20
  }
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.GeometryLayout = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _KeysList = require("../KeysList/KeysList.js");
9
- var _reactNative = require("react-native");
10
- var _reactNativeUi = require("@magmamath/react-native-ui");
11
- var _types = require("../../types/types.js");
12
- var _types2 = require("./types.js");
13
- var _helpers = require("../../helpers.js");
14
- var _helpers2 = require("./helpers.js");
15
- var _keyboardLayouts = require("../../constants/keyboardLayouts.js");
16
- var _jsxRuntime = require("react/jsx-runtime");
17
- 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); }
18
- 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; }
19
- const GeometryLayout = ({
20
- onLayoutChange,
21
- keys,
22
- ...props
23
- }) => {
24
- const [selectedLayout, setSelectedLayout] = (0, _react.useState)(_types2.SelectedLayout.BASIC);
25
- const {
26
- width
27
- } = (0, _reactNative.useWindowDimensions)();
28
- const selectOptions = (0, _helpers2.getSelectOptions)({
29
- selectedLayout,
30
- setSelectedLayout,
31
- onLayoutChange
32
- });
33
- const isDesktop = width > _keyboardLayouts.KEYBOARD_LAYOUTS[_types.KeyboardType.Geometry].mobileBreakpoint && !_reactNativeUi.IS_MOBILE;
34
- const keyboardGroups = (0, _react.useMemo)(() => {
35
- const geometry = (0, _helpers.getMainKeyboardGroup)(keys, _types.KeyboardType.Geometry);
36
- const basic = (0, _helpers.getMainKeyboardGroup)(keys, isDesktop ? _types.KeyboardType.BasicPlusPlus : _types.KeyboardType.BasicPlusPlusMobile);
37
- return new Map([[_types2.SelectedLayout.BASIC, basic], [_types2.SelectedLayout.GEOMETRY, geometry]]);
38
- }, [isDesktop, keys]);
39
- const currentKeys = keyboardGroups.get(selectedLayout)?.keys ?? [];
40
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
41
- style: styles.container,
42
- children: [isDesktop && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.SelectGroup, {
43
- numOfRows: 2,
44
- options: selectOptions,
45
- size: _reactNativeUi.SelectOptionSize.SMALL,
46
- style: {
47
- container: styles.optionContainer,
48
- option: {
49
- container: styles.option
50
- }
51
- },
52
- color: props.color,
53
- selectedOptions: [selectedLayout === _types2.SelectedLayout.BASIC ? selectOptions[0] : selectOptions[1]]
54
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
55
- keys: currentKeys,
56
- numOfRows: 3,
57
- ...props
58
- })]
59
- });
60
- };
61
- exports.GeometryLayout = GeometryLayout;
62
- const styles = _reactNative.StyleSheet.create({
63
- container: {
64
- display: 'flex',
65
- flexDirection: 'row',
66
- gap: _reactNativeUi.SPACING[400],
67
- paddingRight: _reactNativeUi.SPACING[400]
68
- },
69
- optionContainer: {
70
- flexGrow: 0,
71
- flexShrink: 0,
72
- flexBasis: _reactNativeUi.IS_MOBILE ? 60 : 'auto',
73
- width: 'auto',
74
- paddingRight: 18,
75
- borderRightWidth: 1,
76
- borderRightColor: _reactNativeUi.COLORS.NEUTRAL_3,
77
- maxWidth: 65,
78
- gap: 9
79
- },
80
- option: {
81
- flexBasis: 45,
82
- width: 44
83
- }
84
- });
85
- //# sourceMappingURL=GeometryLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_KeysList","_reactNative","_reactNativeUi","_types","_types2","_helpers","_helpers2","_keyboardLayouts","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GeometryLayout","onLayoutChange","keys","props","selectedLayout","setSelectedLayout","useState","SelectedLayout","BASIC","width","useWindowDimensions","selectOptions","getSelectOptions","isDesktop","KEYBOARD_LAYOUTS","KeyboardType","Geometry","mobileBreakpoint","IS_MOBILE","keyboardGroups","useMemo","geometry","getMainKeyboardGroup","basic","BasicPlusPlus","BasicPlusPlusMobile","Map","GEOMETRY","currentKeys","jsxs","View","style","styles","container","children","jsx","SelectGroup","numOfRows","options","size","SelectOptionSize","SMALL","optionContainer","option","color","selectedOptions","KeysList","exports","StyleSheet","create","display","flexDirection","gap","SPACING","paddingRight","flexGrow","flexShrink","flexBasis","borderRightWidth","borderRightColor","COLORS","NEUTRAL_3","maxWidth"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/GeometryLayout/GeometryLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAOA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAA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@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getSelectOptions = getSelectOptions;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNativeUi = require("@magmamath/react-native-ui");
9
- var _AlgebraIcon = require("../../../../shared/icons/AlgebraIcon.js");
10
- var _GeometryIcon = require("../../../../shared/icons/GeometryIcon.js");
11
- var _types = require("./types.js");
12
- var _jsxRuntime = require("react/jsx-runtime");
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- function getSelectOptions({
15
- selectedLayout,
16
- setSelectedLayout,
17
- onLayoutChange
18
- }) {
19
- return [{
20
- key: _types.SelectedLayout.BASIC,
21
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlgebraIcon.AlgebraIcon, {
22
- color: selectedLayout === _types.SelectedLayout.BASIC ? _reactNativeUi.COLORS.NEUTRAL_1 : _reactNativeUi.COLORS.NEUTRAL_9,
23
- size: 22
24
- }),
25
- onPressIn: () => {
26
- setSelectedLayout(_types.SelectedLayout.BASIC);
27
- onLayoutChange?.(false);
28
- }
29
- }, {
30
- key: _types.SelectedLayout.GEOMETRY,
31
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeometryIcon.GeometryIcon, {
32
- color: selectedLayout === _types.SelectedLayout.GEOMETRY ? _reactNativeUi.COLORS.NEUTRAL_1 : _reactNativeUi.COLORS.NEUTRAL_9,
33
- size: 16
34
- }),
35
- onPressIn: () => {
36
- setSelectedLayout(_types.SelectedLayout.GEOMETRY);
37
- onLayoutChange?.(true);
38
- }
39
- }];
40
- }
41
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_AlgebraIcon","_GeometryIcon","_types","_jsxRuntime","e","__esModule","default","getSelectOptions","selectedLayout","setSelectedLayout","onLayoutChange","key","SelectedLayout","BASIC","title","jsx","AlgebraIcon","color","COLORS","NEUTRAL_1","NEUTRAL_9","size","onPressIn","GEOMETRY","GeometryIcon"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/GeometryLayout/helpers.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAAwC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAQjC,SAASG,gBAAgBA,CAAC;EAC/BC,cAAc;EACdC,iBAAiB;EACjBC;AACqB,CAAC,EAAE;EACxB,OAAO,CACL;IACEC,GAAG,EAAEC,qBAAc,CAACC,KAAK;IACzBC,KAAK,eACH,IAAAX,WAAA,CAAAY,GAAA,EAACf,YAAA,CAAAgB,WAAW;MACVC,KAAK,EAAET,cAAc,KAAKI,qBAAc,CAACC,KAAK,GAAGK,qBAAM,CAACC,SAAS,GAAGD,qBAAM,CAACE,SAAU;MACrFC,IAAI,EAAE;IAAG,CACV,CACF;IACDC,SAAS,EAAEA,CAAA,KAAM;MACfb,iBAAiB,CAACG,qBAAc,CAACC,KAAK,CAAC;MACvCH,cAAc,GAAG,KAAK,CAAC;IACzB;EACF,CAAC,EACD;IACEC,GAAG,EAAEC,qBAAc,CAACW,QAAQ;IAC5BT,KAAK,eACH,IAAAX,WAAA,CAAAY,GAAA,EAACd,aAAA,CAAAuB,YAAY;MACXP,KAAK,EAAET,cAAc,KAAKI,qBAAc,CAACW,QAAQ,GAAGL,qBAAM,CAACC,SAAS,GAAGD,qBAAM,CAACE,SAAU;MACxFC,IAAI,EAAE;IAAG,CACV,CACF;IACDC,SAAS,EAAEA,CAAA,KAAM;MACfb,iBAAiB,CAACG,qBAAc,CAACW,QAAQ,CAAC;MAC1Cb,cAAc,GAAG,IAAI,CAAC;IACxB;EACF,CAAC,CACF;AACH","ignoreList":[]}
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SelectedLayout = void 0;
7
- let SelectedLayout = exports.SelectedLayout = /*#__PURE__*/function (SelectedLayout) {
8
- SelectedLayout["BASIC"] = "basic";
9
- SelectedLayout["GEOMETRY"] = "geometry";
10
- return SelectedLayout;
11
- }({});
12
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SelectedLayout","exports"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/GeometryLayout/types.ts"],"mappings":";;;;;;IAAYA,cAAc,GAAAC,OAAA,CAAAD,cAAA,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.KEYBOARD_GEOMETRY = void 0;
7
- var _index = require("../keys/index.js");
8
- const KEYBOARD_GEOMETRY = exports.KEYBOARD_GEOMETRY = {
9
- keys: [_index.MATH_GEOMETRY_SYMBOLS.ANGLE, _index.MATH_GEOMETRY_SYMBOLS.TRIANGLE, _index.MATH_GEOMETRY_SYMBOLS.THEREFORE, _index.MATH_GEOMETRY_SYMBOLS.IMPLIES, _index.MATH_BASIC_OPERATORS.SIMILARITY, _index.MATH_GEOMETRY_SYMBOLS.LINE_SEGMENT, _index.MATH_GEOMETRY_SYMBOLS.RIGHT_DIRECTED_SEGMENT, _index.MATH_GEOMETRY_SYMBOLS.BIDIRECTIONAL_SEGMENT, _index.MATH_GEOMETRY_SYMBOLS.PERPENDICULAR, _index.MATH_BASIC_OPERATORS.APPROXIMATELY_EQUAL, _index.MATH_GEOMETRY_SYMBOLS.A, _index.MATH_GEOMETRY_SYMBOLS.B, _index.MATH_GEOMETRY_SYMBOLS.C, _index.MATH_GEOMETRY_SYMBOLS.PARALLEL, _index.MATH_BASIC_OPERATORS.CONGRUENT]
10
- };
11
- //# sourceMappingURL=geometry.constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_index","require","KEYBOARD_GEOMETRY","exports","keys","MATH_GEOMETRY_SYMBOLS","ANGLE","TRIANGLE","THEREFORE","IMPLIES","MATH_BASIC_OPERATORS","SIMILARITY","LINE_SEGMENT","RIGHT_DIRECTED_SEGMENT","BIDIRECTIONAL_SEGMENT","PERPENDICULAR","APPROXIMATELY_EQUAL","A","B","C","PARALLEL","CONGRUENT"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/constants/groups/geometry.constants.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMO,MAAMC,iBAAgC,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAC9CE,IAAI,EAAE,CACJC,4BAAqB,CAACC,KAAK,EAC3BD,4BAAqB,CAACE,QAAQ,EAC9BF,4BAAqB,CAACG,SAAS,EAC/BH,4BAAqB,CAACI,OAAO,EAC7BC,2BAAoB,CAACC,UAAU,EAC/BN,4BAAqB,CAACO,YAAY,EAClCP,4BAAqB,CAACQ,sBAAsB,EAC5CR,4BAAqB,CAACS,qBAAqB,EAC3CT,4BAAqB,CAACU,aAAa,EACnCL,2BAAoB,CAACM,mBAAmB,EACxCX,4BAAqB,CAACY,CAAC,EACvBZ,4BAAqB,CAACa,CAAC,EACvBb,4BAAqB,CAACc,CAAC,EACvBd,4BAAqB,CAACe,QAAQ,EAC9BV,2BAAoB,CAACW,SAAS;AAElC,CAAC","ignoreList":[]}
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.GeometryIcon = 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 GeometryIcon = ({
14
- size = 16,
15
- color
16
- }) => {
17
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
18
- width: size,
19
- height: size,
20
- viewBox: "0 0 16 16",
21
- fill: "none",
22
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
23
- d: "M15.499 16.0009H14.998L15.499 15.4999V16.0009ZM0.399414 15.9902C0.204051 15.9502 0.0497107 15.7968 0.00976562 15.6015L0 15.5009V0.500901C9.37645e-05 0.0555518 0.538555 -0.167482 0.853516 0.147385L15.8525 15.1474C16.1674 15.4624 15.9444 16.0009 15.499 16.0009V15.4999L14.998 16.0009H0.5L0.399414 15.9902ZM1.59961 14.4003H12.8428L1.59961 3.15715V14.4003Z",
24
- fill: color
25
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
26
- d: "M5.09541 10.7012C5.20587 10.7012 5.29541 10.7907 5.29541 10.9012V13.5055C5.29541 13.616 5.20587 13.7055 5.09541 13.7055H4.20604C4.09558 13.7055 4.00604 13.616 4.00604 13.5055V12.1898C4.00604 12.0793 3.9165 11.9898 3.80604 11.9898H2.49108C2.38062 11.9898 2.29108 11.9002 2.29108 11.7898V10.9012C2.29108 10.7907 2.38062 10.7012 2.49108 10.7012H5.09541Z",
27
- fill: color
28
- })]
29
- });
30
- };
31
- exports.GeometryIcon = GeometryIcon;
32
- //# sourceMappingURL=GeometryIcon.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","GeometryIcon","size","color","jsxs","width","height","viewBox","fill","children","jsx","Path","d","exports"],"sourceRoot":"../../../../src","sources":["shared/icons/GeometryIcon.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,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