@silurus/ooxml 0.89.1 → 0.89.2

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.
Files changed (55) hide show
  1. package/dist/assets/render-worker-Bye3wDV9.js +35 -0
  2. package/dist/assets/render-worker-CyUrUidp.js +16 -0
  3. package/dist/assets/render-worker-D_SMt5nl.js +15 -0
  4. package/dist/{bounded-raw-part-cache-CsnNptAy.js → bounded-raw-part-cache-C3daknU-.js} +1 -1
  5. package/dist/{canvas-viewer-mechanics-BZ8QCrRi.js → canvas-viewer-mechanics-SZWSnn6j.js} +2 -2
  6. package/dist/chart-ex.mjs +1 -1
  7. package/dist/{comment-overlay-controller-CBvQx-En.js → comment-overlay-controller-CHDxT0e7.js} +2 -2
  8. package/dist/{comment-ui-runtime-C47QoDUy.js → comment-ui-runtime-BcwaRnMR.js} +2 -2
  9. package/dist/{comment-ui-runtime-BKidRH36.js → comment-ui-runtime-Dk2qrPy_.js} +3 -3
  10. package/dist/{document-model-source-MzFPrxt0.js → document-model-source-BD2VSd2L.js} +6 -6
  11. package/dist/{document-pull-client-BoJeuURD.js → document-pull-client-DhSGspvi.js} +4 -4
  12. package/dist/{document-pull-worker-CaP8XESP.js → document-pull-worker-D-E0Iz3P.js} +2 -2
  13. package/dist/{docx-BRRtSvk3.js → docx-CCZBO1WQ.js} +7 -7
  14. package/dist/{docx-BN70UhvX.js → docx-CXfILbzI.js} +7 -7
  15. package/dist/{docx-model-source-CTO9iw_W.js → docx-model-source-Ci6xb487.js} +6 -6
  16. package/dist/docx.mjs +3 -3
  17. package/dist/docx_parser_bg.wasm +0 -0
  18. package/dist/{drawingml-shape-CHmq8kpM.js → drawingml-shape-Bp0yEZHC.js} +1 -1
  19. package/dist/{font-preload-demand-Dmy31xt-.js → font-preload-demand-CGOB-MoE.js} +1 -1
  20. package/dist/{host-layout-measure-DsuQ2UJs.js → host-layout-measure-BAysJILu.js} +1 -1
  21. package/dist/index.mjs +3 -3
  22. package/dist/internal-companion.mjs +2 -2
  23. package/dist/{line-distribute-Bu8psjGd.js → line-distribute-DhQqysA2.js} +1 -1
  24. package/dist/{model-source-s5hRpk4w.js → model-source-BkmyX_r-.js} +1 -1
  25. package/dist/{model-source-session-6fuaqbGs.js → model-source-session-CF4iXav8.js} +2 -2
  26. package/dist/{model-source-session-cPJSF_Ak.js → model-source-session-CJmkItIK.js} +2 -2
  27. package/dist/{model-source-session-DqrR4XHR.js → model-source-session-CnPCTRDD.js} +2 -2
  28. package/dist/node.mjs +4 -4
  29. package/dist/{pptx-CaJ6ILnw.js → pptx-BhmLP_Ed.js} +5 -5
  30. package/dist/{pptx-_BOGcBym.js → pptx-Bo9hCGQU.js} +9 -9
  31. package/dist/{pptx-model-source-B_9afw9R.js → pptx-model-source-J0SrVkO6.js} +5 -5
  32. package/dist/pptx.mjs +4 -4
  33. package/dist/pptx_parser_bg.wasm +0 -0
  34. package/dist/{presentation-model-source-CGHLyX32.js → presentation-model-source-CebYmrOD.js} +5 -5
  35. package/dist/{render-CzbDzRKa.js → render-hT2OVZUi.js} +2 -2
  36. package/dist/{render-worker-host-C-EECo68.js → render-worker-host-BmAQ-sWT.js} +1 -1
  37. package/dist/{render-worker-host-DDqZTCVf.js → render-worker-host-Cz224I38.js} +1 -1
  38. package/dist/{render-worker-host-B1u6BOUd.js → render-worker-host-Desevuoc.js} +1 -1
  39. package/dist/{renderer-CD2cvVAF.js → renderer-BFWqhLEt.js} +1224 -1214
  40. package/dist/{renderer-DRoeb14O.js → renderer-CvZ4JmoL.js} +5 -5
  41. package/dist/{resource-measurement-Dhhm7P_l.js → resource-measurement-DBiUwblM.js} +1 -1
  42. package/dist/{session-XPmC0CUd.js → session-CWDKFWCh.js} +4 -4
  43. package/dist/{slide-pull-client-tq7U_fYg.js → slide-pull-client-BuBvXMyc.js} +4 -4
  44. package/dist/{wasm-runtime-generation-D6TKZdNb.js → wasm-runtime-generation-BWGfM44b.js} +1 -1
  45. package/dist/{workbook-model-source-BIGrfZy6.js → workbook-model-source-Che8Zbjw.js} +6 -6
  46. package/dist/{worksheet-pull-client-ClvPO_Jf.js → worksheet-pull-client-Cxzj6uuB.js} +2 -2
  47. package/dist/{xlsx-DmHfeNNp.js → xlsx-C5BSwMUd.js} +4 -4
  48. package/dist/{xlsx-CsmREBaZ.js → xlsx-CUVUep5I.js} +11 -9
  49. package/dist/{xlsx-model-source-D1flORqy.js → xlsx-model-source-C3_PiPBo.js} +6 -6
  50. package/dist/xlsx.mjs +4 -4
  51. package/dist/xlsx_parser_bg.wasm +0 -0
  52. package/package.json +2 -2
  53. package/dist/assets/render-worker-C5G_Nr_A.js +0 -35
  54. package/dist/assets/render-worker-DQfWdNsm.js +0 -16
  55. package/dist/assets/render-worker-Ds7LjwU-.js +0 -15
@@ -1,6 +1,6 @@
1
1
  import { Ao as e, Gr as t, Kr as n, Nr as r, Sr as i, Yn as a, Zr as o, _o as s, _r as c, ar as l, cr as u, ei as d, ir as f, ko as p, or as m, qr as h, vo as g, xr as _, yo as v } from "./plot-area-frame-Bs_j4uu7.js";
2
2
  import { a as y, d as b, i as x, n as S, o as C, r as w, s as T, t as ee, u as E } from "./pixel-budget-BpTYrepD.js";
