@pie-element/complex-rubric 2.19.5-next.44 → 2.19.5-next.45

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.31.5-next.4",
10
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -42065,63 +42065,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
42065
42065
  },
42066
42066
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
42067
42067
  };
42068
- window.mathjaxLoadedP = new Promise(function (resolve) {
42069
- window.MathJax = {
42070
- startup: {
42071
- typeset: false,
42072
- ready: function ready() {
42073
- var mathjax = MathJax._.mathjax.mathjax;
42074
- var STATE = MathJax._.core.MathItem.STATE;
42075
- var Menu = MathJax._.ui.menu.Menu.Menu;
42076
- var rerender = Menu.prototype.rerender;
42077
- Menu.prototype.rerender = function () {
42078
- var _this = this;
42079
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
42080
- mathjax.handleRetriesFor(function () {
42081
- return rerender.call(_this, start);
42082
- });
42083
- };
42084
- MathJax.startup.defaultReady();
42085
- var globalObj = (0, _renderMath.getGlobal)();
42086
- globalObj.instance = MathJax;
42087
- window.mathjaxIsInitialised = true;
42088
- if (callback) {
42089
- callback();
42090
- } else {
42091
- resolve();
42092
- }
42068
+ window.mathjaxInitialising = true;
42069
+ window.MathJax = {
42070
+ startup: {
42071
+ typeset: false,
42072
+ ready: function ready() {
42073
+ var mathjax = MathJax._.mathjax.mathjax;
42074
+ var STATE = MathJax._.core.MathItem.STATE;
42075
+ var Menu = MathJax._.ui.menu.Menu.Menu;
42076
+ var rerender = Menu.prototype.rerender;
42077
+ Menu.prototype.rerender = function () {
42078
+ var _this = this;
42079
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
42080
+ mathjax.handleRetriesFor(function () {
42081
+ return rerender.call(_this, start);
42082
+ });
42083
+ };
42084
+ MathJax.startup.defaultReady();
42085
+ var globalObj = (0, _renderMath.getGlobal)();
42086
+ globalObj.instance = MathJax;
42087
+ window.mathjaxIsInitialised = true;
42088
+ if (callback) {
42089
+ callback();
42093
42090
  }
42091
+ }
42092
+ },
42093
+ loader: {
42094
+ load: ['input/mml'],
42095
+ preLoad: function preLoad() {}
42096
+ },
42097
+ tex: texConfig,
42098
+ chtml: {
42099
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
42100
+ displayAlign: 'center'
42101
+ },
42102
+ customKey: '@pie-lib/math-rendering-accessible@1',
42103
+ options: {
42104
+ enableEnrichment: true,
42105
+ sre: {
42106
+ speech: 'deep'
42094
42107
  },
42095
- loader: {
42096
- load: ['input/mml'],
42097
- preLoad: function preLoad() {}
42098
- },
42099
- tex: texConfig,
42100
- chtml: {
42101
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
42102
- displayAlign: 'center'
42103
- },
42104
- customKey: '@pie-lib/math-rendering-accessible@1',
42105
- options: {
42106
- enableEnrichment: true,
42107
- sre: {
42108
- speech: 'deep'
42109
- },
42110
- menuOptions: {
42111
- settings: {
42112
- assistiveMml: true,
42113
- collapsible: false,
42114
- explorer: false
42115
- }
42108
+ menuOptions: {
42109
+ settings: {
42110
+ assistiveMml: true,
42111
+ collapsible: false,
42112
+ explorer: false
42116
42113
  }
42117
42114
  }
42118
- };
42119
- var script = document.createElement('script');
42120
- script.type = 'text/javascript';
42121
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
42122
- script.async = true;
42123
- document.body.appendChild(script);
42124
- });
42115
+ }
42116
+ };
42117
+ var script = document.createElement('script');
42118
+ script.type = 'text/javascript';
42119
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
42120
+ script.async = true;
42121
+ document.body.appendChild(script);
42125
42122
  };
42126
42123
  mathjaxScript.initializeMathJax = initializeMathJax;
42127
42124
  var normalization$1 = {};
@@ -101897,7 +101894,7 @@ getDefaultExportFromCjs(mathRendering);
101897
101894
  });
101898
101895
  }
101899
101896
  };
101900
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
101897
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
101901
101898
  renderOpts = renderOpts || defaultOpts();
101902
101899
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
101903
101900
  }
package/module/element.js CHANGED
@@ -65391,63 +65391,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
65391
65391
  },
65392
65392
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
65393
65393
  };
