@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.
- package/CHANGELOG.json +17 -0
- package/CHANGELOG.md +1178 -0
- package/LICENSE.md +5 -0
- package/lib/horizontal-keypad.js +96 -0
- package/lib/horizontal-keypad.js.map +1 -0
- package/lib/index.js +69 -0
- package/lib/index.js.map +1 -0
- package/lib/keypad/index.js +413 -0
- package/lib/keypad/index.js.map +1 -0
- package/lib/keypad/keys-layout.js +22 -0
- package/lib/keypad/keys-layout.js.map +1 -0
- package/lib/keys/basic-operators.js +33 -0
- package/lib/keys/basic-operators.js.map +1 -0
- package/lib/keys/chars.js +12 -0
- package/lib/keys/chars.js.map +1 -0
- package/lib/keys/comparison.js +39 -0
- package/lib/keys/comparison.js.map +1 -0
- package/lib/keys/constants.js +37 -0
- package/lib/keys/constants.js.map +1 -0
- package/lib/keys/digits.js +46 -0
- package/lib/keys/digits.js.map +1 -0
- package/lib/keys/edit.js +14 -0
- package/lib/keys/edit.js.map +1 -0
- package/lib/keys/exponent.js +30 -0
- package/lib/keys/exponent.js.map +1 -0
- package/lib/keys/fractions.js +29 -0
- package/lib/keys/fractions.js.map +1 -0
- package/lib/keys/geometry.js +140 -0
- package/lib/keys/geometry.js.map +1 -0
- package/lib/keys/grades.js +259 -0
- package/lib/keys/grades.js.map +1 -0
- package/lib/keys/index.js +35 -0
- package/lib/keys/index.js.map +1 -0
- package/lib/keys/log.js +27 -0
- package/lib/keys/log.js.map +1 -0
- package/lib/keys/logic.js +19 -0
- package/lib/keys/logic.js.map +1 -0
- package/lib/keys/matrices.js +19 -0
- package/lib/keys/matrices.js.map +1 -0
- package/lib/keys/misc.js +62 -0
- package/lib/keys/misc.js.map +1 -0
- package/lib/keys/navigation.js +20 -0
- package/lib/keys/navigation.js.map +1 -0
- package/lib/keys/operators.js +15 -0
- package/lib/keys/operators.js.map +1 -0
- package/lib/keys/statistics.js +40 -0
- package/lib/keys/statistics.js.map +1 -0
- package/lib/keys/sub-sup.js +19 -0
- package/lib/keys/sub-sup.js.map +1 -0
- package/lib/keys/trigonometry.js +45 -0
- package/lib/keys/trigonometry.js.map +1 -0
- package/lib/keys/utils.js +87 -0
- package/lib/keys/utils.js.map +1 -0
- package/lib/keys/vars.js +24 -0
- package/lib/keys/vars.js.map +1 -0
- package/lib/math-input.js +141 -0
- package/lib/math-input.js.map +1 -0
- package/lib/mq/common-mq-styles.js +102 -0
- package/lib/mq/common-mq-styles.js.map +1 -0
- package/lib/mq/custom-elements.js +20 -0
- package/lib/mq/custom-elements.js.map +1 -0
- package/lib/mq/index.js +28 -0
- package/lib/mq/index.js.map +1 -0
- package/lib/mq/input.js +186 -0
- package/lib/mq/input.js.map +1 -0
- package/lib/mq/mathquill-instance.js +52 -0
- package/lib/mq/mathquill-instance.js.map +1 -0
- package/lib/mq/static.js +301 -0
- package/lib/mq/static.js.map +1 -0
- package/lib/updateSpans.js +19 -0
- package/lib/updateSpans.js.map +1 -0
- package/package.json +18 -33
- package/src/__tests__/horizontal-keypad.test.jsx +463 -0
- package/src/__tests__/index.test.js +247 -0
- package/src/__tests__/math-input-test.jsx +45 -0
- package/src/__tests__/updateSpans.test.js +297 -0
- package/src/horizontal-keypad.jsx +69 -0
- package/src/index.jsx +28 -0
- package/src/keypad/__tests__/index.test.jsx +25 -0
- package/src/keypad/__tests__/keys-layout.test.js +14 -0
- package/src/keypad/index.jsx +439 -0
- package/src/keypad/keys-layout.js +16 -0
- package/src/keys/__tests__/utils.test.js +57 -0
- package/src/keys/basic-operators.js +32 -0
- package/src/keys/chars.js +5 -0
- package/src/keys/comparison.js +28 -0
- package/src/keys/constants.js +35 -0
- package/src/keys/digits.js +40 -0
- package/src/keys/edit.js +3 -0
- package/src/keys/exponent.js +28 -0
- package/src/keys/fractions.js +26 -0
- package/src/keys/geometry.js +144 -0
- package/src/keys/grades.js +367 -0
- package/src/keys/index.js +20 -0
- package/src/keys/log.js +22 -0
- package/src/keys/logic.js +15 -0
- package/src/keys/matrices.js +15 -0
- package/src/keys/misc.js +65 -0
- package/src/keys/navigation.js +8 -0
- package/src/keys/operators.js +10 -0
- package/src/keys/statistics.js +38 -0
- package/src/keys/sub-sup.js +15 -0
- package/src/keys/trigonometry.js +15 -0
- package/src/keys/utils.js +66 -0
- package/src/keys/vars.js +19 -0
- package/src/math-input.jsx +119 -0
- package/src/mq/__tests__/custom-elements.test.js +342 -0
- package/src/mq/__tests__/input.test.jsx +40 -0
- package/src/mq/__tests__/mathquill-instance.test.js +67 -0
- package/src/mq/__tests__/static.test.jsx +33 -0
- package/src/mq/common-mq-styles.js +109 -0
- package/src/mq/custom-elements.js +11 -0
- package/src/mq/index.js +5 -0
- package/src/mq/input.jsx +166 -0
- package/src/mq/mathquill-instance.js +45 -0
- package/src/mq/static.jsx +290 -0
- package/src/updateSpans.js +15 -0
- package/dist/_virtual/_rolldown/runtime.js +0 -11
- package/dist/horizontal-keypad.d.ts +0 -31
- package/dist/horizontal-keypad.js +0 -57
- package/dist/index.d.ts +0 -18
- package/dist/index.js +0 -19
- package/dist/keypad/accessible-keypad.d.ts +0 -37
- package/dist/keypad/accessible-keypad.js +0 -614
- package/dist/keypad/index.d.ts +0 -2
- package/dist/keypad/keys-layout.d.ts +0 -15
- package/dist/keypad/keys-layout.js +0 -5
- package/dist/keypad/model.d.ts +0 -28
- package/dist/keypad/model.js +0 -4
- package/dist/keys/basic-operators.d.ts +0 -13
- package/dist/keys/basic-operators.js +0 -30
- package/dist/keys/chars.d.ts +0 -13
- package/dist/keys/comparison.d.ts +0 -12
- package/dist/keys/comparison.js +0 -32
- package/dist/keys/constants.d.ts +0 -12
- package/dist/keys/constants.js +0 -35
- package/dist/keys/digits.d.ts +0 -23
- package/dist/keys/digits.js +0 -34
- package/dist/keys/edit.d.ts +0 -14
- package/dist/keys/edit.js +0 -9
- package/dist/keys/exponent.d.ts +0 -12
- package/dist/keys/exponent.js +0 -28
- package/dist/keys/fractions.d.ts +0 -11
- package/dist/keys/fractions.js +0 -27
- package/dist/keys/geometry.d.ts +0 -31
- package/dist/keys/geometry.js +0 -127
- package/dist/keys/grades.d.ts +0 -17
- package/dist/keys/grades.js +0 -414
- package/dist/keys/index.d.ts +0 -14
- package/dist/keys/index.js +0 -50
- package/dist/keys/log.d.ts +0 -11
- package/dist/keys/log.js +0 -25
- package/dist/keys/logic.d.ts +0 -10
- package/dist/keys/logic.js +0 -13
- package/dist/keys/matrices.d.ts +0 -10
- package/dist/keys/matrices.js +0 -17
- package/dist/keys/misc.d.ts +0 -18
- package/dist/keys/misc.js +0 -60
- package/dist/keys/navigation.d.ts +0 -10
- package/dist/keys/navigation.js +0 -13
- package/dist/keys/operators.d.ts +0 -9
- package/dist/keys/operators.js +0 -11
- package/dist/keys/statistics.d.ts +0 -13
- package/dist/keys/statistics.js +0 -38
- package/dist/keys/sub-sup.d.ts +0 -10
- package/dist/keys/sub-sup.js +0 -17
- package/dist/keys/trigonometry.d.ts +0 -14
- package/dist/keys/trigonometry.js +0 -43
- package/dist/keys/utils.d.ts +0 -13
- package/dist/keys/utils.js +0 -24
- package/dist/keys/vars.d.ts +0 -11
- package/dist/keys/vars.js +0 -22
- package/dist/math-input.d.ts +0 -30
- package/dist/mq/common-mq-styles.d.ts +0 -225
- package/dist/mq/common-mq-styles.js +0 -54
- package/dist/mq/custom-elements.d.ts +0 -10
- package/dist/mq/custom-elements.js +0 -10
- package/dist/mq/index.d.ts +0 -12
- package/dist/mq/index.js +0 -12
- package/dist/mq/input.d.ts +0 -35
- package/dist/mq/input.js +0 -83
- package/dist/mq/static.d.ts +0 -43
- package/dist/mq/static.js +0 -142
- package/dist/updateSpans.d.ts +0 -10
- package/dist/updateSpans.js +0 -9
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { mkSet as t } from "./utils.js";
|
|
3
|
-
//#region src/keys/basic-operators.ts
|
|
4
|
-
var n = /* @__PURE__ */ e({
|
|
5
|
-
divide: () => s,
|
|
6
|
-
equals: () => i,
|
|
7
|
-
minus: () => o,
|
|
8
|
-
multiply: () => c,
|
|
9
|
-
plus: () => a
|
|
10
|
-
}), r = t("operators"), i = r({
|
|
11
|
-
write: "=",
|
|
12
|
-
label: "="
|
|
13
|
-
}), a = r({
|
|
14
|
-
write: "+",
|
|
15
|
-
label: "+"
|
|
16
|
-
}), o = r({
|
|
17
|
-
write: "−",
|
|
18
|
-
label: "−"
|
|
19
|
-
}), s = r({
|
|
20
|
-
name: "divide",
|
|
21
|
-
label: "÷",
|
|
22
|
-
command: "\\divide",
|
|
23
|
-
otherNotation: "\\div"
|
|
24
|
-
}), c = r({
|
|
25
|
-
name: "multiply",
|
|
26
|
-
label: "×",
|
|
27
|
-
command: "\\times"
|
|
28
|
-
});
|
|
29
|
-
//#endregion
|
|
30
|
-
export { n as basic_operators_exports, s as divide, i as equals, o as minus, c as multiply, a as plus };
|
package/dist/keys/chars.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/chars.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 DELETE = "\u232B";
|
|
10
|
-
export declare const LEFT_ARROW = "\u25C0";
|
|
11
|
-
export declare const RIGHT_ARROW = "\u25B6";
|
|
12
|
-
export declare const DIVIDE = "\u00F7";
|
|
13
|
-
export declare const MULTIPLY = "\u00D7";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/comparison.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 lessThan: any;
|
|
10
|
-
export declare const greaterThan: any;
|
|
11
|
-
export declare const lessThanEqual: any;
|
|
12
|
-
export declare const greaterThanEqual: any;
|
package/dist/keys/comparison.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region src/keys/comparison.ts
|
|
3
|
-
var t = /* @__PURE__ */ e({
|
|
4
|
-
greaterThan: () => i,
|
|
5
|
-
greaterThanEqual: () => o,
|
|
6
|
-
lessThan: () => r,
|
|
7
|
-
lessThanEqual: () => a
|
|
8
|
-
}), n = (e) => ({
|
|
9
|
-
...e,
|
|
10
|
-
category: "comparison"
|
|
11
|
-
}), r = n({
|
|
12
|
-
name: "Less than",
|
|
13
|
-
latex: "<",
|
|
14
|
-
command: "\\lt"
|
|
15
|
-
}), i = n({
|
|
16
|
-
name: "Greater than",
|
|
17
|
-
latex: ">",
|
|
18
|
-
command: "\\gt"
|
|
19
|
-
}), a = n({
|
|
20
|
-
name: "Less than or equal",
|
|
21
|
-
latex: "\\le",
|
|
22
|
-
symbol: "<=",
|
|
23
|
-
command: "\\le",
|
|
24
|
-
ariaLabel: "less than or equal to"
|
|
25
|
-
}), o = n({
|
|
26
|
-
name: "Greater than or equal",
|
|
27
|
-
symbol: ">=",
|
|
28
|
-
command: "\\ge",
|
|
29
|
-
latex: "\\ge"
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
|
-
export { t as comparison_exports, i as greaterThan, o as greaterThanEqual, r as lessThan, a as lessThanEqual };
|
package/dist/keys/constants.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/constants.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 pi: any;
|
|
10
|
-
export declare const eulers: any;
|
|
11
|
-
export declare const infinity: any;
|
|
12
|
-
export declare const halfInfinity: any;
|
package/dist/keys/constants.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { mkSet as t } from "./utils.js";
|
|
3
|
-
//#region src/keys/constants.ts
|
|
4
|
-
var n = /* @__PURE__ */ e({
|
|
5
|
-
eulers: () => a,
|
|
6
|
-
halfInfinity: () => s,
|
|
7
|
-
infinity: () => o,
|
|
8
|
-
pi: () => i
|
|
9
|
-
}), r = t("constants"), i = r({
|
|
10
|
-
name: "Pi",
|
|
11
|
-
label: "π",
|
|
12
|
-
latex: "\\pi",
|
|
13
|
-
command: "\\pi",
|
|
14
|
-
category: "constants"
|
|
15
|
-
}), a = r({
|
|
16
|
-
name: "Eulers",
|
|
17
|
-
label: "e",
|
|
18
|
-
latex: "e",
|
|
19
|
-
command: "e",
|
|
20
|
-
category: "constants"
|
|
21
|
-
}), o = r({
|
|
22
|
-
name: "Infinity",
|
|
23
|
-
label: "\\infty",
|
|
24
|
-
latex: "\\infty",
|
|
25
|
-
command: "\\infty",
|
|
26
|
-
category: "constants"
|
|
27
|
-
}), s = r({
|
|
28
|
-
name: "Half Infinity",
|
|
29
|
-
label: "\\propto",
|
|
30
|
-
latex: "\\propto",
|
|
31
|
-
command: "\\propto",
|
|
32
|
-
category: "constants"
|
|
33
|
-
});
|
|
34
|
-
//#endregion
|
|
35
|
-
export { n as constants_exports, a as eulers, s as halfInfinity, o as infinity, i as pi };
|
package/dist/keys/digits.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/digits.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
|
-
declare const _default: {
|
|
10
|
-
comma: {
|
|
11
|
-
name: string;
|
|
12
|
-
label: string;
|
|
13
|
-
write: string;
|
|
14
|
-
category: string;
|
|
15
|
-
};
|
|
16
|
-
decimalPoint: {
|
|
17
|
-
name: string;
|
|
18
|
-
label: string;
|
|
19
|
-
write: string;
|
|
20
|
-
category: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
package/dist/keys/digits.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { times as e } from "@pie-element/shared-lodash";
|
|
2
|
-
//#region src/keys/digits.ts
|
|
3
|
-
var t = {
|
|
4
|
-
0: "zero",
|
|
5
|
-
1: "one",
|
|
6
|
-
2: "two",
|
|
7
|
-
3: "three",
|
|
8
|
-
4: "four",
|
|
9
|
-
5: "five",
|
|
10
|
-
6: "six",
|
|
11
|
-
7: "seven",
|
|
12
|
-
8: "eight",
|
|
13
|
-
9: "nine"
|
|
14
|
-
}, n = e(10, String).map((e) => ({
|
|
15
|
-
name: t[e],
|
|
16
|
-
write: e,
|
|
17
|
-
label: e,
|
|
18
|
-
category: "digit"
|
|
19
|
-
})).reduce((e, t) => (e[t.name] = t, e), {
|
|
20
|
-
comma: {
|
|
21
|
-
name: "comma",
|
|
22
|
-
label: ",",
|
|
23
|
-
write: ",",
|
|
24
|
-
category: "digit"
|
|
25
|
-
},
|
|
26
|
-
decimalPoint: {
|
|
27
|
-
name: "decimal-point",
|
|
28
|
-
label: ".",
|
|
29
|
-
write: ".",
|
|
30
|
-
category: "digit"
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
//#endregion
|
|
34
|
-
export { n as default };
|
package/dist/keys/edit.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/edit.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 del: {
|
|
10
|
-
label: string;
|
|
11
|
-
category: string;
|
|
12
|
-
keystroke: string;
|
|
13
|
-
ariaLabel: string;
|
|
14
|
-
};
|
package/dist/keys/edit.js
DELETED
package/dist/keys/exponent.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/exponent.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 squared: any;
|
|
10
|
-
export declare const xToPowerOfN: any;
|
|
11
|
-
export declare const squareRoot: any;
|
|
12
|
-
export declare const nthRoot: any;
|
package/dist/keys/exponent.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { mkSet as t } from "./utils.js";
|
|
3
|
-
//#region src/keys/exponent.ts
|
|
4
|
-
var n = /* @__PURE__ */ e({
|
|
5
|
-
nthRoot: () => s,
|
|
6
|
-
squareRoot: () => o,
|
|
7
|
-
squared: () => i,
|
|
8
|
-
xToPowerOfN: () => a
|
|
9
|
-
}), r = t("exponent"), i = r({
|
|
10
|
-
name: "Squared",
|
|
11
|
-
latex: "x^2",
|
|
12
|
-
write: "^2"
|
|
13
|
-
}), a = r({
|
|
14
|
-
name: "X to the power of n",
|
|
15
|
-
latex: "x^{}",
|
|
16
|
-
command: "^",
|
|
17
|
-
ariaLabel: "exponent"
|
|
18
|
-
}), o = r({
|
|
19
|
-
name: "Square root",
|
|
20
|
-
latex: "\\sqrt{}",
|
|
21
|
-
command: "\\sqrt"
|
|
22
|
-
}), s = r({
|
|
23
|
-
name: "Nth root",
|
|
24
|
-
latex: "\\sqrt[{}]{}",
|
|
25
|
-
command: "\\nthroot"
|
|
26
|
-
});
|
|
27
|
-
//#endregion
|
|
28
|
-
export { n as exponent_exports, s as nthRoot, o as squareRoot, i as squared, a as xToPowerOfN };
|
package/dist/keys/fractions.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/fractions.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 blankOverBlank: any;
|
|
10
|
-
export declare const xOverBlank: any;
|
|
11
|
-
export declare const xBlankBlank: any;
|
package/dist/keys/fractions.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { mkSet as t } from "./utils.js";
|
|
3
|
-
//#region src/keys/fractions.ts
|
|
4
|
-
var n = /* @__PURE__ */ e({
|
|
5
|
-
blankOverBlank: () => i,
|
|
6
|
-
xBlankBlank: () => o,
|
|
7
|
-
xOverBlank: () => a
|
|
8
|
-
}), r = t("fractions"), i = r({
|
|
9
|
-
name: "blank/blank",
|
|
10
|
-
latex: "\\frac{}{}",
|
|
11
|
-
command: "\\frac",
|
|
12
|
-
ariaLabel: "fraction"
|
|
13
|
-
}), a = r({
|
|
14
|
-
latex: "\\frac{x}{ }",
|
|
15
|
-
name: "X/blank",
|
|
16
|
-
label: "x/[]",
|
|
17
|
-
command: "/",
|
|
18
|
-
ariaLabel: "x over blank fraction"
|
|
19
|
-
}), o = r({
|
|
20
|
-
name: "X (blank/blank)",
|
|
21
|
-
latex: "x\\frac{}{}",
|
|
22
|
-
label: "x([]/[])",
|
|
23
|
-
command: "\\frac",
|
|
24
|
-
ariaLabel: "mixed number"
|
|
25
|
-
});
|
|
26
|
-
//#endregion
|
|
27
|
-
export { i as blankOverBlank, n as fractions_exports, o as xBlankBlank, a as xOverBlank };
|
package/dist/keys/geometry.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/geometry.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 overline: any;
|
|
10
|
-
export declare const overRightArrow: any;
|
|
11
|
-
export declare const overLeftRightArrow: any;
|
|
12
|
-
export declare const segment: any;
|
|
13
|
-
export declare const parallel: any;
|
|
14
|
-
export declare const notParallel: any;
|
|
15
|
-
export declare const perpindicular: any;
|
|
16
|
-
export declare const angle: any;
|
|
17
|
-
export declare const overArc: any;
|
|
18
|
-
export declare const measureOfAngle: any;
|
|
19
|
-
export declare const triangle: any;
|
|
20
|
-
export declare const square: any;
|
|
21
|
-
export declare const parallelogram: any;
|
|
22
|
-
export declare const circledDot: any;
|
|
23
|
-
export declare const degree: any;
|
|
24
|
-
export declare const similarTo: any;
|
|
25
|
-
export declare const congruentTo: any;
|
|
26
|
-
export declare const notCongruentTo: any;
|
|
27
|
-
export declare const primeArcminute: any;
|
|
28
|
-
export declare const doublePrimeArcSecond: any;
|
|
29
|
-
export declare const leftArrow: any;
|
|
30
|
-
export declare const rightArrow: any;
|
|
31
|
-
export declare const leftrightArrow: any;
|
package/dist/keys/geometry.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region src/keys/geometry.ts
|
|
3
|
-
var t = /* @__PURE__ */ e({
|
|
4
|
-
angle: () => u,
|
|
5
|
-
circledDot: () => g,
|
|
6
|
-
congruentTo: () => y,
|
|
7
|
-
degree: () => _,
|
|
8
|
-
doublePrimeArcSecond: () => S,
|
|
9
|
-
leftArrow: () => C,
|
|
10
|
-
leftrightArrow: () => T,
|
|
11
|
-
measureOfAngle: () => f,
|
|
12
|
-
notCongruentTo: () => b,
|
|
13
|
-
notParallel: () => c,
|
|
14
|
-
overArc: () => d,
|
|
15
|
-
overLeftRightArrow: () => a,
|
|
16
|
-
overRightArrow: () => i,
|
|
17
|
-
overline: () => r,
|
|
18
|
-
parallel: () => s,
|
|
19
|
-
parallelogram: () => h,
|
|
20
|
-
perpindicular: () => l,
|
|
21
|
-
primeArcminute: () => x,
|
|
22
|
-
rightArrow: () => w,
|
|
23
|
-
segment: () => o,
|
|
24
|
-
similarTo: () => v,
|
|
25
|
-
square: () => m,
|
|
26
|
-
triangle: () => p
|
|
27
|
-
}), n = (e) => ({
|
|
28
|
-
...e,
|
|
29
|
-
category: "geometry"
|
|
30
|
-
}), r = n({
|
|
31
|
-
name: "Line",
|
|
32
|
-
latex: "\\overline{}",
|
|
33
|
-
command: "\\overline"
|
|
34
|
-
}), i = n({
|
|
35
|
-
name: "Ray",
|
|
36
|
-
latex: "\\overrightarrow{}",
|
|
37
|
-
command: "\\overrightarrow"
|
|
38
|
-
}), a = n({
|
|
39
|
-
name: "Segment",
|
|
40
|
-
latex: "\\overleftrightarrow{\\overline{}}",
|
|
41
|
-
symbol: "AB",
|
|
42
|
-
command: "\\overleftrightarrow"
|
|
43
|
-
}), o = n({
|
|
44
|
-
name: "Segment",
|
|
45
|
-
latex: "\\overleftrightarrow{AB}",
|
|
46
|
-
write: "\\overleftrightarrow{AB}",
|
|
47
|
-
label: "AB"
|
|
48
|
-
}), s = n({
|
|
49
|
-
name: "Parallel",
|
|
50
|
-
latex: "\\parallel",
|
|
51
|
-
command: "\\parallel"
|
|
52
|
-
}), c = n({
|
|
53
|
-
name: "Not Parallel",
|
|
54
|
-
latex: "\\nparallel",
|
|
55
|
-
command: "\\nparallel"
|
|
56
|
-
}), l = n({
|
|
57
|
-
name: "Perpendicular",
|
|
58
|
-
latex: "\\perp",
|
|
59
|
-
command: "\\perpendicular"
|
|
60
|
-
}), u = n({
|
|
61
|
-
name: "Angle",
|
|
62
|
-
latex: "\\angle",
|
|
63
|
-
command: "\\angle"
|
|
64
|
-
}), d = n({
|
|
65
|
-
name: "Over arc",
|
|
66
|
-
latex: "\\overarc{\\overline{}}",
|
|
67
|
-
command: "\\overarc"
|
|
68
|
-
}), f = n({
|
|
69
|
-
name: "Measured Angle",
|
|
70
|
-
latex: "\\measuredangle",
|
|
71
|
-
command: ["m", "\\angle"]
|
|
72
|
-
}), p = n({
|
|
73
|
-
name: "Triangle",
|
|
74
|
-
latex: "\\triangle",
|
|
75
|
-
command: "\\triangle"
|
|
76
|
-
}), m = n({
|
|
77
|
-
name: "Square",
|
|
78
|
-
latex: "\\square",
|
|
79
|
-
command: "\\square"
|
|
80
|
-
}), h = n({
|
|
81
|
-
name: "Parallelogram",
|
|
82
|
-
latex: "\\parallelogram",
|
|
83
|
-
command: "\\parallelogram"
|
|
84
|
-
}), g = n({
|
|
85
|
-
name: "Circled Dot",
|
|
86
|
-
latex: "\\odot",
|
|
87
|
-
command: "\\odot"
|
|
88
|
-
}), _ = n({
|
|
89
|
-
name: "Degree",
|
|
90
|
-
latex: "\\degree",
|
|
91
|
-
command: "\\degree"
|
|
92
|
-
}), v = n({
|
|
93
|
-
name: "Similar",
|
|
94
|
-
command: "\\sim",
|
|
95
|
-
latex: "\\sim"
|
|
96
|
-
}), y = n({
|
|
97
|
-
name: "Congruent To",
|
|
98
|
-
command: "\\cong",
|
|
99
|
-
latex: "\\cong"
|
|
100
|
-
}), b = n({
|
|
101
|
-
name: "Not Congruent To",
|
|
102
|
-
command: "\\ncong",
|
|
103
|
-
latex: "\\ncong"
|
|
104
|
-
}), x = n({
|
|
105
|
-
name: "Prime",
|
|
106
|
-
label: "pam",
|
|
107
|
-
latex: "'",
|
|
108
|
-
write: "'"
|
|
109
|
-
}), S = n({
|
|
110
|
-
name: "Double Prime",
|
|
111
|
-
latex: "''",
|
|
112
|
-
write: "''"
|
|
113
|
-
}), C = n({
|
|
114
|
-
name: "Left Arrow",
|
|
115
|
-
latex: "\\leftarrow",
|
|
116
|
-
command: "\\leftarrow"
|
|
117
|
-
}), w = n({
|
|
118
|
-
name: "Right Arrow",
|
|
119
|
-
latex: "\\rightarrow",
|
|
120
|
-
command: "\\rightarrow"
|
|
121
|
-
}), T = n({
|
|
122
|
-
name: "Left and Right Arrow",
|
|
123
|
-
latex: "\\leftrightarrow",
|
|
124
|
-
command: "\\leftrightarrow"
|
|
125
|
-
});
|
|
126
|
-
//#endregion
|
|
127
|
-
export { u as angle, y as congruentTo, _ as degree, S as doublePrimeArcSecond, t as geometry_exports, C as leftArrow, T as leftrightArrow, f as measureOfAngle, b as notCongruentTo, d as overArc, a as overLeftRightArrow, i as overRightArrow, r as overline, s as parallel, l as perpindicular, x as primeArcminute, w as rightArrow, v as similarTo, m as square, p as triangle };
|
package/dist/keys/grades.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/math-input/src/keys/grades.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 gradeSets: ({
|
|
10
|
-
predicate: (n: any) => boolean;
|
|
11
|
-
set: any[][];
|
|
12
|
-
} | {
|
|
13
|
-
predicate: string;
|
|
14
|
-
set: any[][];
|
|
15
|
-
})[];
|
|
16
|
-
export declare const keysForGrade: (n: any) => any[][] | undefined;
|
|
17
|
-
export declare const normalizeAdditionalKeys: (additionalKeys: any) => any;
|