@pie-element/explicit-constructed-response 6.22.5-next.44 → 6.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
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "1.31.5-next.4",
11
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
12
12
  "classnames": "^2.2.6",
13
13
  "debug": "^3.1.0",
14
14
  "lodash": "^4.17.15",
@@ -8,7 +8,7 @@
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "@pie-lib/pie-toolbox": "1.31.5-next.4",
11
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
package/module/element.js CHANGED
@@ -19179,63 +19179,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
19179
19179
  },
19180
19180
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
19181
19181
  };
19182
- window.mathjaxLoadedP = new Promise(function (resolve) {
19183
- window.MathJax = {
19184
- startup: {
19185
- typeset: false,
19186
- ready: function ready() {
19187
- var mathjax = MathJax._.mathjax.mathjax;
19188
- var STATE = MathJax._.core.MathItem.STATE;
19189
- var Menu = MathJax._.ui.menu.Menu.Menu;
19190
- var rerender = Menu.prototype.rerender;
19191
- Menu.prototype.rerender = function () {
19192
- var _this = this;
19193
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
19194
- mathjax.handleRetriesFor(function () {
19195
- return rerender.call(_this, start);
19196
- });
19197
- };
19198
- MathJax.startup.defaultReady();
19199
- var globalObj = (0, _renderMath.getGlobal)();
19200
- globalObj.instance = MathJax;
19201
- window.mathjaxIsInitialised = true;
19202
- if (callback) {
19203
- callback();
19204
- } else {
19205
- resolve();
19206
- }
19182
+ window.mathjaxInitialising = true;
19183
+ window.MathJax = {
19184
+ startup: {
19185
+ typeset: false,
19186
+ ready: function ready() {
19187
+ var mathjax = MathJax._.mathjax.mathjax;
19188
+ var STATE = MathJax._.core.MathItem.STATE;
19189
+ var Menu = MathJax._.ui.menu.Menu.Menu;
19190
+ var rerender = Menu.prototype.rerender;
19191
+ Menu.prototype.rerender = function () {
19192
+ var _this = this;
19193
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
19194
+ mathjax.handleRetriesFor(function () {
19195
+ return rerender.call(_this, start);
19196
+ });
19197
+ };
19198
+ MathJax.startup.defaultReady();
19199
+ var globalObj = (0, _renderMath.getGlobal)();
19200
+ globalObj.instance = MathJax;
19201
+ window.mathjaxIsInitialised = true;
19202
+ if (callback) {
19203
+ callback();
19207
19204
  }
19205
+ }
19206
+ },
19207
+ loader: {
19208
+ load: ['input/mml'],
19209
+ preLoad: function preLoad() {}
19210
+ },
19211
+ tex: texConfig,
19212
+ chtml: {
19213
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
19214
+ displayAlign: 'center'
19215
+ },
19216
+ customKey: '@pie-lib/math-rendering-accessible@1',
19217
+ options: {
19218
+ enableEnrichment: true,
19219
+ sre: {
19220
+ speech: 'deep'
19208
19221
  },
19209
- loader: {
19210
- load: ['input/mml'],
19211
- preLoad: function preLoad() {}
19212
- },
19213
- tex: texConfig,
19214
- chtml: {
19215
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
19216
- displayAlign: 'center'
19217
- },
19218
- customKey: '@pie-lib/math-rendering-accessible@1',
19219
- options: {
19220
- enableEnrichment: true,
19221
- sre: {
19222
- speech: 'deep'
19223
- },
19224
- menuOptions: {
19225
- settings: {
19226
- assistiveMml: true,
19227
- collapsible: false,
19228
- explorer: false
19229
- }
19222
+ menuOptions: {
19223
+ settings: {
19224
+ assistiveMml: true,
19225
+ collapsible: false,
19226
+ explorer: false
19230
19227
  }
19231
19228
  }
19232
- };
19233
- var script = document.createElement('script');
19234
- script.type = 'text/javascript';
19235
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
19236
- script.async = true;
19237
- document.body.appendChild(script);
19238
- });
19229
+ }
19230
+ };
19231
+ var script = document.createElement('script');
19232
+ script.type = 'text/javascript';
19233
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
19234
+ script.async = true;
19235
+ document.body.appendChild(script);
19239
19236
  };
19240
19237
  mathjaxScript.initializeMathJax = initializeMathJax;
19241
19238
  var normalization$1 = {};
@@ -79086,7 +79083,7 @@ getDefaultExportFromCjs(mathRendering);
79086
79083
  });
79087
79084
  }
79088
79085
  };
79089
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79086
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79090
79087
  renderOpts = renderOpts || defaultOpts();
79091
79088
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
79092
79089
  }
package/module/print.js CHANGED
@@ -19142,63 +19142,60 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
19142
19142
  },
19143
19143
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
19144
19144
  };
