@pie-element/explicit-constructed-response 6.3.3-next.29 → 6.3.3-next.36
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/configure/package.json +1 -1
- package/controller/package.json +1 -1
- package/module/configure.js +1 -1
- package/module/element.js +9 -5
- package/module/manifest.json +1 -1
- package/module/print.js +9 -5
- package/package.json +3 -3
package/configure/package.json
CHANGED
|
@@ -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.8.1",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/package.json
CHANGED
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.0
|
|
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.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.0.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_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.0
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.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.0.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) {
|
|
@@ -69855,6 +69855,10 @@ const require$$12$a = _dll_debug;
|
|
|
69855
69855
|
};
|
|
69856
69856
|
};
|
|
69857
69857
|
var renderMath = function renderMath(el, renderOpts) {
|
|
69858
|
+
var _getGlobal$instance, _getGlobal$instance2;
|
|
69859
|
+
if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
|
|
69860
|
+
return;
|
|
69861
|
+
}
|
|
69858
69862
|
var isString = typeof el === 'string';
|
|
69859
69863
|
var executeOn = document.body;
|
|
69860
69864
|
if (isString) {
|
|
@@ -69883,12 +69887,12 @@ const require$$12$a = _dll_debug;
|
|
|
69883
69887
|
log('el is undefined');
|
|
69884
69888
|
return;
|
|
69885
69889
|
}
|
|
69886
|
-
if (el instanceof Element && getGlobal().instance) {
|
|
69890
|
+
if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
|
|
69887
69891
|
getGlobal().instance.Typeset(el);
|
|
69888
|
-
} else if (el.length && getGlobal().instance) {
|
|
69889
|
-
var _getGlobal$
|
|
69892
|
+
} else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
|
|
69893
|
+
var _getGlobal$instance3;
|
|
69890
69894
|
var arr = Array.from(el);
|
|
69891
|
-
(_getGlobal$
|
|
69895
|
+
(_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
|
|
69892
69896
|
}
|
|
69893
69897
|
};
|
|
69894
69898
|
_mspace.CHTMLmspace.styles = {
|
package/module/manifest.json
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_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.0
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.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.0.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) {
|
|
@@ -69818,6 +69818,10 @@ const require$$12$a = _dll_debug;
|
|
|
69818
69818
|
};
|
|
69819
69819
|
};
|
|
69820
69820
|
var renderMath = function renderMath(el, renderOpts) {
|
|
69821
|
+
var _getGlobal$instance, _getGlobal$instance2;
|
|
69822
|
+
if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
|
|
69823
|
+
return;
|
|
69824
|
+
}
|
|
69821
69825
|
var isString = typeof el === 'string';
|
|
69822
69826
|
var executeOn = document.body;
|
|
69823
69827
|
if (isString) {
|
|
@@ -69846,12 +69850,12 @@ const require$$12$a = _dll_debug;
|
|
|
69846
69850
|
log('el is undefined');
|
|
69847
69851
|
return;
|
|
69848
69852
|
}
|
|
69849
|
-
if (el instanceof Element && getGlobal().instance) {
|
|
69853
|
+
if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
|
|
69850
69854
|
getGlobal().instance.Typeset(el);
|
|
69851
|
-
} else if (el.length && getGlobal().instance) {
|
|
69852
|
-
var _getGlobal$
|
|
69855
|
+
} else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
|
|
69856
|
+
var _getGlobal$instance3;
|
|
69853
69857
|
var arr = Array.from(el);
|
|
69854
|
-
(_getGlobal$
|
|
69858
|
+
(_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
|
|
69855
69859
|
}
|
|
69856
69860
|
};
|
|
69857
69861
|
_mspace.CHTMLmspace.styles = {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.3.3-next.
|
|
7
|
+
"version": "6.3.3-next.36+9d55cf0c4",
|
|
8
8
|
"description": "",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@material-ui/core": "^3.9.2",
|
|
15
15
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
16
|
-
"@pie-lib/pie-toolbox": "1.
|
|
16
|
+
"@pie-lib/pie-toolbox": "1.8.1",
|
|
17
17
|
"classnames": "^2.2.5",
|
|
18
18
|
"lodash": "^4.17.10",
|
|
19
19
|
"prop-types": "^15.6.1",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"author": "",
|
|
24
24
|
"license": "ISC",
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "9d55cf0c4d29ec757037b4e1cfe7b62026311f1b",
|
|
26
26
|
"main": "lib/index.js",
|
|
27
27
|
"module": "src/index.js",
|
|
28
28
|
"exports": {
|