questionlayoutrefactoring 0.1.69 → 0.1.70

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 (66) hide show
  1. package/dist/components/Atoms/CustomButton/CustomButton.js +1 -1
  2. package/dist/components/Atoms/CustomButton/CustomButton.js.map +1 -1
  3. package/dist/components/Atoms/PrivacyTouchPoint/PrivacyTouchPoint.js +6 -6
  4. package/dist/components/Atoms/PrivacyTouchPoint/PrivacyTouchPoint.js.map +1 -1
  5. package/dist/components/Molecules/AccordianPay4/Accordian.js +14 -3
  6. package/dist/components/Molecules/AccordianPay4/Accordian.js.map +1 -1
  7. package/dist/components/Molecules/AccordianPay4/Accordian.stories.d.ts +1 -0
  8. package/dist/components/Molecules/AccordianPay4/Accordian.stories.js +11 -1
  9. package/dist/components/Molecules/AccordianPay4/Accordian.stories.js.map +1 -1
  10. package/dist/components/Molecules/HighChart/HighChart.js +1 -1
  11. package/dist/components/Molecules/HighChart/HighChart.js.map +1 -1
  12. package/dist/components/Molecules/HighChart/HighChartPie.js +1 -1
  13. package/dist/components/Molecules/HighChart/HighChartPie.js.map +1 -1
  14. package/dist/components/Molecules/SmartLearn/types.d.ts +2 -1
  15. package/dist/components/Molecules/Tutor/User/User.js +20 -3
  16. package/dist/components/Molecules/Tutor/User/User.js.map +1 -1
  17. package/dist/components/Molecules/Tutor/User/User.stories.d.ts +1 -0
  18. package/dist/components/Molecules/Tutor/User/User.stories.js +5 -1
  19. package/dist/components/Molecules/Tutor/User/User.stories.js.map +1 -1
  20. package/dist/components/Molecules/VideoView/VideoModal.js +1 -1
  21. package/dist/components/Molecules/VideoView/VideoModal.js.map +1 -1
  22. package/dist/components/Molecules/WallBanner/WallBanner.js +1 -1
  23. package/dist/components/Molecules/WallBanner/WallBanner.js.map +1 -1
  24. package/dist/components/Molecules/WallCard/WallCard.js +5 -5
  25. package/dist/components/Molecules/WallCard/WallCard.js.map +1 -1
  26. package/dist/components/Molecules/optionLayouts/Scq.js +7 -7
  27. package/dist/components/Molecules/optionLayouts/Scq.js.map +1 -1
  28. package/dist/components/Organisms/ActivityList/ActivityList.js +2 -2
  29. package/dist/components/Organisms/ActivityList/ActivityList.js.map +1 -1
  30. package/dist/components/Organisms/ReviewComponent/reviewUtils.js +2 -2
  31. package/dist/components/Organisms/ReviewComponent/reviewUtils.js.map +1 -1
  32. package/dist/components/Organisms/ReviewComponent/selectionUtils.d.ts +53 -9
  33. package/dist/components/Organisms/ReviewComponent/selectionUtils.js +112 -75
  34. package/dist/components/Organisms/ReviewComponent/selectionUtils.js.map +1 -1
  35. package/dist/components/Organisms/StudentEditor/StudentEditor.stories.d.ts +1 -0
  36. package/dist/components/Organisms/StudentEditor/StudentEditor.stories.js +43 -1
  37. package/dist/components/Organisms/StudentEditor/StudentEditor.stories.js.map +1 -1
  38. package/dist/components/Organisms/StudentEditor/components/MathKeyboard.d.ts +3 -2
  39. package/dist/components/Organisms/StudentEditor/components/MathKeyboard.js +55 -25
  40. package/dist/components/Organisms/StudentEditor/components/MathKeyboard.js.map +1 -1
  41. package/dist/components/Organisms/StudentEditor/components/MathKeyboardSME.d.ts +10 -0
  42. package/dist/components/Organisms/StudentEditor/components/MathKeyboardSME.js +93 -0
  43. package/dist/components/Organisms/StudentEditor/components/MathKeyboardSME.js.map +1 -0
  44. package/dist/components/Organisms/StudentEditor/components/MathModal.d.ts +3 -2
  45. package/dist/components/Organisms/StudentEditor/components/MathModal.js +93 -80
  46. package/dist/components/Organisms/StudentEditor/components/MathModal.js.map +1 -1
  47. package/dist/components/Organisms/StudentEditor/components/MathModalSME.d.ts +10 -0
  48. package/dist/components/Organisms/StudentEditor/components/MathModalSME.js +395 -0
  49. package/dist/components/Organisms/StudentEditor/components/MathModalSME.js.map +1 -0
  50. package/dist/components/Organisms/StudentEditor/components/TextEditor.js +5 -4
  51. package/dist/components/Organisms/StudentEditor/components/TextEditor.js.map +1 -1
  52. package/dist/components/Organisms/StudentEditor/components/mathModalStyles.d.ts +6 -0
  53. package/dist/components/Organisms/StudentEditor/components/mathModalStyles.js +10 -2
  54. package/dist/components/Organisms/StudentEditor/components/mathModalStyles.js.map +1 -1
  55. package/dist/components/Organisms/StudentEditor/utils/keyboard-config.d.ts +2115 -135
  56. package/dist/components/Organisms/StudentEditor/utils/keyboard-config.js +771 -379
  57. package/dist/components/Organisms/StudentEditor/utils/keyboard-config.js.map +1 -1
  58. package/dist/components/Organisms/StudentEditor/utils/keyboardConstants.d.ts +1779 -0
  59. package/dist/components/Organisms/StudentEditor/utils/keyboardConstants.js +1447 -0
  60. package/dist/components/Organisms/StudentEditor/utils/keyboardConstants.js.map +1 -0
  61. package/dist/components/Organisms/TableComponent/TableComponent.js +2 -2
  62. package/dist/components/Organisms/TableComponent/TableComponent.js.map +1 -1
  63. package/dist/utils/accordionConstants.d.ts +2 -0
  64. package/dist/utils/accordionConstants.js +2 -0
  65. package/dist/utils/accordionConstants.js.map +1 -1
  66. package/package.json +1 -1
@@ -1,485 +1,877 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getKeypadMapping = exports.abcKeyboardLower = exports.abcKeyboard = exports.greekKeyboardUpper = exports.greekKeyboardLower = exports.chemBasicKeyboard = exports.variablesKeyboard = exports.trigKeyboard = exports.symbolsKeyboard = exports.numericKeyboard = void 0;
3
+ exports.profileKeyboards = exports.physicsKeyboard = exports.chemistryKeyboard = exports.complexNumbersKeyboard = exports.matricesVectorsKeyboard = exports.statsProbabilityKeyboard = exports.calculusKeyboard = exports.trigonometryKeyboard = exports.coordinateGeometryKeyboard = exports.geometryKeyboard = exports.algebraFinanceKeyboard = exports.numbersSetsKeyboard = exports.KEYBOARD_PROFILES = exports.universalKeyboard = exports.generalKeyboardMobile = exports.generalKeyboard = exports.abcKeyboardLower = exports.abcKeyboard = exports.greekKeyboardUpper = exports.greekKeyboardLower = exports.chemBasicKeyboard = exports.variablesKeyboard = exports.trigKeyboard = exports.symbolsKeyboard = exports.numericKeyboard = void 0;
4
+ // Import keyboard constants to eliminate duplication
5
+ const keyboardConstants_1 = require("./keyboardConstants");
4
6
  exports.numericKeyboard = [
5
7
  // Row 1
6
8
  [
7
- { label: '7', value: '7' },
8
- { label: '8', value: '8' },
9
- { label: '9', value: '9' },
10
- { label: '\\%', value: '\\%', isShortcut: true, description: 'Percent symbol' },
11
- { label: '+', value: '+' },
12
- { label: '-', value: '-' }
9
+ keyboardConstants_1.NUMBERS.SEVEN,
10
+ keyboardConstants_1.NUMBERS.EIGHT,
11
+ keyboardConstants_1.NUMBERS.NINE,
12
+ keyboardConstants_1.SPECIAL_SYMBOLS.PERCENT,
13
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
14
+ keyboardConstants_1.BASIC_OPERATIONS.MINUS,
13
15
  ],
14
16
  // Row 2
15
17
  [
16
- { label: '4', value: '4' },
17
- { label: '5', value: '5' },
18
- { label: '6', value: '6' },
19
- { label: '\\frac{\\Box}{\\Box}', value: '\\frac{a}{b}', isShortcut: true, description: 'Fraction' },
20
- { label: '\\times', value: '\\times', isShortcut: true, description: 'Multiplication' },
21
- { label: '\\div', value: '\\div', isShortcut: true, description: 'Division' }
18
+ keyboardConstants_1.NUMBERS.FOUR,
19
+ keyboardConstants_1.NUMBERS.FIVE,
20
+ keyboardConstants_1.NUMBERS.SIX,
21
+ keyboardConstants_1.MATH_STRUCTURES.FRACTION,
22
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
23
+ keyboardConstants_1.BASIC_OPERATIONS.DIVIDE,
22
24
  ],
23
25
  // Row 3
24
26
  [
25
- { label: '1', value: '1' },
26
- { label: '2', value: '2' },
27
- { label: '3', value: '3' },
28
- { label: '\\degree', value: '\\degree', isShortcut: true, description: 'Degree symbol' },
29
- { label: '(', value: '(' },
30
- { label: ')', value: ')' },
27
+ keyboardConstants_1.NUMBERS.ONE,
28
+ keyboardConstants_1.NUMBERS.TWO,
29
+ keyboardConstants_1.NUMBERS.THREE,
30
+ keyboardConstants_1.SPECIAL_SYMBOLS.DEGREE,
31
+ keyboardConstants_1.BRACKETS.PARENTHESES_OPEN,
32
+ keyboardConstants_1.BRACKETS.PARENTHESES_CLOSE,
31
33
  ],
32
34
  // Row 4
33
35
  [
34
- { label: '0', value: '0' },
35
- { label: '.', value: '.' },
36
- { label: '(-)', value: '-' },
37
- { label: '≈', value: '\\approx', isShortcut: true, description: 'Approximately equal' },
38
- { label: '\\sim', value: '\\sim', isShortcut: true, description: 'Similar to' },
39
- { label: '⇔', value: '\\Leftrightarrow', isShortcut: true, description: 'If and only if' },
36
+ keyboardConstants_1.NUMBERS.ZERO,
37
+ keyboardConstants_1.BASIC_OPERATIONS.DECIMAL,
38
+ keyboardConstants_1.BASIC_OPERATIONS.NEGATIVE,
39
+ keyboardConstants_1.COMPARISON_OPERATORS.APPROXIMATELY,
40
+ keyboardConstants_1.COMPARISON_OPERATORS.SIMILAR,
41
+ keyboardConstants_1.COMPARISON_OPERATORS.IFF,
40
42
  ],
41
43
  //Row 5
42
44
  [
43
- { label: '\\{\\}', value: '\\{\\}', isShortcut: true, description: 'Curly braces' },
44
- { label: '[ \\, ]', value: '[\\,]', isShortcut: true, description: 'Square brackets' },
45
- { label: '⟦⟧', value: '[[ \\,\\, ]]', isShortcut: true, description: 'Double brackets' },
46
- { label: '≡', value: '\\equiv', isShortcut: true, description: 'Equivalent to' },
47
- { label: '≅', value: '\\cong', isShortcut: true, description: 'Congruent to' },
48
- { label: '\\backslash', value: '\\', mode: 'keystore' },
49
- ],
50
- [
51
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
52
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
53
- { label: '', value: '' },
54
- { label: '', value: '' },
55
- { label: '\\text{⌫}', value: 'backspace' },
56
- { label: '\\text{⏎}', value: 'enter' },
57
- ]
45
+ keyboardConstants_1.BRACKETS.CURLY_BRACES,
46
+ keyboardConstants_1.BRACKETS.SQUARE_BRACKETS,
47
+ keyboardConstants_1.BRACKETS.DOUBLE_BRACKETS,
48
+ keyboardConstants_1.COMPARISON_OPERATORS.EQUIVALENT,
49
+ keyboardConstants_1.COMPARISON_OPERATORS.CONGRUENT,
50
+ keyboardConstants_1.SPECIAL_SYMBOLS.BACKSLASH,
51
+ ],
52
+ [
53
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
54
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
55
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
56
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
57
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
58
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
59
+ ],
58
60
  ];
