@silurus/ooxml 0.80.0 → 0.80.1

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 (28) hide show
  1. package/dist/assets/render-worker-BC6Wez97.js +7 -0
  2. package/dist/assets/render-worker-DidI5svV.js +21 -0
  3. package/dist/assets/render-worker-n3fNJ5XR.js +8 -0
  4. package/dist/{canvas-viewer-mechanics-D41tGY4d.js → canvas-viewer-mechanics-BdMdqj1R.js} +1 -1
  5. package/dist/{document-pull-client-D-fnlVGf.js → document-pull-client-Dk2EnTL7.js} +2 -2
  6. package/dist/{docx-CbIqgb1f.js → docx-Dw1kxR2M.js} +4 -4
  7. package/dist/docx.mjs +3 -3
  8. package/dist/index.mjs +3 -3
  9. package/dist/{line-distribute-DFdgzaLK.js → line-distribute-vYf5DWek.js} +1 -1
  10. package/dist/{line-metrics-PpgpOvz4.js → line-metrics-BY-aNaLO.js} +1688 -1682
  11. package/dist/node.mjs +7 -7
  12. package/dist/{pptx-DwF8olh2.js → pptx-CE7xARJ_.js} +5 -5
  13. package/dist/pptx.mjs +4 -4
  14. package/dist/{render-BMC4d1CO.js → render-C4IiRZiF.js} +1 -1
  15. package/dist/{render-worker-host-CzsHtsN_.js → render-worker-host-1VHH_HQk.js} +1 -1
  16. package/dist/{render-worker-host-CcENRoDr.js → render-worker-host-BVOjz-oV.js} +1 -1
  17. package/dist/{render-worker-host-DFgTN7hy.js → render-worker-host-D9mO9qMj.js} +1 -1
  18. package/dist/{resource-measurement-DvIKHd-9.js → resource-measurement-DOQetcWm.js} +1 -1
  19. package/dist/{session-BzhcJOvj.js → session-BYh13Iu2.js} +2 -2
  20. package/dist/{slide-pull-client-DLC3nJUt.js → slide-pull-client-v6Feibq1.js} +3 -3
  21. package/dist/three-d.mjs +49 -36
  22. package/dist/{worksheet-pull-client-DlVk_4Bt.js → worksheet-pull-client-Nk7nbD3-.js} +2 -2
  23. package/dist/{xlsx-C1BUns1R.js → xlsx-zy51yoRg.js} +5 -5
  24. package/dist/xlsx.mjs +4 -4
  25. package/package.json +1 -1
  26. package/dist/assets/render-worker-BSx9_xRC.js +0 -8
  27. package/dist/assets/render-worker-BTp87EaD.js +0 -21
  28. package/dist/assets/render-worker-fdwAjSve.js +0 -7
@@ -1,4 +1,4 @@
1
- import { cn as e } from "./line-metrics-PpgpOvz4.js";
1
+ import { cn as e } from "./line-metrics-BY-aNaLO.js";
2
2
  //#region packages/core/src/errors/cfb-sniff.ts
