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
@@ -0,0 +1,1447 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KEYBOARD_PROFILES = exports.PROFILE_TEMPLATES = exports.LETTERS_LOWER = exports.LETTERS_UPPER = exports.CONTROL_KEYS = exports.PHYSICS = exports.COMPLEX_NUMBERS = exports.MATRICES_VECTORS = exports.STATISTICS = exports.CALCULUS = exports.SPECIAL_SYMBOLS = exports.CHEMISTRY = exports.LOGARITHMIC = exports.TRIGONOMETRIC = exports.BRACKETS = exports.COMPARISON_OPERATORS = exports.GREEK_LETTERS_UPPER = exports.GREEK_LETTERS_LOWER = exports.MATH_STRUCTURES = exports.BASIC_OPERATIONS = exports.NUMBERS = void 0;
4
+ // Basic Numbers
5
+ exports.NUMBERS = {
6
+ ZERO: { label: "0", value: "0" },
7
+ ONE: { label: "1", value: "1" },
8
+ TWO: { label: "2", value: "2" },
9
+ THREE: { label: "3", value: "3" },
10
+ FOUR: { label: "4", value: "4" },
11
+ FIVE: { label: "5", value: "5" },
12
+ SIX: { label: "6", value: "6" },
13
+ SEVEN: { label: "7", value: "7" },
14
+ EIGHT: { label: "8", value: "8" },
15
+ NINE: { label: "9", value: "9" },
16
+ };
17
+ // Basic Operations
18
+ exports.BASIC_OPERATIONS = {
19
+ PLUS: { label: "+", value: "+" },
20
+ MINUS: { label: "-", value: "-" },
21
+ MULTIPLY: {
22
+ label: "\\times",
23
+ value: "\\times",
24
+ isShortcut: true,
25
+ description: "Multiplication",
26
+ },
27
+ DIVIDE: {
28
+ label: "\\div",
29
+ value: "\\div",
30
+ isShortcut: true,
31
+ description: "Division",
32
+ },
33
+ EQUALS: { label: "=", value: "=" },
34
+ LESS_THAN: { label: "<", value: "<" },
35
+ GREATER_THAN: { label: ">", value: ">" },
36
+ DECIMAL: { label: ".", value: "." },
37
+ COMMA: { label: ",", value: "," },
38
+ COLON: { label: ":", value: ":" },
39
+ SEMICOLON: { label: ";", value: ";" },
40
+ FORWARD_SLASH: { label: "/", value: "/" },
41
+ NEGATIVE: { label: "(-)", value: "-" },
42
+ };
43
+ // Mathematical Structures
44
+ exports.MATH_STRUCTURES = {
45
+ FRACTION: {
46
+ label: "\\frac{\\Box}{\\Box}",
47
+ value: "\\frac{a}{b}",
48
+ isShortcut: true,
49
+ description: "Fraction",
50
+ },
51
+ FRACTION_ALT: {
52
+ label: "\\frac{\\square}{\\square}",
53
+ value: "\\frac{a}{b}",
54
+ isShortcut: true,
55
+ description: "Fraction",
56
+ },
57
+ SQUARE_ROOT: {
58
+ label: "\\sqrt{\\square}",
59
+ value: "\\sqrt{x}",
60
+ isShortcut: true,
61
+ description: "Square root",
62
+ },
63
+ NTH_ROOT: {
64
+ label: "\\sqrt[\\Box]{\\square}",
65
+ value: "\\sqrt[n]{x}",
66
+ isShortcut: true,
67
+ description: "nth root",
68
+ },
69
+ POWER_SQUARE: {
70
+ label: "\\square^2",
71
+ value: "x^2",
72
+ isShortcut: true,
73
+ description: "Square/Power of 2",
74
+ },
75
+ POWER: {
76
+ label: "\\square^\\Box",
77
+ value: "x^{a}",
78
+ isShortcut: true,
79
+ description: "Power/Superscript",
80
+ },
81
+ POWER_ALT: {
82
+ label: "\\Box^\\Box",
83
+ value: "x^{a}",
84
+ isShortcut: true,
85
+ description: "Power/Superscript",
86
+ },
87
+ SUBSCRIPT: {
88
+ label: "\\Box_\\Box",
89
+ value: "x_{a}",
90
+ isShortcut: true,
91
+ description: "Subscript",
92
+ },
93
+ SUBSCRIPT_TEMPLATE: {
94
+ label: "\\Box_\\Box",
95
+ value: "{\\Box}_{\\Box}",
96
+ isShortcut: true,
97
+ description: "Subscript",
98
+ },
99
+ ABSOLUTE_VALUE: {
100
+ label: "|\\Box|",
101
+ value: "|x|",
102
+ isShortcut: true,
103
+ description: "Absolute value",
104
+ },
105
+ ABSOLUTE_VALUE_ALT: {
106
+ label: "|\\Box|",
107
+ value: "|{}|",
108
+ isShortcut: true,
109
+ description: "Absolute value",
110
+ },
111
+ MATRIX_SQUARE: {
112
+ label: "\\begin{bmatrix}\\Box&\\Box\\\\\\Box&\\Box\\end{bmatrix}",
113
+ value: "\\begin{bmatrix}{}&{}\\\\{}&{}\\end{bmatrix}",
114
+ isShortcut: true,
115
+ description: "Matrix with square brackets",
116
+ },
117
+ };
118
+ // Greek Letters (Lowercase)
119
+ exports.GREEK_LETTERS_LOWER = {
120
+ ALPHA: {
121
+ label: "α",
122
+ value: "\\alpha",
123
+ isShortcut: true,
124
+ description: "Greek alpha",
125
+ },
126
+ BETA: {
127
+ label: "β",
128
+ value: "\\beta",
129
+ isShortcut: true,
130
+ description: "Greek beta",
131
+ },
132
+ GAMMA: {
133
+ label: "γ",
134
+ value: "\\gamma",
135
+ isShortcut: true,
136
+ description: "Greek gamma",
137
+ },
138
+ DELTA: {
139
+ label: "δ",
140
+ value: "\\delta",
141
+ isShortcut: true,
142
+ description: "Greek delta (lowercase)",
143
+ },
144
+ EPSILON: {
145
+ label: "ε",
146
+ value: "\\epsilon",
147
+ isShortcut: true,
148
+ description: "Greek epsilon",
149
+ },
150
+ VAREPSILON: {
151
+ label: "\\varepsilon",
152
+ value: "\\varepsilon",
153
+ isShortcut: true,
154
+ description: "Epsilon",
155
+ },
156
+ ZETA: {
157
+ label: "ζ",
158
+ value: "\\zeta",
159
+ isShortcut: true,
160
+ description: "Greek zeta",
161
+ },
162
+ ETA: {
163
+ label: "η",
164
+ value: "\\eta",
165
+ isShortcut: true,
166
+ description: "Greek eta",
167
+ },
168
+ THETA: {
169
+ label: "θ",
170
+ value: "\\theta",
171
+ isShortcut: true,
172
+ description: "Greek theta",
173
+ },
174
+ THETA_ALT: {
175
+ label: "\\theta",
176
+ value: "\\theta",
177
+ isShortcut: true,
178
+ description: "Theta",
179
+ },
180
+ IOTA: {
181
+ label: "ι",
182
+ value: "\\iota",
183
+ isShortcut: true,
184
+ description: "Greek iota",
185
+ },
186
+ KAPPA: {
187
+ label: "κ",
188
+ value: "\\kappa",
189
+ isShortcut: true,
190
+ description: "Greek kappa",
191
+ },
192
+ LAMBDA: {
193
+ label: "λ",
194
+ value: "\\lambda",
195
+ isShortcut: true,
196
+ description: "Greek lambda",
197
+ },
198
+ MU: { label: "μ", value: "\\mu", isShortcut: true, description: "Greek mu" },
199
+ NU: { label: "ν", value: "\\nu", isShortcut: true, description: "Greek nu" },
200
+ XI: { label: "ξ", value: "\\xi", isShortcut: true, description: "Greek xi" },
201
+ PI: {
202
+ label: "π",
203
+ value: "\\pi",
204
+ isShortcut: true,
205
+ description: "Greek pi",
206
+ },
207
+ PI_ALT: {
208
+ label: "\\pi",
209
+ value: "\\pi",
210
+ isShortcut: true,
211
+ description: "Pi (3.14159...)",
212
+ },
213
+ RHO: {
214
+ label: "ρ",
215
+ value: "\\rho",
216
+ isShortcut: true,
217
+ description: "Greek rho",
218
+ },
219
+ SIGMA: {
220
+ label: "σ",
221
+ value: "\\sigma",
222
+ isShortcut: true,
223
+ description: "Greek sigma (lowercase)",
224
+ },
225
+ TAU: {
226
+ label: "τ",
227
+ value: "\\tau",
228
+ isShortcut: true,
229
+ description: "Greek tau",
230
+ },
231
+ UPSILON: {
232
+ label: "υ",
233
+ value: "\\upsilon",
234
+ isShortcut: true,
235
+ description: "Greek upsilon",
236
+ },
237
+ PHI: {
238
+ label: "φ",
239
+ value: "\\phi",
240
+ isShortcut: true,
241
+ description: "Greek phi",
242
+ },
243
+ PHI_ALT: {
244
+ label: "\\phi",
245
+ value: "\\phi",
246
+ isShortcut: true,
247
+ description: "Phi",
248
+ },
249
+ CHI: {
250
+ label: "χ",
251
+ value: "\\chi",
252
+ isShortcut: true,
253
+ description: "Greek chi",
254
+ },
255
+ PSI: {
256
+ label: "ψ",
257
+ value: "\\psi",
258
+ isShortcut: true,
259
+ description: "Greek psi",
260
+ },
261
+ OMEGA: {
262
+ label: "ω",
263
+ value: "\\omega",
264
+ isShortcut: true,
265
+ description: "Greek omega",
266
+ },
267
+ };
268
+ // Greek Letters (Uppercase)
269
+ exports.GREEK_LETTERS_UPPER = {
270
+ GAMMA: {
271
+ label: "\\Gamma",
272
+ value: "\\Gamma",
273
+ isShortcut: true,
274
+ description: "Greek Gamma (capital)",
275
+ },
276
+ DELTA: {
277
+ label: "\\Delta",
278
+ value: "\\Delta",
279
+ isShortcut: true,
280
+ description: "Greek Delta (capital)",
281
+ },
282
+ DELTA_ALT: {
283
+ label: "\\Delta",
284
+ value: "\\Delta",
285
+ isShortcut: true,
286
+ description: "Delta (triangle)",
287
+ },
288
+ THETA: {
289
+ label: "\\Theta",
290
+ value: "\\Theta",
291
+ isShortcut: true,
292
+ description: "Greek Theta (capital)",
293
+ },
294
+ LAMBDA: {
295
+ label: "\\Lambda",
296
+ value: "\\Lambda",
297
+ isShortcut: true,
298
+ description: "Greek Lambda (capital)",
299
+ },
300
+ XI: {
301
+ label: "\\Xi",
302
+ value: "\\Xi",
303
+ isShortcut: true,
304
+ description: "Greek Xi (capital)",
305
+ },
306
+ PI: {
307
+ label: "\\Pi",
308
+ value: "\\Pi",
309
+ isShortcut: true,
310
+ description: "Greek Pi (capital)",
311
+ },
312
+ SIGMA: {
313
+ label: "Σ",
314
+ value: "\\Sigma",
315
+ isShortcut: true,
316
+ description: "Greek Sigma (summation)",
317
+ },
318
+ SIGMA_ALT: {
319
+ label: "\\Sigma",
320
+ value: "\\Sigma",
321
+ isShortcut: true,
322
+ description: "Greek Sigma (capital)",
323
+ },
324
+ UPSILON: {
325
+ label: "\\Upsilon",
326
+ value: "\\Upsilon",
327
+ isShortcut: true,
328
+ description: "Greek Upsilon (capital)",
329
+ },
330
+ PHI: {
331
+ label: "\\Phi",
332
+ value: "\\Phi",
333
+ isShortcut: true,
334
+ description: "Greek Phi (capital)",
335
+ },
336
+ PSI: {
337
+ label: "\\Psi",
338
+ value: "\\Psi",
339
+ isShortcut: true,
340
+ description: "Greek Psi (capital)",
341
+ },
342
+ OMEGA: {
343
+ label: "\\Omega",
344
+ value: "\\Omega",
345
+ isShortcut: true,
346
+ description: "Greek Omega (capital)",
347
+ },
348
+ };
349
+ // Comparison and Logical Operators
350
+ exports.COMPARISON_OPERATORS = {
351
+ NOT_EQUAL: {
352
+ label: "\\neq",
353
+ value: "\\neq",
354
+ isShortcut: true,
355
+ description: "Not equal",
356
+ },
357
+ LESS_EQUAL: {
358
+ label: "\\leq",
359
+ value: "\\leq",
360
+ isShortcut: true,
361
+ description: "Less than or equal",
362
+ },
363
+ GREATER_EQUAL: {
364
+ label: "\\geq",
365
+ value: "\\geq",
366
+ isShortcut: true,
367
+ description: "Greater than or equal",
368
+ },
369
+ APPROXIMATELY: {
370
+ label: "≈",
371
+ value: "\\approx",
372
+ isShortcut: true,
373
+ description: "Approximately equal",
374
+ },
375
+ SIMILAR: {
376
+ label: "\\sim",
377
+ value: "\\sim",
378
+ isShortcut: true,
379
+ description: "Similar to",
380
+ },
381
+ EQUIVALENT: {
382
+ label: "≡",
383
+ value: "\\equiv",
384
+ isShortcut: true,
385
+ description: "Equivalent to",
386
+ },
387
+ CONGRUENT: {
388
+ label: "≅",
389
+ value: "\\cong",
390
+ isShortcut: true,
391
+ description: "Congruent to",
392
+ },
393
+ ELEMENT_OF: {
394
+ label: "∈",
395
+ value: "\\in",
396
+ isShortcut: true,
397
+ description: "Element of/Belongs to",
398
+ },
399
+ NOT_ELEMENT_OF: {
400
+ label: "∉",
401
+ value: "\\notin",
402
+ isShortcut: true,
403
+ description: "Not element of",
404
+ },
405
+ NOT_SUBSET: {
406
+ label: "⊈",
407
+ value: "\\not\\subseteq",
408
+ isShortcut: true,
409
+ description: "Not subset of",
410
+ },
411
+ INFINITY: {
412
+ label: "∞",
413
+ value: "\\infty",
414
+ isShortcut: true,
415
+ description: "Infinity",
416
+ },
417
+ INFINITY_ALT: {
418
+ label: "\\infty",
419
+ value: "\\infty",
420
+ isShortcut: true,
421
+ description: "Infinity",
422
+ },
423
+ IMPLIES: {
424
+ label: "⇒",
425
+ value: "\\Rightarrow",
426
+ isShortcut: true,
427
+ description: "Implies",
428
+ },
429
+ IMPLIES_ALT: {
430
+ label: "\\Rightarrow",
431
+ value: "\\Rightarrow",
432
+ isShortcut: true,
433
+ description: "Implies",
434
+ },
435
+ IFF: {
436
+ label: "⇔",
437
+ value: "\\Leftrightarrow",
438
+ isShortcut: true,
439
+ description: "If and only if",
440
+ },
441
+ IFF_ALT: {
442
+ label: "\\Leftrightarrow",
443
+ value: "\\Leftrightarrow",
444
+ isShortcut: true,
445
+ description: "If and only if",
446
+ },
447
+ NOT_PARALLEL: {
448
+ label: "\\nparallel",
449
+ value: "\\nparallel",
450
+ isShortcut: true,
451
+ description: "Not parallel to",
452
+ },
453
+ PARALLEL: {
454
+ label: "\\parallel",
455
+ value: "\\parallel",
456
+ isShortcut: true,
457
+ description: "Parallel to",
458
+ },
459
+ PERPENDICULAR: {
460
+ label: "⊥",
461
+ value: "\\perp",
462
+ isShortcut: true,
463
+ description: "Perpendicular to",
464
+ },
465
+ PLUS_MINUS: {
466
+ label: "\\pm",
467
+ value: "\\pm",
468
+ isShortcut: true,
469
+ description: "Plus or minus",
470
+ },
471
+ PROPORTIONAL: {
472
+ label: "\\propto",
473
+ value: "\\propto",
474
+ isShortcut: true,
475
+ description: "Proportional to",
476
+ },
477
+ THEREFORE: {
478
+ label: "\\therefore",
479
+ value: "\\therefore",
480
+ isShortcut: true,
481
+ description: "Therefore",
482
+ },
483
+ BECAUSE: {
484
+ label: "\\because",
485
+ value: "\\because",
486
+ isShortcut: true,
487
+ description: "Because",
488
+ },
489
+ FOR_ALL: {
490
+ label: "\\forall",
491
+ value: "\\forall",
492
+ isShortcut: true,
493
+ description: "For all (universal quantifier)",
494
+ },
495
+ };
496
+ // Brackets and Grouping
497
+ exports.BRACKETS = {
498
+ PARENTHESES_OPEN: { label: "(", value: "(" },
499
+ PARENTHESES_CLOSE: { label: ")", value: ")" },
500
+ SQUARE_OPEN: { label: "[", value: "[" },
501
+ SQUARE_CLOSE: { label: "]", value: "]" },
502
+ CURLY_BRACES: {
503
+ label: "\\{\\Box\\}",
504
+ value: "\\{\\}",
505
+ isShortcut: true,
506
+ description: "Curly braces",
507
+ },
508
+ CURLY_BRACES_ALT: {
509
+ label: "\\{\\Box\\}",
510
+ value: "\\{\\}",
511
+ isShortcut: true,
512
+ description: "Curly braces",
513
+ },
514
+ ROUND_BRACES: {
515
+ label: "(\\Box)",
516
+ value: "()",
517
+ isShortcut: true,
518
+ description: "Round braces",
519
+ },
520
+ SQUARE_BRACKETS: {
521
+ label: "[ \\Box ]",
522
+ value: "[\\,]",
523
+ isShortcut: true,
524
+ description: "Square brackets",
525
+ },
526
+ SQUARE_BRACKETS_ALT: {
527
+ label: "[\\Box]",
528
+ value: "[{}]",
529
+ isShortcut: true,
530
+ description: "Square brackets",
531
+ },
532
+ DOUBLE_BRACKETS: {
533
+ label: "⟦⟧",
534
+ value: "[[ \\,\\, ]]",
535
+ isShortcut: true,
536
+ description: "Double brackets",
537
+ },
538
+ OPEN_CURLY: { label: "\\text{\\{}", value: "{", mode: "keystore" },
539
+ CLOSE_CURLY: { label: "\\text{\\}}", value: "}", mode: "keystore" },
540
+ };
541
+ // Trigonometric Functions
542
+ exports.TRIGONOMETRIC = {
543
+ SIN: {
544
+ label: "\\sin (\\Box)",
545
+ value: "\\sin ()",
546
+ isShortcut: true,
547
+ description: "Sine function with parentheses",
548
+ },
549
+ COS: {
550
+ label: "\\cos (\\Box)",
551
+ value: "\\cos ()",
552
+ isShortcut: true,
553
+ description: "Cosine function with parentheses",
554
+ },
555
+ TAN: {
556
+ label: "\\tan (\\Box)",
557
+ value: "\\tan ()",
558
+ isShortcut: true,
559
+ description: "Tangent function with parentheses",
560
+ },
561
+ ARCSIN: {
562
+ label: "\\sin^{-1} (\\Box)",
563
+ value: "\\sin^{-1} ()",
564
+ isShortcut: true,
565
+ description: "Inverse sine (arcsine) with parentheses",
566
+ },
567
+ ARCCOS: {
568
+ label: "\\cos^{-1} (\\Box)",
569
+ value: "\\cos^{-1} ()",
570
+ isShortcut: true,
571
+ description: "Inverse cosine (arccosine) with parentheses",
572
+ },
573
+ ARCTAN: {
574
+ label: "\\tan^{-1} (\\Box)",
575
+ value: "\\tan^{-1} ()",
576
+ isShortcut: true,
577
+ description: "Inverse tangent (arctangent)",
578
+ },
579
+ SEC: {
580
+ label: "\\sec (\\Box)",
581
+ value: "\\sec ()",
582
+ isShortcut: true,
583
+ description: "Secant function with parentheses",
584
+ },
585
+ CSC: {
586
+ label: "\\csc (\\Box)",
587
+ value: "\\csc ()",
588
+ isShortcut: true,
589
+ description: "Cosecant function with parentheses",
590
+ },
591
+ COT: {
592
+ label: "\\cot (\\Box)",
593
+ value: "\\cot ()",
594
+ isShortcut: true,
595
+ description: "Cotangent function with parentheses",
596
+ },
597
+ };
598
+ // Logarithmic Functions
599
+ exports.LOGARITHMIC = {
600
+ LOG: {
601
+ label: "\\text{log}",
602
+ value: "\\text{log}",
603
+ isShortcut: true,
604
+ description: "Logarithm",
605
+ },
606
+ LOG_BASE: {
607
+ label: "\\text{log}_\\Box",
608
+ value: "\\text{log}_x",
609
+ isShortcut: true,
610
+ description: "Logarithm base x",
611
+ },
612
+ LOG_BASE_ALT: {
613
+ label: "\\log_\\Box (\\Box)",
614
+ value: "\\log_{} ()",
615
+ isShortcut: true,
616
+ description: "Logarithm with subscript and parentheses",
617
+ },
618
+ LN: {
619
+ label: "\\text{ln}",
620
+ value: "\\text{ln}",
621
+ isShortcut: true,
622
+ description: "Natural logarithm",
623
+ },
624
+ LN_ALT: {
625
+ label: "\\ln (\\Box)",
626
+ value: "\\ln ()",
627
+ isShortcut: true,
628
+ description: "Natural logarithm with parentheses",
629
+ },
630
+ };
631
+ // Chemistry Symbols
632
+ exports.CHEMISTRY = {
633
+ // Bonds
634
+ SINGLE_BOND: { label: "-", value: "-" },
635
+ DOUBLE_BOND: { label: "=", value: "=" },
636
+ TRIPLE_BOND: {
637
+ label: "\\equiv",
638
+ value: "\\equiv",
639
+ isShortcut: true,
640
+ description: "Triple bond",
641
+ },
642
+ DOT: {
643
+ label: "\\cdot",
644
+ value: "\\cdot",
645
+ isShortcut: true,
646
+ description: "Dot (hydration/coordination)",
647
+ },
648
+ HEAT: {
649
+ label: "\\Delta",
650
+ value: "\\Delta",
651
+ isShortcut: true,
652
+ description: "Heat/Temperature change",
653
+ },
654
+ // Subscripts for chemistry
655
+ SUBSCRIPT_1: {
656
+ label: "_{1}",
657
+ value: "_{1}",
658
+ isShortcut: true,
659
+ description: "Subscript 1",
660
+ },
661
+ SUBSCRIPT_2: {
662
+ label: "_{2}",
663
+ value: "_{2}",
664
+ isShortcut: true,
665
+ description: "Subscript 2",
666
+ },
667
+ SUBSCRIPT_3: {
668
+ label: "_{3}",
669
+ value: "_{3}",
670
+ isShortcut: true,
671
+ description: "Subscript 3",
672
+ },
673
+ SUBSCRIPT_4: {
674
+ label: "_{4}",
675
+ value: "_{4}",
676
+ isShortcut: true,
677
+ description: "Subscript 4",
678
+ },
679
+ // Charges
680
+ POSITIVE_CHARGE: {
681
+ label: "^{+}",
682
+ value: "^{+}",
683
+ isShortcut: true,
684
+ description: "Positive charge",
685
+ },
686
+ NEGATIVE_CHARGE: {
687
+ label: "^{-}",
688
+ value: "^{-}",
689
+ isShortcut: true,
690
+ description: "Negative charge",
691
+ },
692
+ // States
693
+ SOLID: { label: "(\\Box)_{s}", value: "()_{s}" },
694
+ LIQUID: { label: "(\\Box)_{l}", value: "()_{l}" },
695
+ GAS: { label: "(\\Box)_{g}", value: "()_{g}" },
696
+ AQUEOUS: { label: "(\\Box)_{aq}", value: "()_{aq}" },
697
+ // Reaction arrows
698
+ REACTION_ARROW: {
699
+ label: "\\rightarrow",
700
+ value: "\\rightarrow",
701
+ isShortcut: true,
702
+ description: "Reaction arrow (yields)",
703
+ },
704
+ REVERSIBLE_REACTION: {
705
+ label: "\\leftrightarrow",
706
+ value: "\\leftrightarrow",
707
+ isShortcut: true,
708
+ description: "Reversible reaction",
709
+ },
710
+ EQUILIBRIUM: {
711
+ label: "\\rightleftharpoons",
712
+ value: "\\rightleftharpoons",
713
+ isShortcut: true,
714
+ description: "Equilibrium",
715
+ },
716
+ REACTION_WITH_HEAT: {
717
+ label: "\\xrightarrow{\\Delta}",
718
+ value: "\\xrightarrow{\\Delta}",
719
+ isShortcut: true,
720
+ description: "Reaction with heat",
721
+ },
722
+ MAPS_TO: {
723
+ label: "\\mapsto",
724
+ value: "\\mapsto",
725
+ isShortcut: true,
726
+ description: "Maps to",
727
+ },
728
+ // Arrows and indicators
729
+ UP_ARROW: {
730
+ label: "\\uparrow",
731
+ value: "\\uparrow",
732
+ isShortcut: true,
733
+ description: "Gas evolution (upward arrow)",
734
+ },
735
+ DOWN_ARROW: {
736
+ label: "\\downarrow",
737
+ value: "\\downarrow",
738
+ isShortcut: true,
739
+ description: "Precipitation (downward arrow)",
740
+ },
741
+ CONCENTRATION: {
742
+ label: "[\\Box]",
743
+ value: "[{}]",
744
+ isShortcut: true,
745
+ description: "Concentration brackets",
746
+ },
747
+ // Thermodynamic quantities
748
+ ENTHALPY_CHANGE: {
749
+ label: "\\Delta H^\\circ",
750
+ value: "\\Delta H^\\circ",
751
+ isShortcut: true,
752
+ description: "Standard enthalpy change",
753
+ },
754
+ GIBBS_FREE_ENERGY: {
755
+ label: "\\Delta G",
756
+ value: "\\Delta G",
757
+ isShortcut: true,
758
+ description: "Gibbs free energy change",
759
+ },
760
+ ENTROPY_CHANGE: {
761
+ label: "\\Delta S",
762
+ value: "\\Delta S",
763
+ isShortcut: true,
764
+ description: "Entropy change",
765
+ },
766
+ EQUILIBRIUM_CONSTANT: {
767
+ label: "K_c",
768
+ value: "K_c",
769
+ isShortcut: true,
770
+ description: "Equilibrium constant (concentration)",
771
+ },
772
+ PH: {
773
+ label: "\\text{pH}",
774
+ value: "\\text{pH}",
775
+ isShortcut: true,
776
+ description: "pH notation",
777
+ },
778
+ // Common elements
779
+ HYDROGEN: { label: "H", value: "H" },
780
+ CARBON: { label: "C", value: "C" },
781
+ OXYGEN: { label: "O", value: "O" },
782
+ NITROGEN: { label: "N", value: "N" },
783
+ };
784
+ // Special Symbols
785
+ exports.SPECIAL_SYMBOLS = {
786
+ PERCENT: {
787
+ label: "\\%",
788
+ value: "\\%",
789
+ isShortcut: true,
790
+ description: "Percent symbol",
791
+ },
792
+ DEGREE: {
793
+ label: "\\degree",
794
+ value: "\\degree",
795
+ isShortcut: true,
796
+ description: "Degree symbol",
797
+ },
798
+ ANGLE: {
799
+ label: "∠(\\Box)",
800
+ value: "\\angle ()",
801
+ isShortcut: true,
802
+ description: "Angle symbol with parentheses",
803
+ },
804
+ BACKSLASH: { label: "\\backslash", value: "\\", mode: "keystore" },
805
+ // Set theory
806
+ UNION: {
807
+ label: "\\cup",
808
+ value: "\\cup",
809
+ isShortcut: true,
810
+ description: "Union",
811
+ },
812
+ INTERSECTION: {
813
+ label: "\\cap",
814
+ value: "\\cap",
815
+ isShortcut: true,
816
+ description: "Intersection",
817
+ },
818
+ SUBSET_EQUAL: {
819
+ label: "\\subseteq",
820
+ value: "\\subseteq",
821
+ isShortcut: true,
822
+ description: "Subset or equal to",
823
+ },
824
+ EMPTY_SET: {
825
+ label: "\\emptyset",
826
+ value: "\\emptyset",
827
+ isShortcut: true,
828
+ description: "Empty set",
829
+ },
830
+ // Advanced math
831
+ SUMMATION: {
832
+ label: "\\sum_\\Box^\\Box (\\Box)",
833
+ value: "\\sum_{}^{} ()",
834
+ isShortcut: true,
835
+ description: "Summation with parentheses",
836
+ },
837
+ PRODUCT: {
838
+ label: "\\prod_\\Box^\\Box (\\Box)",
839
+ value: "\\prod_{}^{} ()",
840
+ isShortcut: true,
841
+ description: "Product with parentheses",
842
+ },
843
+ FUNCTION: {
844
+ label: "f(\\Box)",
845
+ value: "f()",
846
+ isShortcut: true,
847
+ description: "Function",
848
+ },
849
+ INTEGRAL: {
850
+ label: "\\int_{V_i}^{V_f}",
851
+ value: "\\int_{V_i}^{V_f}",
852
+ isShortcut: true,
853
+ description: "Integral",
854
+ },
855
+ // Number sets
856
+ REAL_NUMBERS: {
857
+ label: "\\mathbb{R}",
858
+ value: "\\mathbb{R}",
859
+ isShortcut: true,
860
+ description: "Real numbers",
861
+ },
862
+ INTEGERS: {
863
+ label: "\\mathbb{Z}",
864
+ value: "\\mathbb{Z}",
865
+ isShortcut: true,
866
+ description: "Integers",
867
+ },
868
+ NATURAL_NUMBERS: {
869
+ label: "\\mathbb{N}",
870
+ value: "\\mathbb{N}",
871
+ isShortcut: true,
872
+ description: "Natural numbers",
873
+ },
874
+ // Dots
875
+ HORIZONTAL_DOTS: {
876
+ label: "\\cdots",
877
+ value: "\\cdots",
878
+ isShortcut: true,
879
+ description: "Horizontal dots",
880
+ },
881
+ DIAGONAL_DOTS: {
882
+ label: "\\ddots",
883
+ value: "\\ddots",
884
+ isShortcut: true,
885
+ description: "Diagonal dots",
886
+ },
887
+ // Currency
888
+ RUPEES: {
889
+ label: "\\text{Rs.} (\\Box)",
890
+ value: "\\text{Rs.} ()",
891
+ isShortcut: true,
892
+ description: "Rupees symbol with parentheses",
893
+ },
894
+ // Mathematical operations
895
+ FACTORIAL: {
896
+ label: "!",
897
+ value: "!",
898
+ isShortcut: false,
899
+ description: "Factorial",
900
+ },
901
+ // Geometry symbols
902
+ TRIANGLE: {
903
+ label: "\\triangle\\Box",
904
+ value: "\\triangle",
905
+ isShortcut: true,
906
+ description: "Triangle",
907
+ },
908
+ SEGMENT: {
909
+ label: "\\overline{\\Box}",
910
+ value: "\\overline{AB}",
911
+ isShortcut: true,
912
+ description: "Line segment",
913
+ },
914
+ RAY: {
915
+ label: "\\overrightarrow{\\Box}",
916
+ value: "\\overrightarrow{AB}",
917
+ isShortcut: true,
918
+ description: "Ray",
919
+ },
920
+ LINE: {
921
+ label: "\\overleftrightarrow{\\Box}",
922
+ value: "\\overleftrightarrow{AB}",
923
+ isShortcut: true,
924
+ description: "Line",
925
+ },
926
+ ARC: {
927
+ label: "\\overset{\\frown}{\\Box\\Box}",
928
+ value: "\\overset{\\frown}{AB}",
929
+ isShortcut: true,
930
+ description: "Arc",
931
+ },
932
+ COORDINATES: {
933
+ label: "(\\Box, \\Box)",
934
+ value: "(x, y)",
935
+ isShortcut: true,
936
+ description: "Coordinate pair",
937
+ },
938
+ SLOPE_FORMULA: {
939
+ label: "m = \\frac{\\Box - \\Box}{\\Box - \\Box}",
940
+ value: "m = \\frac{y_2 - y_1}{x_2 - x_1}",
941
+ isShortcut: true,
942
+ description: "Slope formula",
943
+ },
944
+ };
945
+ // Calculus Symbols
946
+ exports.CALCULUS = {
947
+ LIMIT: {
948
+ label: "\\lim_{\\Box\\to\\Box} (\\Box)",
949
+ value: "\\lim_{x\\to a} ()",
950
+ isShortcut: true,
951
+ description: "Limit notation with parentheses",
952
+ },
953
+ DERIVATIVE: {
954
+ label: "\\frac{d}{d\\Box} (\\Box)",
955
+ value: "\\frac{d}{dx} ()",
956
+ isShortcut: true,
957
+ description: "First derivative with parentheses",
958
+ },
959
+ SECOND_DERIVATIVE: {
960
+ label: "\\frac{d^2\\Box}{d\\Box^2}",
961
+ value: "\\frac{d^2y}{dx^2}",
962
+ isShortcut: true,
963
+ description: "Second derivative",
964
+ },
965
+ INTEGRAL_SIMPLE: {
966
+ label: "\\int \\Box \\, d\\Box",
967
+ value: "\\int f(x) \\, dx",
968
+ isShortcut: true,
969
+ description: "Indefinite integral",
970
+ },
971
+ INTEGRAL_DEFINITE: {
972
+ label: "\\int_{\\Box}^{\\Box} \\Box \\, d\\Box",
973
+ value: "\\int_{a}^{b} f(x) \\, dx",
974
+ isShortcut: true,
975
+ description: "Definite integral",
976
+ },
977
+ PARTIAL_DERIVATIVE: {
978
+ label: "\\frac{\\partial \\Box}{\\partial \\Box}",
979
+ value: "\\frac{\\partial f}{\\partial x}",
980
+ isShortcut: true,
981
+ description: "Partial derivative",
982
+ },
983
+ EVALUATION_BRACKETS: {
984
+ label: "[\\Box]_{\\Box}^{\\Box}",
985
+ value: "[f(x)]_{a}^{b}",
986
+ isShortcut: true,
987
+ description: "Evaluation brackets",
988
+ },
989
+ LINE_INTEGRAL: {
990
+ label: "\\oint (\\Box) \\, d\\Box",
991
+ value: "\\oint () \\, dx",
992
+ isShortcut: true,
993
+ description: "Line integral with parentheses",
994
+ },
995
+ EULER_NUMBER: {
996
+ label: "e",
997
+ value: "e",
998
+ isShortcut: false,
999
+ description: "Euler's number (e ≈ 2.718)",
1000
+ },
1001
+ NATURAL_LOG_ABS: {
1002
+ label: "\\ln |\\Box|",
1003
+ value: "\\ln |x|",
1004
+ isShortcut: true,
1005
+ description: "Natural logarithm of absolute value",
1006
+ },
1007
+ };
1008
+ // Statistics and Probability Symbols
1009
+ exports.STATISTICS = {
1010
+ SAMPLE_MEAN: {
1011
+ label: "\\overline{\\Box}",
1012
+ value: "\\overline{x}",
1013
+ isShortcut: true,
1014
+ description: "Sample mean (x-bar)",
1015
+ },
1016
+ PERMUTATION: {
1017
+ label: "^\\Box P_\\Box",
1018
+ value: "^n P_r",
1019
+ isShortcut: true,
1020
+ description: "Permutation (nPr)",
1021
+ },
1022
+ COMBINATION: {
1023
+ label: "^\\Box C_\\Box",
1024
+ value: "^n C_r",
1025
+ isShortcut: true,
1026
+ description: "Combination (nCr)",
1027
+ },
1028
+ PROBABILITY_FUNCTION: {
1029
+ label: "P(\\Box)",
1030
+ value: "P()",
1031
+ isShortcut: true,
1032
+ description: "Probability function",
1033
+ },
1034
+ BINOMIAL_COEFFICIENT: {
1035
+ label: "\\binom{\\Box}{\\Box}",
1036
+ value: "\\binom{n}{k}",
1037
+ isShortcut: true,
1038
+ description: "Binomial coefficient (n choose k)",
1039
+ },
1040
+ STANDARD_DEVIATION: {
1041
+ label: "σ",
1042
+ value: "\\sigma",
1043
+ isShortcut: true,
1044
+ description: "Standard deviation (sigma)",
1045
+ },
1046
+ VARIANCE: {
1047
+ label: "σ²",
1048
+ value: "\\sigma^2",
1049
+ isShortcut: true,
1050
+ description: "Variance (sigma squared)",
1051
+ },
1052
+ VARIANCE_FUNCTION: {
1053
+ label: "\\text{Var}(\\Box)",
1054
+ value: "\\text{Var}(X)",
1055
+ isShortcut: true,
1056
+ description: "Variance function",
1057
+ },
1058
+ MEAN: {
1059
+ label: "μ",
1060
+ value: "\\mu",
1061
+ isShortcut: true,
1062
+ description: "Population mean (mu)",
1063
+ },
1064
+ X_SUBSCRIPT_I: {
1065
+ label: "x_i",
1066
+ value: "x_i",
1067
+ isShortcut: true,
1068
+ description: "X with subscript i",
1069
+ },
1070
+ F_SUBSCRIPT_I: {
1071
+ label: "f_i",
1072
+ value: "f_i",
1073
+ isShortcut: true,
1074
+ description: "Frequency with subscript i",
1075
+ },
1076
+ Z_SCORE_FORMULA: {
1077
+ label: "z = \\frac{\\Box - μ}{σ}",
1078
+ value: "z = \\frac{x - \\mu}{\\sigma}",
1079
+ isShortcut: true,
1080
+ description: "Z-score standardization formula",
1081
+ },
1082
+ SUMMATION_SIMPLE: {
1083
+ label: "\\sum \\Box",
1084
+ value: "\\sum x",
1085
+ isShortcut: true,
1086
+ description: "Simple summation",
1087
+ },
1088
+ };
1089
+ // Matrices and Vectors Symbols
1090
+ exports.MATRICES_VECTORS = {
1091
+ VECTOR_ARROW: {
1092
+ label: "\\vec{\\Box}",
1093
+ value: "\\vec{a}",
1094
+ isShortcut: true,
1095
+ description: "Vector with arrow",
1096
+ },
1097
+ VECTOR_HAT: {
1098
+ label: "\\hat{\\Box}",
1099
+ value: "\\hat{a}",
1100
+ isShortcut: true,
1101
+ description: "Unit vector with hat",
1102
+ },
1103
+ VECTOR_MAGNITUDE: {
1104
+ label: "||\\Box||",
1105
+ value: "||a||",
1106
+ isShortcut: true,
1107
+ description: "Vector magnitude/norm",
1108
+ },
1109
+ UNIT_VECTOR_I: {
1110
+ label: "\\hat{i}",
1111
+ value: "\\hat{i}",
1112
+ isShortcut: true,
1113
+ description: "Unit vector i",
1114
+ },
1115
+ UNIT_VECTOR_J: {
1116
+ label: "\\hat{j}",
1117
+ value: "\\hat{j}",
1118
+ isShortcut: true,
1119
+ description: "Unit vector j",
1120
+ },
1121
+ UNIT_VECTOR_K: {
1122
+ label: "\\hat{k}",
1123
+ value: "\\hat{k}",
1124
+ isShortcut: true,
1125
+ description: "Unit vector k",
1126
+ },
1127
+ MATRIX_2x2: {
1128
+ label: "\\begin{bmatrix}\\Box&\\Box\\\\\\Box&\\Box\\end{bmatrix}",
1129
+ value: "\\begin{bmatrix}{}&{}\\\\{}&{}\\end{bmatrix}",
1130
+ isShortcut: true,
1131
+ description: "2x2 matrix",
1132
+ },
1133
+ MATRIX_2x3: {
1134
+ label: "\\begin{bmatrix}\\Box&\\Box&\\Box\\\\\\Box&\\Box&\\Box\\end{bmatrix}",
1135
+ value: "\\begin{bmatrix}{}&{}&{}\\\\{}&{}&{}\\end{bmatrix}",
1136
+ isShortcut: true,
1137
+ description: "2x3 matrix",
1138
+ },
1139
+ MATRIX_3x2: {
1140
+ label: "\\begin{bmatrix}\\Box&\\Box\\\\\\Box&\\Box\\\\\\Box&\\Box\\end{bmatrix}",
1141
+ value: "\\begin{bmatrix}{}&{}\\\\{}&{}\\\\{}&{}\\end{bmatrix}",
1142
+ isShortcut: true,
1143
+ description: "3x2 matrix",
1144
+ },
1145
+ DETERMINANT_2x2: {
1146
+ label: "\\begin{vmatrix}\\Box&\\Box\\\\\\Box&\\Box\\end{vmatrix}",
1147
+ value: "\\begin{vmatrix}{}&{}\\\\{}&{}\\end{vmatrix}",
1148
+ isShortcut: true,
1149
+ description: "2x2 determinant",
1150
+ },
1151
+ MATRIX_3x3: {
1152
+ label: "\\begin{bmatrix}\\Box&\\Box&\\Box\\\\\\Box&\\Box&\\Box\\\\\\Box&\\Box&\\Box\\end{bmatrix}",
1153
+ value: "\\begin{bmatrix}{}&{}&{}\\\\{}&{}&{}\\\\{}&{}&{}\\end{bmatrix}",
1154
+ isShortcut: true,
1155
+ description: "3x3 matrix",
1156
+ },
1157
+ DOT_PRODUCT: {
1158
+ label: "\\cdot",
1159
+ value: "\\cdot",
1160
+ isShortcut: true,
1161
+ description: "Dot product",
1162
+ },
1163
+ CROSS_PRODUCT: {
1164
+ label: "\\times",
1165
+ value: "\\times",
1166
+ isShortcut: true,
1167
+ description: "Cross product",
1168
+ },
1169
+ MATRIX_INVERSE: {
1170
+ label: "A^{-1}",
1171
+ value: "A^{-1}",
1172
+ isShortcut: true,
1173
+ description: "Matrix inverse",
1174
+ },
1175
+ DETERMINANT_FUNCTION: {
1176
+ label: "\\text{det}(\\Box)",
1177
+ value: "\\text{det}(A)",
1178
+ isShortcut: true,
1179
+ description: "Determinant function",
1180
+ },
1181
+ };
1182
+ // Complex Numbers Symbols
1183
+ exports.COMPLEX_NUMBERS = {
1184
+ IMAGINARY_UNIT: {
1185
+ label: "i",
1186
+ value: "i",
1187
+ isShortcut: false,
1188
+ description: "Imaginary unit",
1189
+ },
1190
+ COMPLEX_CONJUGATE: {
1191
+ label: "\\overline{\\Box}",
1192
+ value: "\\overline{z}",
1193
+ isShortcut: true,
1194
+ description: "Complex conjugate",
1195
+ },
1196
+ MODULUS: {
1197
+ label: "|z|",
1198
+ value: "|z|",
1199
+ isShortcut: false,
1200
+ description: "Modulus (absolute value of complex number)",
1201
+ },
1202
+ ARGUMENT: {
1203
+ label: "\\arg(\\Box)",
1204
+ value: "\\arg(z)",
1205
+ isShortcut: true,
1206
+ description: "Argument of complex number",
1207
+ },
1208
+ EULER_FORMULA: {
1209
+ label: "e^{i\\theta}",
1210
+ value: "e^{i\\theta}",
1211
+ isShortcut: true,
1212
+ description: "Euler's formula",
1213
+ },
1214
+ REAL_PART: {
1215
+ label: "\\text{Re}(\\Box)",
1216
+ value: "\\text{Re}(z)",
1217
+ isShortcut: true,
1218
+ description: "Real part of complex number",
1219
+ },
1220
+ IMAGINARY_PART: {
1221
+ label: "\\text{Im}(\\Box)",
1222
+ value: "\\text{Im}(z)",
1223
+ isShortcut: true,
1224
+ description: "Imaginary part of complex number",
1225
+ },
1226
+ CIS_FUNCTION: {
1227
+ label: "\\text{cis}(\\theta)",
1228
+ value: "\\text{cis}(\\theta)",
1229
+ isShortcut: true,
1230
+ description: "Cis function (cos + i sin)",
1231
+ },
1232
+ OMEGA: {
1233
+ label: "ω",
1234
+ value: "\\omega",
1235
+ isShortcut: true,
1236
+ description: "Omega (complex cube root of unity)",
1237
+ },
1238
+ OMEGA_SQUARED: {
1239
+ label: "ω²",
1240
+ value: "\\omega^2",
1241
+ isShortcut: true,
1242
+ description: "Omega squared",
1243
+ },
1244
+ };
1245
+ // Physics Symbols
1246
+ exports.PHYSICS = {
1247
+ SCIENTIFIC_NOTATION: {
1248
+ label: "\\Box \\times 10^\\Box",
1249
+ value: "a \\times 10^n",
1250
+ isShortcut: true,
1251
+ description: "Scientific notation",
1252
+ },
1253
+ MU: {
1254
+ label: "μ",
1255
+ value: "\\mu",
1256
+ isShortcut: true,
1257
+ description: "Mu (micro, permeability)",
1258
+ },
1259
+ OMEGA_UPPER: {
1260
+ label: "Ω",
1261
+ value: "\\Omega",
1262
+ isShortcut: true,
1263
+ description: "Omega (resistance/ohms)",
1264
+ },
1265
+ LAMBDA: {
1266
+ label: "λ",
1267
+ value: "\\lambda",
1268
+ isShortcut: true,
1269
+ description: "Lambda (wavelength)",
1270
+ },
1271
+ RHO: {
1272
+ label: "ρ",
1273
+ value: "\\rho",
1274
+ isShortcut: true,
1275
+ description: "Rho (density/resistivity)",
1276
+ },
1277
+ OMEGA_LOWER: {
1278
+ label: "ω",
1279
+ value: "\\omega",
1280
+ isShortcut: true,
1281
+ description: "Omega (angular frequency)",
1282
+ },
1283
+ PHI_UPPER: {
1284
+ label: "Φ",
1285
+ value: "\\Phi",
1286
+ isShortcut: true,
1287
+ description: "Phi (flux)",
1288
+ },
1289
+ EPSILON_NAUGHT: {
1290
+ label: "ε₀",
1291
+ value: "\\varepsilon_0",
1292
+ isShortcut: true,
1293
+ description: "Permittivity of free space",
1294
+ },
1295
+ UNIT_SQUARED: {
1296
+ label: "\\text{unit}^2",
1297
+ value: "\\text{unit}^2",
1298
+ isShortcut: true,
1299
+ description: "Squared units",
1300
+ },
1301
+ UNIT_CUBED: {
1302
+ label: "\\text{unit}^3",
1303
+ value: "\\text{unit}^3",
1304
+ isShortcut: true,
1305
+ description: "Cubed units",
1306
+ },
1307
+ PLANCK_REDUCED: {
1308
+ label: "\\hbar",
1309
+ value: "\\hbar",
1310
+ isShortcut: true,
1311
+ description: "Reduced Planck constant (h-bar)",
1312
+ },
1313
+ };
1314
+ // Control Keys
1315
+ exports.CONTROL_KEYS = {
1316
+ BACKSPACE: { label: "\\text{⌫}", value: "backspace" },
1317
+ ENTER: { label: "\\text{⏎}", value: "enter" },
1318
+ SHIFT: { label: "shift", value: "shift" },
1319
+ EMPTY: { label: "", value: "" },
1320
+ };
1321
+ // Letters (Uppercase)
1322
+ exports.LETTERS_UPPER = {
1323
+ A: { label: "\\text{A}", value: "A" },
1324
+ B: { label: "\\text{B}", value: "B" },
1325
+ C: { label: "\\text{C}", value: "C" },
1326
+ D: { label: "\\text{D}", value: "D" },
1327
+ E: { label: "\\text{E}", value: "E" },
1328
+ F: { label: "\\text{F}", value: "F" },
1329
+ G: { label: "\\text{G}", value: "G" },
1330
+ H: { label: "\\text{H}", value: "H" },
1331
+ I: { label: "\\text{I}", value: "I" },
1332
+ J: { label: "\\text{J}", value: "J" },
1333
+ K: { label: "\\text{K}", value: "K" },
1334
+ L: { label: "\\text{L}", value: "L" },
1335
+ M: { label: "\\text{M}", value: "M" },
1336
+ N: { label: "\\text{N}", value: "N" },
1337
+ O: { label: "\\text{O}", value: "O" },
1338
+ P: { label: "\\text{P}", value: "P" },
1339
+ Q: { label: "\\text{Q}", value: "Q" },
1340
+ R: { label: "\\text{R}", value: "R" },
1341
+ S: { label: "\\text{S}", value: "S" },
1342
+ T: { label: "\\text{T}", value: "T" },
1343
+ U: { label: "\\text{U}", value: "U" },
1344
+ V: { label: "\\text{V}", value: "V" },
1345
+ W: { label: "\\text{W}", value: "W" },
1346
+ X: { label: "\\text{X}", value: "X" },
1347
+ Y: { label: "\\text{Y}", value: "Y" },
1348
+ Z: { label: "\\text{Z}", value: "Z" },
1349
+ // Plain uppercase letters for Greek keyboard
1350
+ A_PLAIN: { label: "A", value: "A" },
1351
+ B_PLAIN: { label: "B", value: "B" },
1352
+ E_PLAIN: { label: "E", value: "E" },
1353
+ Z_PLAIN: { label: "Z", value: "Z" },
1354
+ H_PLAIN: { label: "H", value: "H" },
1355
+ I_PLAIN: { label: "I", value: "I" },
1356
+ K_PLAIN: { label: "K", value: "K" },
1357
+ M_PLAIN: { label: "M", value: "M" },
1358
+ N_PLAIN: { label: "N", value: "N" },
1359
+ O_PLAIN: { label: "O", value: "O" },
1360
+ P_PLAIN: { label: "P", value: "P" },
1361
+ T_PLAIN: { label: "T", value: "T" },
1362
+ X_PLAIN: { label: "X", value: "X" },
1363
+ };
1364
+ // Letters (Lowercase)
1365
+ exports.LETTERS_LOWER = {
1366
+ a: { label: "\\text{a}", value: "a" },
1367
+ b: { label: "\\text{b}", value: "b" },
1368
+ c: { label: "\\text{c}", value: "c" },
1369
+ d: { label: "\\text{d}", value: "d" },
1370
+ e: { label: "\\text{e}", value: "e" },
1371
+ f: { label: "\\text{f}", value: "f" },
1372
+ g: { label: "\\text{g}", value: "g" },
1373
+ h: { label: "\\text{h}", value: "h" },
1374
+ i: { label: "\\text{i}", value: "i" },
1375
+ j: { label: "\\text{j}", value: "j" },
1376
+ k: { label: "\\text{k}", value: "k" },
1377
+ l: { label: "\\text{l}", value: "l" },
1378
+ m: { label: "\\text{m}", value: "m" },
1379
+ n: { label: "\\text{n}", value: "n" },
1380
+ o: { label: "\\text{o}", value: "o" },
1381
+ p: { label: "\\text{p}", value: "p" },
1382
+ q: { label: "\\text{q}", value: "q" },
1383
+ r: { label: "\\text{r}", value: "r" },
1384
+ s: { label: "\\text{s}", value: "s" },
1385
+ t: { label: "\\text{t}", value: "t" },
1386
+ u: { label: "\\text{u}", value: "u" },
1387
+ v: { label: "\\text{v}", value: "v" },
1388
+ w: { label: "\\text{w}", value: "w" },
1389
+ x: { label: "\\text{x}", value: "x" },
1390
+ y: { label: "\\text{y}", value: "y" },
1391
+ z: { label: "\\text{z}", value: "z" },
1392
+ // Plain lowercase letters
1393
+ a_plain: { label: "a", value: "a" },
1394
+ b_plain: { label: "b", value: "b" },
1395
+ c_plain: { label: "c", value: "c" },
1396
+ k_plain: { label: "k", value: "k" },
1397
+ n_plain: { label: "n", value: "n" },
1398
+ o_plain: { label: "ο", value: "o" },
1399
+ t_plain: { label: "t", value: "t" },
1400
+ x_plain: { label: "x", value: "x" },
1401
+ y_plain: { label: "y", value: "y" },
1402
+ z_plain: { label: "z", value: "z" },
1403
+ };
1404
+ // Profile-specific templates
1405
+ exports.PROFILE_TEMPLATES = {
1406
+ // Profile 1 - Set theory and intervals
1407
+ MIXED_FRACTION: {
1408
+ label: "\\Box\\frac{\\Box}{\\Box}",
1409
+ value: "a\\frac{b}{c}",
1410
+ isShortcut: true,
1411
+ description: "Mixed fraction",
1412
+ },
1413
+ BOTTOM_FRACTION: {
1414
+ label: "\\frac{}{\\Box}",
1415
+ value: "\\frac{}{a}",
1416
+ isShortcut: true,
1417
+ description: "Bottom fraction only",
1418
+ },
1419
+ SQUARE_BRACKETS_TWO_ELEMENTS: {
1420
+ label: "[\\Box,\\Box]",
1421
+ value: "[a,b]",
1422
+ isShortcut: true,
1423
+ description: "Square brackets with 2 elements",
1424
+ },
1425
+ ROUND_BRACKETS_TWO_ELEMENTS: {
1426
+ label: "(\\Box,\\Box)",
1427
+ value: "(a,b)",
1428
+ isShortcut: true,
1429
+ description: "Round brackets with 2 elements",
1430
+ },
1431
+ };
1432
+ // Profile Constants Definition (keeping from original)
1433
+ exports.KEYBOARD_PROFILES = {
1434
+ NUMBERS_SETS: "NUMBERS_SETS",
1435
+ ALGEBRA_FINANCE: "ALGEBRA_FINANCE",
1436
+ GEOMETRY: "GEOMETRY",
1437
+ COORDINATE_GEOMETRY: "COORDINATE_GEOMETRY",
1438
+ TRIGONOMETRY: "TRIGONOMETRY",
1439
+ CALCULUS: "CALCULUS",
1440
+ STATS_PROBABILITY: "STATS_PROBABILITY",
1441
+ MATRICES_VECTORS: "MATRICES_VECTORS",
1442
+ COMPLEX_NUMBERS: "COMPLEX_NUMBERS",
1443
+ CHEMISTRY: "CHEMISTRY",
1444
+ PHYSICS: "PHYSICS",
1445
+ // Additional profiles as needed
1446
+ };
1447
+ //# sourceMappingURL=keyboardConstants.js.map