59
61
  exports.symbolsKeyboard = [
60
62
  // Row 1
61
63
  [
62
- { label: '\\square^2', value: 'x^2', isShortcut: true, description: 'Square/Power of 2' },
63
- { label: '\\square^\\Box', value: 'x^{a}', isShortcut: true, description: 'Power/Superscript' },
64
- { label: '\\sqrt{\\square}', value: '\\sqrt{x}', isShortcut: true, description: 'Square root' },
65
- { label: '\\sqrt[\\Box]{\\square}', value: '\\sqrt[n]{x}', isShortcut: true, description: 'nth root' },
66
- { label: '+', value: '+' },
67
- { label: '-', value: '-' }
64
+ keyboardConstants_1.MATH_STRUCTURES.POWER_SQUARE,
65
+ keyboardConstants_1.MATH_STRUCTURES.POWER,
66
+ keyboardConstants_1.MATH_STRUCTURES.SQUARE_ROOT,
67
+ keyboardConstants_1.MATH_STRUCTURES.NTH_ROOT,
68
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
69
+ keyboardConstants_1.BASIC_OPERATIONS.MINUS,
68
70
  ],
69
71
  // Row 2
70
72
  [
71
- { label: '\\text{log}', value: '\\text{log}', isShortcut: true, description: 'Logarithm' },
72
- { label: '\\text{log}_\\Box', value: '\\text{log}_x', isShortcut: true, description: 'Logarithm base x' },
73
- { label: '\\text{ln}', value: '\\text{ln}', isShortcut: true, description: 'Natural logarithm' },
74
- { label: '\\frac{\\square}{\\square}', value: '\\frac{a}{b}', isShortcut: true, description: 'Fraction' },
75
- { label: '\\times', value: '\\times', isShortcut: true, description: 'Multiplication' },
76
- { label: '\\div', value: '\\div', isShortcut: true, description: 'Division' }
73
+ keyboardConstants_1.LOGARITHMIC.LOG,
74
+ keyboardConstants_1.LOGARITHMIC.LOG_BASE,
75
+ keyboardConstants_1.LOGARITHMIC.LN,
76
+ keyboardConstants_1.MATH_STRUCTURES.FRACTION_ALT,
77
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
78
+ keyboardConstants_1.BASIC_OPERATIONS.DIVIDE,
77
79
  ],
78
80
  // Row 3
79
81
  [
80
- { label: '=', value: '=' },
81
- { label: '<', value: '<' },
82
- { label: '>', value: '>' },
83
- { label: '∈', value: '\\in', isShortcut: true, description: 'Element of/Belongs to' },
84
- { label: '(', value: '(' },
85
- { label: ')', value: ')' },
82
+ keyboardConstants_1.BASIC_OPERATIONS.EQUALS,
83
+ keyboardConstants_1.BASIC_OPERATIONS.LESS_THAN,
84
+ keyboardConstants_1.BASIC_OPERATIONS.GREATER_THAN,
85
+ keyboardConstants_1.COMPARISON_OPERATORS.ELEMENT_OF,
86
+ keyboardConstants_1.BRACKETS.PARENTHESES_OPEN,
87
+ keyboardConstants_1.BRACKETS.PARENTHESES_CLOSE,
86
88
  ],
87
89
  // Row 4
88
90
  [
89
- { label: '\\neq', value: '\\neq', isShortcut: true, description: 'Not equal' },
90
- { label: '\\leq', value: '\\leq', isShortcut: true, description: 'Less than or equal' },
91
- { label: '\\geq', value: '\\geq', isShortcut: true, description: 'Greater than or equal' },
92
- { label: '∉', value: '\\notin', isShortcut: true, description: 'Not element of' },
93
- { label: '⊈', value: '\\not\\subseteq', isShortcut: true, description: 'Not subset of' },
94
- { label: '∞', value: '\\infty', isShortcut: true, description: 'Infinity' }
95
- ],
96
- [
97
- { label: '⇒', value: '\\Rightarrow', isShortcut: true, description: 'Implies' },
98
- { label: '\\nparallel', value: '\\nparallel', isShortcut: true, description: 'Not parallel to' },
99
- { label: '\\parallel', value: '\\parallel', isShortcut: true, description: 'Parallel to' },
100
- { label: '⊥', value: '\\perp', isShortcut: true, description: 'Perpendicular to' },
101
- { label: '', value: '' },
102
- { label: '', value: '' },
103
- ],
104
- [
105
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
106
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
107
- { label: '', value: '' },
108
- { label: '', value: '' },
109
- { label: '\\text{⌫}', value: 'backspace' },
110
- { label: '\\text{⏎}', value: 'enter' },
111
- ]
91
+ keyboardConstants_1.COMPARISON_OPERATORS.NOT_EQUAL,
92
+ keyboardConstants_1.COMPARISON_OPERATORS.LESS_EQUAL,
93
+ keyboardConstants_1.COMPARISON_OPERATORS.GREATER_EQUAL,
94
+ keyboardConstants_1.COMPARISON_OPERATORS.NOT_ELEMENT_OF,
95
+ keyboardConstants_1.COMPARISON_OPERATORS.NOT_SUBSET,
96
+ keyboardConstants_1.COMPARISON_OPERATORS.INFINITY,
97
+ ],
98
+ [
99
+ keyboardConstants_1.COMPARISON_OPERATORS.IMPLIES,
100
+ keyboardConstants_1.COMPARISON_OPERATORS.NOT_PARALLEL,
101
+ keyboardConstants_1.COMPARISON_OPERATORS.PARALLEL,
102
+ keyboardConstants_1.COMPARISON_OPERATORS.PERPENDICULAR,
103
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
104
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
105
+ ],
106
+ [
107
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
108
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
109
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
110
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
111
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
112
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
113
+ ],
112
114
  ];