3
- import { B as te, F as ne, I as re, M as ie, N as ae, P as oe, z as se } from "./renderer-CD2cvVAF.js";
3
+ import { B as te, F as ne, I as re, M as ie, N as ae, P as oe, z as se } from "./renderer-BFWqhLEt.js";
4
4
  import { n as ce, t as le } from "./tiff-contract-C6M3QcPp.js";
5
5
  import { n as ue, r as de } from "./raster-target-YQ4G6rxo.js";
6
6
  import { a as fe, c as pe, i as me, l as he, n as ge, r as _e, s as ve, t as ye } from "./duotone-DN8P4aXe.js";
@@ -1,5 +1,5 @@
1
- import { ot as e } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { B as t } from "./renderer-CD2cvVAF.js";
1
+ import { ot as e } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { B as t } from "./renderer-BFWqhLEt.js";
3
3
  import { t as n } from "./abort-VrnK7mdP.js";
4
4
  //#region packages/core/src/autoResize.ts
5
5
  function r(e, t, n = {}) {
package/dist/chart-ex.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $ as e, $i as t, $n as n, Fn as r, Ga as i, Gi as a, In as o, J as s, Ln as c, Mt as l, Nn as u, Pn as d, Qi as f, Qn as p, R as m, Rn as h, Rt as g, S as _, Ta as v, Ut as y, Va as b, Wt as x, Y as S, Ya as C, Yt as w, Zn as T, Zt as E, _a as D, _n as O, b as k, bt as A, ct as j, da as M, ea as N, er as P, fn as F, gn as I, ha as ee, hn as te, ia as ne, in as L, it as R, jt as re, ma as ie, mn as ae, no as z, nt as oe, oa as se, on as ce, ot as le, pn as ue, rt as de, s as fe, st as pe, t as me, ta as he, tt as ge, ua as _e, vi as ve, x as B, xn as V, yt as ye, za as be, zt as H } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { A as xe, C as Se, D as Ce, E as we, O as Te, S as Ee, T as De, _ as U, a as Oe, b as ke, c as Ae, d as je, f as Me, g as Ne, i as Pe, j as Fe, k as Ie, l as Le, m as Re, o as ze, p as Be, s as Ve, u as He, v as Ue, w as We, x as Ge, y as W } from "./renderer-CD2cvVAF.js";
2
+ import { A as xe, C as Se, D as Ce, E as we, O as Te, S as Ee, T as De, _ as U, a as Oe, b as ke, c as Ae, d as je, f as Me, g as Ne, i as Pe, j as Fe, k as Ie, l as Le, m as Re, o as ze, p as Be, s as Ve, u as He, v as Ue, w as We, x as Ge, y as W } from "./renderer-BFWqhLEt.js";
3
3
  import { t as G } from "./renderer-module-contract-CWM7jv6d.js";
4
4
  //#region packages/core/src/chart/chart-ex-renderer.ts
