@pie-element/complex-rubric 2.19.5-next.44 → 2.19.5-next.46
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/controller/package.json +1 -1
- package/module/configure.js +53 -54
- package/module/element.js +53 -54
- package/module/print.js +53 -54
- package/package.json +4 -4
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -42066,62 +42066,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
42066
42066
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
42067
42067
|
};
|
|
42068
42068
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
42069
|
-
|
|
42070
|
-
|
|
42071
|
-
|
|
42072
|
-
|
|
42073
|
-
|
|
42074
|
-
|
|
42075
|
-
|
|
42076
|
-
|
|
42077
|
-
|
|
42078
|
-
|
|
42079
|
-
|
|
42080
|
-
|
|
42081
|
-
|
|
42082
|
-
|
|
42083
|
-
|
|
42084
|
-
|
|
42085
|
-
|
|
42086
|
-
|
|
42087
|
-
|
|
42088
|
-
|
|
42089
|
-
|
|
42090
|
-
|
|
42091
|
-
|
|
42092
|
-
}
|
|
42069
|
+
resolve();
|
|
42070
|
+
});
|
|
42071
|
+
window.MathJax = {
|
|
42072
|
+
startup: {
|
|
42073
|
+
typeset: false,
|
|
42074
|
+
ready: function ready() {
|
|
42075
|
+
var mathjax = MathJax._.mathjax.mathjax;
|
|
42076
|
+
var STATE = MathJax._.core.MathItem.STATE;
|
|
42077
|
+
var Menu = MathJax._.ui.menu.Menu.Menu;
|
|
42078
|
+
var rerender = Menu.prototype.rerender;
|
|
42079
|
+
Menu.prototype.rerender = function () {
|
|
42080
|
+
var _this = this;
|
|
42081
|
+
var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
|
|
42082
|
+
mathjax.handleRetriesFor(function () {
|
|
42083
|
+
return rerender.call(_this, start);
|
|
42084
|
+
});
|
|
42085
|
+
};
|
|
42086
|
+
MathJax.startup.defaultReady();
|
|
42087
|
+
var globalObj = (0, _renderMath.getGlobal)();
|
|
42088
|
+
globalObj.instance = MathJax;
|
|
42089
|
+
window.mathjaxIsInitialised = true;
|
|
42090
|
+
if (callback) {
|
|
42091
|
+
callback();
|
|
42093
42092
|
}
|
|
42093
|
+
}
|
|
42094
|
+
},
|
|
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'
|
|
42094
42109
|
},
|
|
42095
|
-
|
|
42096
|
-
|
|
42097
|
-
|
|
42098
|
-
|
|
42099
|
-
|
|
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
|
-
}
|
|
42110
|
+
menuOptions: {
|
|
42111
|
+
settings: {
|
|
42112
|
+
assistiveMml: true,
|
|
42113
|
+
collapsible: false,
|
|
42114
|
+
explorer: false
|
|
42116
42115
|
}
|
|
42117
42116
|
}
|
|
42118
|
-
}
|
|
42119
|
-
|
|
42120
|
-
|
|
42121
|
-
|
|
42122
|
-
|
|
42123
|
-
|
|
42124
|
-
|
|
42117
|
+
}
|
|
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);
|
|
42125
42124
|
};
|
|
42126
42125
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
42127
42126
|
var normalization$1 = {};
|
|
@@ -101901,7 +101900,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
101901
101900
|
renderOpts = renderOpts || defaultOpts();
|
|
101902
101901
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
101903
101902
|
}
|
|
101904
|
-
if (isString && window.MathJax && window.
|
|
101903
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
101905
101904
|
try {
|
|
101906
101905
|
MathJax.texReset();
|
|
101907
101906
|
MathJax.typesetClear();
|
|
@@ -101916,7 +101915,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
101916
101915
|
console.error('Error rendering math:', error.message);
|
|
101917
101916
|
}
|
|
101918
101917
|
}
|
|
101919
|
-
if (window.
|
|
101918
|
+
if (window.mathjaxLoadedP) {
|
|
101920
101919
|
workingWithMathJax();
|
|
101921
101920
|
}
|
|
101922
101921
|
};
|
package/module/element.js
CHANGED
|
@@ -65392,62 +65392,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
65392
65392
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
65393
65393
|
};
|
|
65394
65394
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
65395
|
-
|
|
65396
|
-
|
|
65397
|
-
|
|
65398
|
-
|
|
65399
|
-
|
|
65400
|
-
|
|
65401
|
-
|
|
65402
|
-
|
|
65403
|
-
|
|
65404
|
-
|
|
65405
|
-
|
|
65406
|
-
|
|
65407
|
-
|
|
65408
|
-
|
|
65409
|
-
|
|
65410
|
-
|
|
65411
|
-
|
|
65412
|
-
|
|
65413
|
-
|
|
65414
|
-
|
|
65415
|
-
|
|
65416
|
-
|
|
65417
|
-
|
|
65418
|
-
}
|
|
65395
|
+
resolve();
|
|
65396
|
+
});
|
|
65397
|
+
window.MathJax = {
|
|
65398
|
+
startup: {
|
|
65399
|
+
typeset: false,
|
|
65400
|
+
ready: function ready() {
|
|
65401
|
+
var mathjax = MathJax._.mathjax.mathjax;
|
|
65402
|
+
var STATE = MathJax._.core.MathItem.STATE;
|
|
65403
|
+
var Menu = MathJax._.ui.menu.Menu.Menu;
|
|
65404
|
+
var rerender = Menu.prototype.rerender;
|
|
65405
|
+
Menu.prototype.rerender = function () {
|
|
65406
|
+
var _this = this;
|
|
65407
|
+
var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
|
|
65408
|
+
mathjax.handleRetriesFor(function () {
|
|
65409
|
+
return rerender.call(_this, start);
|
|
65410
|
+
});
|
|
65411
|
+
};
|
|
65412
|
+
MathJax.startup.defaultReady();
|
|
65413
|
+
var globalObj = (0, _renderMath.getGlobal)();
|
|
65414
|
+
globalObj.instance = MathJax;
|
|
65415
|
+
window.mathjaxIsInitialised = true;
|
|
65416
|
+
if (callback) {
|
|
65417
|
+
callback();
|
|
65419
65418
|
}
|
|
65419
|
+
}
|
|
65420
|
+
},
|
|
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'
|
|
65420
65435
|
},
|
|
65421
|
-
|
|
65422
|
-
|
|
65423
|
-
|
|
65424
|
-
|
|
65425
|
-
|
|
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
|
-
}
|
|
65436
|
+
menuOptions: {
|
|
65437
|
+
settings: {
|
|
65438
|
+
assistiveMml: true,
|
|
65439
|
+
collapsible: false,
|
|
65440
|
+
explorer: false
|
|
65442
65441
|
}
|
|
65443
65442
|
}
|
|
65444
|
-
}
|
|
65445
|
-
|
|
65446
|
-
|
|
65447
|
-
|
|
65448
|
-
|
|
65449
|
-
|
|
65450
|
-
|
|
65443
|
+
}
|
|
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);
|
|
65451
65450
|
};
|
|
65452
65451
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
65453
65452
|
var normalization$1 = {};
|
|
@@ -125162,7 +125161,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
125162
125161
|
renderOpts = renderOpts || defaultOpts();
|
|
125163
125162
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
125164
125163
|
}
|
|
125165
|
-
if (isString && window.MathJax && window.
|
|
125164
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
125166
125165
|
try {
|
|
125167
125166
|
MathJax.texReset();
|
|
125168
125167
|
MathJax.typesetClear();
|
|
@@ -125177,7 +125176,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
125177
125176
|
console.error('Error rendering math:', error.message);
|
|
125178
125177
|
}
|
|
125179
125178
|
}
|
|
125180
|
-
if (window.
|
|
125179
|
+
if (window.mathjaxLoadedP) {
|
|
125181
125180
|
workingWithMathJax();
|
|
125182
125181
|
}
|
|
125183
125182
|
};
|
package/module/print.js
CHANGED
|
@@ -65392,62 +65392,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
65392
65392
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
65393
65393
|
};
|
|
65394
65394
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
65395
|
-
|
|
65396
|
-
|
|
65397
|
-
|
|
65398
|
-
|
|
65399
|
-
|
|
65400
|
-
|
|
65401
|
-
|
|
65402
|
-
|
|
65403
|
-
|
|
65404
|
-
|
|
65405
|
-
|
|
65406
|
-
|
|
65407
|
-
|
|
65408
|
-
|
|
65409
|
-
|
|
65410
|
-
|
|
65411
|
-
|
|
65412
|
-
|
|
65413
|
-
|
|
65414
|
-
|
|
65415
|
-
|
|
65416
|
-
|
|
65417
|
-
|
|
65418
|
-
}
|
|
65395
|
+
resolve();
|
|
65396
|
+
});
|
|
65397
|
+
window.MathJax = {
|
|
65398
|
+
startup: {
|
|
65399
|
+
typeset: false,
|
|
65400
|
+
ready: function ready() {
|
|
65401
|
+
var mathjax = MathJax._.mathjax.mathjax;
|
|
65402
|
+
var STATE = MathJax._.core.MathItem.STATE;
|
|
65403
|
+
var Menu = MathJax._.ui.menu.Menu.Menu;
|
|
65404
|
+
var rerender = Menu.prototype.rerender;
|
|
65405
|
+
Menu.prototype.rerender = function () {
|
|
65406
|
+
var _this = this;
|
|
65407
|
+
var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
|
|
65408
|
+
mathjax.handleRetriesFor(function () {
|
|
65409
|
+
return rerender.call(_this, start);
|
|
65410
|
+
});
|
|
65411
|
+
};
|
|
65412
|
+
MathJax.startup.defaultReady();
|
|
65413
|
+
var globalObj = (0, _renderMath.getGlobal)();
|
|
65414
|
+
globalObj.instance = MathJax;
|
|
65415
|
+
window.mathjaxIsInitialised = true;
|
|
65416
|
+
if (callback) {
|
|
65417
|
+
callback();
|
|
65419
65418
|
}
|
|
65419
|
+
}
|
|
65420
|
+
},
|
|
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'
|
|
65420
65435
|
},
|
|
65421
|
-
|
|
65422
|
-
|
|
65423
|
-
|
|
65424
|
-
|
|
65425
|
-
|
|
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
|
-
}
|
|
65436
|
+
menuOptions: {
|
|
65437
|
+
settings: {
|
|
65438
|
+
assistiveMml: true,
|
|
65439
|
+
collapsible: false,
|
|
65440
|
+
explorer: false
|
|
65442
65441
|
}
|
|
65443
65442
|
}
|
|
65444
|
-
}
|
|
65445
|
-
|
|
65446
|
-
|
|
65447
|
-
|
|
65448
|
-
|
|
65449
|
-
|
|
65450
|
-
|
|
65443
|
+
}
|
|
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);
|
|
65451
65450
|
};
|
|
65452
65451
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
65453
65452
|
var normalization$1 = {};
|
|
@@ -125162,7 +125161,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
125162
125161
|
renderOpts = renderOpts || defaultOpts();
|
|
125163
125162
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
125164
125163
|
}
|
|
125165
|
-
if (isString && window.MathJax && window.
|
|
125164
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
125166
125165
|
try {
|
|
125167
125166
|
MathJax.texReset();
|
|
125168
125167
|
MathJax.typesetClear();
|
|
@@ -125177,7 +125176,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
125177
125176
|
console.error('Error rendering math:', error.message);
|
|
125178
125177
|
}
|
|
125179
125178
|
}
|
|
125180
|
-
if (window.
|
|
125179
|
+
if (window.mathjaxLoadedP) {
|
|
125181
125180
|
workingWithMathJax();
|
|
125182
125181
|
}
|
|
125183
125182
|
};
|
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.
|
|
4
|
+
"version": "2.19.5-next.46+d62f2b452",
|
|
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.
|
|
11
|
-
"@pie-element/rubric": "^3.19.5-next.
|
|
10
|
+
"@pie-element/multi-trait-rubric": "^3.19.5-next.46+d62f2b452",
|
|
11
|
+
"@pie-element/rubric": "^3.19.5-next.46+d62f2b452",
|
|
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": "
|
|
18
|
+
"gitHead": "d62f2b4526eeda1f90d3660d97bf278ac1ae72da",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|