113
115
  exports.trigKeyboard = [
114
116
  // Row 1
115
117
  [
116
- { label: '\\sin', value: '\\sin', isShortcut: true, description: 'Sine function' },
117
- { label: '\\cos', value: '\\cos', isShortcut: true, description: 'Cosine function' },
118
- { label: '\\tan', value: '\\tan', isShortcut: true, description: 'Tangent function' },
119
- { label: '\\frac{\\square}{\\square}', value: '\\frac{a}{b}', isShortcut: true, description: 'Fraction' },
120
- { label: '+', value: '+' },
121
- { label: '-', value: '-' }
118
+ keyboardConstants_1.TRIGONOMETRIC.SIN,
119
+ keyboardConstants_1.TRIGONOMETRIC.COS,
120
+ keyboardConstants_1.TRIGONOMETRIC.TAN,
121
+ keyboardConstants_1.MATH_STRUCTURES.FRACTION_ALT,
122
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
123
+ keyboardConstants_1.BASIC_OPERATIONS.MINUS,
122
124
  ],
123
125
  // Row 2
124
126
  [
125
- { label: '\\sin^{-1}', value: '\\sin^{-1}', isShortcut: true, description: 'Inverse sine (arcsine)' },
126
- { label: '\\cos^{-1}', value: '\\cos^{-1}', isShortcut: true, description: 'Inverse cosine (arccosine)' },
127
- { label: '\\tan^{-1}', value: '\\tan^{-1}', isShortcut: true, description: 'Inverse tangent (arctangent)' },
128
- { label: '∠', value: '\\angle', isShortcut: true, description: 'Angle symbol' },
129
- { label: '\\times', value: '\\times', isShortcut: true, description: 'Multiplication' },
130
- { label: '\\div', value: '\\div', isShortcut: true, description: 'Division' }
127
+ keyboardConstants_1.TRIGONOMETRIC.ARCSIN,
128
+ keyboardConstants_1.TRIGONOMETRIC.ARCCOS,
129
+ keyboardConstants_1.TRIGONOMETRIC.ARCTAN,
130
+ keyboardConstants_1.SPECIAL_SYMBOLS.ANGLE,
131
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
132
+ keyboardConstants_1.BASIC_OPERATIONS.DIVIDE,
131
133
  ],
132
134
  // Row 3
133
135
  [
134
- { label: '\\sec', value: '\\sec', isShortcut: true, description: 'Secant function' },
135
- { label: '\\csc', value: '\\csc', isShortcut: true, description: 'Cosecant function' },
136
- { label: '\\cot', value: '\\cot', isShortcut: true, description: 'Cotangent function' },
137
- { label: '', value: '' },
138
- { label: '(', value: '(' },
139
- { label: ')', value: ')' },
136
+ keyboardConstants_1.TRIGONOMETRIC.SEC,
137
+ keyboardConstants_1.TRIGONOMETRIC.CSC,
138
+ keyboardConstants_1.TRIGONOMETRIC.COT,
139
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
140
+ keyboardConstants_1.BRACKETS.PARENTHESES_OPEN,
141
+ keyboardConstants_1.BRACKETS.PARENTHESES_CLOSE,
140
142
  ],
141
143
  [
142
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
143
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
144
- { label: '', value: '' },
145
- { label: '', value: '' },
146
- { label: '\\text{⌫}', value: 'backspace' },
147
- { label: '\\text{⏎}', value: 'enter' },
144
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
145
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
146
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
147
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
148
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
149
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
148
150
  ],
149
151
  // Row 4
150
152
  [
151
- { label: '', value: '' },
152
- { label: '', value: '' },
153
- { label: '', value: '' },
154
- { label: '', value: '' },
155
- { label: '', value: '' },
156
- { label: '', value: '' },
157
- ],
158
- [
159
- { label: '', value: '' },
160
- { label: '', value: '' },
161
- { label: '', value: '' },
162
- { label: '', value: '' },
163
- { label: '', value: '' },
164
- { label: '', value: '' },
165
- ]
153
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
154
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
155
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
156
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
157
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
158
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
159
+ ],
160
+ [
161
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
162
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
163
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
164
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
165
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
166
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
167
+ ],
166
168
  ];
167
169
  exports.variablesKeyboard = [
168
170
  // Row 1
169
171
  [
170
- { label: 'x', value: 'x' },
171
- { label: 'y', value: 'y' },
172
- { label: '\\pi', value: '\\pi', isShortcut: true, description: 'Pi (3.14159...)' },
173
- { label: '\\frac{\\square}{\\square}', value: '\\frac{a}{b}', isShortcut: true, description: 'Fraction' },
174
- { label: '+', value: '+' },
175
- { label: '-', value: '-' }
172
+ keyboardConstants_1.LETTERS_LOWER.x_plain,
173
+ keyboardConstants_1.LETTERS_LOWER.y_plain,
174
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI_ALT,
175
+ keyboardConstants_1.MATH_STRUCTURES.FRACTION_ALT,
176
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
177
+ keyboardConstants_1.BASIC_OPERATIONS.MINUS,
176
178
  ],
177
179
  // Row 2
178
180
  [
179
- { label: '\\theta', value: '\\theta', isShortcut: true, description: 'Greek theta' },
180
- { label: '\\alpha', value: '\\alpha', isShortcut: true, description: 'Greek alpha' },
181
- { label: '\\beta', value: '\\beta', isShortcut: true, description: 'Greek beta' },
182
- { label: 'Σ', value: '\\Sigma', isShortcut: true, description: 'Greek Sigma (summation)' },
183
- { label: '\\times', value: '\\times', isShortcut: true, description: 'Multiplication' },
184
- { label: '\\div', value: '\\div', isShortcut: true, description: 'Division' }
181
+ keyboardConstants_1.GREEK_LETTERS_LOWER.THETA,
182
+ keyboardConstants_1.GREEK_LETTERS_LOWER.ALPHA,
183
+ keyboardConstants_1.GREEK_LETTERS_LOWER.BETA,
184
+ keyboardConstants_1.GREEK_LETTERS_UPPER.SIGMA,
185
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
186
+ keyboardConstants_1.BASIC_OPERATIONS.DIVIDE,
185
187
  ],
186
188
  // Row 3
187
189
  [
188
- { label: 'a', value: 'a' },
189
- { label: 'b', value: 'b' },
190
- { label: 'c', value: 'c' },
191
- { label: 'σ', value: '\\sigma', isShortcut: true, description: 'Greek sigma (lowercase)' },
192
- { label: '(', value: '(' },
193
- { label: ')', value: ')' },
190
+ keyboardConstants_1.LETTERS_LOWER.a_plain,
191
+ keyboardConstants_1.LETTERS_LOWER.b_plain,
192
+ keyboardConstants_1.LETTERS_LOWER.c_plain,
193
+ keyboardConstants_1.GREEK_LETTERS_LOWER.SIGMA,
194
+ keyboardConstants_1.BRACKETS.PARENTHESES_OPEN,
195
+ keyboardConstants_1.BRACKETS.PARENTHESES_CLOSE,
194
196
  ],
195
197
  [
196
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
197
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
198
- { label: '', value: '' },
199
- { label: '', value: '' },
200
- { label: '\\text{⌫}', value: 'backspace' },
201
- { label: '\\text{⏎}', value: 'enter' },
198
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
199
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
200
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
201
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
202
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
203
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
202
204
  ],
203
205
  [
204
- { label: '', value: '' },
205
- { label: '', value: '' },
206
- { label: '', value: '' },
207
- { label: '', value: '' },
208
- { label: '', value: '' },
209
- { label: '', value: '' },
206
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
207
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
208
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
209
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
210
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
211
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
210
212
  ],
211
213
  [
212
- { label: '', value: '' },
213
- { label: '', value: '' },
214
- { label: '', value: '' },
215
- { label: '', value: '' },
216
- { label: '', value: '' },
217
- { label: '', value: '' },
214
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
215
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
216
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
217
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
218
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
219
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
218
220
  ],
219
221
  ];
220
222
  exports.chemBasicKeyboard = [
221
223
  // Row 1 - Chemical bonds and operations
222
224
  [
223
- { label: '-', value: '-' },
224
- { label: '=', value: '=' },
225
- { label: '\\equiv', value: '\\equiv', isShortcut: true, description: 'Triple bond' },
226
- { label: '\\cdot', value: '\\cdot', isShortcut: true, description: 'Dot (hydration/coordination)' },
227
- { label: '+', value: '+' },
228
- { label: '\\Delta', value: '\\Delta', isShortcut: true, description: 'Heat/Temperature change' }
225
+ keyboardConstants_1.CHEMISTRY.SINGLE_BOND,
226
+ keyboardConstants_1.CHEMISTRY.DOUBLE_BOND,
227
+ keyboardConstants_1.CHEMISTRY.TRIPLE_BOND,
228
+ keyboardConstants_1.CHEMISTRY.DOT,
229
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
230
+ keyboardConstants_1.CHEMISTRY.HEAT,
229
231
  ],
230
232
  // Row 2 - Subscripts and charges
231
233
  [
232
- { label: '_{1}', value: '_{1}', isShortcut: true, description: 'Subscript 1' },
233
- { label: '_{2}', value: '_{2}', isShortcut: true, description: 'Subscript 2' },
234
- { label: '_{3}', value: '_{3}', isShortcut: true, description: 'Subscript 3' },
235
- { label: '_{4}', value: '_{4}', isShortcut: true, description: 'Subscript 4' },
236
- { label: '^{+}', value: '^{+}', isShortcut: true, description: 'Positive charge' },
237
- { label: '^{-}', value: '^{-}', isShortcut: true, description: 'Negative charge' }
234
+ keyboardConstants_1.CHEMISTRY.SUBSCRIPT_1,
235
+ keyboardConstants_1.CHEMISTRY.SUBSCRIPT_2,
236
+ keyboardConstants_1.CHEMISTRY.SUBSCRIPT_3,
237
+ keyboardConstants_1.CHEMISTRY.SUBSCRIPT_4,
238
+ keyboardConstants_1.CHEMISTRY.POSITIVE_CHARGE,
239
+ keyboardConstants_1.CHEMISTRY.NEGATIVE_CHARGE,
238
240
  ],
239
241
  // Row 3 - States and parentheses
240
242
  [
241
- { label: '(s)', value: '(s)' },
242
- { label: '(l)', value: '(l)' },
243
- { label: '(g)', value: '(g)' },
244
- { label: '(aq)', value: '(aq)' },
245
- { label: '(', value: '(' },
246
- { label: ')', value: ')' }
243
+ keyboardConstants_1.CHEMISTRY.SOLID,
244
+ keyboardConstants_1.CHEMISTRY.LIQUID,
245
+ keyboardConstants_1.CHEMISTRY.GAS,
246
+ keyboardConstants_1.CHEMISTRY.AQUEOUS,
247
+ keyboardConstants_1.BRACKETS.PARENTHESES_OPEN,
248
+ keyboardConstants_1.BRACKETS.PARENTHESES_CLOSE,
247
249
  ],
248
250
  // Row 4 - Reaction symbols
249
251
  [
250
- { label: '\\rightarrow', value: '\\rightarrow', isShortcut: true, description: 'Reaction arrow (yields)' },
251
- { label: '\\leftrightarrow', value: '\\leftrightarrow', isShortcut: true, description: 'Reversible reaction' },
252
- { label: '\\rightleftharpoons', value: '\\rightleftharpoons', isShortcut: true, description: 'Equilibrium' },
253
- { label: '\\xrightarrow{\\Delta}', value: '\\xrightarrow{\\Delta}', isShortcut: true, description: 'Reaction with heat' },
254
- { label: '\\mapsto', value: '\\mapsto', isShortcut: true, description: 'Maps to' },
255
- { label: '\\Box_\\Box', value: '{\\Box}_{\\Box}', isShortcut: true, description: 'Subscript' },
252
+ keyboardConstants_1.CHEMISTRY.REACTION_ARROW,
253
+ keyboardConstants_1.CHEMISTRY.REVERSIBLE_REACTION,
254
+ keyboardConstants_1.CHEMISTRY.EQUILIBRIUM,
255
+ keyboardConstants_1.CHEMISTRY.REACTION_WITH_HEAT,
256
+ keyboardConstants_1.CHEMISTRY.MAPS_TO,
257
+ keyboardConstants_1.MATH_STRUCTURES.SUBSCRIPT_TEMPLATE,
256
258
  ],
257
259
  [
258
- { label: '\\therefore', value: '\\therefore', isShortcut: true, description: 'Therefore' },
259
- { label: '\\because', value: '\\because', isShortcut: true, description: 'Because' },
260
- { label: '\\cdots', value: '\\cdots', isShortcut: true, description: 'Horizontal dots' },
261
- { label: '\\ddots', value: '\\ddots', isShortcut: true, description: 'Diagonal dots' },
262
- { label: '\\int_{V_i}^{V_f}', value: '\\int_{V_i}^{V_f}', isShortcut: true, description: 'Integral' },
263
- { label: '', value: '' },
260
+ keyboardConstants_1.COMPARISON_OPERATORS.THEREFORE,
261
+ keyboardConstants_1.COMPARISON_OPERATORS.BECAUSE,
262
+ keyboardConstants_1.SPECIAL_SYMBOLS.HORIZONTAL_DOTS,
263
+ keyboardConstants_1.SPECIAL_SYMBOLS.DIAGONAL_DOTS,
264
+ keyboardConstants_1.SPECIAL_SYMBOLS.INTEGRAL,
265
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
264
266
  ],
265
267
  [
266
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
267
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
268
- { label: '', value: '' },
269
- { label: '', value: '' },
270
- { label: '\\text{⌫}', value: 'backspace' },
271
- { label: '\\text{⏎}', value: 'enter' },
268
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
269
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
270
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
271
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
272
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
273
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
272
274
  ],
273
275
  ];
274
276
  exports.greekKeyboardLower = [
275
277
  [
276
- { label: 'α', value: '\\alpha', isShortcut: true, description: 'Greek alpha' },
277
- { label: 'β', value: '\\beta', isShortcut: true, description: 'Greek beta' },
278
- { label: 'γ', value: '\\gamma', isShortcut: true, description: 'Greek gamma' },
279
- { label: 'δ', value: '\\delta', isShortcut: true, description: 'Greek delta' },
280
- { label: 'ε', value: '\\epsilon', isShortcut: true, description: 'Greek epsilon' },
281
- { label: 'ζ', value: '\\zeta', isShortcut: true, description: 'Greek zeta' },
278
+ keyboardConstants_1.GREEK_LETTERS_LOWER.ALPHA,
279
+ keyboardConstants_1.GREEK_LETTERS_LOWER.BETA,
280
+ keyboardConstants_1.GREEK_LETTERS_LOWER.GAMMA,
281
+ keyboardConstants_1.GREEK_LETTERS_LOWER.DELTA,
282
+ keyboardConstants_1.GREEK_LETTERS_LOWER.EPSILON,
283
+ keyboardConstants_1.GREEK_LETTERS_LOWER.ZETA,
282
284
  ],
283
285
  [
284
- { label: 'η', value: '\\eta', isShortcut: true, description: 'Greek eta' },
285
- { label: 'θ', value: '\\theta', isShortcut: true, description: 'Greek theta' },
286
- { label: 'ι', value: '\\iota', isShortcut: true, description: 'Greek iota' },
287
- { label: 'κ', value: '\\kappa', isShortcut: true, description: 'Greek kappa' },
288
- { label: 'λ', value: '\\lambda', isShortcut: true, description: 'Greek lambda' },
289
- { label: 'μ', value: '\\mu', isShortcut: true, description: 'Greek mu' },
286
+ keyboardConstants_1.GREEK_LETTERS_LOWER.ETA,
287
+ keyboardConstants_1.GREEK_LETTERS_LOWER.THETA,
288
+ keyboardConstants_1.GREEK_LETTERS_LOWER.IOTA,
289
+ keyboardConstants_1.GREEK_LETTERS_LOWER.KAPPA,
290
+ keyboardConstants_1.GREEK_LETTERS_LOWER.LAMBDA,
291
+ keyboardConstants_1.GREEK_LETTERS_LOWER.MU,
290
292
  ],
291
293
  [
292
- { label: 'ν', value: '\\nu', isShortcut: true, description: 'Greek nu' },
293
- { label: 'ξ', value: '\\xi', isShortcut: true, description: 'Greek xi' },
294
- { label: 'ο', value: 'o' },
295
- { label: 'π', value: '\\pi', isShortcut: true, description: 'Greek pi' },
296
- { label: 'ρ', value: '\\rho', isShortcut: true, description: 'Greek rho' },
297
- { label: 'σ', value: '\\sigma', isShortcut: true, description: 'Greek sigma' },
294
+ keyboardConstants_1.GREEK_LETTERS_LOWER.NU,
295
+ keyboardConstants_1.GREEK_LETTERS_LOWER.XI,
296
+ keyboardConstants_1.LETTERS_LOWER.o_plain,
297
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI,
298
+ keyboardConstants_1.GREEK_LETTERS_LOWER.RHO,
299
+ keyboardConstants_1.GREEK_LETTERS_LOWER.SIGMA,
298
300
  ],
299
301
  [
300
- { label: 'τ', value: '\\tau', isShortcut: true, description: 'Greek tau' },
301
- { label: 'υ', value: '\\upsilon', isShortcut: true, description: 'Greek upsilon' },
302
- { label: 'φ', value: '\\phi', isShortcut: true, description: 'Greek phi' },
303
- { label: 'χ', value: '\\chi', isShortcut: true, description: 'Greek chi' },
304
- { label: 'ψ', value: '\\psi', isShortcut: true, description: 'Greek psi' },
305
- { label: 'ω', value: '\\omega', isShortcut: true, description: 'Greek omega' },
302
+ keyboardConstants_1.GREEK_LETTERS_LOWER.TAU,
303
+ keyboardConstants_1.GREEK_LETTERS_LOWER.UPSILON,
304
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PHI,
305
+ keyboardConstants_1.GREEK_LETTERS_LOWER.CHI,
306
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PSI,
307
+ keyboardConstants_1.GREEK_LETTERS_LOWER.OMEGA,
306
308
  ],
307
309
  [
308
- { label: 'shift', value: 'shift' },
309
- { label: '', value: '' },
310
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
311
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
312
- { label: '\\text{⌫}', value: 'backspace' },
313
- { label: '\\text{⏎}', value: 'enter' },
310
+ keyboardConstants_1.CONTROL_KEYS.SHIFT,
311
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
312
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
313
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
314
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
315
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
314
316
  ],
315
317
  [
316
- { label: '', value: '' },
317
- { label: '', value: '' },
318
- { label: '', value: '' },
319
- { label: '', value: '' },
320
- { label: '', value: '' },
321
- { label: '', value: '' },
318
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
319
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
320
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
321
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
322
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
323
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
322
324
  ],
323
325
  ];
