@pie-element/select-text 9.5.7-next.6 → 9.5.7-next.8
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 +12 -4
- package/module/element.js +12 -4
- package/module/manifest.json +2 -2
- package/module/print.js +12 -4
- package/package.json +3 -3
package/configure/package.json
CHANGED
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server} from "../../../@pie-lib/pie-toolbox-math-rendering-module@4.1.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@7.0.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server} from "../../../@pie-lib/pie-toolbox-math-rendering-module@4.1.3/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@7.0.2/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) {
|
|
5
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -114881,7 +114881,9 @@ const require$$23 = _dll_debug;
|
|
|
114881
114881
|
};
|
|
114882
114882
|
var mml = new _mathml.MathML(mmlConfig);
|
|
114883
114883
|
var customMmlFactory = new _MmlFactory.MmlFactory(_objectSpread(_objectSpread({}, _MmlFactory.MmlFactory.defaultNodes), _mstack.mmlNodes));
|
|
114884
|
-
var
|
|
114884
|
+
var withAssistive = (0, _assistiveMml.AssistiveMmlHandler)(_mathjax.mathjax.handlers.handlesDocument(docProvided));
|
|
114885
|
+
var handler = window.MathJax && window.MathJax.Menu ? withAssistive : (0, _MenuHandler.MenuHandler)(withAssistive);
|
|
114886
|
+
var classFactory = (0, _semanticEnrich.EnrichHandler)(handler, mml);
|
|
114885
114887
|
var html = classFactory.create(docProvided, {
|
|
114886
114888
|
compileError: function compileError(mj, math, err) {
|
|
114887
114889
|
console.log('bad math?:', math);
|
|
@@ -114933,13 +114935,19 @@ const require$$23 = _dll_debug;
|
|
|
114933
114935
|
var attemptRender = function attemptRender() {
|
|
114934
114936
|
var _updatedDocument$math, _updatedDocument$math2;
|
|
114935
114937
|
var temporary = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
114938
|
+
var usesMenuHandler = !(window.MathJax && window.MathJax.Menu);
|
|
114936
114939
|
var updatedDocument = _this.html.findMath(elements.length ? {
|
|
114937
114940
|
elements: elements
|
|
114938
114941
|
} : {}).compile();
|
|
114939
114942
|
if (!temporary && sreReady) {
|
|
114940
114943
|
updatedDocument = updatedDocument.enrich();
|
|
114941
114944
|
}
|
|
114942
|
-
updatedDocument = updatedDocument.getMetrics().typeset().assistiveMml().attachSpeech()
|
|
114945
|
+
updatedDocument = updatedDocument.getMetrics().typeset().assistiveMml().attachSpeech();
|
|
114946
|
+
if (usesMenuHandler) {
|
|
114947
|
+
console.log('Using MenuHandler');
|
|
114948
|
+
updatedDocument = updatedDocument.addMenu();
|
|
114949
|
+
}
|
|
114950
|
+
updatedDocument = updatedDocument.updateDocument();
|
|
114943
114951
|
if (!enrichSpeechInitialized && (0, _typeof2["default"])((_updatedDocument$math = updatedDocument.math.list) === null || _updatedDocument$math === void 0 ? void 0 : (_updatedDocument$math2 = _updatedDocument$math.next) === null || _updatedDocument$math2 === void 0 ? void 0 : _updatedDocument$math2.data) === 'object') {
|
|
114944
114952
|
enrichSpeechInitialized = true;
|
|
114945
114953
|
}
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@4.1.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@7.0.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@4.1.3/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@7.0.2/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) {
|
|
5
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -111709,7 +111709,9 @@ const require$$23 = _dll_debug;
|
|
|
111709
111709
|
};
|
|
111710
111710
|
var mml = new _mathml.MathML(mmlConfig);
|
|
111711
111711
|
var customMmlFactory = new _MmlFactory.MmlFactory(_objectSpread(_objectSpread({}, _MmlFactory.MmlFactory.defaultNodes), _mstack.mmlNodes));
|
|
111712
|
-
var
|
|
111712
|
+
var withAssistive = (0, _assistiveMml.AssistiveMmlHandler)(_mathjax.mathjax.handlers.handlesDocument(docProvided));
|
|
111713
|
+
var handler = window.MathJax && window.MathJax.Menu ? withAssistive : (0, _MenuHandler.MenuHandler)(withAssistive);
|
|
111714
|
+
var classFactory = (0, _semanticEnrich.EnrichHandler)(handler, mml);
|
|
111713
111715
|
var html = classFactory.create(docProvided, {
|
|
111714
111716
|
compileError: function compileError(mj, math, err) {
|
|
111715
111717
|
console.log('bad math?:', math);
|
|
@@ -111761,13 +111763,19 @@ const require$$23 = _dll_debug;
|
|
|
111761
111763
|
var attemptRender = function attemptRender() {
|
|
111762
111764
|
var _updatedDocument$math, _updatedDocument$math2;
|
|
111763
111765
|
var temporary = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
111766
|
+
var usesMenuHandler = !(window.MathJax && window.MathJax.Menu);
|
|
111764
111767
|
var updatedDocument = _this.html.findMath(elements.length ? {
|
|
111765
111768
|
elements: elements
|
|
111766
111769
|
} : {}).compile();
|
|
111767
111770
|
if (!temporary && sreReady) {
|
|
111768
111771
|
updatedDocument = updatedDocument.enrich();
|
|
111769
111772
|
}
|
|
111770
|
-
updatedDocument = updatedDocument.getMetrics().typeset().assistiveMml().attachSpeech()
|
|
111773
|
+
updatedDocument = updatedDocument.getMetrics().typeset().assistiveMml().attachSpeech();
|
|
111774
|
+
if (usesMenuHandler) {
|
|
111775
|
+
console.log('Using MenuHandler');
|
|
111776
|
+
updatedDocument = updatedDocument.addMenu();
|
|
111777
|
+
}
|
|
111778
|
+
updatedDocument = updatedDocument.updateDocument();
|
|
111771
111779
|
if (!enrichSpeechInitialized && (0, _typeof2["default"])((_updatedDocument$math = updatedDocument.math.list) === null || _updatedDocument$math === void 0 ? void 0 : (_updatedDocument$math2 = _updatedDocument$math.next) === null || _updatedDocument$math2 === void 0 ? void 0 : _updatedDocument$math2.data) === 'object') {
|
|
111772
111780
|
enrichSpeechInitialized = true;
|
|
111773
111781
|
}
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@4.1.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@7.0.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@4.1.3/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@7.0.2/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) {
|
|
5
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -111672,7 +111672,9 @@ const require$$23 = _dll_debug;
|
|
|
111672
111672
|
};
|
|
111673
111673
|
var mml = new _mathml.MathML(mmlConfig);
|
|
111674
111674
|
var customMmlFactory = new _MmlFactory.MmlFactory(_objectSpread(_objectSpread({}, _MmlFactory.MmlFactory.defaultNodes), _mstack.mmlNodes));
|
|
111675
|
-
var
|
|
111675
|
+
var withAssistive = (0, _assistiveMml.AssistiveMmlHandler)(_mathjax.mathjax.handlers.handlesDocument(docProvided));
|
|
111676
|
+
var handler = window.MathJax && window.MathJax.Menu ? withAssistive : (0, _MenuHandler.MenuHandler)(withAssistive);
|
|
111677
|
+
var classFactory = (0, _semanticEnrich.EnrichHandler)(handler, mml);
|
|
111676
111678
|
var html = classFactory.create(docProvided, {
|
|
111677
111679
|
compileError: function compileError(mj, math, err) {
|
|
111678
111680
|
console.log('bad math?:', math);
|
|
@@ -111724,13 +111726,19 @@ const require$$23 = _dll_debug;
|
|
|
111724
111726
|
var attemptRender = function attemptRender() {
|
|
111725
111727
|
var _updatedDocument$math, _updatedDocument$math2;
|
|
111726
111728
|
var temporary = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
111729
|
+
var usesMenuHandler = !(window.MathJax && window.MathJax.Menu);
|
|
111727
111730
|
var updatedDocument = _this.html.findMath(elements.length ? {
|
|
111728
111731
|
elements: elements
|
|
111729
111732
|
} : {}).compile();
|
|
111730
111733
|
if (!temporary && sreReady) {
|
|
111731
111734
|
updatedDocument = updatedDocument.enrich();
|
|
111732
111735
|
}
|
|
111733
|
-
updatedDocument = updatedDocument.getMetrics().typeset().assistiveMml().attachSpeech()
|
|
111736
|
+
updatedDocument = updatedDocument.getMetrics().typeset().assistiveMml().attachSpeech();
|
|
111737
|
+
if (usesMenuHandler) {
|
|
111738
|
+
console.log('Using MenuHandler');
|
|
111739
|
+
updatedDocument = updatedDocument.addMenu();
|
|
111740
|
+
}
|
|
111741
|
+
updatedDocument = updatedDocument.updateDocument();
|
|
111734
111742
|
if (!enrichSpeechInitialized && (0, _typeof2["default"])((_updatedDocument$math = updatedDocument.math.list) === null || _updatedDocument$math === void 0 ? void 0 : (_updatedDocument$math2 = _updatedDocument$math.next) === null || _updatedDocument$math2 === void 0 ? void 0 : _updatedDocument$math2.data) === 'object') {
|
|
111735
111743
|
enrichSpeechInitialized = true;
|
|
111736
111744
|
}
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "9.5.7-next.
|
|
7
|
+
"version": "9.5.7-next.8+a98d9306e",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/pie-toolbox": "2.17.
|
|
12
|
+
"@pie-lib/pie-toolbox": "2.17.4",
|
|
13
13
|
"prop-types": "^15.6.1",
|
|
14
14
|
"react": "^16.8.1",
|
|
15
15
|
"react-dom": "^16.8.1"
|
|
16
16
|
},
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "a98d9306e52686234b7c27133fcca6f04500c448",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|