@pie-element/math-templated 2.22.5-next.43 → 2.22.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.
@@ -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": "next",
11
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "prop-types": "^15.6.2",
@@ -7,7 +7,7 @@
7
7
  "module": "src/index.js",
8
8
  "dependencies": {
9
9
  "@pie-framework/math-validation": "^1.2.2",
10
- "@pie-lib/pie-toolbox": "next",
10
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
11
11
  "debug": "^3.1.0",
12
12
  "lodash": "^4.17.15"
13
13
  },
@@ -43080,62 +43080,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
43080
43080
  },
43081
43081
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
43082
43082
  };
43083
- window.mathjaxLoadedP = new Promise(function (resolve) {
43084
- window.MathJax = {
43085
- startup: {
43086
- typeset: false,
43087
- ready: function ready() {
43088
- var mathjax = MathJax._.mathjax.mathjax;
43089
- var STATE = MathJax._.core.MathItem.STATE;
43090
- var Menu = MathJax._.ui.menu.Menu.Menu;
43091
- var rerender = Menu.prototype.rerender;
43092
- Menu.prototype.rerender = function () {
43093
- var _this = this;
43094
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
43095
- mathjax.handleRetriesFor(function () {
43096
- return rerender.call(_this, start);
43097
- });
43098
- };
43099
- MathJax.startup.defaultReady();
43100
- var globalObj = (0, _renderMath.getGlobal)();
43101
- globalObj.instance = MathJax;
43102
- window.mathjaxIsInitialised = true;
43103
- if (callback) {
43104
- callback();
43105
- } else {
43106
- resolve();
43107
- }
43083
+ window.mathjaxInitialising = true;
43084
+ window.MathJax = {
43085
+ startup: {
43086
+ typeset: false,
43087
+ ready: function ready() {
43088
+ var mathjax = MathJax._.mathjax.mathjax;
43089
+ var STATE = MathJax._.core.MathItem.STATE;
43090
+ var Menu = MathJax._.ui.menu.Menu.Menu;
43091
+ var rerender = Menu.prototype.rerender;
43092
+ Menu.prototype.rerender = function () {
43093
+ var _this = this;
43094
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
43095
+ mathjax.handleRetriesFor(function () {
43096
+ return rerender.call(_this, start);
43097
+ });
43098
+ };
43099
+ MathJax.startup.defaultReady();
43100
+ var globalObj = (0, _renderMath.getGlobal)();
43101
+ globalObj.instance = MathJax;
43102
+ window.mathjaxIsInitialised = true;
43103
+ if (callback) {
43104
+ callback();
43108
43105
  }
43106
+ }
43107
+ },
43108
+ loader: {
43109
+ load: ['input/mml'],
43110
+ preLoad: function preLoad() {}
43111
+ },
43112
+ tex: texConfig,
43113
+ chtml: {
43114
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
43115
+ displayAlign: 'center'
43116
+ },
43117
+ customKey: '@pie-lib/math-rendering-accessible@1',
43118
+ options: {
43119
+ enableEnrichment: true,
43120
+ sre: {
43121
+ speech: 'deep'
43109
43122
  },
43110
- loader: {
43111
- load: ['input/mml']
43112
- },
43113
- tex: texConfig,
43114
- chtml: {
43115
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
43116
- displayAlign: 'center'
43117
- },
43118
- customKey: '@pie-lib/math-rendering-accessible@1',
43119
- options: {
43120
- enableEnrichment: true,
43121
- sre: {
43122
- speech: 'deep'
43123
- },
43124
- menuOptions: {
43125
- settings: {
43126
- assistiveMml: true,
43127
- collapsible: false,
43128
- explorer: false
43129
- }
43123
+ menuOptions: {
43124
+ settings: {
43125
+ assistiveMml: true,
43126
+ collapsible: false,
43127
+ explorer: false
43130
43128
  }
43131
43129
  }
43132
- };
43133
- var script = document.createElement('script');
43134
- script.type = 'text/javascript';
43135
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
43136
- script.async = true;
43137
- document.body.appendChild(script);
43138
- });
43130
+ }
43131
+ };
43132
+ var script = document.createElement('script');
43133
+ script.type = 'text/javascript';
43134
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
43135
+ script.async = true;
43136
+ document.body.appendChild(script);
43139
43137
  };
43140
43138
  mathjaxScript.initializeMathJax = initializeMathJax;
43141
43139
  var normalization$1 = {};
@@ -102846,7 +102844,7 @@ getDefaultExportFromCjs(mathRendering);
102846
102844
  });
102847
102845
  }
102848
102846
  };
102849
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
102847
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
102850
102848
  renderOpts = renderOpts || defaultOpts();
102851
102849
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
102852
102850
  }
package/module/element.js CHANGED
@@ -21875,62 +21875,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
21875
21875
  },
21876
21876
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
21877
21877
  };
21878
- window.mathjaxLoadedP = new Promise(function (resolve) {
21879
- window.MathJax = {
21880
- startup: {
21881
- typeset: false,
21882
- ready: function ready() {
21883
- var mathjax = MathJax._.mathjax.mathjax;
21884
- var STATE = MathJax._.core.MathItem.STATE;
21885
- var Menu = MathJax._.ui.menu.Menu.Menu;
21886
- var rerender = Menu.prototype.rerender;
21887
- Menu.prototype.rerender = function () {
21888
- var _this = this;
21889
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
21890
- mathjax.handleRetriesFor(function () {
21891
- return rerender.call(_this, start);
21892
- });
21893
- };
21894
- MathJax.startup.defaultReady();
21895
- var globalObj = (0, _renderMath.getGlobal)();
21896
- globalObj.instance = MathJax;
21897
- window.mathjaxIsInitialised = true;
21898
- if (callback) {
21899
- callback();
21900
- } else {
21901
- resolve();
21902
- }
21878
+ window.mathjaxInitialising = true;
21879
+ window.MathJax = {
21880
+ startup: {
21881
+ typeset: false,
21882
+ ready: function ready() {
21883
+ var mathjax = MathJax._.mathjax.mathjax;
21884
+ var STATE = MathJax._.core.MathItem.STATE;
21885
+ var Menu = MathJax._.ui.menu.Menu.Menu;
21886
+ var rerender = Menu.prototype.rerender;
21887
+ Menu.prototype.rerender = function () {
21888
+ var _this = this;
21889
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
21890
+ mathjax.handleRetriesFor(function () {
21891
+ return rerender.call(_this, start);
21892
+ });
21893
+ };
21894
+ MathJax.startup.defaultReady();
21895
+ var globalObj = (0, _renderMath.getGlobal)();
21896
+ globalObj.instance = MathJax;
21897
+ window.mathjaxIsInitialised = true;
21898
+ if (callback) {
21899
+ callback();
21903
21900
  }
21901
+ }
21902
+ },
21903
+ loader: {
21904
+ load: ['input/mml'],
21905
+ preLoad: function preLoad() {}
21906
+ },
21907
+ tex: texConfig,
21908
+ chtml: {
21909
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
21910
+ displayAlign: 'center'
21911
+ },
21912
+ customKey: '@pie-lib/math-rendering-accessible@1',
21913
+ options: {
21914
+ enableEnrichment: true,
21915
+ sre: {
21916
+ speech: 'deep'
21904
21917
  },
21905
- loader: {
21906
- load: ['input/mml']
21907
- },
21908
- tex: texConfig,
21909
- chtml: {
21910
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
21911
- displayAlign: 'center'
21912
- },
21913
- customKey: '@pie-lib/math-rendering-accessible@1',
21914
- options: {
21915
- enableEnrichment: true,
21916
- sre: {
21917
- speech: 'deep'
21918
- },
21919
- menuOptions: {
21920
- settings: {
21921
- assistiveMml: true,
21922
- collapsible: false,
21923
- explorer: false
21924
- }
21918
+ menuOptions: {
21919
+ settings: {
21920
+ assistiveMml: true,
21921
+ collapsible: false,
21922
+ explorer: false
21925
21923
  }
21926
21924
  }
21927
- };
21928
- var script = document.createElement('script');
21929
- script.type = 'text/javascript';
21930
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
21931
- script.async = true;
21932
- document.body.appendChild(script);
21933
- });
21925
+ }
21926
+ };
21927
+ var script = document.createElement('script');
21928
+ script.type = 'text/javascript';
21929
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
21930
+ script.async = true;
21931
+ document.body.appendChild(script);
21934
21932
  };
21935
21933
  mathjaxScript.initializeMathJax = initializeMathJax;
21936
21934
  var normalization$1 = {};
@@ -81781,7 +81779,7 @@ getDefaultExportFromCjs(mathRendering);
81781
81779
  });
81782
81780
  }
81783
81781
  };
81784
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
81782
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
81785
81783
  renderOpts = renderOpts || defaultOpts();
81786
81784
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
81787
81785
  }
package/module/print.js CHANGED
@@ -21838,62 +21838,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
21838
21838
  },
21839
21839
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
21840
21840
  };
21841
- window.mathjaxLoadedP = new Promise(function (resolve) {
21842
- window.MathJax = {
21843
- startup: {
21844
- typeset: false,
21845
- ready: function ready() {
21846
- var mathjax = MathJax._.mathjax.mathjax;
21847
- var STATE = MathJax._.core.MathItem.STATE;
21848
- var Menu = MathJax._.ui.menu.Menu.Menu;
21849
- var rerender = Menu.prototype.rerender;
21850
- Menu.prototype.rerender = function () {
21851
- var _this = this;
21852
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
21853
- mathjax.handleRetriesFor(function () {
21854
- return rerender.call(_this, start);
21855
- });
21856
- };
21857
- MathJax.startup.defaultReady();
21858
- var globalObj = (0, _renderMath.getGlobal)();
21859
- globalObj.instance = MathJax;
21860
- window.mathjaxIsInitialised = true;
21861
- if (callback) {
21862
- callback();
21863
- } else {
21864
- resolve();
21865
- }
21841
+ window.mathjaxInitialising = true;
21842
+ window.MathJax = {
21843
+ startup: {
21844
+ typeset: false,
21845
+ ready: function ready() {
21846
+ var mathjax = MathJax._.mathjax.mathjax;
21847
+ var STATE = MathJax._.core.MathItem.STATE;
21848
+ var Menu = MathJax._.ui.menu.Menu.Menu;
21849
+ var rerender = Menu.prototype.rerender;
21850
+ Menu.prototype.rerender = function () {
21851
+ var _this = this;
21852
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
21853
+ mathjax.handleRetriesFor(function () {
21854
+ return rerender.call(_this, start);
21855
+ });
21856
+ };
21857
+ MathJax.startup.defaultReady();
21858
+ var globalObj = (0, _renderMath.getGlobal)();
21859
+ globalObj.instance = MathJax;
21860
+ window.mathjaxIsInitialised = true;
21861
+ if (callback) {
21862
+ callback();
21866
21863
  }
21864
+ }
21865
+ },
21866
+ loader: {
21867
+ load: ['input/mml'],
21868
+ preLoad: function preLoad() {}
21869
+ },
21870
+ tex: texConfig,
21871
+ chtml: {
21872
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
21873
+ displayAlign: 'center'
21874
+ },
21875
+ customKey: '@pie-lib/math-rendering-accessible@1',
21876
+ options: {
21877
+ enableEnrichment: true,
21878
+ sre: {
21879
+ speech: 'deep'
21867
21880
  },
21868
- loader: {
21869
- load: ['input/mml']
21870
- },
21871
- tex: texConfig,
21872
- chtml: {
21873
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
21874
- displayAlign: 'center'
21875
- },
21876
- customKey: '@pie-lib/math-rendering-accessible@1',
21877
- options: {
21878
- enableEnrichment: true,
21879
- sre: {
21880
- speech: 'deep'
21881
- },
21882
- menuOptions: {
21883
- settings: {
21884
- assistiveMml: true,
21885
- collapsible: false,
21886
- explorer: false
21887
- }
21881
+ menuOptions: {
21882
+ settings: {
21883
+ assistiveMml: true,
21884
+ collapsible: false,
21885
+ explorer: false
21888
21886
  }
21889
21887
  }
21890
- };
21891
- var script = document.createElement('script');
21892
- script.type = 'text/javascript';
21893
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
21894
- script.async = true;
21895
- document.body.appendChild(script);
21896
- });
21888
+ }
21889
+ };
21890
+ var script = document.createElement('script');
21891
+ script.type = 'text/javascript';
21892
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
21893
+ script.async = true;
21894
+ document.body.appendChild(script);
21897
21895
  };
21898
21896
  mathjaxScript.initializeMathJax = initializeMathJax;
21899
21897
  var normalization$1 = {};
@@ -81744,7 +81742,7 @@ getDefaultExportFromCjs(mathRendering);
81744
81742
  });
81745
81743
  }
81746
81744
  };
81747
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
81745
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
81748
81746
  renderOpts = renderOpts || defaultOpts();
81749
81747
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
81750
81748
  }
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.43+524ed2558",
7
+ "version": "2.22.5-next.45+d9487a539",
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": "next",
12
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
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": "524ed2558cc92380d2e6d271a81a8da02b521cf5",
19
+ "gitHead": "d9487a5394c9b71bb7d7d69a836ed629ae13f7b1",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },