@pie-element/ebsr 12.0.1-next.7 → 12.0.1-next.9
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/lib/print.js +3 -1
- package/lib/print.js.map +1 -1
- package/module/element.js +1 -1
- package/module/print.js +1 -1
- package/package.json +3 -3
- package/src/print.js +3 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "12.0.1-next.
|
|
3
|
+
"version": "12.0.1-next.9+e1168df83",
|
|
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": "^11.0.1-next.
|
|
10
|
+
"@pie-element/multiple-choice": "^11.0.1-next.9+e1168df83",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
12
|
"@pie-lib/translator": "^2.19.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": "e1168df83ac0a0d45c958be4a4ba71649f0443e3",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|
package/src/print.js
CHANGED
|
@@ -142,6 +142,9 @@ export default class Ebsr extends HTMLElement {
|
|
|
142
142
|
partLabel: labels[key]
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
+
// pass options to enable print mode detection in multiple-choice component
|
|
146
|
+
part.options = this._options;
|
|
147
|
+
|
|
145
148
|
if (!part._session) {
|
|
146
149
|
// for print, "set session" is not called,
|
|
147
150
|
// but ebsr needs sessions in order to render the elements,
|