@pie-element/complex-rubric 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,5 +1,5 @@
1
- import { A as e, a as t, i as n, n as r } from "../private-tags-CMwniYBP.js";
2
- import { n as i, t as a } from "../delivery-pWFw_9mm.js";
1
+ import { A as e, a as t, i as n, n as r } from "../private-tags-BiXhw5zC.js";
2
+ import { n as i, t as a } from "../delivery-Dfl4x4GR.js";
3
3
  //#region src/print/index.ts
4
4
  var o = n, s = r, c = class extends i {}, l = class extends a {}, u = {
5
5
  [t.SIMPLE_RUBRIC]: (e) => `<${o} id="${e}-simpleRubric" />`,
@@ -12641,7 +12641,8 @@ var { translator: py } = Q_, my = "pie-prompt-audio-player", hy = "play-audio-bu
12641
12641
  let a = i.querySelector("audio");
12642
12642
  if (a) {
12643
12643
  let e = document.createElement("source");
12644
- if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id = this.audioId, a.classList.add(my), a.appendChild(e), n) {
12644
+ if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id) for (let e of i.querySelectorAll(`[${nf}]`)) e.getAttribute("data-pie-play-audio") === a.id && e.setAttribute("data-pie-play-audio", this.audioId);
12645
+ if (a.id = this.audioId, a.classList.add(my), a.appendChild(e), n) {
12645
12646
  a.style.display = "none";
12646
12647
  let e = document.createElement("button");
12647
12648
  e.setAttribute("type", "button"), e.setAttribute("aria-label", py.t("common:playAudio", { lng: r })), e.id = this.playButtonId, e.className = hy, Object.assign(e.style, {
@@ -13200,8 +13201,8 @@ var Zy = {
13200
13201
  SIMPLE_RUBRIC: "simpleRubric",
13201
13202
  MULTI_TRAIT_RUBRIC: "multiTraitRubric",
13202
13203
  RUBRICLESS: "rubricless"
13203
- }, ib = `--version-${((e) => e.trim().toLowerCase().replace(/[.+]/g, "-").replace(/[^0-9A-Za-z-]/g, "-").replace(/-{2,}/g, "-"))("8.0.4")}`, ab = `complex-rubric-simple${ib}`, ob = `complex-rubric-multi-trait${ib}`, sb = `rubric-configure${ib}`, cb = `multi-trait-rubric-configure${ib}`;
13204
+ }, ib = `--version-${((e) => e.trim().toLowerCase().replace(/[.+]/g, "-").replace(/[^0-9A-Za-z-]/g, "-").replace(/-{2,}/g, "-"))("8.0.5-next.20261012213240")}`, ab = `complex-rubric-simple${ib}`, ob = `complex-rubric-multi-trait${ib}`, sb = `rubric-configure${ib}`, cb = `multi-trait-rubric-configure${ib}`;
13204
13205
  //#endregion
13205
13206
  export { J as $, am as A, Cn as At, ff as B, vv as C, ki as Ct, Jg as D, Lr as Dt, qg as E, Zr as Et, _p as F, jt as Ft, yc as G, kc as H, mp as I, C as It, gc as J, vc as K, ip as L, x as Lt, Fp as M, Yt as Mt, jp as N, Ut as Nt, Yg as O, Ir as Ot, xp as P, At as Pt, cc as Q, rp as R, Av as S, na as St, Q_ as T, ci as Tt, Cc as U, Pc as V, xc as W, mc as X, hc as Y, pc as Z, Kv as _, go as _t, rb as a, Ho as at, Bv as b, fo as bt, Jy as c, Ro as ct, Gy as d, ko as dt, rc as et, jy as f, Oo as ft, ny as g, q as gt, iy as h, Co as ht, ab as i, Uo as it, qp as j, sn as jt, om as k, H as kt, qy as l, Mo as lt, ly as m, wo as mt, ob as n, Us as nt, nb as o, Vo as ot, fy as p, Eo as pt, _c as q, sb as r, Vs as rt, Yy as s, zo as st, cb as t, $s as tt, Ky as u, jo as ut, Gv as v, ho as vt, ov as w, xi as wt, Mv as x, aa as xt, Wv as y, mo as yt, zf as z };
13206
13207
 
13207
- //# sourceMappingURL=private-tags-CMwniYBP.js.map
13208
+ //# sourceMappingURL=private-tags-BiXhw5zC.js.map