19145
- window.mathjaxLoadedP = new Promise(function (resolve) {
19146
- window.MathJax = {
19147
- startup: {
19148
- typeset: false,
19149
- ready: function ready() {
19150
- var mathjax = MathJax._.mathjax.mathjax;
19151
- var STATE = MathJax._.core.MathItem.STATE;
19152
- var Menu = MathJax._.ui.menu.Menu.Menu;
19153
- var rerender = Menu.prototype.rerender;
19154
- Menu.prototype.rerender = function () {
19155
- var _this = this;
19156
- var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
19157
- mathjax.handleRetriesFor(function () {
19158
- return rerender.call(_this, start);
19159
- });
19160
- };
19161
- MathJax.startup.defaultReady();
19162
- var globalObj = (0, _renderMath.getGlobal)();
19163
- globalObj.instance = MathJax;
19164
- window.mathjaxIsInitialised = true;
19165
- if (callback) {
19166
- callback();
19167
- } else {
19168
- resolve();
19169
- }
19145
+ window.mathjaxInitialising = true;
19146
+ window.MathJax = {
19147
+ startup: {
19148
+ typeset: false,
19149
+ ready: function ready() {
19150
+ var mathjax = MathJax._.mathjax.mathjax;
19151
+ var STATE = MathJax._.core.MathItem.STATE;
19152
+ var Menu = MathJax._.ui.menu.Menu.Menu;
19153
+ var rerender = Menu.prototype.rerender;
19154
+ Menu.prototype.rerender = function () {
19155
+ var _this = this;
19156
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
19157
+ mathjax.handleRetriesFor(function () {
19158
+ return rerender.call(_this, start);
19159
+ });
19160
+ };
19161
+ MathJax.startup.defaultReady();
19162
+ var globalObj = (0, _renderMath.getGlobal)();
19163
+ globalObj.instance = MathJax;
19164
+ window.mathjaxIsInitialised = true;
19165
+ if (callback) {
19166
+ callback();
19170
19167
  }
19168
+ }
19169
+ },
19170
+ loader: {
19171
+ load: ['input/mml'],
19172
+ preLoad: function preLoad() {}
19173
+ },
19174
+ tex: texConfig,
19175
+ chtml: {
19176
+ fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
19177
+ displayAlign: 'center'
19178
+ },
19179
+ customKey: '@pie-lib/math-rendering-accessible@1',
19180
+ options: {
19181
+ enableEnrichment: true,
19182
+ sre: {
19183
+ speech: 'deep'
19171
19184
  },
19172
- loader: {
19173
- load: ['input/mml'],
19174
- preLoad: function preLoad() {}
19175
- },
19176
- tex: texConfig,
19177
- chtml: {
19178
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
19179
- displayAlign: 'center'
19180
- },
19181
- customKey: '@pie-lib/math-rendering-accessible@1',
19182
- options: {
19183
- enableEnrichment: true,
19184
- sre: {
19185
- speech: 'deep'
19186
- },
19187
- menuOptions: {
19188
- settings: {
19189
- assistiveMml: true,
19190
- collapsible: false,
19191
- explorer: false
19192
- }
19185
+ menuOptions: {
19186
+ settings: {
19187
+ assistiveMml: true,
19188
+ collapsible: false,
19189
+ explorer: false
19193
19190
  }
19194
19191
  }
19195
- };
19196
- var script = document.createElement('script');
19197
- script.type = 'text/javascript';
19198
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
19199
- script.async = true;
19200
- document.body.appendChild(script);
19201
- });
19192
+ }
19193
+ };
19194
+ var script = document.createElement('script');
19195
+ script.type = 'text/javascript';
19196
+ script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
19197
+ script.async = true;
19198
+ document.body.appendChild(script);
19202
19199
  };
19203
19200
  mathjaxScript.initializeMathJax = initializeMathJax;
19204
19201
  var normalization$1 = {};
@@ -79049,7 +79046,7 @@ getDefaultExportFromCjs(mathRendering);
79049
79046
  });
79050
79047
  }
79051
79048
  };
79052
- if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79049
+ if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxInitialising || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79053
79050
  renderOpts = renderOpts || defaultOpts();
79054
79051
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
79055
79052
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "6.22.5-next.44+a2e933cd2",
7
+ "version": "6.22.5-next.45+d9487a539",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@material-ui/core": "^3.9.2",
14
14
  "@pie-framework/pie-player-events": "^0.1.0",
15
- "@pie-lib/pie-toolbox": "1.31.5-next.4",
15
+ "@pie-lib/pie-toolbox": "1.31.5-next.6",
16
16
  "classnames": "^2.2.5",
17
17
  "lodash": "^4.17.10",
18
18
  "prop-types": "^15.6.1",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "author": "",
23
23
  "license": "ISC",
24
- "gitHead": "a2e933cd27bb052046e245672d3e01cb5ba1b518",
24
+ "gitHead": "d9487a5394c9b71bb7d7d69a836ed629ae13f7b1",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {