@pie-element/math-inline 13.0.4 → 13.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-inline@13.0.4/dist/schemas/model.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/math-inline@13.0.5-next.20261012213240/dist/schemas/model.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "responseType": {
@@ -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-inline@13.0.4/dist/schemas/session.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/math-inline@13.0.5-next.20261012213240/dist/schemas/session.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "id": {
package/module/print.js CHANGED
@@ -18812,7 +18812,8 @@ var { translator: ex } = by, tx = "pie-prompt-audio-player", nx = "play-audio-bu
18812
18812
  let a = i.querySelector("audio");
18813
18813
  if (a) {
18814
18814
  let e = document.createElement("source");
18815
- if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id = this.audioId, a.classList.add(tx), a.appendChild(e), n) {
18815
+ if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id) for (let e of i.querySelectorAll(`[${jf}]`)) e.getAttribute("data-pie-play-audio") === a.id && e.setAttribute("data-pie-play-audio", this.audioId);
18816
+ if (a.id = this.audioId, a.classList.add(tx), a.appendChild(e), n) {
18816
18817
  a.style.display = "none";
18817
18818
  let e = document.createElement("button");
18818
18819
  e.setAttribute("type", "button"), e.setAttribute("aria-label", ex.t("common:playAudio", { lng: r })), e.id = this.playButtonId, e.className = nx, Object.assign(e.style, {