@pie-element/explicit-constructed-response 6.22.5-next.43 → 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": "next",
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": "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
  "type-of": "^2.0.1"
package/module/element.js CHANGED
@@ -19179,62 +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
- },
19212
- tex: texConfig,
19213
- chtml: {
19214
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
19215
- displayAlign: 'center'
19216
- },
19217
- customKey: '@pie-lib/math-rendering-accessible@1',
19218
- options: {
19219
- enableEnrichment: true,
19220
- sre: {
19221
- speech: 'deep'
19222
- },
19223
- menuOptions: {
19224
- settings: {
19225
- assistiveMml: true,
19226
- collapsible: false,
19227
- explorer: false
19228
- }
19222
+ menuOptions: {
19223
+ settings: {
19224
+ assistiveMml: true,
19225
+ collapsible: false,
19226
+ explorer: false
19229
19227
  }
19230
19228
  }
19231
- };
19232
- var script = document.createElement('script');
19233
- script.type = 'text/javascript';
19234
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
19235
- script.async = true;
19236
- document.body.appendChild(script);
19237
- });
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);
19238
19236
  };
19239
19237
  mathjaxScript.initializeMathJax = initializeMathJax;
19240
19238
  var normalization$1 = {};
@@ -79085,7 +79083,7 @@ getDefaultExportFromCjs(mathRendering);
79085
79083
  });
79086
79084
  }
79087
79085
  };
79088
- 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) {
79089
79087
  renderOpts = renderOpts || defaultOpts();
79090
79088
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
79091
79089
  }
package/module/print.js CHANGED
@@ -19142,62 +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
- },
19175
- tex: texConfig,
19176
- chtml: {
19177
- fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
19178
- displayAlign: 'center'
19179
- },
19180
- customKey: '@pie-lib/math-rendering-accessible@1',
19181
- options: {
19182
- enableEnrichment: true,
19183
- sre: {
19184
- speech: 'deep'
19185
- },
19186
- menuOptions: {
19187
- settings: {
19188
- assistiveMml: true,
19189
- collapsible: false,
19190
- explorer: false
19191
- }
19185
+ menuOptions: {
19186
+ settings: {
19187
+ assistiveMml: true,
19188
+ collapsible: false,
19189
+ explorer: false
19192
19190
  }
19193
19191
  }
19194
- };
19195
- var script = document.createElement('script');
19196
- script.type = 'text/javascript';
19197
- script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
19198
- script.async = true;
19199
- document.body.appendChild(script);
19200
- });
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);
19201
19199
  };
19202
19200
  mathjaxScript.initializeMathJax = initializeMathJax;
19203
19201
  var normalization$1 = {};
@@ -79048,7 +79046,7 @@ getDefaultExportFromCjs(mathRendering);
79048
79046
  });
79049
79047
  }
79050
79048
  };
79051
- 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) {
79052
79050
  renderOpts = renderOpts || defaultOpts();
79053
79051
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
79054
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.43+524ed2558",
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": "next",
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": "524ed2558cc92380d2e6d271a81a8da02b521cf5",
24
+ "gitHead": "d9487a5394c9b71bb7d7d69a836ed629ae13f7b1",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {