@pie-element/explicit-constructed-response 6.22.5-next.44 → 6.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.
@@ -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.1",
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.1",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
package/module/element.js CHANGED
@@ -19180,62 +19180,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
19180
19180
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
19181
19181
  };
19182
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
- }
19183
+ resolve();
19184
+ });
19185
+ window.MathJax = {
19186
+ startup: {
19187
+ typeset: false,
19188
+ ready: function ready() {
19189
+ var mathjax = MathJax._.mathjax.mathjax;
19190
+ var STATE = MathJax._.core.MathItem.STATE;
19191
+ var Menu = MathJax._.ui.menu.Menu.Menu;
19192
+ var rerender = Menu.prototype.rerender;
19193
+ Menu.prototype.rerender = function () {
19194
+ var _this = this;
19195
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
19196
+ mathjax.handleRetriesFor(function () {
19197
+ return rerender.call(_this, start);
19198
+ });
19199
+ };
19200
+ MathJax.startup.defaultReady();
19201
+ var globalObj = (0, _renderMath.getGlobal)();
19202
+ globalObj.instance = MathJax;
19203
+ window.mathjaxIsInitialised = true;
19204
+ if (callback) {
19205
+ callback();
19207
19206
  }
19207
+ }
19208
+ },
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'
19208
19223
  },
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
- }
19224
+ menuOptions: {
19225
+ settings: {
19226
+ assistiveMml: true,
19227
+ collapsible: false,
19228
+ explorer: false
19230
19229
  }
19231
19230
  }
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
- });
19231
+ }
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);
19239
19238
  };
19240
19239
  mathjaxScript.initializeMathJax = initializeMathJax;
19241
19240
  var normalization$1 = {};
@@ -79090,7 +79089,7 @@ getDefaultExportFromCjs(mathRendering);
79090
79089
  renderOpts = renderOpts || defaultOpts();
79091
79090
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
79092
79091
  }
79093
- if (isString && window.MathJax && window.mathjaxIsInitialised) {
79092
+ if (isString && window.MathJax && window.mathjaxLoadedP) {
79094
79093
  try {
79095
79094
  MathJax.texReset();
79096
79095
  MathJax.typesetClear();
@@ -79105,7 +79104,7 @@ getDefaultExportFromCjs(mathRendering);
79105
79104
  console.error('Error rendering math:', error.message);
79106
79105
  }
79107
79106
  }
79108
- if (window.mathjaxIsInitialised) {
79107
+ if (window.mathjaxLoadedP) {
79109
79108
  workingWithMathJax();
79110
79109
  }
79111
79110
  };
package/module/print.js CHANGED
@@ -19143,62 +19143,61 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
19143
19143
  displayMath: [['$$', '$$'], ['\\[', '\\]']]
19144
19144
  };
19145
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
- }
19146
+ resolve();
19147
+ });
19148
+ window.MathJax = {
19149
+ startup: {
19150
+ typeset: false,
19151
+ ready: function ready() {
19152
+ var mathjax = MathJax._.mathjax.mathjax;
19153
+ var STATE = MathJax._.core.MathItem.STATE;
19154
+ var Menu = MathJax._.ui.menu.Menu.Menu;
19155
+ var rerender = Menu.prototype.rerender;
19156
+ Menu.prototype.rerender = function () {
19157
+ var _this = this;
19158
+ var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STATE.TYPESET;
19159
+ mathjax.handleRetriesFor(function () {
19160
+ return rerender.call(_this, start);
19161
+ });
19162
+ };
19163
+ MathJax.startup.defaultReady();
19164
+ var globalObj = (0, _renderMath.getGlobal)();
19165
+ globalObj.instance = MathJax;
19166
+ window.mathjaxIsInitialised = true;
19167
+ if (callback) {
19168
+ callback();
19170
19169
  }
19170
+ }
19171
+ },
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'
19171
19186
  },
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
- }
19187
+ menuOptions: {
19188
+ settings: {
19189
+ assistiveMml: true,
19190
+ collapsible: false,
19191
+ explorer: false
19193
19192
  }
19194
19193
  }
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
- });
19194
+ }
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);
19202
19201
  };
19203
19202
  mathjaxScript.initializeMathJax = initializeMathJax;
19204
19203
  var normalization$1 = {};
@@ -79053,7 +79052,7 @@ getDefaultExportFromCjs(mathRendering);
79053
79052
  renderOpts = renderOpts || defaultOpts();
79054
79053
  (0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
79055
79054
  }
79056
- if (isString && window.MathJax && window.mathjaxIsInitialised) {
79055
+ if (isString && window.MathJax && window.mathjaxLoadedP) {
79057
79056
  try {
79058
79057
  MathJax.texReset();
79059
79058
  MathJax.typesetClear();
@@ -79068,7 +79067,7 @@ getDefaultExportFromCjs(mathRendering);
79068
79067
  console.error('Error rendering math:', error.message);
79069
79068
  }
79070
79069
  }
79071
- if (window.mathjaxIsInitialised) {
79070
+ if (window.mathjaxLoadedP) {
79072
79071
  workingWithMathJax();
79073
79072
  }
79074
79073
  };
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.46+d62f2b452",
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.1",
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": "d62f2b4526eeda1f90d3660d97bf278ac1ae72da",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {