@pie-element/select-text 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.
@@ -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/select-text@14.0.4/dist/schemas/configuration.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/select-text@14.0.5-next.20261012213240/dist/schemas/configuration.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "baseInputConfiguration": {
@@ -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/select-text@14.0.4/dist/schemas/model.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/select-text@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/select-text@14.0.4/dist/schemas/session.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/select-text@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
@@ -18778,7 +18778,8 @@ var { translator: Yb } = _b, Xb = "pie-prompt-audio-player", Zb = "play-audio-bu
18778
18778
  let a = i.querySelector("audio");
18779
18779
  if (a) {
18780
18780
  let e = document.createElement("source");
18781
- if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id = this.audioId, a.classList.add(Xb), a.appendChild(e), n) {
18781
+ if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id) for (let e of i.querySelectorAll(`[${Gp}]`)) e.getAttribute("data-pie-play-audio") === a.id && e.setAttribute("data-pie-play-audio", this.audioId);
18782
+ if (a.id = this.audioId, a.classList.add(Xb), a.appendChild(e), n) {
18782
18783
  a.style.display = "none";
18783
18784
  let e = document.createElement("button");
18784
18785
  e.setAttribute("type", "button"), e.setAttribute("aria-label", Yb.t("common:playAudio", { lng: r })), e.id = this.playButtonId, e.className = Zb, Object.assign(e.style, {