65394
- window.mathjaxLoadedP = new Promise(function (resolve) {
65395
- window.MathJax = {
65396
- startup: {
65397
- typeset: false,
65398
- ready: function ready() {
65399
- var mathjax = MathJax._.mathjax.mathjax;
65400
- var STATE = MathJax._.core.MathItem.STATE;
65401
- var Menu = MathJax._.ui.menu.Menu.Menu;
65402
- var rerender = Menu.prototype.rerender;
65403
- Menu.prototype.rerender = function () {
65404
- var _this = this;
65405
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
65406
- mathjax.handleRetriesFor(function () {
65407
- return rerender.call(_this, start);
65408
- });
65409
- };
65410
- MathJax.startup.defaultReady();
65411
- var globalObj = (0, _renderMath.getGlobal)();
65412
- globalObj.instance = MathJax;
65413
- window.mathjaxIsInitialised = true;
65414
- if (callback) {
65415
- callback();
65416
- } else {
65417
- resolve();
65418
- }
65394
+ window.mathjaxInitialising = true;
65395
+ window.MathJax = {
65396
+ startup: {
65397
+ typeset: false,
65398
+ ready: function ready() {
65399
+ var mathjax = MathJax._.mathjax.mathjax;
65400
+ var STATE = MathJax._.core.MathItem.STATE;
65401
+ var Menu = MathJax._.ui.menu.Menu.Menu;
65402
+ var rerender = Menu.prototype.rerender;
65403
+ Menu.prototype.rerender = function () {
65404
+ var _this = this;
65405
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
65406
+ mathjax.handleRetriesFor(function () {
65407
+ return rerender.call(_this, start);
65408
+ });
65409
+ };
65410
+ MathJax.startup.defaultReady();
65411
+ var globalObj = (0, _renderMath.getGlobal)();
65412
+ globalObj.instance = MathJax;
65413
+ window.mathjaxIsInitialised = true;
65414
+ if (callback) {
65415
+ callback();
65419
65416
  }
65417
+ }
65418
+ },
65419
+ loader: {
65420
+ load: ['input/mml'],
65421
+ preLoad: function preLoad() {}
65422
+ },
65423
+ tex: texConfig,
65424
+ chtml: {
65425
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
65426
+ displayAlign: 'center'
65427
+ },
65428
+ customKey: '@pie-lib/math-rendering-accessible@1',
65429
+ options: {
65430
+ enableEnrichment: true,
65431
+ sre: {
65432
+ speech: 'deep'
65420
65433
  },
65421
- loader: {
65422
- load: ['input/mml'],
65423
- preLoad: function preLoad() {}
65424
- },
65425
- tex: texConfig,
65426
- chtml: {
65427
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
65428
- displayAlign: 'center'
65429
- },
65430
- customKey: '@pie-lib/math-rendering-accessible@1',
65431
- options: {
65432
- enableEnrichment: true,
65433
- sre: {
65434
- speech: 'deep'
65435
- },
65436
- menuOptions: {
65437
- settings: {
65438
- assistiveMml: true,
65439
- collapsible: false,
65440
- explorer: false
65441
- }
65434
+ menuOptions: {
65435
+ settings: {
65436
+ assistiveMml: true,
65437
+ collapsible: false,
65438
+ explorer: false
65442
65439
  }
65443
65440
  }
65444
- };
65445
- var script = document.createElement('script');
65446
- script.type = 'text/javascript';
65447
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
65448
- script.async = true;
65449
- document.body.appendChild(script);
65450
- });
65441
+ }
65442
+ };
65443
+ var script = document.createElement('script');
65444
+ script.type = 'text/javascript';
65445
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
65446
+ script.async = true;
65447
+ document.body.appendChild(script);
65451
65448
  };
65452
65449
  mathjaxScript.initializeMathJax = initializeMathJax;
65453
65450
  var normalization$1 = {};
@@ -125158,7 +125155,7 @@ getDefaultExportFromCjs(mathRendering);
125158
125155
  });
125159
125156
  }
125160
125157
  };
125161
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
125158
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
125162
125159
  renderOpts = renderOpts || defaultOpts();
125163
125160
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
125164
125161
  }
package/module/print.js CHANGED
@@ -65391,63 +65391,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
65391
65391
  },
65392
65392
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
65393
65393
  };
65394
- window.mathjaxLoadedP = new Promise(function (resolve) {
65395
- window.MathJax = {
65396
- startup: {
65397
- typeset: false,
65398
- ready: function ready() {
65399
- var mathjax = MathJax._.mathjax.mathjax;
65400
- var STATE = MathJax._.core.MathItem.STATE;
65401
- var Menu = MathJax._.ui.menu.Menu.Menu;
65402
- var rerender = Menu.prototype.rerender;
65403
- Menu.prototype.rerender = function () {
65404
- var _this = this;
65405
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
65406
- mathjax.handleRetriesFor(function () {
65407
- return rerender.call(_this, start);
65408
- });
65409
- };
65410
- MathJax.startup.defaultReady();
65411
- var globalObj = (0, _renderMath.getGlobal)();
65412
- globalObj.instance = MathJax;
65413
- window.mathjaxIsInitialised = true;
65414
- if (callback) {
65415
- callback();
65416
- } else {
65417
- resolve();
65418
- }
65394
+ window.mathjaxInitialising = true;
65395
+ window.MathJax = {
65396
+ startup: {
65397
+ typeset: false,
65398
+ ready: function ready() {
65399
+ var mathjax = MathJax._.mathjax.mathjax;
65400
+ var STATE = MathJax._.core.MathItem.STATE;
65401
+ var Menu = MathJax._.ui.menu.Menu.Menu;
65402
+ var rerender = Menu.prototype.rerender;
65403
+ Menu.prototype.rerender = function () {
65404
+ var _this = this;
65405
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
65406
+ mathjax.handleRetriesFor(function () {
65407
+ return rerender.call(_this, start);
65408
+ });
65409
+ };
65410
+ MathJax.startup.defaultReady();
65411
+ var globalObj = (0, _renderMath.getGlobal)();
65412
+ globalObj.instance = MathJax;
65413
+ window.mathjaxIsInitialised = true;
65414
+ if (callback) {
65415
+ callback();
65419
65416
  }
65417
+ }
65418
+ },
65419
+ loader: {
65420
+ load: ['input/mml'],
65421
+ preLoad: function preLoad() {}
65422
+ },
65423
+ tex: texConfig,
65424
+ chtml: {
65425
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
65426
+ displayAlign: 'center'
65427
+ },
65428
+ customKey: '@pie-lib/math-rendering-accessible@1',
65429
+ options: {
65430
+ enableEnrichment: true,
65431
+ sre: {
65432
+ speech: 'deep'
65420
65433
  },
65421
- loader: {
65422
- load: ['input/mml'],
65423
- preLoad: function preLoad() {}
65424
- },
65425
- tex: texConfig,
65426
- chtml: {
65427
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
65428
- displayAlign: 'center'
65429
- },
65430
- customKey: '@pie-lib/math-rendering-accessible@1',
65431
- options: {
65432
- enableEnrichment: true,
65433
- sre: {
65434
- speech: 'deep'
65435
- },
65436
- menuOptions: {
65437
- settings: {
65438
- assistiveMml: true,
65439
- collapsible: false,
65440
- explorer: false
65441
- }
65434
+ menuOptions: {
65435
+ settings: {
65436
+ assistiveMml: true,
65437
+ collapsible: false,
65438
+ explorer: false
65442
65439
  }
65443
65440
  }
65444
- };
65445
- var script = document.createElement('script');
65446
- script.type = 'text/javascript';
65447
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
65448
- script.async = true;
65449
- document.body.appendChild(script);
65450
- });
65441
+ }
65442
+ };
65443
+ var script = document.createElement('script');
65444
+ script.type = 'text/javascript';
65445
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
65446
+ script.async = true;
65447
+ document.body.appendChild(script);
65451
65448
  };
65452
65449
  mathjaxScript.initializeMathJax = initializeMathJax;
65453
65450
  var normalization$1 = {};
@@ -125158,7 +125155,7 @@ getDefaultExportFromCjs(mathRendering);
125158
125155
  });
125159
125156
  }
125160
125157
  };
125161
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
125158
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
125162
125159
  renderOpts = renderOpts || defaultOpts();
125163
125160
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
125164
125161
  }
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.19.5-next.44+a2e933cd2",
4
+ "version": "2.19.5-next.45+d9487a539",
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.19.5-next.44+a2e933cd2",
11
- "@pie-element/rubric": "^3.19.5-next.44+a2e933cd2",
10
+ "@pie-element/multi-trait-rubric": "^3.19.5-next.45+d9487a539",
11
+ "@pie-element/rubric": "^3.19.5-next.45+d9487a539",
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": "a2e933cd27bb052046e245672d3e01cb5ba1b518",
18
+ "gitHead": "d9487a5394c9b71bb7d7d69a836ed629ae13f7b1",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },