@pie-element/explicit-constructed-response 6.15.1-next.8 → 6.16.1-next.0
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.md +16 -0
- package/configure/CHANGELOG.md +16 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +16 -0
- package/controller/package.json +2 -2
- package/module/configure.js +1 -1
- package/module/element.js +17 -11
- package/module/index.html +1 -1
- package/module/manifest.json +2 -2
- package/module/print.html +1 -1
- package/module/print.js +17 -11
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.16.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.15.0...@pie-element/explicit-constructed-response@6.16.0) (2024-06-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox fix build ([75777e1](https://github.com/pie-framework/pie-elements/commit/75777e189786cb9041bd0d2f843c023a1ea5b8b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* update pie-lib/pie-toolbox PD-3179, PD-3206, PD-3186, PD-1311, PD-3771, PD-3772, PD-3817 ([14e175c](https://github.com/pie-framework/pie-elements/commit/14e175cd62770ab4d7ba8bf83e6d0c9ad683f595))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [6.15.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.14.2...@pie-element/explicit-constructed-response@6.15.0) (2024-06-13)
|
|
7
23
|
|
|
8
24
|
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.15.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.14.0...@pie-element/explicit-constructed-response-configure@6.15.0) (2024-06-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox fix build ([75777e1](https://github.com/pie-framework/pie-elements/commit/75777e189786cb9041bd0d2f843c023a1ea5b8b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* update pie-lib/pie-toolbox PD-3179, PD-3206, PD-3186, PD-1311, PD-3771, PD-3772, PD-3817 ([14e175c](https://github.com/pie-framework/pie-elements/commit/14e175cd62770ab4d7ba8bf83e6d0c9ad683f595))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [6.14.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.13.2...@pie-element/explicit-constructed-response-configure@6.14.0) (2024-06-13)
|
|
7
23
|
|
|
8
24
|
|
package/configure/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response-configure",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.15.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"modue": "src/index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@material-ui/core": "^3.9.2",
|
|
9
9
|
"@material-ui/icons": "^3.0.1",
|
|
10
10
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
11
|
-
"@pie-lib/pie-toolbox": "1.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.23.1",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [4.14.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.13.0...@pie-element/explicit-constructed-response-controller@4.14.0) (2024-06-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox fix build ([75777e1](https://github.com/pie-framework/pie-elements/commit/75777e189786cb9041bd0d2f843c023a1ea5b8b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* update pie-lib/pie-toolbox PD-3179, PD-3206, PD-3186, PD-1311, PD-3771, PD-3772, PD-3817 ([14e175c](https://github.com/pie-framework/pie-elements/commit/14e175cd62770ab4d7ba8bf83e6d0c9ad683f595))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [4.13.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.12.2...@pie-element/explicit-constructed-response-controller@4.13.0) (2024-06-13)
|
|
7
23
|
|
|
8
24
|
|
package/controller/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response-controller",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.14.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"author": "",
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@pie-lib/pie-toolbox": "1.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.23.1",
|
|
12
12
|
"debug": "^3.1.0",
|
|
13
13
|
"lodash": "^4.17.15",
|
|
14
14
|
"type-of": "^2.0.1"
|
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.16.0/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.12.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.16.0/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.12.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -73733,7 +73733,7 @@ var bundle_min = {
|
|
|
73733
73733
|
}
|
|
73734
73734
|
convert() {
|
|
73735
73735
|
const e = this._mathmlElement.children.map(e => (0, a.mathMLElementToLaTeXConverter)(e)).map(e => e.convert()).join(" ");
|
|
73736
|
-
return "actuarial" === this._notation ? `\\overline{\\left.${e}\\right|}` : "radical" === this._notation ? `\\sqrt{${e}}` : ["box", "roundedbox", "circle"].includes(this._notation) ? `\\boxed{${e}}` : "left" === this._notation ? `\\left|${e}` : "right" === this._notation ? `${e}\\right|` : "top" === this._notation ? `\\overline{${e}}` : "bottom" === this._notation ? `\\underline{${e}}` : "updiagonalstrike" === this._notation ? `\\cancel{${e}}` : "downdiagonalstrike" === this._notation ? `\\bcancel{${e}}` : "updiagonalarrow" === this._notation ? `\\cancelto{}{${e}}` : ["verticalstrike", "horizontalstrike"].includes(this._notation) ? `\\hcancel{${e}}` : "madruwb" === this._notation ? `\\underline{${e}\\right|}` : "phasorangle" === this._notation ? `{\\angle \\underline{${e}}}` : `\\overline{\\left.\\right)${e}}`;
|
|
73736
|
+
return "actuarial" === this._notation ? `\\overline{\\left.${e}\\right|}` : "radical" === this._notation ? `\\sqrt{${e}}` : ["box", "roundedbox", "circle"].includes(this._notation) ? `\\boxed{${e}}` : "left" === this._notation ? `\\left|${e}` : "right" === this._notation ? `${e}\\right|` : "top" === this._notation ? `\\overline{${e}}` : "bottom" === this._notation ? `\\underline{${e}}` : "updiagonalstrike" === this._notation ? `\\cancel{${e}}` : "downdiagonalstrike" === this._notation ? `\\bcancel{${e}}` : "updiagonalarrow" === this._notation ? `\\cancelto{}{${e}}` : ["verticalstrike", "horizontalstrike"].includes(this._notation) ? `\\hcancel{${e}}` : "madruwb" === this._notation ? `\\underline{${e}\\right|}` : "phasorangle" === this._notation ? `{\\angle \\underline{${e}}}` : "longdiv" === this._notation ? `\\longdiv{${e}}` : `\\overline{\\left.\\right)${e}}`;
|
|
73737
73737
|
}
|
|
73738
73738
|
get _notation() {
|
|
73739
73739
|
return this._mathmlElement.attributes.notation || "longdiv";
|
|
@@ -74061,7 +74061,7 @@ var bundle_min = {
|
|
|
74061
74061
|
const {name: e, children: t} = this._mathmlElement, r = t.length;
|
|
74062
74062
|
if (2 !== r) throw new n.InvalidNumberOfChildrenError(e, 2, r);
|
|
74063
74063
|
const o = (0, a.mathMLElementToLaTeXConverter)(t[0]).convert(), i = (0, a.mathMLElementToLaTeXConverter)(t[1]).convert();
|
|
74064
|
-
return `${new a.ParenthesisWrapper().wrapIfMoreThanOneChar(o)}_${new a.BracketWrapper().wrap(i)}`;
|
|
74064
|
+
return "log" === o ? `\\${o}_${new a.BracketWrapper().wrap(i)}` : `${new a.ParenthesisWrapper().wrapIfMoreThanOneChar(o)}_${new a.BracketWrapper().wrap(i)}`;
|
|
74065
74065
|
}
|
|
74066
74066
|
};
|
|
74067
74067
|
},
|
|
@@ -74098,7 +74098,7 @@ var bundle_min = {
|
|
|
74098
74098
|
const {name: e, children: t} = this._mathmlElement, r = t.length;
|
|
74099
74099
|
if (2 !== r) throw new n.InvalidNumberOfChildrenError(e, 2, r);
|
|
74100
74100
|
const o = (0, a.mathMLElementToLaTeXConverter)(t[0]).convert(), i = (0, a.mathMLElementToLaTeXConverter)(t[1]).convert();
|
|
74101
|
-
return `${
|
|
74101
|
+
return "'" === i ? `${o}'` : `${o}^${new a.BracketWrapper().wrap(i)}`;
|
|
74102
74102
|
}
|
|
74103
74103
|
};
|
|
74104
74104
|
},
|
|
@@ -74139,7 +74139,7 @@ var bundle_min = {
|
|
|
74139
74139
|
}
|
|
74140
74140
|
convert() {
|
|
74141
74141
|
const {attributes: e, value: t} = this._mathmlElement;
|
|
74142
|
-
return [...t].map(e => (/^[a-zA-Z0-9]$/).test(e) || " "
|
|
74142
|
+
return [...t].map(e => (/^[a-zA-Z0-9]$/).test(e) || " " == e ? {
|
|
74143
74143
|
value: e,
|
|
74144
74144
|
isAlphanumeric: !0
|
|
74145
74145
|
} : {
|
|
@@ -74170,6 +74170,8 @@ var bundle_min = {
|
|
|
74170
74170
|
switch (this._mathvariant) {
|
|
74171
74171
|
case "bold":
|
|
74172
74172
|
return ["\\textbf"];
|
|
74173
|
+
case "log":
|
|
74174
|
+
return ["\\log"];
|
|
74173
74175
|
case "italic":
|
|
74174
74176
|
return ["\\textit"];
|
|
74175
74177
|
case "bold-italic":
|
|
@@ -74472,6 +74474,8 @@ var bundle_min = {
|
|
|
74472
74474
|
"⁤": "",
|
|
74473
74475
|
"⁗": "''''",
|
|
74474
74476
|
"‾": "\\overline",
|
|
74477
|
+
"―": "\\overline",
|
|
74478
|
+
"¯": "\\overline",
|
|
74475
74479
|
"‷": "```",
|
|
74476
74480
|
"‶": "``",
|
|
74477
74481
|
"‵": "`",
|
|
@@ -74501,7 +74505,6 @@ var bundle_min = {
|
|
|
74501
74505
|
"³": "3",
|
|
74502
74506
|
"²": "2",
|
|
74503
74507
|
"°": "\\degree",
|
|
74504
|
-
"¯": "\\overline",
|
|
74505
74508
|
"ª": "a",
|
|
74506
74509
|
"¨": "\\cdot\\cdot",
|
|
74507
74510
|
"~": "\\sim",
|
|
@@ -75426,6 +75429,8 @@ var bundle_min = {
|
|
|
75426
75429
|
"∝": "\\propto",
|
|
75427
75430
|
"==": "==",
|
|
75428
75431
|
"=": "=",
|
|
75432
|
+
" ̿": "=",
|
|
75433
|
+
"̿": "=",
|
|
75429
75434
|
":=": ":=",
|
|
75430
75435
|
"/=": "=",
|
|
75431
75436
|
"-=": "-=",
|
|
@@ -75676,6 +75681,7 @@ var bundle_min = {
|
|
|
75676
75681
|
"": "",
|
|
75677
75682
|
"⁗": "''''",
|
|
75678
75683
|
"‾": "\\overline",
|
|
75684
|
+
"―": "\\overline",
|
|
75679
75685
|
"‷": "```",
|
|
75680
75686
|
"‶": "``",
|
|
75681
75687
|
"‵": "`",
|
|
@@ -76065,9 +76071,9 @@ var bundle_min = {
|
|
|
76065
76071
|
"↗": "\\nearrow",
|
|
76066
76072
|
"↖": "\\nwarrow",
|
|
76067
76073
|
"↕": "\\updownarrow",
|
|
76068
|
-
"↔": "\\
|
|
76074
|
+
"↔": "\\overleftrightarrow",
|
|
76069
76075
|
"↓": "\\downarrow",
|
|
76070
|
-
"→": "\\
|
|
76076
|
+
"→": "\\overrightarrow",
|
|
76071
76077
|
"↑": "\\uparrow",
|
|
76072
76078
|
"←": "\\leftarrow",
|
|
76073
76079
|
"|||": "\\left|||\\right.",
|
|
@@ -77197,7 +77203,7 @@ var bundle_min = {
|
|
|
77197
77203
|
"⌈": "\\lceil",
|
|
77198
77204
|
"↛": "\\nrightarrow",
|
|
77199
77205
|
"‾": "\\overline",
|
|
77200
|
-
"→": "\\
|
|
77206
|
+
"→": "\\overrightarrow",
|
|
77201
77207
|
"‡": "\\ddagger",
|
|
77202
77208
|
"・": "\\cdot",
|
|
77203
77209
|
"▱": "\\square",
|
|
@@ -77227,7 +77233,7 @@ var bundle_min = {
|
|
|
77227
77233
|
"€": "\\euro",
|
|
77228
77234
|
"˘": " ",
|
|
77229
77235
|
"∥": "\\parallel",
|
|
77230
|
-
"↔": "\\
|
|
77236
|
+
"↔": "\\overleftrightarrow",
|
|
77231
77237
|
"√": "\\sqrt{}",
|
|
77232
77238
|
"·": "\\cdot",
|
|
77233
77239
|
"⦬": "\\measuredangle",
|
|
@@ -77263,7 +77269,7 @@ var bundle_min = {
|
|
|
77263
77269
|
6626: (e, t) => {
|
|
77264
77270
|
(Object.defineProperty(t, "__esModule", {
|
|
77265
77271
|
value: !0
|
|
77266
|
-
}), t.latexAccents = void 0, t.latexAccents = ["\\hat", "\\bar", "\\underbrace", "\\overarc", "\\overline", "\\overbrace"]);
|
|
77272
|
+
}), t.latexAccents = void 0, t.latexAccents = ["\\hat", "\\bar", "\\underbrace", "\\overarc", "\\overline", "\\overbrace", "\\overrightarrow", "\\overleftrightarrow"]);
|
|
77267
77273
|
},
|
|
77268
77274
|
2103: (e, t) => {
|
|
77269
77275
|
(Object.defineProperty(t, "__esModule", {
|
package/module/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!doctype html>
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<title>@pie-element/explicit-constructed-response@6.
|
|
5
|
+
<title>@pie-element/explicit-constructed-response@6.16.0</title>
|
|
6
6
|
<script
|
|
7
7
|
type="module"
|
|
8
8
|
src="https://cdn.jsdelivr.net/npm/@pslb/demo-el@^1.0.0/dist/demo-el/demo-el.esm.js"></script>
|
package/module/manifest.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.16.0",
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"name": "@pie-lib/pie-toolbox-math-rendering-module",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.16.0"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@pie-lib/pie-toolbox-module",
|
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.16.0/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.12.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -73696,7 +73696,7 @@ var bundle_min = {
|
|
|
73696
73696
|
}
|
|
73697
73697
|
convert() {
|
|
73698
73698
|
const e = this._mathmlElement.children.map(e => (0, a.mathMLElementToLaTeXConverter)(e)).map(e => e.convert()).join(" ");
|
|
73699
|
-
return "actuarial" === this._notation ? `\\overline{\\left.${e}\\right|}` : "radical" === this._notation ? `\\sqrt{${e}}` : ["box", "roundedbox", "circle"].includes(this._notation) ? `\\boxed{${e}}` : "left" === this._notation ? `\\left|${e}` : "right" === this._notation ? `${e}\\right|` : "top" === this._notation ? `\\overline{${e}}` : "bottom" === this._notation ? `\\underline{${e}}` : "updiagonalstrike" === this._notation ? `\\cancel{${e}}` : "downdiagonalstrike" === this._notation ? `\\bcancel{${e}}` : "updiagonalarrow" === this._notation ? `\\cancelto{}{${e}}` : ["verticalstrike", "horizontalstrike"].includes(this._notation) ? `\\hcancel{${e}}` : "madruwb" === this._notation ? `\\underline{${e}\\right|}` : "phasorangle" === this._notation ? `{\\angle \\underline{${e}}}` : `\\overline{\\left.\\right)${e}}`;
|
|
73699
|
+
return "actuarial" === this._notation ? `\\overline{\\left.${e}\\right|}` : "radical" === this._notation ? `\\sqrt{${e}}` : ["box", "roundedbox", "circle"].includes(this._notation) ? `\\boxed{${e}}` : "left" === this._notation ? `\\left|${e}` : "right" === this._notation ? `${e}\\right|` : "top" === this._notation ? `\\overline{${e}}` : "bottom" === this._notation ? `\\underline{${e}}` : "updiagonalstrike" === this._notation ? `\\cancel{${e}}` : "downdiagonalstrike" === this._notation ? `\\bcancel{${e}}` : "updiagonalarrow" === this._notation ? `\\cancelto{}{${e}}` : ["verticalstrike", "horizontalstrike"].includes(this._notation) ? `\\hcancel{${e}}` : "madruwb" === this._notation ? `\\underline{${e}\\right|}` : "phasorangle" === this._notation ? `{\\angle \\underline{${e}}}` : "longdiv" === this._notation ? `\\longdiv{${e}}` : `\\overline{\\left.\\right)${e}}`;
|
|
73700
73700
|
}
|
|
73701
73701
|
get _notation() {
|
|
73702
73702
|
return this._mathmlElement.attributes.notation || "longdiv";
|
|
@@ -74024,7 +74024,7 @@ var bundle_min = {
|
|
|
74024
74024
|
const {name: e, children: t} = this._mathmlElement, r = t.length;
|
|
74025
74025
|
if (2 !== r) throw new n.InvalidNumberOfChildrenError(e, 2, r);
|
|
74026
74026
|
const o = (0, a.mathMLElementToLaTeXConverter)(t[0]).convert(), i = (0, a.mathMLElementToLaTeXConverter)(t[1]).convert();
|
|
74027
|
-
return `${new a.ParenthesisWrapper().wrapIfMoreThanOneChar(o)}_${new a.BracketWrapper().wrap(i)}`;
|
|
74027
|
+
return "log" === o ? `\\${o}_${new a.BracketWrapper().wrap(i)}` : `${new a.ParenthesisWrapper().wrapIfMoreThanOneChar(o)}_${new a.BracketWrapper().wrap(i)}`;
|
|
74028
74028
|
}
|
|
74029
74029
|
};
|
|
74030
74030
|
},
|
|
@@ -74061,7 +74061,7 @@ var bundle_min = {
|
|
|
74061
74061
|
const {name: e, children: t} = this._mathmlElement, r = t.length;
|
|
74062
74062
|
if (2 !== r) throw new n.InvalidNumberOfChildrenError(e, 2, r);
|
|
74063
74063
|
const o = (0, a.mathMLElementToLaTeXConverter)(t[0]).convert(), i = (0, a.mathMLElementToLaTeXConverter)(t[1]).convert();
|
|
74064
|
-
return `${
|
|
74064
|
+
return "'" === i ? `${o}'` : `${o}^${new a.BracketWrapper().wrap(i)}`;
|
|
74065
74065
|
}
|
|
74066
74066
|
};
|
|
74067
74067
|
},
|
|
@@ -74102,7 +74102,7 @@ var bundle_min = {
|
|
|
74102
74102
|
}
|
|
74103
74103
|
convert() {
|
|
74104
74104
|
const {attributes: e, value: t} = this._mathmlElement;
|
|
74105
|
-
return [...t].map(e => (/^[a-zA-Z0-9]$/).test(e) || " "
|
|
74105
|
+
return [...t].map(e => (/^[a-zA-Z0-9]$/).test(e) || " " == e ? {
|
|
74106
74106
|
value: e,
|
|
74107
74107
|
isAlphanumeric: !0
|
|
74108
74108
|
} : {
|
|
@@ -74133,6 +74133,8 @@ var bundle_min = {
|
|
|
74133
74133
|
switch (this._mathvariant) {
|
|
74134
74134
|
case "bold":
|
|
74135
74135
|
return ["\\textbf"];
|
|
74136
|
+
case "log":
|
|
74137
|
+
return ["\\log"];
|
|
74136
74138
|
case "italic":
|
|
74137
74139
|
return ["\\textit"];
|
|
74138
74140
|
case "bold-italic":
|
|
@@ -74435,6 +74437,8 @@ var bundle_min = {
|
|
|
74435
74437
|
"⁤": "",
|
|
74436
74438
|
"⁗": "''''",
|
|
74437
74439
|
"‾": "\\overline",
|
|
74440
|
+
"―": "\\overline",
|
|
74441
|
+
"¯": "\\overline",
|
|
74438
74442
|
"‷": "```",
|
|
74439
74443
|
"‶": "``",
|
|
74440
74444
|
"‵": "`",
|
|
@@ -74464,7 +74468,6 @@ var bundle_min = {
|
|
|
74464
74468
|
"³": "3",
|
|
74465
74469
|
"²": "2",
|
|
74466
74470
|
"°": "\\degree",
|
|
74467
|
-
"¯": "\\overline",
|
|
74468
74471
|
"ª": "a",
|
|
74469
74472
|
"¨": "\\cdot\\cdot",
|
|
74470
74473
|
"~": "\\sim",
|
|
@@ -75389,6 +75392,8 @@ var bundle_min = {
|
|
|
75389
75392
|
"∝": "\\propto",
|
|
75390
75393
|
"==": "==",
|
|
75391
75394
|
"=": "=",
|
|
75395
|
+
" ̿": "=",
|
|
75396
|
+
"̿": "=",
|
|
75392
75397
|
":=": ":=",
|
|
75393
75398
|
"/=": "=",
|
|
75394
75399
|
"-=": "-=",
|
|
@@ -75639,6 +75644,7 @@ var bundle_min = {
|
|
|
75639
75644
|
"": "",
|
|
75640
75645
|
"⁗": "''''",
|
|
75641
75646
|
"‾": "\\overline",
|
|
75647
|
+
"―": "\\overline",
|
|
75642
75648
|
"‷": "```",
|
|
75643
75649
|
"‶": "``",
|
|
75644
75650
|
"‵": "`",
|
|
@@ -76028,9 +76034,9 @@ var bundle_min = {
|
|
|
76028
76034
|
"↗": "\\nearrow",
|
|
76029
76035
|
"↖": "\\nwarrow",
|
|
76030
76036
|
"↕": "\\updownarrow",
|
|
76031
|
-
"↔": "\\
|
|
76037
|
+
"↔": "\\overleftrightarrow",
|
|
76032
76038
|
"↓": "\\downarrow",
|
|
76033
|
-
"→": "\\
|
|
76039
|
+
"→": "\\overrightarrow",
|
|
76034
76040
|
"↑": "\\uparrow",
|
|
76035
76041
|
"←": "\\leftarrow",
|
|
76036
76042
|
"|||": "\\left|||\\right.",
|
|
@@ -77160,7 +77166,7 @@ var bundle_min = {
|
|
|
77160
77166
|
"⌈": "\\lceil",
|
|
77161
77167
|
"↛": "\\nrightarrow",
|
|
77162
77168
|
"‾": "\\overline",
|
|
77163
|
-
"→": "\\
|
|
77169
|
+
"→": "\\overrightarrow",
|
|
77164
77170
|
"‡": "\\ddagger",
|
|
77165
77171
|
"・": "\\cdot",
|
|
77166
77172
|
"▱": "\\square",
|
|
@@ -77190,7 +77196,7 @@ var bundle_min = {
|
|
|
77190
77196
|
"€": "\\euro",
|
|
77191
77197
|
"˘": " ",
|
|
77192
77198
|
"∥": "\\parallel",
|
|
77193
|
-
"↔": "\\
|
|
77199
|
+
"↔": "\\overleftrightarrow",
|
|
77194
77200
|
"√": "\\sqrt{}",
|
|
77195
77201
|
"·": "\\cdot",
|
|
77196
77202
|
"⦬": "\\measuredangle",
|
|
@@ -77226,7 +77232,7 @@ var bundle_min = {
|
|
|
77226
77232
|
6626: (e, t) => {
|
|
77227
77233
|
(Object.defineProperty(t, "__esModule", {
|
|
77228
77234
|
value: !0
|
|
77229
|
-
}), t.latexAccents = void 0, t.latexAccents = ["\\hat", "\\bar", "\\underbrace", "\\overarc", "\\overline", "\\overbrace"]);
|
|
77235
|
+
}), t.latexAccents = void 0, t.latexAccents = ["\\hat", "\\bar", "\\underbrace", "\\overarc", "\\overline", "\\overbrace", "\\overrightarrow", "\\overleftrightarrow"]);
|
|
77230
77236
|
},
|
|
77231
77237
|
2103: (e, t) => {
|
|
77232
77238
|
(Object.defineProperty(t, "__esModule", {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.
|
|
7
|
+
"version": "6.16.1-next.0+86b40e5d0",
|
|
8
8
|
"description": "",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"postpublish": "../../scripts/postpublish"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@material-ui/core": "^3.9.2",
|
|
14
14
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
15
|
-
"@pie-lib/pie-toolbox": "1.
|
|
15
|
+
"@pie-lib/pie-toolbox": "1.23.1",
|
|
16
16
|
"classnames": "^2.2.5",
|
|
17
17
|
"lodash": "^4.17.10",
|
|
18
18
|
"prop-types": "^15.6.1",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "ISC",
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "86b40e5d06440dafb639776abd320095d1da2819",
|
|
25
25
|
"main": "lib/index.js",
|
|
26
26
|
"module": "src/index.js",
|
|
27
27
|
"exports": {
|