@pie-element/select-text 8.3.3-next.29 → 8.3.3-next.30
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 +9 -5
- 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
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, _dll_react_dom_server} 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, _dll_react_dom_server} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.0/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_editable_html} 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) {
|
|
@@ -94532,6 +94532,10 @@ const require$$12$4 = _dll_debug;
|
|
|
94532
94532
|
};
|
|
94533
94533
|
};
|
|
94534
94534
|
var renderMath = function renderMath(el, renderOpts) {
|
|
94535
|
+
var _getGlobal$instance, _getGlobal$instance2;
|
|
94536
|
+
if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
|
|
94537
|
+
return;
|
|
94538
|
+
}
|
|
94535
94539
|
var isString = typeof el === 'string';
|
|
94536
94540
|
var executeOn = document.body;
|
|
94537
94541
|
if (isString) {
|
|
@@ -94560,12 +94564,12 @@ const require$$12$4 = _dll_debug;
|
|
|
94560
94564
|
log('el is undefined');
|
|
94561
94565
|
return;
|
|
94562
94566
|
}
|
|
94563
|
-
if (el instanceof Element && getGlobal().instance) {
|
|
94567
|
+
if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
|
|
94564
94568
|
getGlobal().instance.Typeset(el);
|
|
94565
|
-
} else if (el.length && getGlobal().instance) {
|
|
94566
|
-
var _getGlobal$
|
|
94569
|
+
} else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
|
|
94570
|
+
var _getGlobal$instance3;
|
|
94567
94571
|
var arr = Array.from(el);
|
|
94568
|
-
(_getGlobal$
|
|
94572
|
+
(_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
|
|
94569
94573
|
}
|
|
94570
94574
|
};
|
|
94571
94575
|
_mspace.CHTMLmspace.styles = {
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _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_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _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) {
|
|
@@ -91360,6 +91360,10 @@ const require$$12$2 = _dll_debug;
|
|
|
91360
91360
|
};
|
|
91361
91361
|
};
|
|
91362
91362
|
var renderMath = function renderMath(el, renderOpts) {
|
|
91363
|
+
var _getGlobal$instance, _getGlobal$instance2;
|
|
91364
|
+
if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
|
|
91365
|
+
return;
|
|
91366
|
+
}
|
|
91363
91367
|
var isString = typeof el === 'string';
|
|
91364
91368
|
var executeOn = document.body;
|
|
91365
91369
|
if (isString) {
|
|
@@ -91388,12 +91392,12 @@ const require$$12$2 = _dll_debug;
|
|
|
91388
91392
|
log('el is undefined');
|
|
91389
91393
|
return;
|
|
91390
91394
|
}
|
|
91391
|
-
if (el instanceof Element && getGlobal().instance) {
|
|
91395
|
+
if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
|
|
91392
91396
|
getGlobal().instance.Typeset(el);
|
|
91393
|
-
} else if (el.length && getGlobal().instance) {
|
|
91394
|
-
var _getGlobal$
|
|
91397
|
+
} else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
|
|
91398
|
+
var _getGlobal$instance3;
|
|
91395
91399
|
var arr = Array.from(el);
|
|
91396
|
-
(_getGlobal$
|
|
91400
|
+
(_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
|
|
91397
91401
|
}
|
|
91398
91402
|
};
|
|
91399
91403
|
_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_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _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_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _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) {
|
|
@@ -91323,6 +91323,10 @@ const require$$12$2 = _dll_debug;
|
|
|
91323
91323
|
};
|
|
91324
91324
|
};
|
|
91325
91325
|
var renderMath = function renderMath(el, renderOpts) {
|
|
91326
|
+
var _getGlobal$instance, _getGlobal$instance2;
|
|
91327
|
+
if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
|
|
91328
|
+
return;
|
|
91329
|
+
}
|
|
91326
91330
|
var isString = typeof el === 'string';
|
|
91327
91331
|
var executeOn = document.body;
|
|
91328
91332
|
if (isString) {
|
|
@@ -91351,12 +91355,12 @@ const require$$12$2 = _dll_debug;
|
|
|
91351
91355
|
log('el is undefined');
|
|
91352
91356
|
return;
|
|
91353
91357
|
}
|
|
91354
|
-
if (el instanceof Element && getGlobal().instance) {
|
|
91358
|
+
if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
|
|
91355
91359
|
getGlobal().instance.Typeset(el);
|
|
91356
|
-
} else if (el.length && getGlobal().instance) {
|
|
91357
|
-
var _getGlobal$
|
|
91360
|
+
} else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
|
|
91361
|
+
var _getGlobal$instance3;
|
|
91358
91362
|
var arr = Array.from(el);
|
|
91359
|
-
(_getGlobal$
|
|
91363
|
+
(_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
|
|
91360
91364
|
}
|
|
91361
91365
|
};
|
|
91362
91366
|
_mspace.CHTMLmspace.styles = {
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "8.3.3-next.
|
|
7
|
+
"version": "8.3.3-next.30+8df1d8d28",
|
|
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": "1.
|
|
12
|
+
"@pie-lib/pie-toolbox": "1.8.1",
|
|
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": "8df1d8d281a0d6023d5a9c0e6fdd29fea71b6ac1",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|