324
326
  exports.greekKeyboardUpper = [
325
327
  [
326
- { label: 'A', value: 'A' },
327
- { label: 'B', value: 'B' },
328
- { label: '\\Gamma', value: '\\Gamma', isShortcut: true, description: 'Greek Gamma (capital)' },
329
- { label: '\\Delta', value: '\\Delta', isShortcut: true, description: 'Greek Delta (capital)' },
330
- { label: 'E', value: 'E' },
331
- { label: 'Z', value: 'Z' },
332
- ],
333
- [
334
- { label: 'H', value: 'H' },
335
- { label: '\\Theta', value: '\\Theta', isShortcut: true, description: 'Greek Theta (capital)' },
336
- { label: 'I', value: 'I' },
337
- { label: 'K', value: 'K' },
338
- { label: '\\Lambda', value: '\\Lambda', isShortcut: true, description: 'Greek Lambda (capital)' },
339
- { label: 'M', value: 'M' },
340
- ],
341
- [
342
- { label: 'N', value: 'N' },
343
- { label: '\\Xi', value: '\\Xi', isShortcut: true, description: 'Greek Xi (capital)' },
344
- { label: 'O', value: 'O' },
345
- { label: '\\Pi', value: '\\Pi', isShortcut: true, description: 'Greek Pi (capital)' },
346
- { label: 'P', value: 'P' },
347
- { label: '\\Sigma', value: '\\Sigma', isShortcut: true, description: 'Greek Sigma (capital)' },
348
- ],
349
- [
350
- { label: 'T', value: 'T' },
351
- { label: '\\Upsilon', value: '\\Upsilon', isShortcut: true, description: 'Greek Upsilon (capital)' },
352
- { label: '\\Phi', value: '\\Phi', isShortcut: true, description: 'Greek Phi (capital)' },
353
- { label: 'X', value: 'X' },
354
- { label: '\\Psi', value: '\\Psi', isShortcut: true, description: 'Greek Psi (capital)' },
355
- { label: '\\Omega', value: '\\Omega', isShortcut: true, description: 'Greek Omega (capital)' },
356
- ],
357
- [
358
- { label: 'shift', value: 'shift' },
359
- { label: '', value: '' },
360
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
361
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
362
- { label: '\\text{⌫}', value: 'backspace' },
363
- { label: '\\text{⏎}', value: 'enter' },
364
- ],
365
- [
366
- { label: '', value: '' },
367
- { label: '', value: '' },
368
- { label: '', value: '' },
369
- { label: '', value: '' },
370
- { label: '', value: '' },
371
- { label: '', value: '' },
372
- ]
328
+ keyboardConstants_1.LETTERS_UPPER.A_PLAIN,
329
+ keyboardConstants_1.LETTERS_UPPER.B_PLAIN,
330
+ keyboardConstants_1.GREEK_LETTERS_UPPER.GAMMA,
331
+ keyboardConstants_1.GREEK_LETTERS_UPPER.DELTA,
332
+ keyboardConstants_1.LETTERS_UPPER.E_PLAIN,
333
+ keyboardConstants_1.LETTERS_UPPER.Z_PLAIN,
334
+ ],
335
+ [
336
+ keyboardConstants_1.LETTERS_UPPER.H_PLAIN,
337
+ keyboardConstants_1.GREEK_LETTERS_UPPER.THETA,
338
+ keyboardConstants_1.LETTERS_UPPER.I_PLAIN,
339
+ keyboardConstants_1.LETTERS_UPPER.K_PLAIN,
340
+ keyboardConstants_1.GREEK_LETTERS_UPPER.LAMBDA,
341
+ keyboardConstants_1.LETTERS_UPPER.M_PLAIN,
342
+ ],
343
+ [
344
+ keyboardConstants_1.LETTERS_UPPER.N_PLAIN,
345
+ keyboardConstants_1.GREEK_LETTERS_UPPER.XI,
346
+ keyboardConstants_1.LETTERS_UPPER.O_PLAIN,
347
+ keyboardConstants_1.GREEK_LETTERS_UPPER.PI,
348
+ keyboardConstants_1.LETTERS_UPPER.P_PLAIN,
349
+ keyboardConstants_1.GREEK_LETTERS_UPPER.SIGMA,
350
+ ],
351
+ [
352
+ keyboardConstants_1.LETTERS_UPPER.T_PLAIN,
353
+ keyboardConstants_1.GREEK_LETTERS_UPPER.UPSILON,
354
+ keyboardConstants_1.GREEK_LETTERS_UPPER.PHI,
355
+ keyboardConstants_1.LETTERS_UPPER.X_PLAIN,
356
+ keyboardConstants_1.GREEK_LETTERS_UPPER.PSI,
357
+ keyboardConstants_1.GREEK_LETTERS_UPPER.OMEGA,
358
+ ],
359
+ [
360
+ keyboardConstants_1.CONTROL_KEYS.SHIFT,
361
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
362
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
363
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
364
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
365
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
366
+ ],
367
+ [
368
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
369
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
370
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
371
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
372
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
373
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
374
+ ],
373
375
  ];
374
376
  exports.abcKeyboard = [
375
377
  [
376
- { label: '\\text{A}', value: 'A' },
377
- { label: '\\text{B}', value: 'B' },
378
- { label: '\\text{C}', value: 'C' },
379
- { label: '\\text{D}', value: 'D' },
380
- { label: '\\text{E}', value: 'E' },
381
- { label: '\\text{F}', value: 'F' }
382
- ],
383
- [
384
- { label: '\\text{G}', value: 'G' },
385
- { label: '\\text{H}', value: 'H' },
386
- { label: '\\text{I}', value: 'I' },
387
- { label: '\\text{J}', value: 'J' },
388
- { label: '\\text{K}', value: 'K' },
389
- { label: '\\text{L}', value: 'L' }
390
- ],
391
- [
392
- { label: '\\text{M}', value: 'M' },
393
- { label: '\\text{N}', value: 'N' },
394
- { label: '\\text{O}', value: 'O' },
395
- { label: '\\text{P}', value: 'P' },
396
- { label: '\\text{Q}', value: 'Q' },
397
- { label: '\\text{R}', value: 'R' }
398
- ],
399
- [
400
- { label: '\\text{S}', value: 'S' },
401
- { label: '\\text{T}', value: 'T' },
402
- { label: '\\text{U}', value: 'U' },
403
- { label: '\\text{V}', value: 'V' },
404
- { label: '\\text{W}', value: 'W' },
405
- { label: '\\text{X}', value: 'X' }
406
- ],
407
- [
408
- { label: '\\text{Y}', value: 'Y' },
409
- { label: '\\text{Z}', value: 'Z' },
410
- { label: '', value: '' },
411
- { label: '', value: '' },
412
- { label: '\\backslash', value: '\\', mode: 'keystore' },
413
- { label: 'shift', value: 'shift' }
414
- ],
415
- [
416
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
417
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
418
- { label: '', value: '' },
419
- { label: '', value: '' },
420
- { label: '\\text{⌫}', value: 'backspace' },
421
- { label: '\\text{⏎}', value: 'enter' }
422
- ]
378
+ keyboardConstants_1.LETTERS_UPPER.A,
379
+ keyboardConstants_1.LETTERS_UPPER.B,
380
+ keyboardConstants_1.LETTERS_UPPER.C,
381
+ keyboardConstants_1.LETTERS_UPPER.D,
382
+ keyboardConstants_1.LETTERS_UPPER.E,
383
+ keyboardConstants_1.LETTERS_UPPER.F,
384
+ ],
385
+ [
386
+ keyboardConstants_1.LETTERS_UPPER.G,
387
+ keyboardConstants_1.LETTERS_UPPER.H,
388
+ keyboardConstants_1.LETTERS_UPPER.I,
389
+ keyboardConstants_1.LETTERS_UPPER.J,
390
+ keyboardConstants_1.LETTERS_UPPER.K,
391
+ keyboardConstants_1.LETTERS_UPPER.L,
392
+ ],
393
+ [
394
+ keyboardConstants_1.LETTERS_UPPER.M,
395
+ keyboardConstants_1.LETTERS_UPPER.N,
396
+ keyboardConstants_1.LETTERS_UPPER.O,
397
+ keyboardConstants_1.LETTERS_UPPER.P,
398
+ keyboardConstants_1.LETTERS_UPPER.Q,
399
+ keyboardConstants_1.LETTERS_UPPER.R,
400
+ ],
401
+ [
402
+ keyboardConstants_1.LETTERS_UPPER.S,
403
+ keyboardConstants_1.LETTERS_UPPER.T,
404
+ keyboardConstants_1.LETTERS_UPPER.U,
405
+ keyboardConstants_1.LETTERS_UPPER.V,
406
+ keyboardConstants_1.LETTERS_UPPER.W,
407
+ keyboardConstants_1.LETTERS_UPPER.X,
408
+ ],
409
+ [
410
+ keyboardConstants_1.LETTERS_UPPER.Y,
411
+ keyboardConstants_1.LETTERS_UPPER.Z,
412
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
413
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
414
+ keyboardConstants_1.SPECIAL_SYMBOLS.BACKSLASH,
415
+ keyboardConstants_1.CONTROL_KEYS.SHIFT,
416
+ ],
417
+ [
418
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
419
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
420
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
421
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
422
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
423
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
424
+ ],
423
425
  ];
424
426
  exports.abcKeyboardLower = [
425
427
  [
426
- { label: '\\text{a}', value: 'a' },
427
- { label: '\\text{b}', value: 'b' },
428
- { label: '\\text{c}', value: 'c' },
429
- { label: '\\text{d}', value: 'd' },
430
- { label: '\\text{e}', value: 'e' },
431
- { label: '\\text{f}', value: 'f' }
432
- ],
433
- [
434
- { label: '\\text{g}', value: 'g' },
435
- { label: '\\text{h}', value: 'h' },
436
- { label: '\\text{i}', value: 'i' },
437
- { label: '\\text{j}', value: 'j' },
438
- { label: '\\text{k}', value: 'k' },
439
- { label: '\\text{l}', value: 'l' }
440
- ],
441
- [
442
- { label: '\\text{m}', value: 'm' },
443
- { label: '\\text{n}', value: 'n' },
444
- { label: '\\text{o}', value: 'o' },
445
- { label: '\\text{p}', value: 'p' },
446
- { label: '\\text{q}', value: 'q' },
447
- { label: '\\text{r}', value: 'r' }
448
- ],
449
- [
450
- { label: '\\text{s}', value: 's' },
451
- { label: '\\text{t}', value: 't' },
452
- { label: '\\text{u}', value: 'u' },
453
- { label: '\\text{v}', value: 'v' },
454
- { label: '\\text{w}', value: 'w' },
455
- { label: '\\text{x}', value: 'x' }
456
- ],
457
- [
458
- { label: '\\text{y}', value: 'y' },
459
- { label: '\\text{z}', value: 'z' },
460
- { label: '', value: '' },
461
- { label: '', value: '' },
462
- { label: '\\backslash', value: '\\', mode: 'keystore' },
463
- { label: 'shift', value: 'shift' }
464
- ],
465
- [
466
- { label: '\\text{\\{}', value: '{', mode: 'keystore' },
467
- { label: '\\text{\\}}', value: '}', mode: 'keystore' },
468
- { label: '', value: '' },
469
- { label: '', value: '' },
470
- { label: '\\text{⌫}', value: 'backspace' },
471
- { label: '\\text{⏎}', value: 'enter' }
472
- ]
428
+ keyboardConstants_1.LETTERS_LOWER.a,
429
+ keyboardConstants_1.LETTERS_LOWER.b,
430
+ keyboardConstants_1.LETTERS_LOWER.c,
431
+ keyboardConstants_1.LETTERS_LOWER.d,
432
+ keyboardConstants_1.LETTERS_LOWER.e,
433
+ keyboardConstants_1.LETTERS_LOWER.f,
434
+ ],
435
+ [
436
+ keyboardConstants_1.LETTERS_LOWER.g,
437
+ keyboardConstants_1.LETTERS_LOWER.h,
438
+ keyboardConstants_1.LETTERS_LOWER.i,
439
+ keyboardConstants_1.LETTERS_LOWER.j,
440
+ keyboardConstants_1.LETTERS_LOWER.k,
441
+ keyboardConstants_1.LETTERS_LOWER.l,
442
+ ],
443
+ [
444
+ keyboardConstants_1.LETTERS_LOWER.m,
445
+ keyboardConstants_1.LETTERS_LOWER.n,
446
+ keyboardConstants_1.LETTERS_LOWER.o,
447
+ keyboardConstants_1.LETTERS_LOWER.p,
448
+ keyboardConstants_1.LETTERS_LOWER.q,
449
+ keyboardConstants_1.LETTERS_LOWER.r,
450
+ ],
451
+ [
452
+ keyboardConstants_1.LETTERS_LOWER.s,
453
+ keyboardConstants_1.LETTERS_LOWER.t,
454
+ keyboardConstants_1.LETTERS_LOWER.u,
455
+ keyboardConstants_1.LETTERS_LOWER.v,
456
+ keyboardConstants_1.LETTERS_LOWER.w,
457
+ keyboardConstants_1.LETTERS_LOWER.x,
458
+ ],
459
+ [
460
+ keyboardConstants_1.LETTERS_LOWER.y,
461
+ keyboardConstants_1.LETTERS_LOWER.z,
462
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
463
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
464
+ keyboardConstants_1.SPECIAL_SYMBOLS.BACKSLASH,
465
+ keyboardConstants_1.CONTROL_KEYS.SHIFT,
466
+ ],
467
+ [
468
+ keyboardConstants_1.BRACKETS.OPEN_CURLY,
469
+ keyboardConstants_1.BRACKETS.CLOSE_CURLY,
470
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
471
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
472
+ keyboardConstants_1.CONTROL_KEYS.BACKSPACE,
473
+ keyboardConstants_1.CONTROL_KEYS.ENTER,
474
+ ],
475
+ ];
476
+ exports.generalKeyboard = [
477
+ // Row 1 - First 7 keys
478
+ [
479
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
480
+ keyboardConstants_1.BASIC_OPERATIONS.MINUS,
481
+ keyboardConstants_1.BASIC_OPERATIONS.EQUALS,
482
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
483
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
484
+ keyboardConstants_1.BASIC_OPERATIONS.DIVIDE,
485
+ keyboardConstants_1.LETTERS_LOWER.x_plain,
486
+ ],
487
+ // Row 2 - Second 7 keys
488
+ [
489
+ keyboardConstants_1.LETTERS_LOWER.y_plain,
490
+ keyboardConstants_1.LETTERS_LOWER.z_plain,
491
+ keyboardConstants_1.LETTERS_LOWER.n_plain,
492
+ keyboardConstants_1.COMPARISON_OPERATORS.PLUS_MINUS,
493
+ keyboardConstants_1.COMPARISON_OPERATORS.APPROXIMATELY,
494
+ keyboardConstants_1.BASIC_OPERATIONS.DECIMAL,
495
+ keyboardConstants_1.BASIC_OPERATIONS.COMMA,
496
+ ],
497
+ ];
498
+ exports.generalKeyboardMobile = [
499
+ // Row 1 - First 7 keys
500
+ [
501
+ keyboardConstants_1.NUMBERS.ONE,
502
+ keyboardConstants_1.NUMBERS.TWO,
503
+ keyboardConstants_1.NUMBERS.THREE,
504
+ keyboardConstants_1.NUMBERS.FOUR,
505
+ keyboardConstants_1.NUMBERS.FIVE,
506
+ keyboardConstants_1.NUMBERS.SIX,
507
+ keyboardConstants_1.NUMBERS.SEVEN,
508
+ ],
509
+ [
510
+ keyboardConstants_1.NUMBERS.EIGHT,
511
+ keyboardConstants_1.NUMBERS.NINE,
512
+ keyboardConstants_1.NUMBERS.ZERO,
513
+ keyboardConstants_1.BASIC_OPERATIONS.PLUS,
514
+ keyboardConstants_1.BASIC_OPERATIONS.MINUS,
515
+ keyboardConstants_1.BASIC_OPERATIONS.EQUALS,
516
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
517
+ ],
518
+ [
519
+ keyboardConstants_1.BASIC_OPERATIONS.MULTIPLY,
520
+ keyboardConstants_1.BASIC_OPERATIONS.DIVIDE,
521
+ keyboardConstants_1.LETTERS_LOWER.x_plain,
522
+ keyboardConstants_1.LETTERS_LOWER.y_plain,
523
+ keyboardConstants_1.LETTERS_LOWER.z_plain,
524
+ keyboardConstants_1.LETTERS_LOWER.n_plain,
525
+ keyboardConstants_1.COMPARISON_OPERATORS.PLUS_MINUS,
526
+ ],
527
+ // Row 2 - Second 7 keys
528
+ [
529
+ keyboardConstants_1.COMPARISON_OPERATORS.APPROXIMATELY,
530
+ keyboardConstants_1.BASIC_OPERATIONS.DECIMAL,
531
+ keyboardConstants_1.BASIC_OPERATIONS.COMMA,
532
+ ],
533
+ ];
534
+ exports.universalKeyboard = [
535
+ // Row 1 - Math structures and templates (items 1-7)
536
+ [
537
+ keyboardConstants_1.MATH_STRUCTURES.FRACTION,
538
+ keyboardConstants_1.MATH_STRUCTURES.SUBSCRIPT,
539
+ keyboardConstants_1.MATH_STRUCTURES.POWER,
540
+ keyboardConstants_1.MATH_STRUCTURES.SQUARE_ROOT,
541
+ keyboardConstants_1.MATH_STRUCTURES.NTH_ROOT,
542
+ keyboardConstants_1.BRACKETS.ROUND_BRACES,
543
+ keyboardConstants_1.BRACKETS.SQUARE_BRACKETS,
544
+ ],
545
+ // Row 2 - Brackets and logic operators (items 8-13)
546
+ [
547
+ keyboardConstants_1.MATH_STRUCTURES.ABSOLUTE_VALUE,
548
+ keyboardConstants_1.BRACKETS.CURLY_BRACES,
549
+ keyboardConstants_1.COMPARISON_OPERATORS.THEREFORE,
550
+ keyboardConstants_1.COMPARISON_OPERATORS.BECAUSE,
551
+ keyboardConstants_1.COMPARISON_OPERATORS.IMPLIES,
552
+ keyboardConstants_1.COMPARISON_OPERATORS.IFF,
553
+ keyboardConstants_1.CONTROL_KEYS.EMPTY,
554
+ ],
555
+ ];
556
+ // Profile Constants Definition - moved to keyboardConstants.ts
557
+ // Re-export for backward compatibility
558
+ var keyboardConstants_2 = require("./keyboardConstants");
559
+ Object.defineProperty(exports, "KEYBOARD_PROFILES", { enumerable: true, get: function () { return keyboardConstants_2.KEYBOARD_PROFILES; } });
560
+ // Dynamic Profile Keyboard Definitions
561
+ exports.numbersSetsKeyboard = [
562
+ // Row 1 - First 7 symbols (1-7)
563
+ [
564
+ keyboardConstants_1.PROFILE_TEMPLATES.MIXED_FRACTION,
565
+ keyboardConstants_1.PROFILE_TEMPLATES.BOTTOM_FRACTION,
566
+ keyboardConstants_1.SPECIAL_SYMBOLS.UNION,
567
+ keyboardConstants_1.SPECIAL_SYMBOLS.INTERSECTION,
568
+ keyboardConstants_1.COMPARISON_OPERATORS.ELEMENT_OF,
569
+ keyboardConstants_1.COMPARISON_OPERATORS.NOT_ELEMENT_OF,
570
+ keyboardConstants_1.SPECIAL_SYMBOLS.SUBSET_EQUAL,
571
+ ],
572
+ // Row 2 - Next 7 symbols (8-14)
573
+ [
574
+ keyboardConstants_1.SPECIAL_SYMBOLS.EMPTY_SET,
575
+ keyboardConstants_1.PROFILE_TEMPLATES.SQUARE_BRACKETS_TWO_ELEMENTS,
576
+ keyboardConstants_1.PROFILE_TEMPLATES.ROUND_BRACKETS_TWO_ELEMENTS,
577
+ keyboardConstants_1.SPECIAL_SYMBOLS.REAL_NUMBERS,
578
+ keyboardConstants_1.SPECIAL_SYMBOLS.INTEGERS,
579
+ keyboardConstants_1.SPECIAL_SYMBOLS.NATURAL_NUMBERS,
580
+ keyboardConstants_1.COMPARISON_OPERATORS.FOR_ALL,
581
+ ],
582
+ ];
583
+ exports.algebraFinanceKeyboard = [
584
+ // Row 1 - First 7 symbols (1-7)
585
+ [
586
+ keyboardConstants_1.LOGARITHMIC.LOG_BASE_ALT,
587
+ keyboardConstants_1.LOGARITHMIC.LN_ALT,
588
+ keyboardConstants_1.SPECIAL_SYMBOLS.SUMMATION,
589
+ keyboardConstants_1.SPECIAL_SYMBOLS.PRODUCT,
590
+ keyboardConstants_1.SPECIAL_SYMBOLS.FUNCTION,
591
+ keyboardConstants_1.MATH_STRUCTURES.MATRIX_SQUARE,
592
+ keyboardConstants_1.BRACKETS.SQUARE_BRACKETS_ALT,
593
+ ],
594
+ // Row 2 - Next 7 symbols (8-14)
595
+ [
596
+ keyboardConstants_1.MATH_STRUCTURES.ABSOLUTE_VALUE_ALT,
597
+ keyboardConstants_1.SPECIAL_SYMBOLS.RUPEES,
598
+ keyboardConstants_1.SPECIAL_SYMBOLS.PERCENT,
599
+ keyboardConstants_1.GREEK_LETTERS_LOWER.ALPHA,
600
+ keyboardConstants_1.GREEK_LETTERS_LOWER.BETA,
601
+ keyboardConstants_1.SPECIAL_SYMBOLS.FACTORIAL,
602
+ keyboardConstants_1.COMPARISON_OPERATORS.INFINITY,
603
+ ],
604
+ ];
605
+ exports.geometryKeyboard = [
606
+ // Row 1 - First 7 symbols (1-7)
607
+ [
608
+ keyboardConstants_1.SPECIAL_SYMBOLS.ANGLE,
609
+ keyboardConstants_1.SPECIAL_SYMBOLS.TRIANGLE,
610
+ keyboardConstants_1.COMPARISON_OPERATORS.PARALLEL,
611
+ keyboardConstants_1.COMPARISON_OPERATORS.PERPENDICULAR,
612
+ keyboardConstants_1.COMPARISON_OPERATORS.CONGRUENT,
613
+ keyboardConstants_1.COMPARISON_OPERATORS.SIMILAR,
614
+ keyboardConstants_1.SPECIAL_SYMBOLS.SEGMENT,
615
+ ],
616
+ // Row 2 - Next 7 symbols (8-14)
617
+ [
618
+ keyboardConstants_1.SPECIAL_SYMBOLS.RAY,
619
+ keyboardConstants_1.SPECIAL_SYMBOLS.LINE,
620
+ keyboardConstants_1.SPECIAL_SYMBOLS.ARC,
621
+ keyboardConstants_1.SPECIAL_SYMBOLS.DEGREE,
622
+ keyboardConstants_1.SPECIAL_SYMBOLS.COORDINATES,
623
+ keyboardConstants_1.SPECIAL_SYMBOLS.SLOPE_FORMULA,
624
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI,
625
+ ],
626
+ ];
627
+ exports.coordinateGeometryKeyboard = [
628
+ // Row 1 - First 7 symbols (1-7)
629
+ [
630
+ keyboardConstants_1.SPECIAL_SYMBOLS.ANGLE,
631
+ keyboardConstants_1.SPECIAL_SYMBOLS.TRIANGLE,
632
+ keyboardConstants_1.COMPARISON_OPERATORS.PARALLEL,
633
+ keyboardConstants_1.COMPARISON_OPERATORS.PERPENDICULAR,
634
+ keyboardConstants_1.COMPARISON_OPERATORS.CONGRUENT,
635
+ keyboardConstants_1.COMPARISON_OPERATORS.SIMILAR,
636
+ keyboardConstants_1.SPECIAL_SYMBOLS.SEGMENT,
637
+ ],
638
+ // Row 2 - Next 7 symbols (8-14)
639
+ [
640
+ keyboardConstants_1.SPECIAL_SYMBOLS.RAY,
641
+ keyboardConstants_1.SPECIAL_SYMBOLS.LINE,
642
+ keyboardConstants_1.SPECIAL_SYMBOLS.ARC,
643
+ keyboardConstants_1.SPECIAL_SYMBOLS.DEGREE,
644
+ keyboardConstants_1.SPECIAL_SYMBOLS.COORDINATES,
645
+ keyboardConstants_1.SPECIAL_SYMBOLS.SLOPE_FORMULA,
646
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI,
647
+ ],
648
+ ];
649
+ exports.trigonometryKeyboard = [
650
+ // Row 1 - First 7 symbols (1-7)
651
+ [
652
+ keyboardConstants_1.TRIGONOMETRIC.SIN,
653
+ keyboardConstants_1.TRIGONOMETRIC.COS,
654
+ keyboardConstants_1.TRIGONOMETRIC.TAN,
655
+ keyboardConstants_1.TRIGONOMETRIC.CSC,
656
+ keyboardConstants_1.TRIGONOMETRIC.SEC,
657
+ keyboardConstants_1.TRIGONOMETRIC.COT,
658
+ keyboardConstants_1.TRIGONOMETRIC.ARCSIN,
659
+ ],
660
+ // Row 2 - Next 7 symbols (8-14)
661
+ [
662
+ keyboardConstants_1.TRIGONOMETRIC.ARCCOS,
663
+ keyboardConstants_1.TRIGONOMETRIC.ARCTAN,
664
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI,
665
+ keyboardConstants_1.GREEK_LETTERS_LOWER.THETA,
666
+ keyboardConstants_1.GREEK_LETTERS_LOWER.ALPHA,
667
+ keyboardConstants_1.GREEK_LETTERS_LOWER.BETA,
668
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PHI,
669
+ ],
670
+ ];
671
+ //not everything is there yet
672
+ exports.calculusKeyboard = [
673
+ // Row 1 - First 7 symbols (1-7)
674
+ [
675
+ keyboardConstants_1.CALCULUS.LIMIT,
676
+ keyboardConstants_1.CALCULUS.DERIVATIVE,
677
+ keyboardConstants_1.CALCULUS.INTEGRAL_SIMPLE,
678
+ keyboardConstants_1.CALCULUS.INTEGRAL_DEFINITE,
679
+ keyboardConstants_1.CALCULUS.EVALUATION_BRACKETS,
680
+ keyboardConstants_1.CALCULUS.PARTIAL_DERIVATIVE,
681
+ keyboardConstants_1.COMPARISON_OPERATORS.INFINITY,
682
+ ],
683
+ // Row 2 - Next 7 symbols (8-14)
684
+ [
685
+ keyboardConstants_1.CALCULUS.EULER_NUMBER,
686
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI,
687
+ keyboardConstants_1.GREEK_LETTERS_UPPER.DELTA,
688
+ keyboardConstants_1.GREEK_LETTERS_LOWER.DELTA,
689
+ keyboardConstants_1.CALCULUS.NATURAL_LOG_ABS,
690
+ keyboardConstants_1.CALCULUS.EVALUATION_BRACKETS,
691
+ keyboardConstants_1.CALCULUS.LINE_INTEGRAL,
692
+ ],
693
+ ];
694
+ exports.statsProbabilityKeyboard = [
695
+ // Row 1 - First 7 symbols (1-7)
696
+ [
697
+ keyboardConstants_1.STATISTICS.SAMPLE_MEAN,
698
+ keyboardConstants_1.STATISTICS.PERMUTATION,
699
+ keyboardConstants_1.STATISTICS.COMBINATION,
700
+ keyboardConstants_1.STATISTICS.PROBABILITY_FUNCTION,
701
+ keyboardConstants_1.STATISTICS.BINOMIAL_COEFFICIENT,
702
+ keyboardConstants_1.STATISTICS.STANDARD_DEVIATION,
703
+ keyboardConstants_1.STATISTICS.VARIANCE,
704
+ ],
705
+ // Row 2 - Next 7 symbols (8-14)
706
+ [
707
+ keyboardConstants_1.STATISTICS.MEAN,
708
+ keyboardConstants_1.STATISTICS.VARIANCE_FUNCTION,
709
+ keyboardConstants_1.SPECIAL_SYMBOLS.FACTORIAL,
710
+ keyboardConstants_1.STATISTICS.SUMMATION_SIMPLE,
711
+ keyboardConstants_1.STATISTICS.X_SUBSCRIPT_I,
712
+ keyboardConstants_1.STATISTICS.F_SUBSCRIPT_I,
713
+ keyboardConstants_1.STATISTICS.Z_SCORE_FORMULA,
714
+ ],
715
+ ];
716
+ exports.matricesVectorsKeyboard = [
717
+ // Row 1 - First 7 symbols (1-7)
718
+ [
719
+ keyboardConstants_1.MATRICES_VECTORS.VECTOR_ARROW,
720
+ keyboardConstants_1.MATRICES_VECTORS.VECTOR_HAT,
721
+ keyboardConstants_1.MATRICES_VECTORS.VECTOR_MAGNITUDE,
722
+ keyboardConstants_1.MATRICES_VECTORS.UNIT_VECTOR_I,
723
+ keyboardConstants_1.MATRICES_VECTORS.UNIT_VECTOR_J,
724
+ keyboardConstants_1.MATRICES_VECTORS.UNIT_VECTOR_K,
725
+ keyboardConstants_1.MATRICES_VECTORS.MATRIX_2x2,
726
+ ],
727
+ // Row 2 - Next 7 symbols (8-14)
728
+ [
729
+ keyboardConstants_1.MATRICES_VECTORS.MATRIX_3x3,
730
+ keyboardConstants_1.MATRICES_VECTORS.DETERMINANT_2x2,
731
+ keyboardConstants_1.MATRICES_VECTORS.DOT_PRODUCT,
732
+ keyboardConstants_1.MATRICES_VECTORS.CROSS_PRODUCT,
733
+ keyboardConstants_1.GREEK_LETTERS_LOWER.LAMBDA,
734
+ keyboardConstants_1.MATRICES_VECTORS.MATRIX_INVERSE,
735
+ keyboardConstants_1.MATRICES_VECTORS.DETERMINANT_FUNCTION,
736
+ ],
737
+ ];
738
+ exports.complexNumbersKeyboard = [
739
+ // Row 1 - First 7 symbols (1-7)
740
+ [
741
+ keyboardConstants_1.COMPLEX_NUMBERS.IMAGINARY_UNIT,
742
+ keyboardConstants_1.COMPLEX_NUMBERS.COMPLEX_CONJUGATE,
743
+ keyboardConstants_1.COMPLEX_NUMBERS.MODULUS,
744
+ keyboardConstants_1.COMPLEX_NUMBERS.ARGUMENT,
745
+ keyboardConstants_1.COMPLEX_NUMBERS.EULER_FORMULA,
746
+ keyboardConstants_1.COMPLEX_NUMBERS.REAL_PART,
747
+ keyboardConstants_1.COMPLEX_NUMBERS.IMAGINARY_PART,
748
+ ],
749
+ // Row 2 - Next 7 symbols (8-14)
750
+ [
751
+ keyboardConstants_1.COMPLEX_NUMBERS.CIS_FUNCTION,
752
+ keyboardConstants_1.COMPLEX_NUMBERS.OMEGA,
753
+ keyboardConstants_1.COMPLEX_NUMBERS.OMEGA_SQUARED,
754
+ keyboardConstants_1.GREEK_LETTERS_LOWER.THETA,
755
+ keyboardConstants_1.GREEK_LETTERS_LOWER.PI,
756
+ keyboardConstants_1.COMPARISON_OPERATORS.PLUS_MINUS,
757
+ keyboardConstants_1.MATH_STRUCTURES.SQUARE_ROOT,
758
+ ],
759
+ ];
760
+ // not everything is there yet
761
+ exports.chemistryKeyboard = [
762
+ // Row 1 - First 7 symbols (1-7)
763
+ [
764
+ keyboardConstants_1.CHEMISTRY.CONCENTRATION,
765
+ keyboardConstants_1.CHEMISTRY.ENTHALPY_CHANGE,
766
+ keyboardConstants_1.CHEMISTRY.PH,
767
+ keyboardConstants_1.CHEMISTRY.EQUILIBRIUM_CONSTANT,
768
+ keyboardConstants_1.CHEMISTRY.AQUEOUS,
769
+ keyboardConstants_1.CHEMISTRY.GAS,
770
+ keyboardConstants_1.CHEMISTRY.SOLID,
771
+ ],
772
+ // Row 2 - Next 7 symbols (8-14)
773
+ [keyboardConstants_1.CHEMISTRY.CONCENTRATION],
774
+ ];
775
+ exports.physicsKeyboard = [
776
+ // Row 1 - First 7 symbols (1-7)
777
+ [
778
+ keyboardConstants_1.PHYSICS.SCIENTIFIC_NOTATION,
779
+ keyboardConstants_1.MATRICES_VECTORS.VECTOR_ARROW,
780
+ keyboardConstants_1.MATRICES_VECTORS.VECTOR_HAT,
781
+ keyboardConstants_1.PHYSICS.MU,
782
+ keyboardConstants_1.PHYSICS.OMEGA_UPPER,
783
+ keyboardConstants_1.PHYSICS.LAMBDA,
784
+ keyboardConstants_1.PHYSICS.RHO,
785
+ ],
786
+ // Row 2 - Next 7 symbols (8-14)
787
+ [
788
+ keyboardConstants_1.PHYSICS.PHI_UPPER,
789
+ keyboardConstants_1.PHYSICS.EPSILON_NAUGHT,
790
+ keyboardConstants_1.PHYSICS.OMEGA_LOWER,
791
+ keyboardConstants_1.GREEK_LETTERS_UPPER.DELTA,
792
+ keyboardConstants_1.PHYSICS.UNIT_SQUARED,
793
+ keyboardConstants_1.PHYSICS.UNIT_CUBED,
794
+ keyboardConstants_1.PHYSICS.PLANCK_REDUCED,
795
+ ],
473
796
  ];
