@pie-element/complex-rubric 2.19.5-next.43 → 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": "next",
10
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -42065,62 +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
- },
42098
- tex: texConfig,
42099
- chtml: {
42100
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
42101
- displayAlign: 'center'
42102
- },
42103
- customKey: '@pie-lib/math-rendering-accessible@1',
42104
- options: {
42105
- enableEnrichment: true,
42106
- sre: {
42107
- speech: 'deep'
42108
- },
42109
- menuOptions: {
42110
- settings: {
42111
- assistiveMml: true,
42112
- collapsible: false,
42113
- explorer: false
42114
- }
42108
+ menuOptions: {
42109
+ settings: {
42110
+ assistiveMml: true,
42111
+ collapsible: false,
42112
+ explorer: false
42115
42113
  }
42116
42114
  }
42117
- };
42118
- var script = document.createElement('script');
42119
- script.type = 'text/javascript';
42120
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
42121
- script.async = true;
42122
- document.body.appendChild(script);
42123
- });
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);
42124
42122
  };
42125
42123
  mathjaxScript.initializeMathJax = initializeMathJax;
42126
42124
  var normalization$1 = {};
@@ -101896,7 +101894,7 @@ getDefaultExportFromCjs(mathRendering);
101896
101894
  });
101897
101895
  }
101898
101896
  };
101899
- 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) {
101900
101898
  renderOpts = renderOpts || defaultOpts();
101901
101899
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
101902
101900
  }
package/module/element.js CHANGED
@@ -65391,62 +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
- },
65424
- tex: texConfig,
65425
- chtml: {
65426
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
65427
- displayAlign: 'center'
65428
- },
65429
- customKey: '@pie-lib/math-rendering-accessible@1',
65430
- options: {
65431
- enableEnrichment: true,
65432
- sre: {
65433
- speech: 'deep'
65434
- },
65435
- menuOptions: {
65436
- settings: {
65437
- assistiveMml: true,
65438
- collapsible: false,
65439
- explorer: false
65440
- }
65434
+ menuOptions: {
65435
+ settings: {
65436
+ assistiveMml: true,
65437
+ collapsible: false,
65438
+ explorer: false
65441
65439
  }
65442
65440
  }
65443
- };
65444
- var script = document.createElement('script');
65445
- script.type = 'text/javascript';
65446
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
65447
- script.async = true;
65448
- document.body.appendChild(script);
65449
- });
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);
65450
65448
  };
65451
65449
  mathjaxScript.initializeMathJax = initializeMathJax;
65452
65450
  var normalization$1 = {};
@@ -125157,7 +125155,7 @@ getDefaultExportFromCjs(mathRendering);
125157
125155
  });
125158
125156
  }
125159
125157
  };
125160
- 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) {
125161
125159
  renderOpts = renderOpts || defaultOpts();
125162
125160
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
125163
125161
  }
package/module/print.js CHANGED
@@ -65391,62 +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
- },
65424
- tex: texConfig,
65425
- chtml: {
65426
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
65427
- displayAlign: 'center'
65428
- },
65429
- customKey: '@pie-lib/math-rendering-accessible@1',
65430
- options: {
65431
- enableEnrichment: true,
65432
- sre: {
65433
- speech: 'deep'
65434
- },
65435
- menuOptions: {
65436
- settings: {
65437
- assistiveMml: true,
65438
- collapsible: false,
65439
- explorer: false
65440
- }
65434
+ menuOptions: {
65435
+ settings: {
65436
+ assistiveMml: true,
65437
+ collapsible: false,
65438
+ explorer: false
65441
65439
  }
65442
65440
  }
65443
- };
65444
- var script = document.createElement('script');
65445
- script.type = 'text/javascript';
65446
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
65447
- script.async = true;
65448
- document.body.appendChild(script);
65449
- });
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);
65450
65448
  };
65451
65449
  mathjaxScript.initializeMathJax = initializeMathJax;
65452
65450
  var normalization$1 = {};
@@ -125157,7 +125155,7 @@ getDefaultExportFromCjs(mathRendering);
125157
125155
  });
125158
125156
  }
125159
125157
  };
125160
- 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) {
125161
125159
  renderOpts = renderOpts || defaultOpts();
125162
125160
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
125163
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.43+524ed2558",
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.43+524ed2558",
11
- "@pie-element/rubric": "^3.19.5-next.43+524ed2558",
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": "524ed2558cc92380d2e6d271a81a8da02b521cf5",
18
+ "gitHead": "d9487a5394c9b71bb7d7d69a836ed629ae13f7b1",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },