@pie-element/ebsr 9.5.1-next.14 → 9.5.1-next.48
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 +2 -2
- package/module/manifest.json +1 -1
- package/module/print.js +2 -2
- package/package.json +3 -3
- package/src/__tests__/index.test.js +1 -1
package/configure/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-element/multiple-choice": "^8.7.0",
|
|
12
12
|
"@pie-framework/pie-configure-events": "^1.2.0",
|
|
13
|
-
"@pie-lib/pie-toolbox": "1.
|
|
13
|
+
"@pie-lib/pie-toolbox": "1.11.1",
|
|
14
14
|
"lodash": "^4.17.15",
|
|
15
15
|
"prop-types": "^15.6.2",
|
|
16
16
|
"react": "^16.8.1",
|
package/controller/package.json
CHANGED
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@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.4.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@4.0.0/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,
|
|
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@1.4.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@4.0.0/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) {
|
|
@@ -9705,7 +9705,7 @@ const React = _dll_react;
|
|
|
9705
9705
|
const ReactDOM = _dll_react_dom;
|
|
9706
9706
|
const {debounce: debounce} = _dll_lodash;
|
|
9707
9707
|
const debug$1 = _dll_debug;
|
|
9708
|
-
const {renderMath: renderMath} =
|
|
9708
|
+
const {renderMath: renderMath} = _dll_pie_lib__pie_toolbox_math_rendering;
|
|
9709
9709
|
const log$1 = debug$1('pie-ui:multiple-choice');
|
|
9710
9710
|
const isComplete = session => !!(session && session.value && session.value.length);
|
|
9711
9711
|
class MultipleChoice extends HTMLElement {
|
package/module/manifest.json
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,
|
|
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@1.4.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@4.0.0/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) {
|
|
@@ -9668,7 +9668,7 @@ const React = _dll_react;
|
|
|
9668
9668
|
const ReactDOM = _dll_react_dom;
|
|
9669
9669
|
const {debounce: debounce} = _dll_lodash;
|
|
9670
9670
|
const debug$1 = _dll_debug;
|
|
9671
|
-
const {renderMath: renderMath} =
|
|
9671
|
+
const {renderMath: renderMath} = _dll_pie_lib__pie_toolbox_math_rendering;
|
|
9672
9672
|
const log$1 = debug$1('pie-ui:multiple-choice');
|
|
9673
9673
|
const isComplete = session => !!(session && session.value && session.value.length);
|
|
9674
9674
|
class MultipleChoice extends HTMLElement {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "9.5.1-next.
|
|
3
|
+
"version": "9.5.1-next.48+a8e4e6ab2",
|
|
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": "^8.7.1-next.
|
|
10
|
+
"@pie-element/multiple-choice": "^8.7.1-next.48+a8e4e6ab2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"debug": "^4.1.1",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"author": "pie framework developers",
|
|
17
17
|
"license": "ISC",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "a8e4e6ab27584435ce7ac3e964ccac2747402777",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { SessionChangedEvent } from '@pie-framework/pie-player-events';
|
|
3
3
|
import { isSessionComplete } from '..';
|
|
4
4
|
|
|
5
|
-
jest.mock('@pie-lib/pie-toolbox/math-rendering
|
|
5
|
+
jest.mock('@pie-lib/pie-toolbox/math-rendering', () => ({ renderMath: jest.fn() }));
|
|
6
6
|
jest.mock('@pie-element/multiple-choice', () => jest.fn());
|
|
7
7
|
|
|
8
8
|
const PART_A = 'partA';
|