@pie-element/ebsr 10.4.0 → 10.4.1-next.2
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/module/configure.js +1 -1
- package/module/element.js +5 -3
- package/module/index.html +1 -1
- package/module/manifest.json +2 -2
- package/module/print.html +1 -1
- package/module/print.js +5 -3
- package/package.json +3 -3
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.6.0/module/index.js";
|
|
2
2
|
import MultipleChoiceConfigure from '@pie-element/multiple-choice/configure/lib';
|
|
3
3
|
import {_dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.11.3/module/index.js";
|
|
4
4
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.6.0/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.11.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) {
|
|
@@ -13101,6 +13101,7 @@ const ReactDOM = _dll_react_dom;
|
|
|
13101
13101
|
const {debounce: debounce} = _dll_lodash;
|
|
13102
13102
|
const debug$1 = _dll_debug;
|
|
13103
13103
|
const {renderMath: renderMath} = _dll_pie_lib__pie_toolbox_math_rendering;
|
|
13104
|
+
const {EnableAudioAutoplayImage: EnableAudioAutoplayImage} = _dll_pie_lib__pie_toolbox_render_ui;
|
|
13104
13105
|
function _optionalChain$1(ops) {
|
|
13105
13106
|
let lastAccessLHS = undefined;
|
|
13106
13107
|
let value = ops[0];
|
|
@@ -13222,10 +13223,11 @@ class MultipleChoice extends HTMLElement {
|
|
|
13222
13223
|
justifyContent: 'center',
|
|
13223
13224
|
alignItems: 'center',
|
|
13224
13225
|
background: 'white',
|
|
13225
|
-
zIndex: '1000'
|
|
13226
|
+
zIndex: '1000',
|
|
13227
|
+
cursor: 'pointer'
|
|
13226
13228
|
});
|
|
13227
13229
|
const img = document.createElement('img');
|
|
13228
|
-
img.src =
|
|
13230
|
+
img.src = EnableAudioAutoplayImage;
|
|
13229
13231
|
img.alt = 'Click anywhere to enable audio autoplay';
|
|
13230
13232
|
img.width = 500;
|
|
13231
13233
|
img.height = 300;
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.6.0/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.11.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) {
|
|
@@ -13101,6 +13101,7 @@ const ReactDOM = _dll_react_dom;
|
|
|
13101
13101
|
const {debounce: debounce} = _dll_lodash;
|
|
13102
13102
|
const debug$1 = _dll_debug;
|
|
13103
13103
|
const {renderMath: renderMath} = _dll_pie_lib__pie_toolbox_math_rendering;
|
|
13104
|
+
const {EnableAudioAutoplayImage: EnableAudioAutoplayImage} = _dll_pie_lib__pie_toolbox_render_ui;
|
|
13104
13105
|
function _optionalChain(ops) {
|
|
13105
13106
|
let lastAccessLHS = undefined;
|
|
13106
13107
|
let value = ops[0];
|
|
@@ -13222,10 +13223,11 @@ class MultipleChoice extends HTMLElement {
|
|
|
13222
13223
|
justifyContent: 'center',
|
|
13223
13224
|
alignItems: 'center',
|
|
13224
13225
|
background: 'white',
|
|
13225
|
-
zIndex: '1000'
|
|
13226
|
+
zIndex: '1000',
|
|
13227
|
+
cursor: 'pointer'
|
|
13226
13228
|
});
|
|
13227
13229
|
const img = document.createElement('img');
|
|
13228
|
-
img.src =
|
|
13230
|
+
img.src = EnableAudioAutoplayImage;
|
|
13229
13231
|
img.alt = 'Click anywhere to enable audio autoplay';
|
|
13230
13232
|
img.width = 500;
|
|
13231
13233
|
img.height = 300;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.1-next.2+eddd72f23",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@pie-element/multiple-choice": "^9.14.
|
|
10
|
+
"@pie-element/multiple-choice": "^9.14.1-next.2+eddd72f23",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
12
|
"@pie-lib/pie-toolbox": "2.11.0",
|
|
13
13
|
"classnames": "^2.2.5",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"author": "pie framework developers",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "eddd72f238014d37b275286b47fc2181533fb6e7",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|