474
- const getKeypadMapping = (subject) => {
475
- switch (subject) {
476
- case "physics":
477
- return 5;
478
- case "chemistry":
479
- return 4;
480
- default:
481
- return 0;
482
- }
797
+ // Profile Configuration Mapping
798
+ exports.profileKeyboards = {
799
+ [keyboardConstants_1.KEYBOARD_PROFILES.NUMBERS_SETS]: {
800
+ id: keyboardConstants_1.KEYBOARD_PROFILES.NUMBERS_SETS,
801
+ label: "Numbers & Sets",
802
+ keyboard: exports.numbersSetsKeyboard,
803
+ description: "Number Systems & Set Theory",
804
+ priority: 0,
805
+ },
806
+ [keyboardConstants_1.KEYBOARD_PROFILES.ALGEBRA_FINANCE]: {
807
+ id: keyboardConstants_1.KEYBOARD_PROFILES.ALGEBRA_FINANCE,
808
+ label: "Algebra & Finance",
809
+ keyboard: exports.algebraFinanceKeyboard,
810
+ description: "Algebra & Finance",
811
+ priority: 0,
812
+ },
813
+ [keyboardConstants_1.KEYBOARD_PROFILES.GEOMETRY]: {
814
+ id: keyboardConstants_1.KEYBOARD_PROFILES.GEOMETRY,
815
+ label: "Geometry",
816
+ keyboard: exports.geometryKeyboard,
817
+ description: "Geometry",
818
+ priority: 0,
819
+ },
820
+ [keyboardConstants_1.KEYBOARD_PROFILES.COORDINATE_GEOMETRY]: {
821
+ id: keyboardConstants_1.KEYBOARD_PROFILES.COORDINATE_GEOMETRY,
822
+ label: "Coordinate Geometry",
823
+ keyboard: exports.coordinateGeometryKeyboard,
824
+ description: "Coordinate Geometry",
825
+ priority: 0,
826
+ },
827
+ [keyboardConstants_1.KEYBOARD_PROFILES.TRIGONOMETRY]: {
828
+ id: keyboardConstants_1.KEYBOARD_PROFILES.TRIGONOMETRY,
829
+ label: "Trigonometry",
830
+ keyboard: exports.trigonometryKeyboard,
831
+ description: "Trigonometry",
832
+ priority: 0,
833
+ },
834
+ [keyboardConstants_1.KEYBOARD_PROFILES.CALCULUS]: {
835
+ id: keyboardConstants_1.KEYBOARD_PROFILES.CALCULUS,
836
+ label: "Calculus",
837
+ keyboard: exports.calculusKeyboard,
838
+ description: "Calculus",
839
+ priority: 0,
840
+ },
841
+ [keyboardConstants_1.KEYBOARD_PROFILES.STATS_PROBABILITY]: {
842
+ id: keyboardConstants_1.KEYBOARD_PROFILES.STATS_PROBABILITY,
843
+ label: "Stats & Probability",
844
+ keyboard: exports.statsProbabilityKeyboard,
845
+ description: "Statistics & Probability",
846
+ priority: 0,
847
+ },
848
+ [keyboardConstants_1.KEYBOARD_PROFILES.MATRICES_VECTORS]: {
849
+ id: keyboardConstants_1.KEYBOARD_PROFILES.MATRICES_VECTORS,
850
+ label: "Matrices & Vectors",
851
+ keyboard: exports.matricesVectorsKeyboard,
852
+ description: "Matrices & Vectors",
853
+ priority: 0,
854
+ },
855
+ [keyboardConstants_1.KEYBOARD_PROFILES.COMPLEX_NUMBERS]: {
856
+ id: keyboardConstants_1.KEYBOARD_PROFILES.COMPLEX_NUMBERS,
857
+ label: "Complex Numbers",
858
+ keyboard: exports.complexNumbersKeyboard,
859
+ description: "Complex Numbers",
860
+ priority: 0,
861
+ },
862
+ [keyboardConstants_1.KEYBOARD_PROFILES.CHEMISTRY]: {
863
+ id: keyboardConstants_1.KEYBOARD_PROFILES.CHEMISTRY,
864
+ label: "Chemistry",
865
+ keyboard: exports.chemistryKeyboard,
866
+ description: "Chemistry",
867
+ priority: 0,
868
+ },
869
+ [keyboardConstants_1.KEYBOARD_PROFILES.PHYSICS]: {
870
+ id: keyboardConstants_1.KEYBOARD_PROFILES.PHYSICS,
871
+ label: "Physics",
872
+ keyboard: exports.physicsKeyboard,
873
+ description: "Physics",
874
+ priority: 0,
875
+ },
483
876
  };
484
- exports.getKeypadMapping = getKeypadMapping;
485
877
  //# sourceMappingURL=keyboard-config.js.map