@pie-lib/math-input 8.1.1-next.3 → 8.1.1

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 (185) hide show
  1. package/CHANGELOG.json +17 -0
  2. package/CHANGELOG.md +1178 -0
  3. package/LICENSE.md +5 -0
  4. package/lib/horizontal-keypad.js +96 -0
  5. package/lib/horizontal-keypad.js.map +1 -0
  6. package/lib/index.js +69 -0
  7. package/lib/index.js.map +1 -0
  8. package/lib/keypad/index.js +413 -0
  9. package/lib/keypad/index.js.map +1 -0
  10. package/lib/keypad/keys-layout.js +22 -0
  11. package/lib/keypad/keys-layout.js.map +1 -0
  12. package/lib/keys/basic-operators.js +33 -0
  13. package/lib/keys/basic-operators.js.map +1 -0
  14. package/lib/keys/chars.js +12 -0
  15. package/lib/keys/chars.js.map +1 -0
  16. package/lib/keys/comparison.js +39 -0
  17. package/lib/keys/comparison.js.map +1 -0
  18. package/lib/keys/constants.js +37 -0
  19. package/lib/keys/constants.js.map +1 -0
  20. package/lib/keys/digits.js +46 -0
  21. package/lib/keys/digits.js.map +1 -0
  22. package/lib/keys/edit.js +14 -0
  23. package/lib/keys/edit.js.map +1 -0
  24. package/lib/keys/exponent.js +30 -0
  25. package/lib/keys/exponent.js.map +1 -0
  26. package/lib/keys/fractions.js +29 -0
  27. package/lib/keys/fractions.js.map +1 -0
  28. package/lib/keys/geometry.js +140 -0
  29. package/lib/keys/geometry.js.map +1 -0
  30. package/lib/keys/grades.js +259 -0
  31. package/lib/keys/grades.js.map +1 -0
  32. package/lib/keys/index.js +35 -0
  33. package/lib/keys/index.js.map +1 -0
  34. package/lib/keys/log.js +27 -0
  35. package/lib/keys/log.js.map +1 -0
  36. package/lib/keys/logic.js +19 -0
  37. package/lib/keys/logic.js.map +1 -0
  38. package/lib/keys/matrices.js +19 -0
  39. package/lib/keys/matrices.js.map +1 -0
  40. package/lib/keys/misc.js +62 -0
  41. package/lib/keys/misc.js.map +1 -0
  42. package/lib/keys/navigation.js +20 -0
  43. package/lib/keys/navigation.js.map +1 -0
  44. package/lib/keys/operators.js +15 -0
  45. package/lib/keys/operators.js.map +1 -0
  46. package/lib/keys/statistics.js +40 -0
  47. package/lib/keys/statistics.js.map +1 -0
  48. package/lib/keys/sub-sup.js +19 -0
  49. package/lib/keys/sub-sup.js.map +1 -0
  50. package/lib/keys/trigonometry.js +45 -0
  51. package/lib/keys/trigonometry.js.map +1 -0
  52. package/lib/keys/utils.js +87 -0
  53. package/lib/keys/utils.js.map +1 -0
  54. package/lib/keys/vars.js +24 -0
  55. package/lib/keys/vars.js.map +1 -0
  56. package/lib/math-input.js +141 -0
  57. package/lib/math-input.js.map +1 -0
  58. package/lib/mq/common-mq-styles.js +102 -0
  59. package/lib/mq/common-mq-styles.js.map +1 -0
  60. package/lib/mq/custom-elements.js +20 -0
  61. package/lib/mq/custom-elements.js.map +1 -0
  62. package/lib/mq/index.js +28 -0
  63. package/lib/mq/index.js.map +1 -0
  64. package/lib/mq/input.js +186 -0
  65. package/lib/mq/input.js.map +1 -0
  66. package/lib/mq/mathquill-instance.js +52 -0
  67. package/lib/mq/mathquill-instance.js.map +1 -0
  68. package/lib/mq/static.js +301 -0
  69. package/lib/mq/static.js.map +1 -0
  70. package/lib/updateSpans.js +19 -0
  71. package/lib/updateSpans.js.map +1 -0
  72. package/package.json +18 -33
  73. package/src/__tests__/horizontal-keypad.test.jsx +463 -0
  74. package/src/__tests__/index.test.js +247 -0
  75. package/src/__tests__/math-input-test.jsx +45 -0
  76. package/src/__tests__/updateSpans.test.js +297 -0
  77. package/src/horizontal-keypad.jsx +69 -0
  78. package/src/index.jsx +28 -0
  79. package/src/keypad/__tests__/index.test.jsx +25 -0
  80. package/src/keypad/__tests__/keys-layout.test.js +14 -0
  81. package/src/keypad/index.jsx +439 -0
  82. package/src/keypad/keys-layout.js +16 -0
  83. package/src/keys/__tests__/utils.test.js +57 -0
  84. package/src/keys/basic-operators.js +32 -0
  85. package/src/keys/chars.js +5 -0
  86. package/src/keys/comparison.js +28 -0
  87. package/src/keys/constants.js +35 -0
  88. package/src/keys/digits.js +40 -0
  89. package/src/keys/edit.js +3 -0
  90. package/src/keys/exponent.js +28 -0
  91. package/src/keys/fractions.js +26 -0
  92. package/src/keys/geometry.js +144 -0
  93. package/src/keys/grades.js +367 -0
  94. package/src/keys/index.js +20 -0
  95. package/src/keys/log.js +22 -0
  96. package/src/keys/logic.js +15 -0
  97. package/src/keys/matrices.js +15 -0
  98. package/src/keys/misc.js +65 -0
  99. package/src/keys/navigation.js +8 -0
  100. package/src/keys/operators.js +10 -0
  101. package/src/keys/statistics.js +38 -0
  102. package/src/keys/sub-sup.js +15 -0
  103. package/src/keys/trigonometry.js +15 -0
  104. package/src/keys/utils.js +66 -0
  105. package/src/keys/vars.js +19 -0
  106. package/src/math-input.jsx +119 -0
  107. package/src/mq/__tests__/custom-elements.test.js +342 -0
  108. package/src/mq/__tests__/input.test.jsx +40 -0
  109. package/src/mq/__tests__/mathquill-instance.test.js +67 -0
  110. package/src/mq/__tests__/static.test.jsx +33 -0
  111. package/src/mq/common-mq-styles.js +109 -0
  112. package/src/mq/custom-elements.js +11 -0
  113. package/src/mq/index.js +5 -0
  114. package/src/mq/input.jsx +166 -0
  115. package/src/mq/mathquill-instance.js +45 -0
  116. package/src/mq/static.jsx +290 -0
  117. package/src/updateSpans.js +15 -0
  118. package/dist/_virtual/_rolldown/runtime.js +0 -11
  119. package/dist/horizontal-keypad.d.ts +0 -31
  120. package/dist/horizontal-keypad.js +0 -57
  121. package/dist/index.d.ts +0 -18
  122. package/dist/index.js +0 -19
  123. package/dist/keypad/accessible-keypad.d.ts +0 -37
  124. package/dist/keypad/accessible-keypad.js +0 -614
  125. package/dist/keypad/index.d.ts +0 -2
  126. package/dist/keypad/keys-layout.d.ts +0 -15
  127. package/dist/keypad/keys-layout.js +0 -5
  128. package/dist/keypad/model.d.ts +0 -28
  129. package/dist/keypad/model.js +0 -4
  130. package/dist/keys/basic-operators.d.ts +0 -13
  131. package/dist/keys/basic-operators.js +0 -30
  132. package/dist/keys/chars.d.ts +0 -13
  133. package/dist/keys/comparison.d.ts +0 -12
  134. package/dist/keys/comparison.js +0 -32
  135. package/dist/keys/constants.d.ts +0 -12
  136. package/dist/keys/constants.js +0 -35
  137. package/dist/keys/digits.d.ts +0 -23
  138. package/dist/keys/digits.js +0 -34
  139. package/dist/keys/edit.d.ts +0 -14
  140. package/dist/keys/edit.js +0 -9
  141. package/dist/keys/exponent.d.ts +0 -12
  142. package/dist/keys/exponent.js +0 -28
  143. package/dist/keys/fractions.d.ts +0 -11
  144. package/dist/keys/fractions.js +0 -27
  145. package/dist/keys/geometry.d.ts +0 -31
  146. package/dist/keys/geometry.js +0 -127
  147. package/dist/keys/grades.d.ts +0 -17
  148. package/dist/keys/grades.js +0 -414
  149. package/dist/keys/index.d.ts +0 -14
  150. package/dist/keys/index.js +0 -50
  151. package/dist/keys/log.d.ts +0 -11
  152. package/dist/keys/log.js +0 -25
  153. package/dist/keys/logic.d.ts +0 -10
  154. package/dist/keys/logic.js +0 -13
  155. package/dist/keys/matrices.d.ts +0 -10
  156. package/dist/keys/matrices.js +0 -17
  157. package/dist/keys/misc.d.ts +0 -18
  158. package/dist/keys/misc.js +0 -60
  159. package/dist/keys/navigation.d.ts +0 -10
  160. package/dist/keys/navigation.js +0 -13
  161. package/dist/keys/operators.d.ts +0 -9
  162. package/dist/keys/operators.js +0 -11
  163. package/dist/keys/statistics.d.ts +0 -13
  164. package/dist/keys/statistics.js +0 -38
  165. package/dist/keys/sub-sup.d.ts +0 -10
  166. package/dist/keys/sub-sup.js +0 -17
  167. package/dist/keys/trigonometry.d.ts +0 -14
  168. package/dist/keys/trigonometry.js +0 -43
  169. package/dist/keys/utils.d.ts +0 -13
  170. package/dist/keys/utils.js +0 -24
  171. package/dist/keys/vars.d.ts +0 -11
  172. package/dist/keys/vars.js +0 -22
  173. package/dist/math-input.d.ts +0 -30
  174. package/dist/mq/common-mq-styles.d.ts +0 -225
  175. package/dist/mq/common-mq-styles.js +0 -54
  176. package/dist/mq/custom-elements.d.ts +0 -10
  177. package/dist/mq/custom-elements.js +0 -10
  178. package/dist/mq/index.d.ts +0 -12
  179. package/dist/mq/index.js +0 -12
  180. package/dist/mq/input.d.ts +0 -35
  181. package/dist/mq/input.js +0 -83
  182. package/dist/mq/static.d.ts +0 -43
  183. package/dist/mq/static.js +0 -142
  184. package/dist/updateSpans.d.ts +0 -10
  185. package/dist/updateSpans.js +0 -9
@@ -1,414 +0,0 @@
1
- import { comparison_exports as e, greaterThan as t, greaterThanEqual as n, lessThan as r, lessThanEqual as i } from "./comparison.js";
2
- import { theta as a, vars_exports as ee, x as o, y as s } from "./vars.js";
3
- import { blankOverBlank as c, fractions_exports as te, xBlankBlank as l, xOverBlank as u } from "./fractions.js";
4
- import { exponent_exports as ne, nthRoot as d, squareRoot as f, squared as p, xToPowerOfN as m } from "./exponent.js";
5
- import { absValue as h, brackets as g, misc_exports as re, notEqual as _, notSimilar as ie, parenthesis as v, percentage as ae, plusMinus as y } from "./misc.js";
6
- import { constants_exports as oe, eulers as se, halfInfinity as ce, infinity as le, pi as b } from "./constants.js";
7
- import { cos as x, cot as S, csc as C, sec as w, sin as T, tan as E, trigonometry_exports as ue } from "./trigonometry.js";
8
- import { angle as D, congruentTo as de, degree as O, doublePrimeArcSecond as fe, geometry_exports as pe, leftArrow as me, leftrightArrow as he, measureOfAngle as ge, notCongruentTo as _e, overArc as k, overLeftRightArrow as A, overRightArrow as j, overline as M, parallel as N, perpindicular as P, primeArcminute as F, rightArrow as I, similarTo as ve, square as ye, triangle as L } from "./geometry.js";
9
- import { circleDot as R, operators_exports as be } from "./operators.js";
10
- import { ln as z, log as B, logSubscript as V, log_exports as xe } from "./log.js";
11
- import { sub_sup_exports as Se, subscript as H } from "./sub-sup.js";
12
- import { mu as U, sigma as W, smallSigma as G, statistics_exports as Ce, xBar as we, yBar as Te } from "./statistics.js";
13
- import { basic_operators_exports as Ee, divide as De, minus as K, multiply as Oe } from "./basic-operators.js";
14
- import { matrices_exports as ke } from "./matrices.js";
15
- import q from "./digits.js";
16
- import { longDivision as J, therefore as Ae } from "./logic.js";
17
- import { left as Y, right as X } from "./navigation.js";
18
- import { del as Z } from "./edit.js";
19
- //#region src/keys/grades.ts
20
- var Q = [
21
- [
22
- c,
23
- ae,
24
- o,
25
- p,
26
- f
27
- ],
28
- [
29
- R,
30
- s,
31
- H,
32
- m,
33
- d
34
- ],
35
- [
36
- y,
37
- r,
38
- t,
39
- i,
40
- n
41
- ],
42
- [
43
- b,
44
- a,
45
- v,
46
- g,
47
- h
48
- ],
49
- [
50
- _,
51
- T,
52
- x,
53
- E,
54
- O
55
- ]
56
- ], je = (() => {
57
- let e = [...Q.map((e) => [...e])];
58
- return e[0].push({
59
- name: "i",
60
- latex: "i",
61
- write: "i"
62
- }), e[1].push(B), e[2].push(V), e[3].push(z), e[4].push(se), e;
63
- })(), Me = (() => {
64
- let e = [...Q.map((e) => [...e])];
65
- return e[0].push(U), e[1].push(we), e[2].push(Te), e[3].push(W), e[4].push(G), e;
66
- })(), $ = [
67
- {
68
- predicate: (e) => e >= 3 && e <= 5,
69
- set: [
70
- [r, t],
71
- [u, l],
72
- [o, J],
73
- [p, m]
74
- ]
75
- },
76
- {
77
- predicate: (e) => e >= 6 && e <= 7,
78
- set: [
79
- [
80
- O,
81
- r,
82
- t
83
- ],
84
- [
85
- R,
86
- i,
87
- n
88
- ],
89
- [
90
- o,
91
- s,
92
- p,
93
- m
94
- ],
95
- [
96
- y,
97
- u,
98
- l,
99
- f
100
- ],
101
- [
102
- b,
103
- v,
104
- h,
105
- d
106
- ]
107
- ]
108
- },
109
- {
110
- predicate: (e) => e >= 8 || e === "HS",
111
- set: Q
112
- },
113
- {
114
- predicate: "non-negative-integers",
115
- set: [
116
- [
117
- q.seven,
118
- q.eight,
119
- q.nine
120
- ],
121
- [
122
- q.four,
123
- q.five,
124
- q.six
125
- ],
126
- [
127
- q.one,
128
- q.two,
129
- q.three
130
- ],
131
- [
132
- q.zero,
133
- {
134
- name: "",
135
- latex: "",
136
- write: ""
137
- },
138
- {
139
- name: "",
140
- latex: "",
141
- write: ""
142
- }
143
- ],
144
- [
145
- Y,
146
- X,
147
- Z
148
- ]
149
- ]
150
- },
151
- {
152
- predicate: "integers",
153
- set: [
154
- [
155
- q.seven,
156
- q.eight,
157
- q.nine
158
- ],
159
- [
160
- q.four,
161
- q.five,
162
- q.six
163
- ],
164
- [
165
- q.one,
166
- q.two,
167
- q.three
168
- ],
169
- [
170
- q.zero,
171
- {
172
- name: "",
173
- latex: "",
174
- write: ""
175
- },
176
- K
177
- ],
178
- [
179
- Y,
180
- X,
181
- Z
182
- ]
183
- ]
184
- },
185
- {
186
- predicate: "decimals",
187
- set: [
188
- [
189
- q.seven,
190
- q.eight,
191
- q.nine
192
- ],
193
- [
194
- q.four,
195
- q.five,
196
- q.six
197
- ],
198
- [
199
- q.one,
200
- q.two,
201
- q.three
202
- ],
203
- [
204
- q.zero,
205
- q.decimalPoint,
206
- K
207
- ],
208
- [
209
- Y,
210
- X,
211
- Z
212
- ]
213
- ]
214
- },
215
- {
216
- predicate: "fractions",
217
- set: [
218
- [
219
- q.seven,
220
- q.eight,
221
- q.nine
222
- ],
223
- [
224
- q.four,
225
- q.five,
226
- q.six
227
- ],
228
- [
229
- q.one,
230
- q.two,
231
- q.three
232
- ],
233
- [
234
- q.zero,
235
- c,
236
- K
237
- ],
238
- [
239
- Y,
240
- X,
241
- Z
242
- ]
243
- ]
244
- },
245
- {
246
- predicate: "geometry",
247
- set: [
248
- [
249
- c,
250
- O,
251
- F,
252
- fe,
253
- de,
254
- ve
255
- ],
256
- [
257
- R,
258
- D,
259
- ge,
260
- L,
261
- _e,
262
- ie
263
- ],
264
- [
265
- T,
266
- x,
267
- E,
268
- b,
269
- f,
270
- d
271
- ],
272
- [
273
- C,
274
- w,
275
- S,
276
- a,
277
- H,
278
- m
279
- ],
280
- [
281
- M,
282
- j,
283
- A,
284
- k,
285
- P,
286
- N
287
- ]
288
- ]
289
- },
290
- {
291
- predicate: "advanced-algebra",
292
- set: je
293
- },
294
- {
295
- predicate: "statistics",
296
- set: Me
297
- },
298
- {
299
- predicate: "item-authoring",
300
- set: [
301
- [
302
- De,
303
- c,
304
- J,
305
- ce,
306
- p,
307
- f,
308
- M,
309
- j,
310
- A,
311
- B
312
- ],
313
- [
314
- Oe,
315
- R,
316
- {
317
- name: "",
318
- latex: "",
319
- write: ""
320
- },
321
- H,
322
- m,
323
- d,
324
- P,
325
- N,
326
- k,
327
- V
328
- ],
329
- [
330
- y,
331
- b,
332
- a,
333
- O,
334
- D,
335
- me,
336
- I,
337
- L,
338
- ye,
339
- z
340
- ],
341
- [
342
- _,
343
- h,
344
- G,
345
- U,
346
- Ae,
347
- W,
348
- he,
349
- T,
350
- x,
351
- E
352
- ],
353
- [
354
- i,
355
- n,
356
- {
357
- name: "",
358
- latex: "",
359
- write: ""
360
- },
361
- {
362
- name: "",
363
- latex: "",
364
- write: ""
365
- },
366
- le,
367
- {
368
- name: "",
369
- latex: "",
370
- write: ""
371
- },
372
- {
373
- name: "",
374
- latex: "",
375
- write: ""
376
- },
377
- C,
378
- w,
379
- S
380
- ]
381
- ]
382
- },
383
- {
384
- predicate: (e) => e >= 1 && e <= 2,
385
- set: []
386
- }
387
- ], Ne = (e) => {
388
- let t = parseInt(e, 10);
389
- if (e = isNaN(t) ? e : t, !e) return [];
390
- let n = $.find((t) => typeof t.predicate == "string" ? t.predicate === e : t.predicate(e));
391
- if (n) return n.set || [];
392
- if (e !== "language") return $[2].set;
393
- }, Pe = [
394
- ...Object.values(Ee),
395
- ...Object.values(e),
396
- ...Object.values(oe),
397
- ...Object.values(q),
398
- ...Object.values(ne),
399
- ...Object.values(te),
400
- ...Object.values(pe),
401
- ...Object.values(xe),
402
- ...Object.values(ke),
403
- ...Object.values(re),
404
- ...Object.values(be),
405
- ...Object.values(Ce),
406
- ...Object.values(Se),
407
- ...Object.values(ue),
408
- ...Object.values(ee)
409
- ], Fe = (e) => (e || []).map((e) => {
410
- let { latex: t } = e, n = (Pe || []).find((e) => t === e.latex || t === e.write || t === e.command || t === e.otherNotation);
411
- return t && n || e;
412
- });
413
- //#endregion
414
- export { Ne as keysForGrade, Fe as normalizeAdditionalKeys };
@@ -1,14 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/index.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- import * as comparison from './comparison';
10
- import * as fractions from './fractions';
11
- import * as exponent from './exponent';
12
- import * as misc from './misc';
13
- export declare const baseSet: any[][];
14
- export { comparison, fractions, exponent, misc };
@@ -1,50 +0,0 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import { comparison_exports as t } from "./comparison.js";
3
- import { fractions_exports as n } from "./fractions.js";
4
- import { exponent_exports as r } from "./exponent.js";
5
- import { misc_exports as i } from "./misc.js";
6
- import { divide as a, equals as o, minus as s, multiply as c, plus as l } from "./basic-operators.js";
7
- import u from "./digits.js";
8
- import { left as d, right as f } from "./navigation.js";
9
- import { del as p } from "./edit.js";
10
- //#region src/keys/index.ts
11
- var m = /* @__PURE__ */ e({
12
- baseSet: () => D,
13
- comparison: () => t,
14
- exponent: () => r,
15
- fractions: () => n,
16
- misc: () => i
17
- }), { one: h, two: g, three: _, four: v, five: y, six: b, seven: x, eight: S, nine: C, zero: w, comma: T, decimalPoint: E } = u, D = [
18
- [
19
- x,
20
- S,
21
- C,
22
- a
23
- ],
24
- [
25
- v,
26
- y,
27
- b,
28
- c
29
- ],
30
- [
31
- h,
32
- g,
33
- _,
34
- s
35
- ],
36
- [
37
- w,
38
- E,
39
- T,
40
- l
41
- ],
42
- [
43
- d,
44
- f,
45
- p,
46
- o
47
- ]
48
- ];
49
- //#endregion
50
- export { D as baseSet, m as keys_exports };
@@ -1,11 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/log.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const log: any;
10
- export declare const logSubscript: any;
11
- export declare const ln: any;
package/dist/keys/log.js DELETED
@@ -1,25 +0,0 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import { mkSet as t } from "./utils.js";
3
- //#region src/keys/log.ts
4
- var n = /* @__PURE__ */ e({
5
- ln: () => o,
6
- log: () => i,
7
- logSubscript: () => a
8
- }), r = t("log"), i = r({
9
- name: "Log",
10
- label: "log",
11
- command: "\\log",
12
- latex: "\\log"
13
- }), a = r({
14
- name: "log base n",
15
- label: "log s",
16
- latex: "\\log_{}",
17
- command: ["\\log", "_"]
18
- }), o = r({
19
- name: "natural log",
20
- label: "ln",
21
- command: "\\ln",
22
- latex: "\\ln"
23
- });
24
- //#endregion
25
- export { o as ln, i as log, a as logSubscript, n as log_exports };
@@ -1,10 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/logic.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const therefore: any;
10
- export declare const longDivision: any;
@@ -1,13 +0,0 @@
1
- import { mkSet as e } from "./utils.js";
2
- //#region src/keys/logic.ts
3
- var t = e("logic"), n = t({
4
- name: "Therefore",
5
- label: "∴",
6
- write: "∴"
7
- }), r = t({
8
- name: "Long division",
9
- latex: "\\longdiv{}",
10
- command: "\\longdiv"
11
- });
12
- //#endregion
13
- export { r as longDivision, n as therefore };
@@ -1,10 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/matrices.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const singleCellMatrix: any;
10
- export declare const doubleCellMatrix: any;
@@ -1,17 +0,0 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import { mkSet as t } from "./utils.js";
3
- //#region src/keys/matrices.ts
4
- var n = /* @__PURE__ */ e({
5
- doubleCellMatrix: () => a,
6
- singleCellMatrix: () => i
7
- }), r = t("matrices"), i = r({
8
- name: "Single Cell Matrix",
9
- label: "[ ]",
10
- write: "\\begin{pmatrix}\\end{pmatrix}"
11
- }), a = r({
12
- name: "Double Cell Matrix",
13
- label: "[ ] [ ] \\\\newline [ ] [ ]",
14
- write: "\\begin{bmatrix}&\\\\&\\end{bmatrix}"
15
- });
16
- //#endregion
17
- export { n as matrices_exports };
@@ -1,18 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/misc.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const plusMinus: any;
10
- export declare const absValue: any;
11
- export declare const parenthesis: any;
12
- export declare const brackets: any;
13
- export declare const percentage: any;
14
- export declare const approx: any;
15
- export declare const nApprox: any;
16
- export declare const notEqual: any;
17
- export declare const similar: any;
18
- export declare const notSimilar: any;
package/dist/keys/misc.js DELETED
@@ -1,60 +0,0 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import { mkSet as t } from "./utils.js";
3
- //#region src/keys/misc.ts
4
- var n = /* @__PURE__ */ e({
5
- absValue: () => a,
6
- approx: () => l,
7
- brackets: () => s,
8
- nApprox: () => u,
9
- notEqual: () => d,
10
- notSimilar: () => p,
11
- parenthesis: () => o,
12
- percentage: () => c,
13
- plusMinus: () => i,
14
- similar: () => f
15
- }), r = t("misc"), i = r({
16
- name: "Plus or Minus",
17
- latex: "\\pm",
18
- write: "\\pm"
19
- }), a = r({
20
- name: "Absolute Value",
21
- latex: "\\abs{}",
22
- symbol: "| |",
23
- command: "|"
24
- }), o = r({
25
- name: "Parenthesis",
26
- latex: "\\left(\\right)",
27
- symbol: "( )",
28
- command: "("
29
- }), s = r({
30
- name: "Brackets",
31
- latex: "\\left[\\right]",
32
- symbol: "[ ]",
33
- command: "["
34
- }), c = r({
35
- name: "Percent",
36
- latex: "%",
37
- command: "%"
38
- }), l = r({
39
- latex: "\\approx",
40
- command: "\\approx",
41
- ariaLabel: "Approximately equal to"
42
- }), u = r({
43
- latex: "\\napprox",
44
- command: "\\napprox",
45
- ariaLabel: "Not pproximately equal to"
46
- }), d = r({
47
- latex: "\\neq",
48
- command: "\\neq",
49
- ariaLabel: "Not equals"
50
- }), f = r({
51
- latex: "\\sim",
52
- command: "\\sim",
53
- ariaLabel: "Similar"
54
- }), p = r({
55
- latex: "\\nsim",
56
- command: "\\nsim",
57
- ariaLabel: "Not similar"
58
- });
59
- //#endregion
60
- export { a as absValue, s as brackets, n as misc_exports, d as notEqual, p as notSimilar, o as parenthesis, c as percentage, i as plusMinus };
@@ -1,10 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/navigation.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const left: any;
10
- export declare const right: any;
@@ -1,13 +0,0 @@
1
- import { mkSet as e } from "./utils.js";
2
- //#region src/keys/navigation.ts
3
- var t = e("navigation"), n = t({
4
- label: "◀",
5
- keystroke: "Left",
6
- ariaLabel: "Move cursor left"
7
- }), r = t({
8
- label: "▶",
9
- keystroke: "Right",
10
- ariaLabel: "Move cursor right"
11
- });
12
- //#endregion
13
- export { n as left, r as right };
@@ -1,9 +0,0 @@
1
- /**
2
- * @synced-from pie-lib/packages/math-input/src/keys/operators.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const circleDot: any;
@@ -1,11 +0,0 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import { mkSet as t } from "./utils.js";
3
- //#region src/keys/operators.ts
4
- var n = /* @__PURE__ */ e({ circleDot: () => r }), r = t("operators")({
5
- name: "CircleDot",
6
- label: "⋅",
7
- write: "\\cdot",
8
- ariaLabel: "Dot multiplier"
9
- });
10
- //#endregion
11
- export { r as circleDot, n as operators_exports };