@pie-element/explicit-constructed-response 6.22.5-next.46 → 6.22.5-next.50
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 +1 -1
- package/module/element.js +80 -82
- package/module/manifest.json +1 -1
- package/module/print.js +80 -82
- package/package.json +3 -3
package/configure/package.json
CHANGED
|
@@ -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.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.32.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.4/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.24.3/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.4/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.24.3/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -19156,7 +19156,7 @@ mathjaxScript.initializeMathJax = mathjaxScript.MathJaxVersion = void 0;
|
|
|
19156
19156
|
var _renderMath = renderMath$2;
|
|
19157
19157
|
var MathJaxVersion = '3.2.2';
|
|
19158
19158
|
mathjaxScript.MathJaxVersion = MathJaxVersion;
|
|
19159
|
-
var initializeMathJax = function initializeMathJax(renderOpts
|
|
19159
|
+
var initializeMathJax = function initializeMathJax(renderOpts) {
|
|
19160
19160
|
if (renderOpts !== null && renderOpts !== void 0 && renderOpts.useSingleDollar) {
|
|
19161
19161
|
console.warn('[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)');
|
|
19162
19162
|
}
|
|
@@ -19180,61 +19180,56 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
19180
19180
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
19181
19181
|
};
|
|
19182
19182
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
19183
|
-
|
|
19184
|
-
|
|
19185
|
-
|
|
19186
|
-
|
|
19187
|
-
|
|
19188
|
-
|
|
19189
|
-
|
|
19190
|
-
|
|
19191
|
-
|
|
19192
|
-
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
|
|
19196
|
-
|
|
19197
|
-
|
|
19198
|
-
|
|
19199
|
-
|
|
19200
|
-
|
|
19201
|
-
|
|
19202
|
-
globalObj.instance = MathJax;
|
|
19203
|
-
window.mathjaxIsInitialised = true;
|
|
19204
|
-
if (callback) {
|
|
19205
|
-
callback();
|
|
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
|
+
resolve();
|
|
19206
19202
|
}
|
|
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'
|
|
19223
19203
|
},
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19228
|
-
|
|
19204
|
+
loader: {
|
|
19205
|
+
load: ['input/mml']
|
|
19206
|
+
},
|
|
19207
|
+
tex: texConfig,
|
|
19208
|
+
chtml: {
|
|
19209
|
+
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
19210
|
+
displayAlign: 'center'
|
|
19211
|
+
},
|
|
19212
|
+
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
19213
|
+
options: {
|
|
19214
|
+
enableEnrichment: true,
|
|
19215
|
+
sre: {
|
|
19216
|
+
speech: 'deep'
|
|
19217
|
+
},
|
|
19218
|
+
menuOptions: {
|
|
19219
|
+
settings: {
|
|
19220
|
+
assistiveMml: true,
|
|
19221
|
+
collapsible: false,
|
|
19222
|
+
explorer: false
|
|
19223
|
+
}
|
|
19229
19224
|
}
|
|
19230
19225
|
}
|
|
19231
|
-
}
|
|
19232
|
-
|
|
19233
|
-
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
|
|
19237
|
-
|
|
19226
|
+
};
|
|
19227
|
+
var script = document.createElement('script');
|
|
19228
|
+
script.type = 'text/javascript';
|
|
19229
|
+
script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
|
|
19230
|
+
script.async = true;
|
|
19231
|
+
document.body.appendChild(script);
|
|
19232
|
+
});
|
|
19238
19233
|
};
|
|
19239
19234
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
19240
19235
|
var normalization$1 = {};
|
|
@@ -79060,34 +79055,9 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79060
79055
|
fixMathElements(executeOn);
|
|
79061
79056
|
adjustMathMLStyle(executeOn);
|
|
79062
79057
|
var mathJaxCustomKey = getMathJaxCustomKey();
|
|
79063
|
-
var workingWithMathJax = function workingWithMathJax() {
|
|
79064
|
-
var mathJaxInstance = getGlobal().instance;
|
|
79065
|
-
if (mathJaxInstance) {
|
|
79066
|
-
mathJaxInstance.texReset();
|
|
79067
|
-
mathJaxInstance.typesetClear();
|
|
79068
|
-
mathJaxInstance.typesetPromise([executeOn]).then(function () {
|
|
79069
|
-
try {
|
|
79070
|
-
removeExcessMjxContainers(executeOn);
|
|
79071
|
-
removePlaceholdersAndRestoreDisplay();
|
|
79072
|
-
var updatedDocument = mathJaxInstance.startup.document;
|
|
79073
|
-
var list = updatedDocument.math.list;
|
|
79074
|
-
for (var item = list.next; (0, _typeof2["default"])(item.data) !== 'symbol'; item = item.next) {
|
|
79075
|
-
var mathMl = toMMl(item.data.root);
|
|
79076
|
-
var parsedMathMl = mathMl.replaceAll('\n', '');
|
|
79077
|
-
item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);
|
|
79078
|
-
}
|
|
79079
|
-
} catch (e) {
|
|
79080
|
-
console.error('Error post-processing MathJax typesetting:', e.toString());
|
|
79081
|
-
}
|
|
79082
|
-
mathJaxInstance.startup.document.clear();
|
|
79083
|
-
})["catch"](function (error) {
|
|
79084
|
-
console.error('Error in typesetting with MathJax:', error);
|
|
79085
|
-
});
|
|
79086
|
-
}
|
|
79087
|
-
};
|
|
79088
79058
|
if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
|
|
79089
79059
|
renderOpts = renderOpts || defaultOpts();
|
|
79090
|
-
(0, _mathjaxScript.initializeMathJax)(renderOpts
|
|
79060
|
+
(0, _mathjaxScript.initializeMathJax)(renderOpts);
|
|
79091
79061
|
}
|
|
79092
79062
|
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
79093
79063
|
try {
|
|
@@ -79105,7 +79075,33 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79105
79075
|
}
|
|
79106
79076
|
}
|
|
79107
79077
|
if (window.mathjaxLoadedP) {
|
|
79108
|
-
|
|
79078
|
+
window.mathjaxLoadedP.then(function () {
|
|
79079
|
+
var mathJaxInstance = getGlobal().instance;
|
|
79080
|
+
if (mathJaxInstance) {
|
|
79081
|
+
mathJaxInstance.texReset();
|
|
79082
|
+
mathJaxInstance.typesetClear();
|
|
79083
|
+
mathJaxInstance.typesetPromise([executeOn]).then(function () {
|
|
79084
|
+
try {
|
|
79085
|
+
removeExcessMjxContainers(executeOn);
|
|
79086
|
+
removePlaceholdersAndRestoreDisplay();
|
|
79087
|
+
var _updatedDocument = mathJaxInstance.startup.document;
|
|
79088
|
+
var _list = _updatedDocument.math.list;
|
|
79089
|
+
for (var _item = _list.next; (0, _typeof2["default"])(_item.data) !== 'symbol'; _item = _item.next) {
|
|
79090
|
+
var _mathMl = toMMl(_item.data.root);
|
|
79091
|
+
var _parsedMathMl = _mathMl.replaceAll('\n', '');
|
|
79092
|
+
_item.data.typesetRoot.setAttribute('data-mathml', _parsedMathMl);
|
|
79093
|
+
}
|
|
79094
|
+
} catch (e) {
|
|
79095
|
+
console.error('Error post-processing MathJax typesetting:', e.toString());
|
|
79096
|
+
}
|
|
79097
|
+
mathJaxInstance.startup.document.clear();
|
|
79098
|
+
})["catch"](function (error) {
|
|
79099
|
+
console.error('Error in typesetting with MathJax:', error);
|
|
79100
|
+
});
|
|
79101
|
+
}
|
|
79102
|
+
})["catch"](function (error) {
|
|
79103
|
+
console.error('Error in initializing MathJax:', error);
|
|
79104
|
+
});
|
|
79109
79105
|
}
|
|
79110
79106
|
};
|
|
79111
79107
|
if (skipWaitForMathRenderingLib) {
|
|
@@ -122131,7 +122127,7 @@ const require$$13 = _dll_react_dom;
|
|
|
122131
122127
|
transform: 'translate(0, 0)'
|
|
122132
122128
|
},
|
|
122133
122129
|
chip: {
|
|
122134
|
-
backgroundColor: _renderUi.color.
|
|
122130
|
+
backgroundColor: _renderUi.color.white(),
|
|
122135
122131
|
border: ("1px solid ").concat(_renderUi.color.text()),
|
|
122136
122132
|
color: _renderUi.color.text(),
|
|
122137
122133
|
alignItems: 'center',
|
|
@@ -122151,7 +122147,9 @@ const require$$13 = _dll_react_dom;
|
|
|
122151
122147
|
padding: '2px 0'
|
|
122152
122148
|
}
|
|
122153
122149
|
},
|
|
122154
|
-
disabled: {
|
|
122150
|
+
disabled: {
|
|
122151
|
+
opacity: 0.6
|
|
122152
|
+
}
|
|
122155
122153
|
};
|
|
122156
122154
|
})(BlankContentComp);
|
|
122157
122155
|
exports.BlankContent = BlankContent;
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.4/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.24.3/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -19119,7 +19119,7 @@ mathjaxScript.initializeMathJax = mathjaxScript.MathJaxVersion = void 0;
|
|
|
19119
19119
|
var _renderMath = renderMath$2;
|
|
19120
19120
|
var MathJaxVersion = '3.2.2';
|
|
19121
19121
|
mathjaxScript.MathJaxVersion = MathJaxVersion;
|
|
19122
|
-
var initializeMathJax = function initializeMathJax(renderOpts
|
|
19122
|
+
var initializeMathJax = function initializeMathJax(renderOpts) {
|
|
19123
19123
|
if (renderOpts !== null && renderOpts !== void 0 && renderOpts.useSingleDollar) {
|
|
19124
19124
|
console.warn('[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)');
|
|
19125
19125
|
}
|
|
@@ -19143,61 +19143,56 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
19143
19143
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
19144
19144
|
};
|
|
19145
19145
|
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
19146
|
-
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
|
|
19150
|
-
|
|
19151
|
-
|
|
19152
|
-
|
|
19153
|
-
|
|
19154
|
-
|
|
19155
|
-
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
globalObj.instance = MathJax;
|
|
19166
|
-
window.mathjaxIsInitialised = true;
|
|
19167
|
-
if (callback) {
|
|
19168
|
-
callback();
|
|
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
|
+
resolve();
|
|
19169
19165
|
}
|
|
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'
|
|
19186
19166
|
},
|
|
19187
|
-
|
|
19188
|
-
|
|
19189
|
-
|
|
19190
|
-
|
|
19191
|
-
|
|
19167
|
+
loader: {
|
|
19168
|
+
load: ['input/mml']
|
|
19169
|
+
},
|
|
19170
|
+
tex: texConfig,
|
|
19171
|
+
chtml: {
|
|
19172
|
+
fontURL: 'https://unpkg.com/mathjax-full@3.2.2/ts/output/chtml/fonts/tex-woff-v2',
|
|
19173
|
+
displayAlign: 'center'
|
|
19174
|
+
},
|
|
19175
|
+
customKey: '@pie-lib/math-rendering-accessible@1',
|
|
19176
|
+
options: {
|
|
19177
|
+
enableEnrichment: true,
|
|
19178
|
+
sre: {
|
|
19179
|
+
speech: 'deep'
|
|
19180
|
+
},
|
|
19181
|
+
menuOptions: {
|
|
19182
|
+
settings: {
|
|
19183
|
+
assistiveMml: true,
|
|
19184
|
+
collapsible: false,
|
|
19185
|
+
explorer: false
|
|
19186
|
+
}
|
|
19192
19187
|
}
|
|
19193
19188
|
}
|
|
19194
|
-
}
|
|
19195
|
-
|
|
19196
|
-
|
|
19197
|
-
|
|
19198
|
-
|
|
19199
|
-
|
|
19200
|
-
|
|
19189
|
+
};
|
|
19190
|
+
var script = document.createElement('script');
|
|
19191
|
+
script.type = 'text/javascript';
|
|
19192
|
+
script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
|
|
19193
|
+
script.async = true;
|
|
19194
|
+
document.body.appendChild(script);
|
|
19195
|
+
});
|
|
19201
19196
|
};
|
|
19202
19197
|
mathjaxScript.initializeMathJax = initializeMathJax;
|
|
19203
19198
|
var normalization$1 = {};
|
|
@@ -79023,34 +79018,9 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79023
79018
|
fixMathElements(executeOn);
|
|
79024
79019
|
adjustMathMLStyle(executeOn);
|
|
79025
79020
|
var mathJaxCustomKey = getMathJaxCustomKey();
|
|
79026
|
-
var workingWithMathJax = function workingWithMathJax() {
|
|
79027
|
-
var mathJaxInstance = getGlobal().instance;
|
|
79028
|
-
if (mathJaxInstance) {
|
|
79029
|
-
mathJaxInstance.texReset();
|
|
79030
|
-
mathJaxInstance.typesetClear();
|
|
79031
|
-
mathJaxInstance.typesetPromise([executeOn]).then(function () {
|
|
79032
|
-
try {
|
|
79033
|
-
removeExcessMjxContainers(executeOn);
|
|
79034
|
-
removePlaceholdersAndRestoreDisplay();
|
|
79035
|
-
var updatedDocument = mathJaxInstance.startup.document;
|
|
79036
|
-
var list = updatedDocument.math.list;
|
|
79037
|
-
for (var item = list.next; (0, _typeof2["default"])(item.data) !== 'symbol'; item = item.next) {
|
|
79038
|
-
var mathMl = toMMl(item.data.root);
|
|
79039
|
-
var parsedMathMl = mathMl.replaceAll('\n', '');
|
|
79040
|
-
item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);
|
|
79041
|
-
}
|
|
79042
|
-
} catch (e) {
|
|
79043
|
-
console.error('Error post-processing MathJax typesetting:', e.toString());
|
|
79044
|
-
}
|
|
79045
|
-
mathJaxInstance.startup.document.clear();
|
|
79046
|
-
})["catch"](function (error) {
|
|
79047
|
-
console.error('Error in typesetting with MathJax:', error);
|
|
79048
|
-
});
|
|
79049
|
-
}
|
|
79050
|
-
};
|
|
79051
79021
|
if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
|
|
79052
79022
|
renderOpts = renderOpts || defaultOpts();
|
|
79053
|
-
(0, _mathjaxScript.initializeMathJax)(renderOpts
|
|
79023
|
+
(0, _mathjaxScript.initializeMathJax)(renderOpts);
|
|
79054
79024
|
}
|
|
79055
79025
|
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
79056
79026
|
try {
|
|
@@ -79068,7 +79038,33 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79068
79038
|
}
|
|
79069
79039
|
}
|
|
79070
79040
|
if (window.mathjaxLoadedP) {
|
|
79071
|
-
|
|
79041
|
+
window.mathjaxLoadedP.then(function () {
|
|
79042
|
+
var mathJaxInstance = getGlobal().instance;
|
|
79043
|
+
if (mathJaxInstance) {
|
|
79044
|
+
mathJaxInstance.texReset();
|
|
79045
|
+
mathJaxInstance.typesetClear();
|
|
79046
|
+
mathJaxInstance.typesetPromise([executeOn]).then(function () {
|
|
79047
|
+
try {
|
|
79048
|
+
removeExcessMjxContainers(executeOn);
|
|
79049
|
+
removePlaceholdersAndRestoreDisplay();
|
|
79050
|
+
var _updatedDocument = mathJaxInstance.startup.document;
|
|
79051
|
+
var _list = _updatedDocument.math.list;
|
|
79052
|
+
for (var _item = _list.next; (0, _typeof2["default"])(_item.data) !== 'symbol'; _item = _item.next) {
|
|
79053
|
+
var _mathMl = toMMl(_item.data.root);
|
|
79054
|
+
var _parsedMathMl = _mathMl.replaceAll('\n', '');
|
|
79055
|
+
_item.data.typesetRoot.setAttribute('data-mathml', _parsedMathMl);
|
|
79056
|
+
}
|
|
79057
|
+
} catch (e) {
|
|
79058
|
+
console.error('Error post-processing MathJax typesetting:', e.toString());
|
|
79059
|
+
}
|
|
79060
|
+
mathJaxInstance.startup.document.clear();
|
|
79061
|
+
})["catch"](function (error) {
|
|
79062
|
+
console.error('Error in typesetting with MathJax:', error);
|
|
79063
|
+
});
|
|
79064
|
+
}
|
|
79065
|
+
})["catch"](function (error) {
|
|
79066
|
+
console.error('Error in initializing MathJax:', error);
|
|
79067
|
+
});
|
|
79072
79068
|
}
|
|
79073
79069
|
};
|
|
79074
79070
|
if (skipWaitForMathRenderingLib) {
|
|
@@ -122094,7 +122090,7 @@ const require$$13 = _dll_react_dom;
|
|
|
122094
122090
|
transform: 'translate(0, 0)'
|
|
122095
122091
|
},
|
|
122096
122092
|
chip: {
|
|
122097
|
-
backgroundColor: _renderUi.color.
|
|
122093
|
+
backgroundColor: _renderUi.color.white(),
|
|
122098
122094
|
border: ("1px solid ").concat(_renderUi.color.text()),
|
|
122099
122095
|
color: _renderUi.color.text(),
|
|
122100
122096
|
alignItems: 'center',
|
|
@@ -122114,7 +122110,9 @@ const require$$13 = _dll_react_dom;
|
|
|
122114
122110
|
padding: '2px 0'
|
|
122115
122111
|
}
|
|
122116
122112
|
},
|
|
122117
|
-
disabled: {
|
|
122113
|
+
disabled: {
|
|
122114
|
+
opacity: 0.6
|
|
122115
|
+
}
|
|
122118
122116
|
};
|
|
122119
122117
|
})(BlankContentComp);
|
|
122120
122118
|
exports.BlankContent = BlankContent;
|
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.
|
|
7
|
+
"version": "6.22.5-next.50+37c00cde6",
|
|
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.
|
|
15
|
+
"@pie-lib/pie-toolbox": "1.32.0",
|
|
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": "
|
|
24
|
+
"gitHead": "37c00cde6d7e4a9991075f045e11602a2ace772f",
|
|
25
25
|
"main": "lib/index.js",
|
|
26
26
|
"module": "src/index.js",
|
|
27
27
|
"exports": {
|