@pie-element/math-templated 2.22.5-next.44 → 2.22.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/configure/package.json +1 -1
- 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 +3 -3
package/configure/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@material-ui/core": "^3.9.2",
|
|
10
10
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
11
|
-
"@pie-lib/pie-toolbox": "1.31.5-next.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.31.5-next.1",
|
|
12
12
|
"debug": "^3.1.0",
|
|
13
13
|
"lodash": "^4.17.15",
|
|
14
14
|
"prop-types": "^15.6.2",
|
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -43081,62 +43081,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
43081
43081
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
43082
43082
|
};
|
|
43083
43083
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
43084
|
-
|
|
43085
|
-
|
|
43086
|
-
|
|
43087
|
-
|
|
43088
|
-
|
|
43089
|
-
|
|
43090
|
-
|
|
43091
|
-
|
|
43092
|
-
|
|
43093
|
-
|
|
43094
|
-
|
|
43095
|
-
|
|
43096
|
-
|
|
43097
|
-
|
|
43098
|
-
|
|
43099
|
-
|
|
43100
|
-
|
|
43101
|
-
|
|
43102
|
-
|
|
43103
|
-
|
|
43104
|
-
|
|
43105
|
-
|
|
43106
|
-
|
|
43107
|
-
}
|
|
43084
|
+
resolve();
|
|
43085
|
+
});
|
|
43086
|
+
window.MathJax = {
|
|
43087
|
+
startup: {
|
|
43088
|
+
typeset: false,
|
|
43089
|
+
ready: function ready() {
|
|
43090
|
+
var mathjax = MathJax._.mathjax.mathjax;
|
|
43091
|
+
var STATE = MathJax._.core.MathItem.STATE;
|
|
43092
|
+
var Menu = MathJax._.ui.menu.Menu.Menu;
|
|
43093
|
+
var rerender = Menu.prototype.rerender;
|
|
43094
|
+
Menu.prototype.rerender = function () {
|
|
43095
|
+
var _this = this;
|
|
43096
|
+
var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
|
|
43097
|
+
mathjax.handleRetriesFor(function () {
|
|
43098
|
+
return rerender.call(_this, start);
|
|
43099
|
+
});
|
|
43100
|
+
};
|
|
43101
|
+
MathJax.startup.defaultReady();
|
|
43102
|
+
var globalObj = (0, _renderMath.getGlobal)();
|
|
43103
|
+
globalObj.instance = MathJax;
|
|
43104
|
+
window.mathjaxIsInitialised = true;
|
|
43105
|
+
if (callback) {
|
|
43106
|
+
callback();
|
|
43108
43107
|
}
|
|
43108
|
+
}
|
|
43109
|
+
},
|
|
43110
|
+
loader: {
|
|
43111
|
+
load: ['input/mml'],
|
|
43112
|
+
preLoad: function preLoad() {}
|
|
43113
|
+
},
|
|
43114
|
+
tex: texConfig,
|
|
43115
|
+
chtml: {
|
|
43116
|
+
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
43117
|
+
displayAlign: 'center'
|
|
43118
|
+
},
|
|
43119
|
+
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
43120
|
+
options: {
|
|
43121
|
+
enableEnrichment: true,
|
|
43122
|
+
sre: {
|
|
43123
|
+
speech: 'deep'
|
|
43109
43124
|
},
|
|
43110
|
-
|
|
43111
|
-
|
|
43112
|
-
|
|
43113
|
-
|
|
43114
|
-
|
|
43115
|
-
chtml: {
|
|
43116
|
-
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
43117
|
-
displayAlign: 'center'
|
|
43118
|
-
},
|
|
43119
|
-
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
43120
|
-
options: {
|
|
43121
|
-
enableEnrichment: true,
|
|
43122
|
-
sre: {
|
|
43123
|
-
speech: 'deep'
|
|
43124
|
-
},
|
|
43125
|
-
menuOptions: {
|
|
43126
|
-
settings: {
|
|
43127
|
-
assistiveMml: true,
|
|
43128
|
-
collapsible: false,
|
|
43129
|
-
explorer: false
|
|
43130
|
-
}
|
|
43125
|
+
menuOptions: {
|
|
43126
|
+
settings: {
|
|
43127
|
+
assistiveMml: true,
|
|
43128
|
+
collapsible: false,
|
|
43129
|
+
explorer: false
|
|
43131
43130
|
}
|
|
43132
43131
|
}
|
|
43133
|
-
}
|
|
43134
|
-
|
|
43135
|
-
|
|
43136
|
-
|
|
43137
|
-
|
|
43138
|
-
|
|
43139
|
-
|
|
43132
|
+
}
|
|
43133
|
+
};
|
|
43134
|
+
var script = document.createElement('script');
|
|
43135
|
+
script.type = 'text/javascript';
|
|
43136
|
+
script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
|
|
43137
|
+
script.async = true;
|
|
43138
|
+
document.body.appendChild(script);
|
|
43140
43139
|
};
|
|
43141
43140
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
43142
43141
|
var normalization$1 = {};
|
|
@@ -102851,7 +102850,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
102851
102850
|
renderOpts = renderOpts || defaultOpts();
|
|
102852
102851
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
102853
102852
|
}
|
|
102854
|
-
if (isString && window.MathJax && window.
|
|
102853
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
102855
102854
|
try {
|
|
102856
102855
|
MathJax.texReset();
|
|
102857
102856
|
MathJax.typesetClear();
|
|
@@ -102866,7 +102865,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
102866
102865
|
console.error('Error rendering math:', error.message);
|
|
102867
102866
|
}
|
|
102868
102867
|
}
|
|
102869
|
-
if (window.
|
|
102868
|
+
if (window.mathjaxLoadedP) {
|
|
102870
102869
|
workingWithMathJax();
|
|
102871
102870
|
}
|
|
102872
102871
|
};
|
package/module/element.js
CHANGED
|
@@ -21876,62 +21876,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
21876
21876
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
21877
21877
|
};
|
|
21878
21878
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
21879
|
-
|
|
21880
|
-
|
|
21881
|
-
|
|
21882
|
-
|
|
21883
|
-
|
|
21884
|
-
|
|
21885
|
-
|
|
21886
|
-
|
|
21887
|
-
|
|
21888
|
-
|
|
21889
|
-
|
|
21890
|
-
|
|
21891
|
-
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
21897
|
-
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
}
|
|
21879
|
+
resolve();
|
|
21880
|
+
});
|
|
21881
|
+
window.MathJax = {
|
|
21882
|
+
startup: {
|
|
21883
|
+
typeset: false,
|
|
21884
|
+
ready: function ready() {
|
|
21885
|
+
var mathjax = MathJax._.mathjax.mathjax;
|
|
21886
|
+
var STATE = MathJax._.core.MathItem.STATE;
|
|
21887
|
+
var Menu = MathJax._.ui.menu.Menu.Menu;
|
|
21888
|
+
var rerender = Menu.prototype.rerender;
|
|
21889
|
+
Menu.prototype.rerender = function () {
|
|
21890
|
+
var _this = this;
|
|
21891
|
+
var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
|
|
21892
|
+
mathjax.handleRetriesFor(function () {
|
|
21893
|
+
return rerender.call(_this, start);
|
|
21894
|
+
});
|
|
21895
|
+
};
|
|
21896
|
+
MathJax.startup.defaultReady();
|
|
21897
|
+
var globalObj = (0, _renderMath.getGlobal)();
|
|
21898
|
+
globalObj.instance = MathJax;
|
|
21899
|
+
window.mathjaxIsInitialised = true;
|
|
21900
|
+
if (callback) {
|
|
21901
|
+
callback();
|
|
21903
21902
|
}
|
|
21903
|
+
}
|
|
21904
|
+
},
|
|
21905
|
+
loader: {
|
|
21906
|
+
load: ['input/mml'],
|
|
21907
|
+
preLoad: function preLoad() {}
|
|
21908
|
+
},
|
|
21909
|
+
tex: texConfig,
|
|
21910
|
+
chtml: {
|
|
21911
|
+
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
21912
|
+
displayAlign: 'center'
|
|
21913
|
+
},
|
|
21914
|
+
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
21915
|
+
options: {
|
|
21916
|
+
enableEnrichment: true,
|
|
21917
|
+
sre: {
|
|
21918
|
+
speech: 'deep'
|
|
21904
21919
|
},
|
|
21905
|
-
|
|
21906
|
-
|
|
21907
|
-
|
|
21908
|
-
|
|
21909
|
-
|
|
21910
|
-
chtml: {
|
|
21911
|
-
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
21912
|
-
displayAlign: 'center'
|
|
21913
|
-
},
|
|
21914
|
-
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
21915
|
-
options: {
|
|
21916
|
-
enableEnrichment: true,
|
|
21917
|
-
sre: {
|
|
21918
|
-
speech: 'deep'
|
|
21919
|
-
},
|
|
21920
|
-
menuOptions: {
|
|
21921
|
-
settings: {
|
|
21922
|
-
assistiveMml: true,
|
|
21923
|
-
collapsible: false,
|
|
21924
|
-
explorer: false
|
|
21925
|
-
}
|
|
21920
|
+
menuOptions: {
|
|
21921
|
+
settings: {
|
|
21922
|
+
assistiveMml: true,
|
|
21923
|
+
collapsible: false,
|
|
21924
|
+
explorer: false
|
|
21926
21925
|
}
|
|
21927
21926
|
}
|
|
21928
|
-
}
|
|
21929
|
-
|
|
21930
|
-
|
|
21931
|
-
|
|
21932
|
-
|
|
21933
|
-
|
|
21934
|
-
|
|
21927
|
+
}
|
|
21928
|
+
};
|
|
21929
|
+
var script = document.createElement('script');
|
|
21930
|
+
script.type = 'text/javascript';
|
|
21931
|
+
script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
|
|
21932
|
+
script.async = true;
|
|
21933
|
+
document.body.appendChild(script);
|
|
21935
21934
|
};
|
|
21936
21935
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
21937
21936
|
var normalization$1 = {};
|
|
@@ -81786,7 +81785,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
81786
81785
|
renderOpts = renderOpts || defaultOpts();
|
|
81787
81786
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
81788
81787
|
}
|
|
81789
|
-
if (isString && window.MathJax && window.
|
|
81788
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
81790
81789
|
try {
|
|
81791
81790
|
MathJax.texReset();
|
|
81792
81791
|
MathJax.typesetClear();
|
|
@@ -81801,7 +81800,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
81801
81800
|
console.error('Error rendering math:', error.message);
|
|
81802
81801
|
}
|
|
81803
81802
|
}
|
|
81804
|
-
if (window.
|
|
81803
|
+
if (window.mathjaxLoadedP) {
|
|
81805
81804
|
workingWithMathJax();
|
|
81806
81805
|
}
|
|
81807
81806
|
};
|
package/module/print.js
CHANGED
|
@@ -21839,62 +21839,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
21839
21839
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
21840
21840
|
};
|
|
21841
21841
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
21842
|
-
|
|
21843
|
-
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
|
|
21848
|
-
|
|
21849
|
-
|
|
21850
|
-
|
|
21851
|
-
|
|
21852
|
-
|
|
21853
|
-
|
|
21854
|
-
|
|
21855
|
-
|
|
21856
|
-
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
}
|
|
21842
|
+
resolve();
|
|
21843
|
+
});
|
|
21844
|
+
window.MathJax = {
|
|
21845
|
+
startup: {
|
|
21846
|
+
typeset: false,
|
|
21847
|
+
ready: function ready() {
|
|
21848
|
+
var mathjax = MathJax._.mathjax.mathjax;
|
|
21849
|
+
var STATE = MathJax._.core.MathItem.STATE;
|
|
21850
|
+
var Menu = MathJax._.ui.menu.Menu.Menu;
|
|
21851
|
+
var rerender = Menu.prototype.rerender;
|
|
21852
|
+
Menu.prototype.rerender = function () {
|
|
21853
|
+
var _this = this;
|
|
21854
|
+
var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
|
|
21855
|
+
mathjax.handleRetriesFor(function () {
|
|
21856
|
+
return rerender.call(_this, start);
|
|
21857
|
+
});
|
|
21858
|
+
};
|
|
21859
|
+
MathJax.startup.defaultReady();
|
|
21860
|
+
var globalObj = (0, _renderMath.getGlobal)();
|
|
21861
|
+
globalObj.instance = MathJax;
|
|
21862
|
+
window.mathjaxIsInitialised = true;
|
|
21863
|
+
if (callback) {
|
|
21864
|
+
callback();
|
|
21866
21865
|
}
|
|
21866
|
+
}
|
|
21867
|
+
},
|
|
21868
|
+
loader: {
|
|
21869
|
+
load: ['input/mml'],
|
|
21870
|
+
preLoad: function preLoad() {}
|
|
21871
|
+
},
|
|
21872
|
+
tex: texConfig,
|
|
21873
|
+
chtml: {
|
|
21874
|
+
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
21875
|
+
displayAlign: 'center'
|
|
21876
|
+
},
|
|
21877
|
+
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
21878
|
+
options: {
|
|
21879
|
+
enableEnrichment: true,
|
|
21880
|
+
sre: {
|
|
21881
|
+
speech: 'deep'
|
|
21867
21882
|
},
|
|
21868
|
-
|
|
21869
|
-
|
|
21870
|
-
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
chtml: {
|
|
21874
|
-
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
21875
|
-
displayAlign: 'center'
|
|
21876
|
-
},
|
|
21877
|
-
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
21878
|
-
options: {
|
|
21879
|
-
enableEnrichment: true,
|
|
21880
|
-
sre: {
|
|
21881
|
-
speech: 'deep'
|
|
21882
|
-
},
|
|
21883
|
-
menuOptions: {
|
|
21884
|
-
settings: {
|
|
21885
|
-
assistiveMml: true,
|
|
21886
|
-
collapsible: false,
|
|
21887
|
-
explorer: false
|
|
21888
|
-
}
|
|
21883
|
+
menuOptions: {
|
|
21884
|
+
settings: {
|
|
21885
|
+
assistiveMml: true,
|
|
21886
|
+
collapsible: false,
|
|
21887
|
+
explorer: false
|
|
21889
21888
|
}
|
|
21890
21889
|
}
|
|
21891
|
-
}
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
21897
|
-
|
|
21890
|
+
}
|
|
21891
|
+
};
|
|
21892
|
+
var script = document.createElement('script');
|
|
21893
|
+
script.type = 'text/javascript';
|
|
21894
|
+
script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
|
|
21895
|
+
script.async = true;
|
|
21896
|
+
document.body.appendChild(script);
|
|
21898
21897
|
};
|
|
21899
21898
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
21900
21899
|
var normalization$1 = {};
|
|
@@ -81749,7 +81748,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
81749
81748
|
renderOpts = renderOpts || defaultOpts();
|
|
81750
81749
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
81751
81750
|
}
|
|
81752
|
-
if (isString && window.MathJax && window.
|
|
81751
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
81753
81752
|
try {
|
|
81754
81753
|
MathJax.texReset();
|
|
81755
81754
|
MathJax.typesetClear();
|
|
@@ -81764,7 +81763,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
81764
81763
|
console.error('Error rendering math:', error.message);
|
|
81765
81764
|
}
|
|
81766
81765
|
}
|
|
81767
|
-
if (window.
|
|
81766
|
+
if (window.mathjaxLoadedP) {
|
|
81768
81767
|
workingWithMathJax();
|
|
81769
81768
|
}
|
|
81770
81769
|
};
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "2.22.5-next.
|
|
7
|
+
"version": "2.22.5-next.46+d62f2b452",
|
|
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.31.5-next.
|
|
12
|
+
"@pie-lib/pie-toolbox": "1.31.5-next.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": "d62f2b4526eeda1f90d3660d97bf278ac1ae72da",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|