@pie-element/math-templated 8.0.4 → 8.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.
@@ -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/math-templated@8.0.4/dist/schemas/configuration.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/math-templated@8.0.5-next.20261012213240/dist/schemas/configuration.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "ignoreOrder": {
@@ -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/math-templated@8.0.4/dist/schemas/model.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/math-templated@8.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/math-templated@8.0.4/dist/schemas/session.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/math-templated@8.0.5-next.20261012213240/dist/schemas/session.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "id": {
package/module/print.js CHANGED
@@ -23866,7 +23866,8 @@ var { translator: JD } = gE, YD = "pie-prompt-audio-player", XD = "play-audio-bu
23866
23866
  let a = i.querySelector("audio");
23867
23867
  if (a) {
23868
23868
  let e = document.createElement("source");
23869
- if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id = this.audioId, a.classList.add(YD), a.appendChild(e), n) {
23869
+ if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id) for (let e of i.querySelectorAll(`[${By}]`)) e.getAttribute("data-pie-play-audio") === a.id && e.setAttribute("data-pie-play-audio", this.audioId);
23870
+ if (a.id = this.audioId, a.classList.add(YD), a.appendChild(e), n) {
23870
23871
  a.style.display = "none";
23871
23872
  let e = document.createElement("button");
23872
23873
  e.setAttribute("type", "button"), e.setAttribute("aria-label", JD.t("common:playAudio", { lng: r })), e.id = this.playButtonId, e.className = XD, Object.assign(e.style, {