5
5
  function Ke(e, t, n, r = 1) {
@@ -1,5 +1,5 @@
1
- import { An as e, En as t, Y as n, dn as r, jn as i, kn as a } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { C as o, S as s, _ as c, a as l, b as u, g as d, h as f, l as p, m, p as h, r as g, x as _, y as v } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
1
+ import { An as e, En as t, Y as n, dn as r, jn as i, kn as a } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { C as o, S as s, _ as c, a as l, b as u, g as d, h as f, l as p, m, p as h, r as g, x as _, y as v } from "./canvas-viewer-mechanics-SZWSnn6j.js";
3
3
  //#region packages/core/src/fonts/embedded.ts
4
4
  function y(e, t = r) {
5
5
  return e.byteLength > 0 && e.byteLength <= t;
@@ -1,6 +1,6 @@
1
1
  import { Aa as e } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { E as t } from "./comment-overlay-controller-CBvQx-En.js";
3
- import { r as n } from "./pptx-_BOGcBym.js";
2
+ import { E as t } from "./comment-overlay-controller-CHDxT0e7.js";
3
+ import { r as n } from "./pptx-Bo9hCGQU.js";
4
4
  import { i as r, n as i, o as a, r as o, t as s } from "./read-only-comment-margin-B52rDVKo.js";
5
5
  import { i as c, n as l, r as u, t as d } from "./read-only-comment-decoration-PidH0wnP.js";
6
6
  //#region packages/pptx/src/comment-margin.ts
@@ -1,6 +1,6 @@
1
- import { E as e } from "./comment-overlay-controller-CBvQx-En.js";
2
- import { L as t } from "./document-pull-client-BoJeuURD.js";
3
- import { f as n } from "./docx-BRRtSvk3.js";
1
+ import { E as e } from "./comment-overlay-controller-CHDxT0e7.js";
2
+ import { L as t } from "./document-pull-client-DhSGspvi.js";
3
+ import { f as n } from "./docx-CCZBO1WQ.js";
4
4
  import { i as r, n as i, o as a, r as o, s, t as c } from "./read-only-comment-margin-B52rDVKo.js";
5
5
  import { i as l, n as u, r as d, t as f } from "./read-only-comment-decoration-PidH0wnP.js";
6
6
  //#region packages/docx/src/comment-margin.ts
@@ -1,8 +1,8 @@
1
- import { Dn as e, N as t, On as n, Xt as r, j as i, qt as a } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { P as o, b as s } from "./comment-overlay-controller-CBvQx-En.js";
3
- import { N as c, _ as l, a as u, d, f, j as p, l as m, o as h, p as g, s as _, v, y } from "./document-pull-client-BoJeuURD.js";
4
- import { _ as b, c as x, g as S, h as C, l as w, m as T, u as E } from "./docx-BRRtSvk3.js";
5
- import { T as D } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
1
+ import { Dn as e, N as t, On as n, Xt as r, j as i, qt as a } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { P as o, b as s } from "./comment-overlay-controller-CHDxT0e7.js";
3
+ import { N as c, _ as l, a as u, d, f, j as p, l as m, o as h, p as g, s as _, v, y } from "./document-pull-client-DhSGspvi.js";
4
+ import { _ as b, c as x, g as S, h as C, l as w, m as T, u as E } from "./docx-CCZBO1WQ.js";
5
+ import { T as D } from "./canvas-viewer-mechanics-SZWSnn6j.js";
6
6
  import { n as O } from "./renderer-module-contract-CWM7jv6d.js";
7
7
  import { n as k, o as A, r as j } from "./model-source-kz_NkZqT.js";
8
8
  import { t as M } from "./bundled-asset-url-E2nXURF9.js";
@@ -55,7 +55,7 @@ async function F(j, M = {}, N) {
55
55
  let a = k(i, "docx");
56
56
  try {
57
57
  H.setSourceBytes(t.byteLength), H.checkpoint("container ready");
58
- let i = V === "worker" ? (await import("./render-worker-host-DDqZTCVf.js")).createRenderWorker() : new (await (import("./worker-source-SbudzjYL.js"))).default(), k, A, j = !1, U = () => {
58
+ let i = V === "worker" ? (await import("./render-worker-host-Cz224I38.js")).createRenderWorker() : new (await (import("./worker-source-SbudzjYL.js"))).default(), k, A, j = !1, U = () => {
59
59
  j || !k || (j = !0, k.destroy());
60
60
  }, W = I(i, a, M, (e) => {
61
61
  k && P(k, e);
@@ -1,11 +1,11 @@
1
1
  import { Ao as e, Dr as t, Eo as n, Hr as r, Lr as i, Oo as a, Sr as o, To as s, Tr as c, Ur as l, Vr as u, Wr as d, Yn as f, Zr as p, _o as m, a as h, ao as g, bo as _, c as v, co as y, d as b, do as x, fo as S, go as C, h as w, lo as T, m as E, o as D, oo as O, or as k, po as A, r as j, rr as M, so as N, u as P, ur as F, vo as I, wr as L, xo as R, xr as ee, yo as te } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { $ as z, $t as B, An as ne, C as re, E as V, En as ie, J as ae, Jt as oe, Kt as se, Q as H, Qt as ce, S as le, T as ue, Wt as de, X as fe, Xt as pe, Y as me, _ as he, _t as ge, a as _e, at as ve, b as ye, ct as be, d as xe, dt as Se, en as Ce, f as we, ft as Te, g as Ee, gt as De, h as Oe, i as ke, jn as Ae, kn as je, ln as Me, lt as Ne, m as Pe, nn as Fe, nt as Ie, on as Le, ot as Re, p as ze, pt as Be, r as Ve, rn as He, s as Ue, sn as We, tn as Ge, tt as Ke, un as qe, vt as Je, w as Ye, x as Xe, y as Ze, yt as Qe, zt as $e } from "./bounded-raw-part-cache-CsnNptAy.js";
3
- import { _ as et, d as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, n as ct, p as lt, r as ut, t as dt, v as ft, y as pt } from "./line-distribute-Bu8psjGd.js";
2
+ import { $ as z, $t as B, An as ne, C as re, E as V, En as ie, J as ae, Jt as oe, Kt as se, Q as H, Qt as ce, S as le, T as ue, Wt as de, X as fe, Xt as pe, Y as me, _ as he, _t as ge, a as _e, at as ve, b as ye, ct as be, d as xe, dt as Se, en as Ce, f as we, ft as Te, g as Ee, gt as De, h as Oe, i as ke, jn as Ae, kn as je, ln as Me, lt as Ne, m as Pe, nn as Fe, nt as Ie, on as Le, ot as Re, p as ze, pt as Be, r as Ve, rn as He, s as Ue, sn as We, tn as Ge, tt as Ke, un as qe, vt as Je, w as Ye, x as Xe, y as Ze, yt as Qe, zt as $e } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { _ as et, d as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, n as ct, p as lt, r as ut, t as dt, v as ft, y as pt } from "./line-distribute-DhQqysA2.js";
4
4
  import { f as mt, s as ht, u as gt } from "./pixel-budget-BpTYrepD.js";
5
- import { H as _t, L as vt, R as yt, V as bt, n as xt, r as St, t as Ct } from "./renderer-CD2cvVAF.js";
5
+ import { H as _t, L as vt, R as yt, V as bt, n as xt, r as St, t as Ct } from "./renderer-BFWqhLEt.js";
6
6
  import { i as wt } from "./tiff-contract-C6M3QcPp.js";
7
7
  import { r as Tt } from "./raster-target-YQ4G6rxo.js";
8
- import { a as Et, i as Dt, n as Ot, o as kt, r as At, t as jt } from "./drawingml-shape-CHmq8kpM.js";
8
+ import { a as Et, i as Dt, n as Ot, o as kt, r as At, t as jt } from "./drawingml-shape-Bp0yEZHC.js";
9
9
  import { a as Mt, i as Nt, n as Pt } from "./duotone-DN8P4aXe.js";
10
10
  //#region packages/core/src/fonts/canvas-route.ts
11
11
  function Ft(e, t) {
@@ -1,6 +1,6 @@
1
1
  import { vo as e } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { B as t, D as n, G as r, O as i, k as a, ln as o, q as s, un as c } from "./bounded-raw-part-cache-CsnNptAy.js";
3
- import { S as l } from "./worksheet-pull-client-ClvPO_Jf.js";
2
+ import { B as t, D as n, G as r, O as i, k as a, ln as o, q as s, un as c } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { S as l } from "./worksheet-pull-client-Cxzj6uuB.js";
4
4
  //#region packages/docx/src/internal/parser-errors.ts
5
5
  var u = "OOXML_DOCX_ILVL:";
6
6
  function d(t) {
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
2
  import { _o as t, ja as n, vo as r, yo as i } from "./plot-area-frame-Bs_j4uu7.js";
3
3
  import { n as a, t as o } from "./cfb-guard-dNeUiANF.js";
4
- import { Dn as s, En as c, H as l, M as u, N as d, On as f, V as p, Xt as m, Y as h, Yt as g, hn as _, ht as v, j as y, qt as b, st as x, t as S, u as C, ut as ee } from "./bounded-raw-part-cache-CsnNptAy.js";
5
- import { A as te, C as w, D as ne, E as T, M as re, N as ie, P as E, S as ae, T as D, _ as oe, a as se, b as ce, c as le, d as ue, f as de, g as fe, h as pe, i as me, j as he, k as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, t as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./comment-overlay-controller-CBvQx-En.js";
6
- import { A as ke, B as Ae, C as je, D as O, E as Me, F as Ne, I as Pe, L as k, M as Fe, N as A, O as Ie, P as Le, R as Re, S as ze, T as Be, V as j, _ as Ve, a as He, b as Ue, c as We, f as Ge, h as Ke, j as M, k as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, y as N, z as at } from "./document-pull-client-BoJeuURD.js";
4
+ import { Dn as s, En as c, H as l, M as u, N as d, On as f, V as p, Xt as m, Y as h, Yt as g, hn as _, ht as v, j as y, qt as b, st as x, t as S, u as C, ut as ee } from "./bounded-raw-part-cache-C3daknU-.js";
5
+ import { A as te, C as w, D as ne, E as T, M as re, N as ie, P as E, S as ae, T as D, _ as oe, a as se, b as ce, c as le, d as ue, f as de, g as fe, h as pe, i as me, j as he, k as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, t as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./comment-overlay-controller-CHDxT0e7.js";
6
+ import { A as ke, B as Ae, C as je, D as O, E as Me, F as Ne, I as Pe, L as k, M as Fe, N as A, O as Ie, P as Le, R as Re, S as ze, T as Be, V as j, _ as Ve, a as He, b as Ue, c as We, f as Ge, h as Ke, j as M, k as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, y as N, z as at } from "./document-pull-client-DhSGspvi.js";
7
7
  import { f as ot, u as st } from "./pixel-budget-BpTYrepD.js";
8
8
  import { i as ct, t as lt } from "./tiff-contract-C6M3QcPp.js";
9
- import { D as ut, E as dt, T as ft, a as pt, b as mt, c as ht, d as gt, f as _t, i as vt, l as yt, n as bt, o as xt, p as St, r as Ct, s as wt, t as Tt, u as Et, v as Dt, w as Ot, x as kt, y as At } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
9
+ import { D as ut, E as dt, T as ft, a as pt, b as mt, c as ht, d as gt, f as _t, i as vt, l as yt, n as bt, o as xt, p as St, r as Ct, s as wt, t as Tt, u as Et, v as Dt, w as Ot, x as kt, y as At } from "./canvas-viewer-mechanics-SZWSnn6j.js";
10
10
  import { n as jt } from "./renderer-module-contract-CWM7jv6d.js";
11
11
  //#region packages/core/src/fonts/open-type-metrics.ts
12
12
  var P = (e) => (e.charCodeAt(0) << 24 >>> 0 | e.charCodeAt(1) << 16 | e.charCodeAt(2) << 8 | e.charCodeAt(3)) >>> 0, Mt = P("ttcf"), Nt = P("OTTO"), Pt = P("true"), Ft = P("typ1"), It = P("head"), Lt = P("hhea"), Rt = P("OS/2"), zt = P("cmap"), Bt = P("fvar"), F = [
@@ -1379,7 +1379,7 @@ var Q = class e {
1379
1379
  if (i?.aborted) throw new N();
1380
1380
  };
1381
1381
  if (l(), n.legacyDoc !== void 0) {
1382
- let { loadDocxModelSource: e } = await import("./document-model-source-MzFPrxt0.js"), a = await e(t, n, r);
1382
+ let { loadDocxModelSource: e } = await import("./document-model-source-BD2VSd2L.js"), a = await e(t, n, r);
1383
1383
  if (i?.aborted) throw a.destroy(), new N();
1384
1384
  return a;
1385
1385
  }
@@ -1400,7 +1400,7 @@ var Q = class e {
1400
1400
  d = await e.arrayBuffer();
1401
1401
  } else d = t;
1402
1402
  l(), d = a(await o(d, n.password)), l(), _.setSourceBytes(d.byteLength), _.checkpoint("container ready");
1403
- let v = g === "worker" ? (await import("./render-worker-host-DDqZTCVf.js")).createRenderWorker() : new fn(), y = g === "worker" ? jt(n) : void 0, b = g === "worker" && !!n.progressiveLayout, x, S = !1, C = () => {
1403
+ let v = g === "worker" ? (await import("./render-worker-host-Cz224I38.js")).createRenderWorker() : new fn(), y = g === "worker" ? jt(n) : void 0, b = g === "worker" && !!n.progressiveLayout, x, S = !1, C = () => {
1404
1404
  S || !x || (S = !0, x.destroy());
1405
1405
  };
1406
1406
  try {
@@ -2807,7 +2807,7 @@ var Mr = Symbol("DocxViewer.borrowedDocument"), Nr = class e {
2807
2807
  }
2808
2808
  }, Ir = 12, Lr = 13, Rr = Symbol("DocxScrollViewer.borrowedDocument"), zr;
2809
2809
  function Br() {
2810
- return zr ??= import("./comment-ui-runtime-BKidRH36.js");
2810
+ return zr ??= import("./comment-ui-runtime-Dk2qrPy_.js");
2811
2811
  }
2812
2812
  var Vr = class e {
2813
2813
  _pendingLoadAbort = null;
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
2
  import { yo as t } from "./plot-area-frame-Bs_j4uu7.js";
3
- import { B as n, F as r, H as i, N as a, U as o, j as s, qt as c, st as l, ut as u } from "./bounded-raw-part-cache-CsnNptAy.js";
4
- import { a as d, c as f, g as p, i as m, l as h, r as g } from "./document-pull-client-BoJeuURD.js";
3
+ import { B as n, F as r, H as i, N as a, U as o, j as s, qt as c, st as l, ut as u } from "./bounded-raw-part-cache-C3daknU-.js";
4
+ import { a as d, c as f, g as p, i as m, l as h, r as g } from "./document-pull-client-DhSGspvi.js";
5
5
  import { n as _, t as ee } from "./abort-VrnK7mdP.js";
6
6
  import { n as v, r as te, t as y } from "./wasm-loader-rlgHmcSv.js";
7
- import { t as b } from "./wasm-runtime-generation-D6TKZdNb.js";
7
+ import { t as b } from "./wasm-runtime-generation-BWGfM44b.js";
8
8
  import { t as x } from "./in-process-pull-transport-DuXcPZng.js";
9
- import { n as S, r as ne, t as re } from "./document-pull-worker-CaP8XESP.js";
10
- import { a as ie } from "./render-CzbDzRKa.js";
9
+ import { n as S, r as ne, t as re } from "./document-pull-worker-D-E0Iz3P.js";
10
+ import { a as ie } from "./render-hT2OVZUi.js";
11
11
  //#region packages/docx/src/wasm/docx_parser.js
12
12
  var C = /* @__PURE__ */ e({
13
13
  DocxArchive: () => w,
@@ -326,7 +326,7 @@ var X = "DOCX document session was aborted", Z = y(() => v(import.meta.url, "doc
326
326
  async function ue(e, t) {
327
327
  if (!t?.factory) throw TypeError("openDocxDocument requires a canvas factory");
328
328
  if (t.legacyDoc !== void 0) {
329
- let { openDocxSource: n } = await import("./docx-model-source-CTO9iw_W.js");
329
+ let { openDocxSource: n } = await import("./docx-model-source-Ci6xb487.js");
330
330
  return n(e, t, Z);
331
331
  }
332
332
  let n = c(t.cjkFallback), r = await Y($(e), Z(), t, (e, t, n) => g(e, t, n));
@@ -348,7 +348,7 @@ async function ue(e, t) {
348
348
  }
349
349
  async function de(e, t = {}) {
350
350
  if (t.legacyDoc !== void 0) {
351
- let { materializeDocxSource: n } = await import("./docx-model-source-CTO9iw_W.js");
351
+ let { materializeDocxSource: n } = await import("./docx-model-source-Ci6xb487.js");
352
352
  return n(e, t, Z);
353
353
  }
354
354
  return te(async () => {
@@ -1,9 +1,9 @@
1
- import { H as e, U as t, qt as n } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { a as r, g as i, i as a, j as o, l as s, r as c } from "./document-pull-client-BoJeuURD.js";
1
+ import { H as e, U as t, qt as n } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { a as r, g as i, i as a, j as o, l as s, r as c } from "./document-pull-client-DhSGspvi.js";
3
3
  import { r as l } from "./wasm-loader-rlgHmcSv.js";
4
- import { r as u } from "./document-pull-worker-CaP8XESP.js";
5
- import { i as d, t as f } from "./docx-BN70UhvX.js";
6
- import { t as p } from "./model-source-s5hRpk4w.js";
4
+ import { r as u } from "./document-pull-worker-D-E0Iz3P.js";
5
+ import { i as d, t as f } from "./docx-CXfILbzI.js";
6
+ import { t as p } from "./model-source-BkmyX_r-.js";
7
7
  //#region packages/node/src/docx-model-source.ts
8
8
  var m = class extends f {
9
9
  constructor(...e) {
@@ -68,7 +68,7 @@ function _(e) {
68
68
  return t;
69
69
  }
70
70
  async function v(e, n, r, i) {
71
- let { acquireDocxSessionFromArchive: a, validateDocxModelSourceArchive: o, validateDocxModelSourceViewDefaults: s } = await import("./model-source-session-DqrR4XHR.js"), c = await p(e, "docx", {
71
+ let { acquireDocxSessionFromArchive: a, validateDocxModelSourceArchive: o, validateDocxModelSourceViewDefaults: s } = await import("./model-source-session-CnPCTRDD.js"), c = await p(e, "docx", {
72
72
  ...n,
73
73
  source: n.legacyDoc
74
74
  }, o, (e) => t(e) ?? u(e));
package/dist/docx.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { vo as e, yo as t } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { u as n } from "./bounded-raw-part-cache-CsnNptAy.js";
3
- import { a as r, c as i, d as a, f as o, i as s, n as c, o as l, p as u, r as d, s as f } from "./docx-BRRtSvk3.js";
2
+ import { u as n } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { a as r, c as i, d as a, f as o, i as s, n as c, o as l, p as u, r as d, s as f } from "./docx-CCZBO1WQ.js";
4
4
  import { f as p, u as m } from "./pixel-budget-BpTYrepD.js";
5
5
  import { i as h, t as g } from "./tiff-contract-C6M3QcPp.js";
6
- import { D as _ } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
6
+ import { D as _ } from "./canvas-viewer-mechanics-SZWSnn6j.js";
7
7
  export { i as DocxDocument, d as DocxScrollViewer, s as DocxViewer, m as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, g as TiffDecodeError, _ as autoResize, l as buildDocxHighlightLayer, f as buildDocxTextLayer, p as isOoxmlDecodedImageLimitError, h as isTiffDecodeError, c as noteText, n as openExternalHyperlink, r as readDocxTextSelectionContext, o as resolveCommentAnchorRuns, u as resolveDocxCommentThreads, a as resolveRevisionAnchorRuns };
Binary file
@@ -1,5 +1,5 @@
1
1
  import { ar as e, cr as t, fr as n, hr as r, or as i, pr as a, tr as o, vr as s } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { At as c, Bt as l, Ct as u, Dt as d, Ft as f, Ht as p, It as m, Mt as h, Ot as g, St as _, Ut as v, Vt as y, Wt as b, jt as x, kt as S, zt as C } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { At as c, Bt as l, Ct as u, Dt as d, Ft as f, Ht as p, It as m, Mt as h, Ot as g, St as _, Ut as v, Vt as y, Wt as b, jt as x, kt as S, zt as C } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  //#region packages/core/src/shape/drawingml-geometry.ts
4
4
  var w = new Set([
5
5
  "line",
@@ -1,4 +1,4 @@
1
- import { m as e } from "./slide-pull-client-tq7U_fYg.js";
1
+ import { m as e } from "./slide-pull-client-BuBvXMyc.js";
2
2
  import { Kr as t } from "./plot-area-frame-Bs_j4uu7.js";
3
3
  //#region packages/pptx/src/font-preload-inert-ranges.ts
4
4
  var n;
@@ -1,4 +1,4 @@
1
- import { a as e } from "./renderer-DRoeb14O.js";
1
+ import { a as e } from "./renderer-CvZ4JmoL.js";
2
2
  //#region packages/xlsx/src/internal/host-layout-measure.ts
3
3
  function t(t, n) {
4
4
  return e(t.family, t.sizePt, void 0, !1, t.bold ? 700 : 400, t.italic ? "italic" : "normal", n);
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-BRRtSvk3.js";
2
- import { t } from "./pptx-_BOGcBym.js";
3
- import { t as n } from "./xlsx-CsmREBaZ.js";
1
+ import { t as e } from "./docx-CCZBO1WQ.js";
2
+ import { t } from "./pptx-Bo9hCGQU.js";
3
+ import { t as n } from "./xlsx-CUVUep5I.js";
4
4
  export { e as docx, t as pptx, n as xlsx };
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./model-source-kz_NkZqT.js";
2
2
  //#region src/companion-version.ts
3
- var t = "0.89.1", n = class extends Error {
3
+ var t = "0.89.2", n = class extends Error {
4
4
  constructor(n, r) {
5
5
  super(`Companion requires @silurus/ooxml ${n} (${r}); installed runtime is ${t} (${e})`), this.code = "companion-runtime-mismatch", this.name = "CompanionRuntimeMismatchError";
6
6
  }
7
7
  };
8
8
  function r(e, t) {
9
- if (e !== "0.89.1" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
9
+ if (e !== "0.89.2" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
10
10
  }
11
11
  //#endregion
12
12
  export { n as CompanionRuntimeMismatchError, e as MODEL_SOURCE_MODULE_PROTOCOL, r as assertCompanionRuntime };
@@ -1,5 +1,5 @@
1
1
  import { Ao as e, ko as t } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { Lt as n, Rt as r, an as i, in as a, sn as o, tn as s } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { Lt as n, Rt as r, an as i, in as a, sn as o, tn as s } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  //#region packages/core/src/fonts/substitute-script.ts
4
4
  var c = /^\p{Cf}$/u, l = /^\s$/u, u = /^\p{M}$/u, d = /^\p{Script_Extensions=Arabic}$/u, f = /^(?=\p{Script=Arabic})\p{L}$/u;
5
5
  function p(e, t) {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cfb-guard-dNeUiANF.js";
2
- import { U as t } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { U as t } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  import { i as n, n as r, o as i } from "./model-source-kz_NkZqT.js";
4
4
  //#region packages/node/src/model-source.ts
5
5
  async function a(a, s, c, l, u = (e) => t(e) ?? e) {
@@ -1,6 +1,6 @@
1
- import { B as e, N as t, U as n, j as r } from "./bounded-raw-part-cache-CsnNptAy.js";
1
+ import { B as e, N as t, U as n, j as r } from "./bounded-raw-part-cache-C3daknU-.js";
2
2
  import { n as i } from "./abort-VrnK7mdP.js";
3
- import { b as a } from "./worksheet-pull-client-ClvPO_Jf.js";
3
+ import { b as a } from "./worksheet-pull-client-Cxzj6uuB.js";
4
4
  import { a as o } from "./model-source-kz_NkZqT.js";
5
5
  import { t as s } from "./host-layout-DVMw8hDY.js";
6
6
  //#region packages/xlsx/src/internal/worker-worksheet-source.ts
@@ -1,5 +1,5 @@
1
- import { a as e } from "./slide-pull-client-tq7U_fYg.js";
2
- import { H as t, N as n, j as r } from "./bounded-raw-part-cache-CsnNptAy.js";
1
+ import { a as e } from "./slide-pull-client-BuBvXMyc.js";
2
+ import { H as t, N as n, j as r } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  import { n as i } from "./abort-VrnK7mdP.js";
4
4
  import { a } from "./model-source-kz_NkZqT.js";
5
5
  //#region packages/pptx/src/internal/worker-presentation-source.ts
@@ -1,8 +1,8 @@
1
- import { N as e, U as t, j as n } from "./bounded-raw-part-cache-CsnNptAy.js";
1
+ import { N as e, U as t, j as n } from "./bounded-raw-part-cache-C3daknU-.js";
2
2
  import { n as r } from "./abort-VrnK7mdP.js";
3
3
  import { a as i } from "./model-source-kz_NkZqT.js";
4
4
  import { t as a } from "./in-process-pull-transport-DuXcPZng.js";
5
- import { n as o, r as s, t as c } from "./document-pull-worker-CaP8XESP.js";
5
+ import { n as o, r as s, t as c } from "./document-pull-worker-D-E0Iz3P.js";
6
6
  //#region packages/docx/src/internal/worker-document-source.ts
7
7
  var l = [
8
8
  "open_document_cursor",
package/dist/node.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { vo as e, yo as t } from "./plot-area-frame-Bs_j4uu7.js";
2
2
  import { f as n, u as r } from "./pixel-budget-BpTYrepD.js";
3
- import { n as i, r as a } from "./pptx-CaJ6ILnw.js";
4
- import { n as o, r as s } from "./docx-BN70UhvX.js";
5
- import { n as c, r as l, t as u } from "./render-CzbDzRKa.js";
6
- import { a as d, i as f, n as p, r as m } from "./xlsx-DmHfeNNp.js";
3
+ import { n as i, r as a } from "./pptx-BhmLP_Ed.js";
4
+ import { n as o, r as s } from "./docx-CXfILbzI.js";
5
+ import { n as c, r as l, t as u } from "./render-hT2OVZUi.js";
6
+ import { a as d, i as f, n as p, r as m } from "./xlsx-C5BSwMUd.js";
7
7
  export { r as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, u as installImageBitmapShim, c as installOffscreenCanvasShim, n as isOoxmlDecodedImageLimitError, o as materializeDocxDocument, i as materializePptxPresentation, p as materializeXlsxWorkbook, m as materializeXlsxWorkbookIndex, f as materializeXlsxWorksheet, s as openDocxDocument, a as openPptxPresentation, d as openXlsxWorkbook, l as renderSlideNode };
@@ -1,9 +1,9 @@
1
- import { t as e } from "./slide-pull-client-tq7U_fYg.js";
1
+ import { t as e } from "./slide-pull-client-BuBvXMyc.js";
2
2
  import { yo as t } from "./plot-area-frame-Bs_j4uu7.js";
3
- import { B as n, H as r, hn as i, qt as a, st as o, t as s, ut as c } from "./bounded-raw-part-cache-CsnNptAy.js";
3
+ import { B as n, H as r, hn as i, qt as a, st as o, t as s, ut as c } from "./bounded-raw-part-cache-C3daknU-.js";
4
4
  import { n as l } from "./abort-VrnK7mdP.js";
5
5
  import { n as u, r as d, t as f } from "./wasm-loader-rlgHmcSv.js";
6
- import { i as p, n as m, r as h } from "./session-XPmC0CUd.js";
6
+ import { i as p, n as m, r as h } from "./session-CWDKFWCh.js";
7
7
  import { t as g } from "./in-process-pull-transport-DuXcPZng.js";
8
8
  //#region packages/node/src/pptx.ts
9
9
  var _ = "PPTX presentation session was aborted", v = f(() => u(import.meta.url, "pptx_parser_bg.wasm", "@silurus/ooxml-pptx/wasm-binary"));
@@ -12,7 +12,7 @@ async function y(e, t = {}) {
12
12
  }
13
13
  async function b(e, t = {}) {
14
14
  if (t.legacyPpt !== void 0) {
15
- let { openPptxSource: n } = await import("./pptx-model-source-B_9afw9R.js");
15
+ let { openPptxSource: n } = await import("./pptx-model-source-J0SrVkO6.js");
16
16
  return n(e, t, v);
17
17
  }
18
18
  let n = a(t.cjkFallback), r = await m(C(e), v(), t);
@@ -80,7 +80,7 @@ var x = class {
80
80
  async renderSlide(e, t, n) {
81
81
  return this.assertOpen(), this.enqueueRender(async () => {
82
82
  l(this.signal, _);
83
- let { renderSlideNode: r } = await import("./render-CzbDzRKa.js").then((e) => e.i);
83
+ let { renderSlideNode: r } = await import("./render-hT2OVZUi.js").then((e) => e.i);
84
84
  await r(e, {
85
85
  slideWidth: this.slideWidth,
86
86
  slideHeight: this.slideHeight,
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
- import { a as t, c as n, d as r, f as i, i as a, l as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./slide-pull-client-tq7U_fYg.js";
2
+ import { a as t, c as n, d as r, f as i, i as a, l as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./slide-pull-client-BuBvXMyc.js";
3
3
  import { Aa as m, vo as h, yo as g } from "./plot-area-frame-Bs_j4uu7.js";
4
4
  import { n as _, t as ee } from "./cfb-guard-dNeUiANF.js";
5
- import { H as v, M as y, N as b, Tn as x, V as S, X as C, Xt as w, Y as T, Yt as te, Zt as E, fn as ne, hn as re, ht as ie, j as ae, n as oe, qt as se, st as ce, t as le, u as D, ut as ue } from "./bounded-raw-part-cache-CsnNptAy.js";
6
- import { C as de, D as fe, E as O, N as pe, O as me, P as k, S as he, T as A, _ as ge, a as _e, b as ve, c as ye, d as be, f as xe, g as Se, h as Ce, i as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, t as je, u as Me, v as Ne, w as j, x as Pe, y as Fe } from "./comment-overlay-controller-CBvQx-En.js";
5
+ import { H as v, M as y, N as b, Tn as x, V as S, X as C, Xt as w, Y as T, Yt as te, Zt as E, fn as ne, hn as re, ht as ie, j as ae, n as oe, qt as se, st as ce, t as le, u as D, ut as ue } from "./bounded-raw-part-cache-C3daknU-.js";
6
+ import { C as de, D as fe, E as O, N as pe, O as me, P as k, S as he, T as A, _ as ge, a as _e, b as ve, c as ye, d as be, f as xe, g as Se, h as Ce, i as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, t as je, u as Me, v as Ne, w as j, x as Pe, y as Fe } from "./comment-overlay-controller-CHDxT0e7.js";
7
7
  import { f as M, u as Ie } from "./pixel-budget-BpTYrepD.js";
8
8
  import { i as Le, t as Re } from "./tiff-contract-C6M3QcPp.js";
9
- import { D as ze, E as Be, T as Ve, a as N, b as He, c as Ue, f as We, i as Ge, l as Ke, n as qe, o as P, p as Je, r as Ye, s as Xe, t as Ze, u as F, v as Qe, w as $e, x as et, y as tt } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
9
+ import { D as ze, E as Be, T as Ve, a as N, b as He, c as Ue, f as We, i as Ge, l as Ke, n as qe, o as P, p as Je, r as Ye, s as Xe, t as Ze, u as F, v as Qe, w as $e, x as et, y as tt } from "./canvas-viewer-mechanics-SZWSnn6j.js";
10
10
  import { n as nt } from "./renderer-module-contract-CWM7jv6d.js";
11
11
  import { t as rt } from "./visible-index-FeVA0mGE.js";
12
- import { n as it } from "./resource-measurement-Dhhm7P_l.js";
12
+ import { n as it } from "./resource-measurement-DBiUwblM.js";
13
13
  //#region packages/core/src/nav/internal-target.ts
14
14
  function at(e, t) {
15
15
  let n = t.startsWith("/") ? [] : e.split("/").filter((e) => e !== "");
@@ -129,7 +129,7 @@ var ft = class extends de {
129
129
  //#endregion
130
130
  //#region packages/pptx/src/font-demand-collector.ts
131
131
  async function pt(e) {
132
- return e ? (await import("./font-preload-demand-Dmy31xt-.js")).collectSlideFontDemand : void 0;
132
+ return e ? (await import("./font-preload-demand-CGOB-MoE.js")).collectSlideFontDemand : void 0;
133
133
  }
134
134
  //#endregion
135
135
  //#region packages/pptx/src/tabular-text.ts
@@ -890,7 +890,7 @@ var X = class e {
890
890
  }
891
891
  static async load(t, n = {}) {
892
892
  if (n.legacyPpt !== void 0) {
893
- let { loadPptxModelSource: e } = await import("./presentation-model-source-CGHLyX32.js");
893
+ let { loadPptxModelSource: e } = await import("./presentation-model-source-CebYmrOD.js");
894
894
  return e(t, n);
895
895
  }
896
896
  let r = se(n.cjkFallback), i = b(n), a = n.mode ?? "main", o = new ae({
@@ -910,7 +910,7 @@ var X = class e {
910
910
  s = await e.arrayBuffer();
911
911
  } else s = t;
912
912
  s = _(await ee(s, n.password)), o.setSourceBytes(s.byteLength), o.checkpoint("container ready");
913
- let c = a === "worker" ? (await import("./render-worker-host-C-EECo68.js")).createRenderWorker() : new Jt(), l = a === "worker" ? nt(n) : void 0, u;
913
+ let c = a === "worker" ? (await import("./render-worker-host-BmAQ-sWT.js")).createRenderWorker() : new Jt(), l = a === "worker" ? nt(n) : void 0, u;
914
914
  try {
915
915
  u = new e(c, a, n.wasmUrl), u._metrics = o, n.math && a === "worker" && !l?.math && console.warn("[ooxml] a custom math renderer cannot cross the worker boundary; equations will be skipped in mode: 'worker'. Use the math renderer from @silurus/ooxml/math."), n.threeD && a === "worker" && !l?.threeD && console.warn("[ooxml] a custom 3-D chart renderer cannot cross the worker boundary; charts use their 2-D family fallback in mode: 'worker'. Use the renderer from @silurus/ooxml/three-d."), u._cjkFallback = r, u._math = a === "worker" ? void 0 : n.math, u._threeD = a === "worker" ? void 0 : n.threeD, n.regionMap && a === "worker" && !l?.regionMap && console.warn("[ooxml] a custom Region Map renderer cannot cross the worker boundary; geospatial charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/region-map."), u._regionMap = a === "worker" ? void 0 : n.regionMap, n.chartEx && a === "worker" && !l?.chartEx && console.warn("[ooxml] a custom ChartEx renderer cannot cross the worker boundary; ChartEx charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/chart-ex."), u._chartEx = a === "worker" ? void 0 : n.chartEx, n.tiff && a === "worker" && !l?.tiff && console.warn("[ooxml] a custom TIFF codec cannot cross the worker boundary; recognized TIFF images will use an unavailable-image placeholder in mode: 'worker'. Use the codec from @silurus/ooxml/tiff to display them."), u._tiff = a === "worker" ? void 0 : n.tiff;
916
916
  let t = n.progressiveLayout ? {
@@ -2239,7 +2239,7 @@ var gn = class {
2239
2239
  }
2240
2240
  }, yn = 12, bn;
2241
2241
  function xn() {
2242
- return bn ??= import("./comment-ui-runtime-C47QoDUy.js");
2242
+ return bn ??= import("./comment-ui-runtime-BcwaRnMR.js");
2243
2243
  }
2244
2244
  var Sn = 440, Cn = 20, wn = Symbol("PptxScrollViewer.borrowedPresentation"), Tn = class e {
2245
2245
  _presentationOwner;
@@ -1,7 +1,7 @@
1
- import { qt as e } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { n as t } from "./session-XPmC0CUd.js";
3
- import { t as n } from "./pptx-CaJ6ILnw.js";
4
- import { t as r } from "./model-source-s5hRpk4w.js";
1
+ import { qt as e } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { n as t } from "./session-CWDKFWCh.js";
3
+ import { t as n } from "./pptx-BhmLP_Ed.js";
4
+ import { t as r } from "./model-source-BkmyX_r-.js";
5
5
  //#region packages/node/src/pptx-model-source.ts
6
6
  async function i(t, r, i) {
7
7
  let o = await a(t, r, i), s = new Proxy(o.archive, { get(e, t) {
@@ -14,7 +14,7 @@ async function i(t, r, i) {
14
14
  return new n(o.closeArchive, s, o.bootstrap, o.metrics, r.signal, e(r.cjkFallback));
15
15
  }
16
16
  async function a(e, n, i) {
17
- let { acquirePptxSessionFromArchive: a, validatePptxModelSourceArchive: o, validatePptxModelSourceViewDefaults: s } = await import("./model-source-session-cPJSF_Ak.js"), c = await r(e, "pptx", {
17
+ let { acquirePptxSessionFromArchive: a, validatePptxModelSourceArchive: o, validatePptxModelSourceViewDefaults: s } = await import("./model-source-session-CJmkItIK.js"), c = await r(e, "pptx", {
18
18
  ...n,
19
19
  source: n.legacyPpt
20
20
  }, o);
package/dist/pptx.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { l as e } from "./slide-pull-client-tq7U_fYg.js";
1
+ import { l as e } from "./slide-pull-client-BuBvXMyc.js";
2
2
  import { vo as t, yo as n } from "./plot-area-frame-Bs_j4uu7.js";
3
- import { u as r } from "./bounded-raw-part-cache-CsnNptAy.js";
3
+ import { u as r } from "./bounded-raw-part-cache-C3daknU-.js";
4
4
  import { f as i, u as a } from "./pixel-budget-BpTYrepD.js";
5
5
  import { i as o, t as s } from "./tiff-contract-C6M3QcPp.js";
6
- import { D as c } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
7
- import { a as l, c as u, i as d, l as f, n as p, o as m } from "./pptx-_BOGcBym.js";
6
+ import { D as c } from "./canvas-viewer-mechanics-SZWSnn6j.js";
7
+ import { a as l, c as u, i as d, l as f, n as p, o as m } from "./pptx-Bo9hCGQU.js";
8
8
  export { a as OoxmlDecodedImageLimitError, t as OoxmlError, n as OoxmlResourceLimitError, m as PptxPresentation, p as PptxScrollViewer, d as PptxViewer, s as TiffDecodeError, c as autoResize, u as buildPptxHighlightLayer, f as buildPptxTextLayer, i as isOoxmlDecodedImageLimitError, o as isTiffDecodeError, r as openExternalHyperlink, l as readPptxTextSelectionContext, e as renderSlide };
Binary file
@@ -1,8 +1,8 @@
1
- import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { b as r } from "./comment-overlay-controller-CBvQx-En.js";
3
- import { T as i } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
1
+ import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { b as r } from "./comment-overlay-controller-CHDxT0e7.js";
3
+ import { T as i } from "./canvas-viewer-mechanics-SZWSnn6j.js";
4
4
  import { n as a } from "./renderer-module-contract-CWM7jv6d.js";
5
- import { o, s } from "./pptx-_BOGcBym.js";
5
+ import { o, s } from "./pptx-Bo9hCGQU.js";
6
6
  import { n as c, o as l, r as u } from "./model-source-kz_NkZqT.js";
7
7
  import { t as d } from "./bundled-asset-url-E2nXURF9.js";
8
8
  //#region packages/pptx/src/internal/presentation-model-source.ts
@@ -31,7 +31,7 @@ async function f(u, d) {
31
31
  let _ = c(t, "pptx");
32
32
  try {
33
33
  g.setSourceBytes(e.byteLength), g.checkpoint("container ready");
34
- let t = f === "worker" ? (await import("./render-worker-host-C-EECo68.js")).createRenderWorker() : new (await (import("./worker-source-DrwhR9fw.js"))).default(), c = p(t, _), l = f === "worker" ? a(d) : void 0, u;
34
+ let t = f === "worker" ? (await import("./render-worker-host-BmAQ-sWT.js")).createRenderWorker() : new (await (import("./worker-source-DrwhR9fw.js"))).default(), c = p(t, _), l = f === "worker" ? a(d) : void 0, u;
35
35
  try {
36
36
  u = new o(c, f, d.wasmUrl);
37
37
  let t = u;
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
- import { qt as t } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { qt as t } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  //#region packages/node/src/render.ts
4
4
  var n = /* @__PURE__ */ e({
5
5
  installImageBitmapShim: () => a,
@@ -47,7 +47,7 @@ function o(e, t) {
47
47
  return r = o.then(() => void 0, () => void 0), o;
48
48
  }
49
49
  async function s(e, n, r, i = {}) {
50
- let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-XPmC0CUd.js").then((e) => e.t), c = n.slides[r];
50
+ let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-CWDKFWCh.js").then((e) => e.t), c = n.slides[r];
51
51
  if (!c) throw Error(`Slide index ${r} out of range`);
52
52
  let l = i.width ?? 960, u = i.dpr ?? 2, d = i.fetchImage ?? (async () => new Blob([])), f = async () => {
53
53
  await s(e, c, n.slideWidth, n.slideHeight, {
@@ -1,5 +1,5 @@
1
1
  //#region packages/pptx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-DQfWdNsm.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-CyUrUidp.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/pptx/src/render-worker-host.ts
5
5
  function t() {
@@ -1,5 +1,5 @@
1
1
  //#region packages/docx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-Ds7LjwU-.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-D_SMt5nl.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/docx/src/render-worker-host.ts
5
5
  function t() {
@@ -1,5 +1,5 @@
1
1
  //#region packages/xlsx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-C5G_Nr_A.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-Bye3wDV9.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/xlsx/src/render-worker-host.ts
5
5
  function t() {