@pie-element/multiple-choice 14.0.4 → 14.0.5-next.20261012213240
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/dist/browser/{Radio-A8J8F3Wz.js → Radio-DBcN6XV-.js} +4 -3
- package/dist/browser/{Radio-A8J8F3Wz.js.map → Radio-DBcN6XV-.js.map} +1 -1
- package/dist/browser/author/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{Radio-BSqsxwIR.js → Radio-5TeWMgOR.js} +4 -3
- package/dist/browser/editor-runtime/{Radio-BSqsxwIR.js.map → Radio-5TeWMgOR.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{main-DCCS3K1B.js → main-BOjze-Jz.js} +2 -2
- package/dist/browser/editor-runtime/{main-DCCS3K1B.js.map → main-BOjze-Jz.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-B1jkuF8x.js → mathjax-CptWnMbQ-nqy7cyQP.js} +2 -2
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-B1jkuF8x.js.map → mathjax-CptWnMbQ-nqy7cyQP.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +2 -2
- package/dist/browser/{main-B2IeJyQz.js → main-C-K2SHqY.js} +2 -2
- package/dist/browser/{main-B2IeJyQz.js.map → main-C-K2SHqY.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-OdgrYcrw.js → mathjax-CptWnMbQ-DSPOHOyX.js} +2 -2
- package/dist/browser/{mathjax-CptWnMbQ-OdgrYcrw.js.map → mathjax-CptWnMbQ-DSPOHOyX.js.map} +1 -1
- package/dist/browser/print/index.js +2 -2
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/module/print.js +2 -1
- package/module/print.js.map +1 -1
- package/package.json +13 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.5-next.20261012213240/dist/schemas/configuration.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"answerChoiceCount": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.5-next.20261012213240/dist/schemas/model.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.5-next.20261012213240/dist/schemas/session.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
package/module/print.js
CHANGED
|
@@ -18721,7 +18721,8 @@ var { translator: Gb } = fy, Kb = "pie-prompt-audio-player", qb = "play-audio-bu
|
|
|
18721
18721
|
let a = i.querySelector("audio");
|
|
18722
18722
|
if (a) {
|
|
18723
18723
|
let e = document.createElement("source");
|
|
18724
|
-
if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id
|
|
18724
|
+
if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id) for (let e of i.querySelectorAll(`[${Qd}]`)) e.getAttribute("data-pie-play-audio") === a.id && e.setAttribute("data-pie-play-audio", this.audioId);
|
|
18725
|
+
if (a.id = this.audioId, a.classList.add(Kb), a.appendChild(e), n) {
|
|
18725
18726
|
a.style.display = "none";
|
|
18726
18727
|
let e = document.createElement("button");
|
|
18727
18728
|
e.setAttribute("type", "button"), e.setAttribute("aria-label", Gb.t("common:playAudio", { lng: r })), e.id = this.playButtonId, e.className = qb, Object.assign(e.style, {
|