3
3
  var t = [
4
4
  208,
@@ -1,6 +1,6 @@
1
- import { A as e, At as t, Bt as n, C as r, D as i, Dt as a, E as o, Et as s, Gt as c, Ht as l, It as u, Jt as d, M as f, Mt as p, N as m, O as h, Pt as g, Qt as _, S as v, Tt as y, U as b, W as x, Wt as S, Xt as C, Yt as w, _ as T, an as E, bt as D, c as O, ct as k, d as A, en as j, f as M, g as ee, gt as te, h as N, ht as ne, in as P, j as re, k as ie, kt as F, l as ae, m as oe, mt as se, n as ce, nn as le, o as ue, on as de, pt as fe, rn as pe, s as me, sn as he, t as ge, tn as _e, u as ve, v as ye, vt as be, w as xe, xt as Se, y as Ce, yt as we } from "./line-metrics-PpgpOvz4.js";
1
+ import { A as e, At as t, Bt as n, C as r, D as i, Dt as a, E as o, Et as s, Gt as c, Ht as l, It as u, Jt as d, M as f, Mt as p, N as m, O as h, Pt as g, Qt as _, S as v, Tt as y, U as b, W as x, Wt as S, Xt as C, Yt as w, _ as T, an as E, bt as D, c as O, ct as k, d as A, en as j, f as M, g as ee, gt as te, h as N, ht as ne, in as P, j as re, k as ie, kt as F, l as ae, m as oe, mt as se, n as ce, nn as le, o as ue, on as de, pt as fe, rn as pe, s as me, sn as he, t as ge, tn as _e, u as ve, v as ye, vt as be, w as xe, xt as Se, y as Ce, yt as we } from "./line-metrics-BY-aNaLO.js";
2
2
  import { c as Te, o as Ee, r as De, s as Oe } from "./bounded-raw-part-cache-C6ro6Ezf.js";
3
- import { a as I, c as ke, d as Ae, f as je, i as Me, n as Ne, o as L, s as Pe, t as Fe, u as Ie } from "./line-distribute-DFdgzaLK.js";
3
+ import { a as I, c as ke, d as Ae, f as je, i as Me, n as Ne, o as L, s as Pe, t as Fe, u as Ie } from "./line-distribute-vYf5DWek.js";
4
4
  import { t as Le } from "./dash-CMzZIDz_.js";
5
5
  //#region packages/core/src/fonts/canvas-route.ts
6
6
  function Re(e, t) {
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./chunk-DmhlhrBa.js";
2
- import { B as t, Ot as n, R as r, Rt as i, a, cn as o, it as s, jt as c, ln as l, mt as u, q as d, z as f, zt as p } from "./line-metrics-PpgpOvz4.js";
3
- import { C as m, E as h, S as g, T as _, _ as v, a as y, b, c as x, d as ee, f as te, g as ne, h as re, i as S, l as C, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as w, w as fe, x as pe, y as T } from "./canvas-viewer-mechanics-D41tGY4d.js";
2
+ import { B as t, Ot as n, R as r, Rt as i, a, cn as o, it as s, jt as c, ln as l, mt as u, q as d, z as f, zt as p } from "./line-metrics-BY-aNaLO.js";
3
+ import { C as m, E as h, S as g, T as _, _ as v, a as y, b, c as x, d as ee, f as te, g as ne, h as re, i as S, l as C, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as w, w as fe, x as pe, y as T } from "./canvas-viewer-mechanics-BdMdqj1R.js";
4
4
  import { a as me, c as he, i as ge, o as _e, r as ve, s as ye, t as be } from "./bounded-raw-part-cache-C6ro6Ezf.js";
5
- import { C as xe, S as Se, _ as E, a as Ce, b as we, c as Te, d as Ee, f as De, g as Oe, h as ke, l as Ae, m as je, n as D, o as Me, p as Ne, s as Pe, t as O, v as k, w as Fe, x as A, y as Ie } from "./document-pull-client-D-fnlVGf.js";
5
+ import { C as xe, S as Se, _ as E, a as Ce, b as we, c as Te, d as Ee, f as De, g as Oe, h as ke, l as Ae, m as je, n as D, o as Me, p as Ne, s as Pe, t as O, v as k, w as Fe, x as A, y as Ie } from "./document-pull-client-Dk2EnTL7.js";
6
6
  import { S as j } from "./dash-CMzZIDz_.js";
7
7
  import { n as Le } from "./renderer-module-contract-BNGz8HvO.js";
8
8
  import { n as Re, r as M, t as N } from "./highlight-rect-BuX5rWP4.js";
@@ -345,7 +345,7 @@ var U = class e {
345
345
  t = await e.arrayBuffer();
346
346
  } else t = n;
347
347
  t = h(await _(t, i.password)), c.setSourceBytes(t.byteLength), c.checkpoint("container ready");
348
- let r = s === "worker" ? (await import("./render-worker-host-CcENRoDr.js")).createRenderWorker() : new We(), l = s === "worker" ? Le(i) : void 0, u;
348
+ let r = s === "worker" ? (await import("./render-worker-host-BVOjz-oV.js")).createRenderWorker() : new We(), l = s === "worker" ? Le(i) : void 0, u;
349
349
  try {
350
350
  if (u = new e(r, s, o, i.wasmUrl), u._metrics = c, await u._parse(t, a.policy, s === "worker" ? !!i.useGoogleFonts : !1, i.workerTimeoutMs, (e) => c.observeUsage(e), l), s === "worker" && u._mode === "main" && (c.setMode("main"), console.warn("[ooxml] mode: 'worker' fell back to main-thread rendering because this document requires DOM OpenType vertical glyph selection.")), i.math && u._mode === "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."), i.threeD && u._mode === "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._threeD = u._mode === "worker" ? void 0 : i.threeD, i.regionMap && u._mode === "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 = u._mode === "worker" ? void 0 : i.regionMap, u._mode === "main" && i.useGoogleFonts && u._document && (u._googleFontFaces = await ge(Ne(u._document), De)), u._mode === "main" && u._document?.embeddedFonts?.length) {
351
351
  let e = u;
package/dist/docx.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Rt as e, a as t, cn as n, ln as r, zt as i } from "./line-metrics-PpgpOvz4.js";
2
- import { w as a } from "./canvas-viewer-mechanics-D41tGY4d.js";
3
- import { a as o, c as s, i as c, n as l, o as u, r as d, s as f } from "./docx-CbIqgb1f.js";
1
+ import { Rt as e, a as t, cn as n, ln as r, zt as i } from "./line-metrics-BY-aNaLO.js";
2
+ import { w as a } from "./canvas-viewer-mechanics-BdMdqj1R.js";
3
+ import { a as o, c as s, i as c, n as l, o as u, r as d, s as f } from "./docx-Dw1kxR2M.js";
4
4
  export { s as DocxDocument, d as DocxScrollViewer, c as DocxViewer, e as OoxmlDecodedImageLimitError, n as OoxmlError, r as OoxmlResourceLimitError, a as autoResize, u as buildDocxHighlightLayer, f as buildDocxTextLayer, i as isOoxmlDecodedImageLimitError, l as noteText, t as openExternalHyperlink, o as readDocxTextSelectionContext };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-CbIqgb1f.js";
2
- import { t } from "./xlsx-C1BUns1R.js";
3
- import { t as n } from "./pptx-DwF8olh2.js";
1
+ import { t as e } from "./docx-Dw1kxR2M.js";
2
+ import { t } from "./xlsx-zy51yoRg.js";
3
+ import { t as n } from "./pptx-CE7xARJ_.js";
4
4
  export { e as docx, n as pptx, t as xlsx };
@@ -1,4 +1,4 @@
1
- import { Vt as e, Zt as t, b as n, w as r, x as i } from "./line-metrics-PpgpOvz4.js";
1
+ import { Vt as e, Zt as t, b as n, w as r, x as i } from "./line-metrics-BY-aNaLO.js";
2
2
  //#region packages/core/src/fonts/symbol-font.ts
3
3
  var a = {
4
4
  167: "♣",