@pie-element/complex-rubric 2.3.6-next.0 → 2.3.6-next.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.
@@ -7,7 +7,7 @@
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-lib/pie-toolbox": "1.7.4",
10
+ "@pie-lib/pie-toolbox": "1.8.1",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.0.9/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.0/module/index.js";
2
2
  import RubricConfigure from '@pie-element/rubric/configure/lib';
3
3
  import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
4
4
  function _mergeNamespaces(n, m) {
@@ -95083,6 +95083,10 @@ const require$$12$r = _dll_debug;
95083
95083
  };
95084
95084
  };
95085
95085
  var renderMath = function renderMath(el, renderOpts) {
95086
+ var _getGlobal$instance, _getGlobal$instance2;
95087
+ if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
95088
+ return;
95089
+ }
95086
95090
  var isString = typeof el === 'string';
95087
95091
  var executeOn = document.body;
95088
95092
  if (isString) {
@@ -95111,12 +95115,12 @@ const require$$12$r = _dll_debug;
95111
95115
  log('el is undefined');
95112
95116
  return;
95113
95117
  }
95114
- if (el instanceof Element && getGlobal().instance) {
95118
+ if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
95115
95119
  getGlobal().instance.Typeset(el);
95116
- } else if (el.length && getGlobal().instance) {
95117
- var _getGlobal$instance;
95120
+ } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
95121
+ var _getGlobal$instance3;
95118
95122
  var arr = Array.from(el);
95119
- (_getGlobal$instance = getGlobal().instance).Typeset.apply(_getGlobal$instance, (0, _toConsumableArray2["default"])(arr));
95123
+ (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
95120
95124
  }
95121
95125
  };
95122
95126
  _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_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.0.9/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.0/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -117553,6 +117553,10 @@ const require$$12$h = _dll_debug;
117553
117553
  };
117554
117554
  };
117555
117555
  var renderMath = function renderMath(el, renderOpts) {
117556
+ var _getGlobal$instance, _getGlobal$instance2;
117557
+ if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
117558
+ return;
117559
+ }
117556
117560
  var isString = typeof el === 'string';
117557
117561
  var executeOn = document.body;
117558
117562
  if (isString) {
@@ -117581,12 +117585,12 @@ const require$$12$h = _dll_debug;
117581
117585
  log('el is undefined');
117582
117586
  return;
117583
117587
  }
117584
- if (el instanceof Element && getGlobal().instance) {
117588
+ if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
117585
117589
  getGlobal().instance.Typeset(el);
117586
- } else if (el.length && getGlobal().instance) {
117587
- var _getGlobal$instance;
117590
+ } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
117591
+ var _getGlobal$instance3;
117588
117592
  var arr = Array.from(el);
117589
- (_getGlobal$instance = getGlobal().instance).Typeset.apply(_getGlobal$instance, (0, _toConsumableArray2["default"])(arr));
117593
+ (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
117590
117594
  }
117591
117595
  };
117592
117596
  _mspace.CHTMLmspace.styles = {
@@ -4,7 +4,7 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "1.0.9"
7
+ "version": "1.1.0"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
package/module/print.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.0.9/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.0/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -117553,6 +117553,10 @@ const require$$12$h = _dll_debug;
117553
117553
  };
117554
117554
  };
117555
117555
  var renderMath = function renderMath(el, renderOpts) {
117556
+ var _getGlobal$instance, _getGlobal$instance2;
117557
+ if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
117558
+ return;
117559
+ }
117556
117560
  var isString = typeof el === 'string';
117557
117561
  var executeOn = document.body;
117558
117562
  if (isString) {
@@ -117581,12 +117585,12 @@ const require$$12$h = _dll_debug;
117581
117585
  log('el is undefined');
117582
117586
  return;
117583
117587
  }
117584
- if (el instanceof Element && getGlobal().instance) {
117588
+ if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
117585
117589
  getGlobal().instance.Typeset(el);
117586
- } else if (el.length && getGlobal().instance) {
117587
- var _getGlobal$instance;
117590
+ } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
117591
+ var _getGlobal$instance3;
117588
117592
  var arr = Array.from(el);
117589
- (_getGlobal$instance = getGlobal().instance).Typeset.apply(_getGlobal$instance, (0, _toConsumableArray2["default"])(arr));
117593
+ (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
117590
117594
  }
117591
117595
  };
117592
117596
  _mspace.CHTMLmspace.styles = {
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric",
3
3
  "repository": "pie-framework/pie-elements",
4
- "version": "2.3.6-next.0+4f91397e5",
4
+ "version": "2.3.6-next.1+8df1d8d28",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
- "@pie-element/multi-trait-rubric": "^3.3.5-next.0+4f91397e5",
11
- "@pie-element/rubric": "^3.2.3-next.29+4f91397e5",
10
+ "@pie-element/multi-trait-rubric": "^3.3.5-next.1+8df1d8d28",
11
+ "@pie-element/rubric": "^3.2.3-next.30+8df1d8d28",
12
12
  "@pie-framework/pie-player-events": "^0.1.0",
13
13
  "classnames": "^2.2.5",
14
14
  "debug": "^4.1.1",
15
15
  "lodash": "^4.17.11",
16
16
  "prop-types": "^15.7.2"
17
17
  },
18
- "gitHead": "4f91397e59720e0536b18cdd8655e3dca8eb05a5",
18
+ "gitHead": "8df1d8d281a0d6023d5a9c0e6fdd29fea71b6ac1",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },